mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-12-11 21:05:15 -05:00
update foods and units for multitenant support
This commit is contained in:
@@ -17,6 +17,10 @@ class CreateIngredientFood(UnitFoodBase):
|
||||
label_id: UUID4 = None
|
||||
|
||||
|
||||
class SaveIngredientFood(CreateIngredientFood):
|
||||
group_id: UUID4
|
||||
|
||||
|
||||
class IngredientFood(CreateIngredientFood):
|
||||
id: int
|
||||
label: MultiPurposeLabelSummary = None
|
||||
@@ -30,6 +34,10 @@ class CreateIngredientUnit(UnitFoodBase):
|
||||
abbreviation: str = ""
|
||||
|
||||
|
||||
class SaveIngredientUnit(CreateIngredientUnit):
|
||||
group_id: UUID4
|
||||
|
||||
|
||||
class IngredientUnit(CreateIngredientUnit):
|
||||
id: int
|
||||
|
||||
|
||||
Reference in New Issue
Block a user