//! Strongly-typed domain enums that replace stringly-typed database columns. //! //! Each enum uses manual sqlx `Type`/`Encode`/`Decode` impls (via `String`) //! so it works with both VARCHAR and TEXT columns. Plus `Serialize`/`Deserialize` //! for JSON and form parsing. //! //! Grouped by domain, one module per group, with the shared `impl_str_enum!` //! macro in `str_enum`. Every group is re-exported flat, so callers name //! `crate::db::ItemType` exactly as before. mod accounts; mod catalog; mod commerce; mod git; mod imports; mod mail; mod scanning; mod str_enum; mod synckit; pub use accounts::*; pub use catalog::*; pub use commerce::*; pub use git::*; pub use imports::*; pub use mail::*; pub use scanning::*; pub use synckit::*; #[cfg(test)] mod tests;