UNPKG

@nestjs/config

Version:

Configuration for NestJS: load .env files and custom configuration, validate it at startup, and read it through an injectable ConfigService.

13 lines (12 loc) • 612 B
/** * Injection tokens */ export declare const CONFIGURATION_SERVICE_TOKEN: unique symbol; export declare const CONFIGURATION_TOKEN = "CONFIGURATION_TOKEN"; export declare const CONFIGURATION_LOADER = "CONFIGURATION_LOADER"; export declare const VALIDATED_ENV_LOADER = "VALIDATED_ENV_LOADER"; export declare const CONFIGURATION_LOADED: unique symbol; export declare const PARTIAL_CONFIGURATION_KEY = "PARTIAL_CONFIGURATION_KEY"; export declare const PARTIAL_CONFIGURATION_PROPNAME = "KEY"; export declare const VALIDATED_ENV_PROPNAME: unique symbol; export declare const AS_PROVIDER_METHOD_KEY = "asProvider";