@breadstone/archipel-platform-configuration
Classes
| Class | Description |
|---|---|
| ConfigKeyNotFoundError | Error thrown when a configuration key cannot be resolved. |
| ConfigModule | The ConfigModule class. |
| ConfigRegistry | A static, global registry that collects all configuration keys registered by platform libraries. This enables a central overview of every environment variable the application depends on, grouped by source module. |
| ConfigService | - |
| ConfigStrategyBase | The ConfigStrategyBase class. Represents the base class for configuration strategies. |
| EnvironmentConfigStrategy | The EnvironmentConfigStrategy class. |
| FileConfigStrategy | The FileConfigStrategy class. |
Interfaces
| Interface | Description |
|---|---|
| IConfigKey | A type-safe config key that encodes both the config key and the type of its value. |
| IConfigModuleOptions | The IConfigModuleOptions interface. |
| IConfigRegistryEntry | Describes a registered configuration entry, including its source module and whether the entry is required or optional (with a default value). |
Functions
| Function | Description |
|---|---|
| createConfigKey | Creates a type-safe config key. |