Optional
isFunction(s) to load configurations, must be synchronous.
Optional
normalizeCustom function to normalize configurations. It takes an object containing environment variables as input and outputs normalized configurations.
This function is executed before validation, and can be used to do type casting, variable expanding, etc.
The root object for application configuration.
Optional
validateCustom function to validate configurations. It takes an object containing environment variables as input and outputs validated configurations. If exception is thrown in the function it would prevent the application from bootstrapping.
Optional
validationOptions passed to validator during validation.
Generated using TypeDoc
Defaults to "true".
If "true", registers
ConfigModule
as a global module. See: https://docs.nestjs.com/modules#global-modules