Flatten import for db-Schedule

This commit is contained in:
Tobias Reisinger 2023-11-23 13:39:18 +01:00
parent ee68405874
commit 452454f9e8
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
5 changed files with 7 additions and 5 deletions
emgauwa-lib/src/db

View file

@ -6,9 +6,11 @@ use std::str::FromStr;
use crate::db::errors::DatabaseError;
use crate::db::model_utils::Period;
use crate::db::schedules::{Periods, Schedule};
use crate::db::types::EmgauwaUid;
// export for easier/flatter access
pub use crate::db::schedules::{Periods, Schedule};
pub(crate) mod errors;
mod model_utils;
mod models;