template-saas/apps/backend/node_modules/@nestjs/terminus/dist/terminus-options.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

27 lines
850 B
TypeScript

import { type LoggerService, type Type } from '@nestjs/common';
export type ErrorLogStyle = 'pretty' | 'json';
/**
* The Terminus module options
*
* errorLogStyle: The style of the error logger. Either 'pretty' or 'json'. Default to 'json'.
* logger: The logger to use. Either default logger or your own.
* gracefulShutdownTimeoutMs: The timeout to wait in ms before the application shuts down. Default to 0ms.
* @publicApi
*/
export interface TerminusModuleOptions {
/**
* The style of the error logger
* @default 'json'
*/
errorLogStyle?: ErrorLogStyle;
/**
* The logger to use. Either default logger or your own.
*/
logger?: Type<LoggerService> | boolean;
/**
* The timeout to wait in ms before the application shuts down
* @default 0
*/
gracefulShutdownTimeoutMs?: number;
}