mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-12-18 08:15:18 -05:00
fix: Bulk Add Recipes to Shopping List (#5054)
This commit is contained in:
@@ -20,6 +20,7 @@ from .group_recipe_action import (
|
||||
)
|
||||
from .group_shopping_list import (
|
||||
ShoppingListAddRecipeParams,
|
||||
ShoppingListAddRecipeParamsBulk,
|
||||
ShoppingListCreate,
|
||||
ShoppingListItemBase,
|
||||
ShoppingListItemCreate,
|
||||
@@ -113,6 +114,7 @@ __all__ = [
|
||||
"ReadInviteToken",
|
||||
"SaveInviteToken",
|
||||
"ShoppingListAddRecipeParams",
|
||||
"ShoppingListAddRecipeParamsBulk",
|
||||
"ShoppingListCreate",
|
||||
"ShoppingListItemBase",
|
||||
"ShoppingListItemCreate",
|
||||
|
||||
@@ -292,5 +292,9 @@ class ShoppingListAddRecipeParams(MealieModel):
|
||||
"""optionally override which ingredients are added from the recipe"""
|
||||
|
||||
|
||||
class ShoppingListAddRecipeParamsBulk(ShoppingListAddRecipeParams):
|
||||
recipe_id: UUID4
|
||||
|
||||
|
||||
class ShoppingListRemoveRecipeParams(MealieModel):
|
||||
recipe_decrement_quantity: float = 1
|
||||
|
||||
Reference in New Issue
Block a user