Skip to main content

platform_core/runtime_config/
mod.rs

1//! Layered, console-editable configuration overlaid on the static `AppConfig`.
2//!
3//! Domains and platform crates declare typed [`RuntimeConfigDescriptor`]s; a
4//! [`RuntimeConfigRegistry`] aggregates them; later tasks add the snapshot and
5//! provider that resolve effective values from defaults plus stored overrides.
6
7mod descriptor;
8pub mod generated;
9mod postgres;
10mod provider;
11mod snapshot;
12pub mod store;
13
14pub use descriptor::{
15    RuntimeConfigDescriptor, RuntimeConfigGeneratedValue, RuntimeConfigGroupDescriptor,
16    RuntimeConfigRegistry, RuntimeConfigScope, RuntimeConfigType, RuntimeConfigVisibilityCondition,
17};
18pub use postgres::{CONFIG_NOTIFY_CHANNEL, PostgresRuntimeConfigProvider};
19pub use provider::{RuntimeConfigCell, RuntimeConfigProvider, StaticRuntimeConfigProvider};
20pub use snapshot::{RuntimeConfigSnapshot, RuntimeConfigSource};
21pub use store::{RuntimeConfigAuditEntry, StoredRuntimeConfig};