Remove 'loading' and 'error' states

This commit is contained in:
2025-10-26 19:12:35 +01:00
parent 2a1bebeb24
commit 75e7b628ca
3 changed files with 37 additions and 115 deletions

View File

@@ -13,14 +13,14 @@ export type BackendTypeValue = typeof BackendType[keyof typeof BackendType]
export type InstanceStatus = 'running' | 'stopped' | 'failed' | 'restarting'
export type HealthState = 'stopped' | 'starting' | 'loading' | 'ready' | 'error' | 'failed' | 'restarting'
export type HealthState = 'stopped' | 'starting' | 'ready' | 'failed' | 'restarting'
export interface HealthStatus {
state: HealthState
instanceStatus: InstanceStatus | 'unknown'
instanceStatus: InstanceStatus
lastChecked: Date
error?: string
source: 'backend' | 'http' | 'error'
source: 'backend' | 'http'
}
export interface Instance {