initial commit

This commit is contained in:
2024-06-14 13:57:47 +02:00
commit b7f6487ad3
24 changed files with 14643 additions and 0 deletions

18
src/cookbook/type.ts Normal file
View File

@@ -0,0 +1,18 @@
type Ingredient = {
id: number;
name: string;
};
type Recipe = {
id: number;
name: string;
description: string;
image: string;
ingredients: IngredientEntry[];
};
type IngredientEntry = {
idIngredient: number;
idRecipe: number;
quantity: number;
};