- Moved schedule repository logic into separate modules for SQLite and PostgreSQL implementations. - Created a mapping module for shared data structures and mapping functions in the schedule repository. - Added new mapping module for user repository to handle user data transformations. - Implemented PostgreSQL and SQLite user repository adapters with necessary CRUD operations. - Added tests for user repository functionality, including saving, finding, and deleting users.
7 lines
117 B
Rust
7 lines
117 B
Rust
use uuid::Uuid;
|
|
|
|
pub type UserId = Uuid;
|
|
pub type ChannelId = Uuid;
|
|
pub type SlotId = Uuid;
|
|
pub type BlockId = Uuid;
|