- Add CachedStats domain types (roast summary, consumption, brewing) - Extend StatsRepository with summary queries and cache get/store - Add StatsInvalidator + background task with 2s debounce - Add invalidate() calls to all entity create/update/delete handlers - Add POST /api/v1/stats/recompute endpoint for manual refresh - Add stats_cache migration and include in database reset - Add GeoStats::from_counts() and Serialize/Deserialize derives - Add 6 integration tests for stats API - Document Stats Cache pattern in CLAUDE.md |
||
|---|---|---|
| .. | ||
| backup_cli.rs | ||
| bags_cli.rs | ||
| brews_cli.rs | ||
| cafes_cli.rs | ||
| gear_cli.rs | ||
| helpers.rs | ||
| main.rs | ||
| roasters_cli.rs | ||
| roasts_cli.rs | ||
| test_macros.rs | ||
| tokens_cli.rs | ||