Add RecipeService

This commit is contained in:
2024-06-14 14:38:41 +02:00
parent 9baca1c78c
commit 4b5b05f396
12 changed files with 52 additions and 22 deletions

View File

@@ -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;