1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-07-24 15:49:42 +02:00

feat: Recipe Finder (aka Cocktail Builder) (#4542)

This commit is contained in:
Michael Genson 2024-12-03 07:27:41 -06:00 committed by GitHub
parent d26e29d1c5
commit 4e0cf985bc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
28 changed files with 1959 additions and 151 deletions

View file

@ -161,6 +161,8 @@ recipes_create_zip = "/api/recipes/create/zip"
"""`/api/recipes/create/zip`"""
recipes_exports = "/api/recipes/exports"
"""`/api/recipes/exports`"""
recipes_suggestions = "/api/recipes/suggestions"
"""`/api/recipes/suggestions`"""
recipes_test_scrape_url = "/api/recipes/test-scrape-url"
"""`/api/recipes/test-scrape-url`"""
recipes_timeline_events = "/api/recipes/timeline/events"
@ -303,6 +305,11 @@ def explore_groups_group_slug_recipes_recipe_slug(group_slug, recipe_slug):
return f"{prefix}/explore/groups/{group_slug}/recipes/{recipe_slug}"
def explore_groups_group_slug_recipes_suggestions(group_slug):
"""`/api/explore/groups/{group_slug}/recipes/suggestions`"""
return f"{prefix}/explore/groups/{group_slug}/recipes/suggestions"
def foods_item_id(item_id):
"""`/api/foods/{item_id}`"""
return f"{prefix}/foods/{item_id}"