Files
start-os/sdk/base/lib/osBindings/ServerInfo.ts
Aiden McClelland a3575cf9a3 chore: remove arch and platform fields from ServerInfo
These are static platform constants and don't need to be stored in the
database or exposed in the public model. Use crate::ARCH directly where
needed.
2026-03-31 20:50:48 -06:00

34 lines
994 B
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 = {
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
}