Provides access to global configuration properties and environment flags.

To access a config value use

import { configValue } from "apprt-core/config";

// now access a config value
const commonArcGISPortal = configValue("arcgis-portal-url");

To access a environment value use

import { envValue } from "apprt-core/config";

// now access a environment value
const browserSupportsWebassembly = envValue("webassembly");

Classes

LazyValues

Interfaces

Interceptor
RegisterOptions
WellknownConfigKeys
WellknownEnvKeys

Type Aliases

ConfigKey
EnvKey
SupportedValueTypes
ValueOrValueProvider
ValueProvider

Functions

configValue
envValue
registerConfigValue
registerEnvValue
setConfigValueInterceptor
setEnvValueInterceptor
unregisterConfigValue
unregisterEnvValue