1
0
Fork 0
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:
Hayden 2021-11-05 15:48:10 -08:00 committed by GitHub
parent 9f8c61a75a
commit 5cb4a1ade0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 621 additions and 210 deletions

View file

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