mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-11-01 18:53:59 -04: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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user