Files
start-os/sdk/base/lib/osBindings/MainStatus.ts
2025-08-15 18:32:27 -06:00

26 lines
760 B
TypeScript

// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { HealthCheckId } from "./HealthCheckId"
import type { NamedHealthCheckResult } from "./NamedHealthCheckResult"
import type { StartStop } from "./StartStop"
export type MainStatus =
| {
main: "error"
onRebuild: StartStop
message: string
debug: string | null
}
| { main: "stopped" }
| { main: "restarting" }
| { main: "stopping" }
| {
main: "starting"
health: { [key in HealthCheckId]?: NamedHealthCheckResult }
}
| {
main: "running"
started: string
health: { [key in HealthCheckId]?: NamedHealthCheckResult }
}
| { main: "backingUp"; onComplete: StartStop }