Replace stringly-typed entity references with a compile-time-safe EntityType enum throughout timeline events, images, and repository operations. Also replace raw i64 fields in TimelineBrewData with typed BagId/GearId wrappers.
- Restructure domain/, repositories/, and routes/api/ into themed subdirectories: coffee/, auth/, analytics/ (and system/ for routes) - Convert super:: relative imports to crate:: absolute paths - Promote macro visibility from pub(super) to pub(crate) - Add pub use re-exports for backward-compatible import paths