Files
CollabTable/shared/media-webui/src/lib/status.ts
T

17 lines
378 B
TypeScript
Raw Normal View History

2026-09-01 08:43:25 +02:00
export type StatusLevel = 'checking' | 'healthy' | 'degraded' | 'offline'
export interface StatusProbe {
path: string
ok: boolean
httpStatus: number | null
service: string | null
error: string | null
}
export interface StatusSnapshot {
level: StatusLevel
health: StatusProbe | null
readiness: StatusProbe | null
checkedAt: string | null
loading: boolean
}