renamed models, added mapper for recipes

This commit is contained in:
Anika Raemer 2025-10-07 20:53:31 +02:00
parent 7a6f5b5bcd
commit 8027fce80d
21 changed files with 164 additions and 61 deletions

View file

@ -0,0 +1,12 @@
/**
* Defines how many servings of the dish are prepared when following the recipe
*/
export interface ServingsModel{
/** Amount of servings */
amount: number,
/** Unit, e.g. 4 persons, 2 glasses, 12 cupcakes */
unit: string
}