template-saas/apps/backend/node_modules/@nestjs/common/interfaces/modules/dynamic-module.interface.d.ts
rckrdmrd 26f0e52ca7 feat: Initial commit - template-saas
Template base para proyectos SaaS multi-tenant.

Estructura inicial:
- apps/backend (NestJS API)
- apps/frontend (React/Vite)
- apps/database (PostgreSQL DDL)
- docs/ (Documentación)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 04:41:24 -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;
}