UNPKG

@nestjs/common

Version:

Decorators, pipes, exceptions and utilities for NestJS applications: @Controller(), @Injectable(), @Body(), ValidationPipe, HttpException and more.

17 lines (16 loc) • 515 B
export const DEFAULT_METHOD_KEY = 'register'; export const DEFAULT_FACTORY_CLASS_METHOD_KEY = 'create'; export const ASYNC_METHOD_SUFFIX = 'Async'; export const CONFIGURABLE_MODULE_ID = 'CONFIGURABLE_MODULE_ID'; /** * List of keys that are specific to ConfigurableModuleAsyncOptions * and should be excluded when extracting user-defined extras. */ export const ASYNC_OPTIONS_METADATA_KEYS = [ 'useFactory', 'useClass', 'useExisting', 'inject', 'imports', 'provideInjectionTokensFrom', ];