kiwi/app/db
pyr0ball f54127a8cc fix(meal-planner): add GET prep-session endpoint, fix list_plans schema, replace assert with ValueError
- Add GET /{plan_id}/prep-session endpoint so frontend can retrieve existing sessions without creating
- Fix list_plans response_model from list[dict] to list[PlanSummary] with proper _plan_summary() mapping
- Replace assert in store.update_prep_task with ValueError (assert is stripped under python -O)
- Add day_of_week 0-6 validation to upsert_slot endpoint
- Remove MagicMock sqlite artifact files left by pytest (already in .gitignore)
2026-04-12 14:04:53 -07:00
..
migrations feat(db): add meal_plans, slots, prep_sessions, prep_tasks migrations (022-025) 2026-04-12 13:11:34 -07:00
__init__.py chore: initial commit — kiwi Phase 2 complete 2026-03-30 22:20:48 -07:00
base.py chore: initial commit — kiwi Phase 2 complete 2026-03-30 22:20:48 -07:00
models.py chore: initial commit — kiwi Phase 2 complete 2026-03-30 22:20:48 -07:00
session.py chore: initial commit — kiwi Phase 2 complete 2026-03-30 22:20:48 -07:00
store.py fix(meal-planner): add GET prep-session endpoint, fix list_plans schema, replace assert with ValueError 2026-04-12 14:04:53 -07:00