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

30 lines
770 B
TypeScript

import { type HealthIndicatorResult } from '../health-indicator';
/**
* @publicApi
*/
export type HealthCheckStatus = 'error' | 'ok' | 'shutting_down';
/**
* The result of a health check
* @publicApi
*/
export interface HealthCheckResult {
/**
* The overall status of the Health Check
*/
status: HealthCheckStatus;
/**
* The info object contains information of each health indicator
* which is of status "up"
*/
info?: HealthIndicatorResult;
/**
* The error object contains information of each health indicator
* which is of status "down"
*/
error?: HealthIndicatorResult;
/**
* The details object contains information of every health indicator.
*/
details: HealthIndicatorResult;
}