common_configs library

Classes

Config<T extends Object>
A representation of a configuration that can be identified by an id.
ConfigProvider<O extends Object, T extends Config<O>>
A ConfigProvider which manages Config only under one name and optionally by type of Config T & id of config O.
ConfigsManager
ConfigStore
An in-memory store of Configs. Every config is stored by a name.
InMemoryConfigsManager
A manager of Configs which can be used to store and retrieve Config for a scope.
MapConfig<O extends Object>
A configuration that that has data as a Map.

Typedefs

ConfigCreationCallback<T extends Config<Object>> = T Function()
ReturnDefaultValueCallback<T> = T? Function()