feat: Add summary to recipe instructions (#4410)

Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
This commit is contained in:
boc-the-git
2024-10-23 20:27:47 +11:00
committed by GitHub
parent 99fec90288
commit 3dd61f7742
5 changed files with 59 additions and 10 deletions

View File

@@ -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)