mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 10:21:52 +00:00
* fixes for main * refactor package initialization * fixes from testing * more fixes * beta.21 * do not use instanceof * closes #2921 * beta22 * allow disabling kiosk * migration * fix /etc/shadow * actionRequest -> task * beta.23
26 lines
754 B
TypeScript
26 lines
754 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: HealthCheckId]: NamedHealthCheckResult }
|
|
}
|
|
| {
|
|
main: "running"
|
|
started: string
|
|
health: { [key: HealthCheckId]: NamedHealthCheckResult }
|
|
}
|
|
| { main: "backingUp"; onComplete: StartStop }
|