mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
The restart reason belongs with other server state (shutting_down, restarting, update_progress) rather than on the top-level ServerInfo. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
14 lines
523 B
TypeScript
14 lines
523 B
TypeScript
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
import type { BackupProgress } from './BackupProgress'
|
|
import type { FullProgress } from './FullProgress'
|
|
import type { PackageId } from './PackageId'
|
|
import type { RestartReason } from './RestartReason'
|
|
|
|
export type ServerStatus = {
|
|
backupProgress: { [key: PackageId]: BackupProgress } | null
|
|
updateProgress: FullProgress | null
|
|
shuttingDown: boolean
|
|
restarting: boolean
|
|
restart: RestartReason | null
|
|
}
|