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