mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-12-28 21:15:26 -05:00
* added recipe_timeline_events table to db * added schema and routes for recipe timeline events * added missing mixin and fixed update schema * added tests * adjusted migration revision tree * updated alembic revision test * added initial timeline event for new recipes * added additional tests * added event bus support * renamed event_dt to timestamp * add timeline_events to ignore list * run code-gen * use new test routes implementation * use doc string syntax * moved event type enum from db to schema Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
16 lines
729 B
Python
16 lines
729 B
Python
from fastapi import APIRouter
|
|
|
|
from . import all_recipe_routes, bulk_actions, comments, recipe_crud_routes, shared_routes, timeline_events
|
|
|
|
prefix = "/recipes"
|
|
|
|
router = APIRouter()
|
|
|
|
router.include_router(all_recipe_routes.router, prefix=prefix, tags=["Recipe: Query All"])
|
|
router.include_router(recipe_crud_routes.router_exports)
|
|
router.include_router(recipe_crud_routes.router)
|
|
router.include_router(comments.router, prefix=prefix, tags=["Recipe: Comments"])
|
|
router.include_router(bulk_actions.router, prefix=prefix, tags=["Recipe: Bulk Exports"])
|
|
router.include_router(shared_routes.router, prefix=prefix, tags=["Recipe: Shared"])
|
|
router.include_router(timeline_events.events_router, prefix=prefix, tags=["Recipe: Timeline"])
|