openzeppelin_monitor/repositories/mod.rs
1//! Repository implementations for configuration management.
2//!
3//! This module provides traits and implementations for loading and managing
4//! configuration data from the filesystem. Each repository type handles a specific
5//! configuration type and provides:
6//!
7//! - Loading configurations from JSON files
8//! - Validating configuration references between different types
9//! - Accessing configurations through a service layer
10//!
11//! Currently supported repositories:
12//! - Monitor: Loads and validates monitor configurations, ensuring referenced networks and triggers
13//! exist
14//! - Network: Loads network configurations defining blockchain connection details
15//! - Trigger: Loads trigger configurations defining actions to take when conditions match
16
17mod error;
18mod monitor;
19mod network;
20mod trigger;
21
22pub use error::RepositoryError;
23pub use monitor::{MonitorRepository, MonitorRepositoryTrait, MonitorService};
24pub use network::{NetworkRepository, NetworkRepositoryTrait, NetworkService};
25pub use trigger::{TriggerRepository, TriggerRepositoryTrait, TriggerService};