data_modelling_core/model/mod.rs
1//! Model loading and saving functionality
2//!
3//! Provides high-level operations for loading and saving data models
4//! using storage backends.
5//!
6//! File structure:
7//! - Base directory (workspace_path)
8//! - Domain directories (e.g., `domain1/`, `domain2/`)
9//! - `domain.yaml` - Domain definition
10//! - `{name}.odcs.yaml` - ODCS table files
11//! - `{name}.odps.yaml` - ODPS product files
12//! - `{name}.cads.yaml` - CADS asset files
13//! - `tables/` - Legacy: tables not in any domain (backward compatibility)
14
15#[cfg(feature = "api-backend")]
16pub mod api_loader;
17pub mod loader;
18pub mod saver;
19
20#[cfg(feature = "api-backend")]
21pub use api_loader::ApiModelLoader;
22pub use loader::{DomainLoadResult, ModelLoader};
23pub use saver::ModelSaver;