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>
36 lines
1.0 KiB
TypeScript
36 lines
1.0 KiB
TypeScript
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
import type { Governor } from './Governor'
|
|
import type { KeyboardOptions } from './KeyboardOptions'
|
|
import type { LshwDevice } from './LshwDevice'
|
|
import type { NetworkInfo } from './NetworkInfo'
|
|
import type { ServerStatus } from './ServerStatus'
|
|
import type { SmtpValue } from './SmtpValue'
|
|
|
|
export type ServerInfo = {
|
|
arch: string
|
|
platform: string
|
|
id: string
|
|
name: string
|
|
hostname: string
|
|
version: string
|
|
packageVersionCompat: string
|
|
postInitMigrationTodos: Record<string, unknown>
|
|
lastBackup: string | null
|
|
network: NetworkInfo
|
|
statusInfo: ServerStatus
|
|
unreadNotificationCount: number
|
|
passwordHash: string
|
|
pubkey: string
|
|
caFingerprint: string
|
|
ntpSynced: boolean
|
|
zram: boolean
|
|
governor: Governor | null
|
|
smtp: SmtpValue | null
|
|
echoipUrls: string[]
|
|
ram: number
|
|
devices: Array<LshwDevice>
|
|
kiosk: boolean | null
|
|
language: string | null
|
|
keyboard: KeyboardOptions | null
|
|
}
|