diff options
| author | Joe Carstairs <me@joeac.net> | 2025-08-16 07:46:21 +0100 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2025-08-16 18:22:47 +0100 |
| commit | d082a30de6a0cbd1fbe2ab5a4316db0891004129 (patch) | |
| tree | c097414625e1948116383406d894842fccc98227 /schist_core/schist_models/src/lib.rs | |
| parent | 9c0bc43bf0b83828d9bdf8005fcccbc33dcf4171 (diff) | |
refactor models and traits with pub use
Diffstat (limited to 'schist_core/schist_models/src/lib.rs')
| -rw-r--r-- | schist_core/schist_models/src/lib.rs | 32 |
1 files changed, 22 insertions, 10 deletions
diff --git a/schist_core/schist_models/src/lib.rs b/schist_core/schist_models/src/lib.rs index 503db17..3aa4733 100644 --- a/schist_core/schist_models/src/lib.rs +++ b/schist_core/schist_models/src/lib.rs @@ -1,12 +1,24 @@ -pub mod account; -pub mod account_transfer; -pub mod bucket; -pub mod bucket_transfer; -pub mod budget_period_unit; -pub mod date_utc; -pub mod datetime_utc; -pub mod drip; +mod account; +mod account_transfer; +mod bucket; +mod bucket_transfer; +mod budget_period_unit; +mod date_utc; +mod datetime_utc; +mod drip; +mod pipe; +mod transaction; + pub mod migrations; -pub mod pipe; pub mod schema; -pub mod transaction; + +pub use account::Account; +pub use account_transfer::{AccountTransfer, AccountTransferBuilder}; +pub use bucket::{Bucket, BucketBuilder}; +pub use bucket_transfer::{BucketTransfer, BucketTransferBuilder}; +pub use budget_period_unit::BudgetPeriodUnit; +pub use date_utc::DateUtc; +pub use datetime_utc::DatetimeUtc; +pub use drip::{Drip, DripBuilder}; +pub use pipe::{Pipe, PipeBuilder}; +pub use transaction::{Transaction, TransactionBuilder}; |
