Add background timeline rebuild task (mirroring stats cache pattern) that refreshes denormalized timeline event snapshots when entities are updated. Includes cascade logic so editing a roaster refreshes timeline events for its roasts, bags, brews, and cups. - Add update_by_entity/delete_by_entity/delete_all to TimelineEventRepository - Add TimelineInvalidator with debounced background rebuild task - Add invalidate() calls to all 7 entity update handlers - Add delete_by_entity cleanup to define_delete_handler! macro - Add gear_id filter to BrewFilter for cascade traversal - Add `brewlog timeline rebuild` CLI command for full rebuild - Add 5 integration tests for timeline sync behavior
12 lines
234 B
Rust
12 lines
234 B
Rust
pub mod backup_cli;
|
|
pub mod bags_cli;
|
|
pub mod brews_cli;
|
|
pub mod cafes_cli;
|
|
pub mod cups_cli;
|
|
pub mod gear_cli;
|
|
pub mod helpers;
|
|
pub mod roasters_cli;
|
|
pub mod roasts_cli;
|
|
pub mod test_macros;
|
|
pub mod timeline_cli;
|
|
pub mod tokens_cli;
|