mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-12-23 02:35:12 -05:00
add merge funcions for units (#1146)
This commit is contained in:
@@ -95,11 +95,16 @@ class IngredientRequest(MealieModel):
|
||||
ingredient: str
|
||||
|
||||
|
||||
class IngredientMerge(MealieModel):
|
||||
class MergeFood(MealieModel):
|
||||
from_food: UUID4
|
||||
to_food: UUID4
|
||||
|
||||
|
||||
class MergeUnit(MealieModel):
|
||||
from_unit: UUID4
|
||||
to_unit: UUID4
|
||||
|
||||
|
||||
from mealie.schema.labels.multi_purpose_label import MultiPurposeLabelSummary
|
||||
|
||||
IngredientFood.update_forward_refs()
|
||||
|
||||
Reference in New Issue
Block a user