mirror of
https://github.com/andwati/telecom-platform.git
synced 2026-11-13 15:35:13 +00:00
refactor: Reorganize charging and errors modules into proper directory structure
- Move charging module files into charging/ directory (types.rs, engine.rs, credit_management.rs, rating_billing.rs) - Move error module files into errors/ directory (types.rs, helpers.rs) - Create mod.rs files for charging and errors modules with simplified exports - Update import paths to use super:: for intra-module references - Remove charging_new/errors_new aliases and use charging/errors directly - Simplify module
This commit is contained in:
@@ -1,18 +1,8 @@
|
||||
mod api;
|
||||
mod charging_new as charging;
|
||||
mod errors_new as errors;
|
||||
mod models;
|
||||
|
||||
// Include the new modular components
|
||||
mod charging_types;
|
||||
mod charging_engine;
|
||||
mod credit_management;
|
||||
mod rating_billing;
|
||||
mod monitoring_sync;
|
||||
mod sync_operations;
|
||||
mod charging;
|
||||
mod monitoring;
|
||||
mod error_types;
|
||||
mod error_helpers;
|
||||
mod errors;
|
||||
mod models;
|
||||
|
||||
use anyhow::Result;
|
||||
use std::sync::Arc;
|
||||
|
||||
Reference in New Issue
Block a user