mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-12-28 05:05:12 -05:00
feat: Add summary to recipe instructions (#4410)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
This commit is contained in:
@@ -16,7 +16,8 @@ class IngredientReferences(MealieModel):
|
||||
|
||||
class RecipeStep(MealieModel):
|
||||
id: UUID | None = Field(default_factory=uuid4)
|
||||
title: str | None = ""
|
||||
title: str | None = "" # This is the section title!!!
|
||||
summary: str | None = ""
|
||||
text: str
|
||||
ingredient_references: list[IngredientReferences] = []
|
||||
model_config = ConfigDict(from_attributes=True)
|
||||
|
||||
Reference in New Issue
Block a user