The instantiation options for a setting registry

interface IOptions {
    connector: IDataConnector<IPlugin, string, string, string>;
    plugins?: IPlugin[];
    timeout?: number;
    validator?: ISchemaValidator;
}

Properties

connector: IDataConnector<IPlugin, string, string, string>

The data connector used by the setting registry.

plugins?: IPlugin[]

Preloaded plugin data to populate the setting registry.

timeout?: number

The number of milliseconds before a load() call to the registry waits before timing out if it requires a transformation that has not been registered.

Notes

The default value is 7000.

validator?: ISchemaValidator

The validator used to enforce the settings JSON schema.