Expand description
Meal planning domain and persistence foundation for EME.
Structs§
- Family
Member - Stable household member identity.
- Meal
Assignment - Meal
Exception - One-off date-specific override.
- Meal
Participation - Resolved arrangement for one member, meal and local calendar date.
- Meal
Planner Application - Meal
Planner Config - Configuration shared by the Meal Planner application and its adapters.
- Meal
Planner Store - Shared SQLite connection for Meal Planner persistence operations.
- NewShopping
List Item - Participation
Resolver - Stateless resolver independent of persistence, HTTP and the agent runtime.
- Plan
Participant - Planning
Context - Planning
Participation - Recipe
- Persisted recipe.
- Recipe
Draft - Input accepted when creating or replacing a recipe.
- Recipe
Ingredient - One structured ingredient. Unknown quantities remain
None; no amount is inferred. - Recurring
Participation Rule - Recurring rule with inclusive optional effective dates.
- School
Menu Draft - School
Menu Entry - School
Menu Item - Shopping
List - Shopping
List Item - Shopping
List Item Update - Weekly
Plan - Weekly
Plan Draft
Enums§
- Meal
Arrangement - Explicit arrangement for a meal.
- Meal
Planner Error - Errors exposed at the Meal Planner application boundary.
- Meal
Type - Meal categories supported by the planner.
- Meal
Weekday - Weekday index: Monday is zero and Sunday is six.
- Participation
Source - Source of a configured arrangement.
- Participation
Status - Missing configuration differs from an explicit not-participating choice.
- School
Menu Status
Functions§
- register_
tools - resolve_
date - Resolve all active members for lunch and dinner. Exceptions win. Overlapping rules use the latest effective start (unbounded first), then the greatest rule ID.
- resolve_
week - Resolve seven consecutive local calendar dates beginning at start.