mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 10:21:52 +00:00
* feat: Implementation on the backup for the service. * wip: Getting the flow of backup/restore * feat: Recover * Feature: Commit the full pass on the backup restore. * use special type for backup instead of special id (#2614) * fix: Allow compat docker style to run again * fix: Backup for the js side * chore: Update some of the callbacks --------- Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
22 lines
689 B
TypeScript
22 lines
689 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: "restoring" }
|
|
| { status: "stopping"; timeout: Duration }
|
|
| { status: "starting" }
|
|
| {
|
|
status: "running"
|
|
started: string
|
|
health: { [key: HealthCheckId]: HealthCheckResult }
|
|
}
|
|
| {
|
|
status: "backingUp"
|
|
started: string | null
|
|
health: { [key: HealthCheckId]: HealthCheckResult }
|
|
}
|