Files
start-os/core/startos/bindings/MainStatus.ts
2024-03-28 11:20:20 -06:00

21 lines
671 B
TypeScript

// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { Duration } from "./Duration";
import type { HealthCheckId } from "./HealthCheckId";
import type { HealthCheckResult } from "./HealthCheckResult";
export type MainStatus =
| { status: "stopped" }
| { status: "restarting" }
| { status: "stopping"; timeout: Duration }
| { status: "starting" }
| {
status: "running";
started: string;
health: { [key: HealthCheckId]: HealthCheckResult };
}
| {
status: "backingUp";
started: string | null;
health: { [key: HealthCheckId]: HealthCheckResult };
};