mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 18:31:52 +00:00
21 lines
671 B
TypeScript
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 };
|
|
};
|