Optional
type: new () => TOptional
options: IConfigStoreOptionsOptional
Readonly
configConfiguration file directory
Readonly
dataConfiguration Data
Protected
getOptional
Readonly
sourceSource file used to load the configuration data
Allow retrieval of the loaded config data using the dot notation. Ie:
If [IConfigStoreOptions.loadAll] flag is set, the name of the file would be the first
key. Ie: if loaded config file is called config.json
, the dot notation would be:
config.db.name
This method is not optmized and created for retro compability of FP8Config class. Avoid this method and use an actual configuration class instead.
Load the configuration from
./etc
or./config
directory, searching sub directory defined inFP8_ENV
environmental variable if exists.Tye