Renaming of rest resources
This commit is contained in:
parent
1487bb73a1
commit
0dc3264a22
12 changed files with 328 additions and 79 deletions
|
|
@ -2,7 +2,7 @@ import {useNavigate, useParams} from "react-router-dom"
|
|||
import {useEffect, useState} from "react"
|
||||
import type {RecipeModel} from "../../models/RecipeModel"
|
||||
import {RecipeEditor} from "./RecipeEditor"
|
||||
import {createOrUpdateRecipe, fetchRecipe} from "../../api/points/RecipePoint"
|
||||
import {createOrUpdateRecipe, fetchRecipe} from "../../api/endpoints/RecipeRestResource.ts"
|
||||
import {getRecipeDetailUrl, getRecipeListUrl} from "../../routes"
|
||||
import {mapRecipeDtoToModel, mapRecipeModelToDto} from "../../mappers/RecipeMapper"
|
||||
import type {RecipeDto} from "../../api/dtos/RecipeDto"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue