The options for retrieving the configuration.
OptionalconfigName?: stringThe name of the remote configuration.
OptionalconfigServerUrl?: stringThe URL of the configuration server.
OptionalignoreServerIsOlderVersionError?: booleanIndicates whether to ignore the error when the server version is older than the requested version.
OptionallocalConfigPath?: stringThe path to the local configuration folder.
OptionalmetricsRegistry?: RegistryThe registry for the metrics. If not provided, the metrics will not be registered. Depends on the prom-client package being installed.
OptionalofflineMode?: booleanIndicates whether the configuration should be loaded in offline mode.
The schema of the configuration object.
Optionalversion?: number | "latest"The version of the remote configuration. It can be either 'latest' or a number.
Retrieves the configuration based on the provided options.