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>
56 lines
1.6 KiB
TypeScript
56 lines
1.6 KiB
TypeScript
import { type HealthCheckStatus } from './health-check-result.interface';
|
|
import { type HealthIndicatorResult } from '../health-indicator';
|
|
export declare function getHealthCheckSchema(status: HealthCheckStatus): {
|
|
type: string;
|
|
properties: {
|
|
status: {
|
|
type: string;
|
|
example: HealthCheckStatus;
|
|
};
|
|
info: {
|
|
nullable: boolean;
|
|
type: string;
|
|
example: HealthIndicatorResult;
|
|
additionalProperties: {
|
|
type: string;
|
|
required: string[];
|
|
properties: {
|
|
status: {
|
|
type: string;
|
|
};
|
|
};
|
|
additionalProperties: boolean;
|
|
};
|
|
};
|
|
error: {
|
|
nullable: boolean;
|
|
type: string;
|
|
example: HealthIndicatorResult;
|
|
additionalProperties: {
|
|
type: string;
|
|
required: string[];
|
|
properties: {
|
|
status: {
|
|
type: string;
|
|
};
|
|
};
|
|
additionalProperties: boolean;
|
|
};
|
|
};
|
|
details: {
|
|
type: string;
|
|
example: HealthIndicatorResult;
|
|
additionalProperties: {
|
|
type: string;
|
|
required: string[];
|
|
properties: {
|
|
status: {
|
|
type: string;
|
|
};
|
|
};
|
|
additionalProperties: boolean;
|
|
};
|
|
};
|
|
};
|
|
};
|