UNPKG

@citrineos/base

Version:

The base module for OCPP v2.0.1 including all interfaces. This module is not intended to be used directly, but rather as a dependency for other modules.

13 lines (12 loc) 691 B
import type { SystemConfig, SystemConfigInput } from './types.js'; export declare const CITRINE_ENV_VAR_PREFIX: string; export declare const BOOTSTRAP_CONFIG_ENV_VAR_PREFIX: string; /** * Defines the application configuration by merging input configuration which is defined in a file with environment variables. * Takes environment variables over predefined * @param inputConfig The file defined input configuration. * @returns The final system configuration. * @throws Error if required environment variables are not set or if there are parsing errors. */ export declare function defineConfig(inputConfig: SystemConfigInput): SystemConfig; export declare const DEFAULT_TENANT_ID = 1;