mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-25 08:09:41 +02:00
Feature/recipe instructions improvements (#785)
* feat(frontend): ✨ split paragraph by 1. 1) or 1: regex matches * feat(frontend): ✨ Update frontend to support ingredient To step refs * feat(backend): ✨ Update backend to support ingredient to step refs * fix title editor * move about info to site-settings * update change-log Co-authored-by: Hayden K <hay-kot@pm.me>
This commit is contained in:
parent
9f8c61a75a
commit
5cb4a1ade0
22 changed files with 621 additions and 210 deletions
|
@ -80,7 +80,7 @@ export interface Recipe {
|
|||
comments?: CommentOut[];
|
||||
}
|
||||
export interface RecipeIngredient {
|
||||
ref: string;
|
||||
referenceId: string;
|
||||
title: string;
|
||||
note: string;
|
||||
unit?: RecipeIngredientUnit | null;
|
||||
|
@ -96,9 +96,13 @@ export interface RecipeIngredientFood {
|
|||
name?: string;
|
||||
description?: string;
|
||||
}
|
||||
export interface IngredientToStepRef {
|
||||
referenceId: string;
|
||||
}
|
||||
export interface RecipeStep {
|
||||
title?: string;
|
||||
text: string;
|
||||
ingredientReferences: IngredientToStepRef[];
|
||||
}
|
||||
export interface RecipeSettings {
|
||||
public?: boolean;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue