mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-24 07:39:41 +02:00
feat: Display Shopping List Item Recipe Refs (#2501)
* added recipe ref display to shopping list items * added backend support for recipe notes * added recipe note to item recipe ref display * fixed note merge bug with 3+ notes * tweak display * lint * updated alembic refs --------- Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
This commit is contained in:
parent
50a92c165c
commit
d6e4829e6f
8 changed files with 247 additions and 42 deletions
|
@ -359,6 +359,7 @@ export interface ShoppingListItemRecipeRefCreate {
|
|||
recipeId: string;
|
||||
recipeQuantity?: number;
|
||||
recipeScale?: number;
|
||||
recipeNote?: string;
|
||||
}
|
||||
export interface ShoppingListItemOut {
|
||||
quantity?: number;
|
||||
|
@ -387,6 +388,7 @@ export interface ShoppingListItemRecipeRefOut {
|
|||
recipeId: string;
|
||||
recipeQuantity?: number;
|
||||
recipeScale?: number;
|
||||
recipeNote?: string;
|
||||
id: string;
|
||||
shoppingListItemId: string;
|
||||
}
|
||||
|
@ -394,6 +396,7 @@ export interface ShoppingListItemRecipeRefUpdate {
|
|||
recipeId: string;
|
||||
recipeQuantity?: number;
|
||||
recipeScale?: number;
|
||||
recipeNote?: string;
|
||||
id: string;
|
||||
shoppingListItemId: string;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue