/
githubmirror
/
nest
Обзор
Документация
Войти
/
githubmirror
/
nest
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
packages/common/module-utils/constants.ts
18 строк
514 B
mag123c
fix(common): resolve extras in configurable module builder async methods
01 окт 2025, 04:03
01 окт 2025, 04:03
cbf82f6
Код
Авторство
О чём код?
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', ] as const;