Skip to main content

Config

The Config Service is responsible for retrieving the configuration of the application

Details

All of this data will be compliant with the Elevate Vikimap Model as defined in the models section

Available methods

  • config:.
    • getConfiguration(): gets the application configuration.
    • getApplicationConfiguration(): gets the application configuration.
    • getFeatureFlags(): gets the feature flags of the application to enable/disable certain features.
    • getProvidersConfiguration(): gets the providers specific configuration.

Example usage

import { getConfiguration } from '#/services/config';
[...]
const config = await getConfiguration();