michangarrito/apps/backend/node_modules/@nestjs/common/interfaces/modules/dynamic-module.interface.d.ts
rckrdmrd 97f407c661 [MIGRATION-V2] feat: Migrar michangarrito a estructura v2
- Prefijo v2: MCH
- TRACEABILITY-MASTER.yml creado
- Listo para integracion como submodulo

Workspace: v2.0.0 | SIMCO: v4.0.0
2026-01-10 11:28:54 -06:00

26 lines
724 B
TypeScript

import { Type } from '../type.interface';
import { ModuleMetadata } from './module-metadata.interface';
/**
* Interface defining a Dynamic Module.
*
* @see [Dynamic Modules](https://docs.nestjs.com/modules#dynamic-modules)
*
* @publicApi
*/
export interface DynamicModule extends ModuleMetadata {
/**
* A module reference
*/
module: Type<any>;
/**
* When "true", makes a module global-scoped.
*
* Once imported into any module, a global-scoped module will be visible
* in all modules. Thereafter, modules that wish to inject a service exported
* from a global module do not need to import the provider module.
*
* @default false
*/
global?: boolean;
}