Add RecipeService
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
type Ingredient = {
|
||||
export type Ingredient = {
|
||||
id: number;
|
||||
name: string;
|
||||
};
|
||||
|
||||
type Recipe = {
|
||||
export type Recipe = {
|
||||
id: number;
|
||||
name: string;
|
||||
description: string;
|
||||
@@ -11,7 +11,7 @@ type Recipe = {
|
||||
ingredients: IngredientEntry[];
|
||||
};
|
||||
|
||||
type IngredientEntry = {
|
||||
export type IngredientEntry = {
|
||||
idIngredient: number;
|
||||
idRecipe: number;
|
||||
quantity: number;
|
||||
|
Reference in New Issue
Block a user