...
This commit is contained in:
33
heromodels/src/herodb/mod.rs
Normal file
33
heromodels/src/herodb/mod.rs
Normal file
@@ -0,0 +1,33 @@
|
||||
// Export the error module
|
||||
pub mod error;
|
||||
pub use error::{DbError, DbResult};
|
||||
|
||||
// Export the model module
|
||||
pub mod model;
|
||||
pub use model::{Model, Storable, IndexKey, GetId};
|
||||
|
||||
// Export the store module
|
||||
pub mod store;
|
||||
pub use store::{DbOperations, OurDbStore};
|
||||
|
||||
// Export the generic store module
|
||||
pub mod generic_store;
|
||||
pub use generic_store::GenericStore;
|
||||
|
||||
// Export the db module
|
||||
pub mod db;
|
||||
pub use db::{DB, DBBuilder, ModelRegistration, ModelRegistrar};
|
||||
|
||||
// Export the TST index module
|
||||
pub mod tst_index;
|
||||
pub use tst_index::TSTIndexManager;
|
||||
|
||||
// Export macros for model methods
|
||||
pub mod macros;
|
||||
|
||||
// Export model-specific methods
|
||||
pub mod model_methods;
|
||||
|
||||
// Tests
|
||||
#[cfg(test)]
|
||||
mod tests;
|
Reference in New Issue
Block a user