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>
30 lines
770 B
TypeScript
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;
|
|
}
|