mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-12-15 06:45:23 -05:00
* tidied up shopping list item models redefined recipe refs and updated models added calculated display attribute to unify shopping list item rendering added validation to use a food's label if an item's label is null * fixed schema reference * refactored shopping list item service route all operations through one central method to account for edgecases return item collections for all operations to account for merging consolidate recipe items before sending them to the shopping list * made fractions prettier * replaced redundant display text util * fixed edgecase for zero quantity items on a recipe * fix for pre-merging recipe ingredients * fixed edgecase for merging create_items together * fixed bug with merged updated items creating dupes * added test for self-removing recipe ref * update items are now merged w/ existing items * refactored service to make it easier to read * added a lot of tests * made it so checked items are never merged * fixed bug with dragging + re-ordering * fix for postgres cascade issue * added prevalidator to recipe ref to avoid db error
109 lines
2.9 KiB
Python
109 lines
2.9 KiB
Python
# This file is auto-generated by gen_schema_exports.py
|
|
from .group import GroupAdminUpdate
|
|
from .group_events import (
|
|
GroupEventNotifierCreate,
|
|
GroupEventNotifierOptions,
|
|
GroupEventNotifierOptionsOut,
|
|
GroupEventNotifierOptionsSave,
|
|
GroupEventNotifierOut,
|
|
GroupEventNotifierPrivate,
|
|
GroupEventNotifierSave,
|
|
GroupEventNotifierUpdate,
|
|
GroupEventPagination,
|
|
)
|
|
from .group_exports import GroupDataExport
|
|
from .group_migration import DataMigrationCreate, SupportedMigrations
|
|
from .group_permissions import SetPermissions
|
|
from .group_preferences import (
|
|
CreateGroupPreferences,
|
|
ReadGroupPreferences,
|
|
UpdateGroupPreferences,
|
|
)
|
|
from .group_seeder import SeederConfig
|
|
from .group_shopping_list import (
|
|
ShoppingListAddRecipeParams,
|
|
ShoppingListCreate,
|
|
ShoppingListItemBase,
|
|
ShoppingListItemCreate,
|
|
ShoppingListItemOut,
|
|
ShoppingListItemRecipeRefCreate,
|
|
ShoppingListItemRecipeRefOut,
|
|
ShoppingListItemRecipeRefUpdate,
|
|
ShoppingListItemsCollectionOut,
|
|
ShoppingListItemUpdate,
|
|
ShoppingListItemUpdateBulk,
|
|
ShoppingListOut,
|
|
ShoppingListPagination,
|
|
ShoppingListRecipeRefOut,
|
|
ShoppingListRemoveRecipeParams,
|
|
ShoppingListSave,
|
|
ShoppingListSummary,
|
|
ShoppingListUpdate,
|
|
)
|
|
from .group_statistics import GroupStatistics, GroupStorage
|
|
from .invite_token import (
|
|
CreateInviteToken,
|
|
EmailInitationResponse,
|
|
EmailInvitation,
|
|
ReadInviteToken,
|
|
SaveInviteToken,
|
|
)
|
|
from .webhook import (
|
|
CreateWebhook,
|
|
ReadWebhook,
|
|
SaveWebhook,
|
|
WebhookPagination,
|
|
WebhookType,
|
|
)
|
|
|
|
__all__ = [
|
|
"GroupAdminUpdate",
|
|
"GroupEventNotifierCreate",
|
|
"GroupEventNotifierOptions",
|
|
"GroupEventNotifierOptionsOut",
|
|
"GroupEventNotifierOptionsSave",
|
|
"GroupEventNotifierOut",
|
|
"GroupEventNotifierPrivate",
|
|
"GroupEventNotifierSave",
|
|
"GroupEventNotifierUpdate",
|
|
"GroupEventPagination",
|
|
"GroupDataExport",
|
|
"DataMigrationCreate",
|
|
"SupportedMigrations",
|
|
"SetPermissions",
|
|
"CreateGroupPreferences",
|
|
"ReadGroupPreferences",
|
|
"UpdateGroupPreferences",
|
|
"SeederConfig",
|
|
"ShoppingListAddRecipeParams",
|
|
"ShoppingListCreate",
|
|
"ShoppingListItemBase",
|
|
"ShoppingListItemCreate",
|
|
"ShoppingListItemOut",
|
|
"ShoppingListItemRecipeRefCreate",
|
|
"ShoppingListItemRecipeRefOut",
|
|
"ShoppingListItemRecipeRefUpdate",
|
|
"ShoppingListItemsCollectionOut",
|
|
"ShoppingListItemUpdate",
|
|
"ShoppingListItemUpdateBulk",
|
|
"ShoppingListOut",
|
|
"ShoppingListPagination",
|
|
"ShoppingListRecipeRefOut",
|
|
"ShoppingListRemoveRecipeParams",
|
|
"ShoppingListSave",
|
|
"ShoppingListSummary",
|
|
"ShoppingListUpdate",
|
|
"GroupStatistics",
|
|
"GroupStorage",
|
|
"CreateInviteToken",
|
|
"EmailInitationResponse",
|
|
"EmailInvitation",
|
|
"ReadInviteToken",
|
|
"SaveInviteToken",
|
|
"CreateWebhook",
|
|
"ReadWebhook",
|
|
"SaveWebhook",
|
|
"WebhookPagination",
|
|
"WebhookType",
|
|
]
|