brewlog/src/domain/mod.rs
Jon Seager 91bd3172ea
feat(brews): add domain layer and database migration
- Add BrewId typed wrapper
- Add Brew, BrewWithDetails, NewBrew, BrewFilter, BrewSortKey
- Add BrewRepository trait with transactional insert semantics
- Add brews table with foreign keys to bags and gear
- Update timeline_events constraint to include 'brew' entity type
2026-02-02 19:29:23 +00:00

15 lines
246 B
Rust

pub mod bags;
pub mod brews;
pub mod errors;
pub mod gear;
pub mod ids;
pub mod listing;
pub mod repositories;
pub mod roasters;
pub mod roasts;
pub mod sessions;
pub mod timeline;
pub mod tokens;
pub mod users;
pub use errors::RepositoryError;