Files
start-os/sdk/base/lib/osBindings/ServerInfo.ts
Aiden McClelland 6a1b1627c5 chore: reserialize db on equal version, update bindings and docs
- Run de/ser roundtrip in pre_init even when db version matches, ensuring
  all #[serde(default)] fields are populated before any typed access
- Add patchdb.md documentation for TypedDbWatch patterns
- Update TS bindings for CheckPortParams, CheckPortRes, ifconfigUrl
- Update CLAUDE.md docs with patchdb and component-level references
2026-02-16 19:27:48 -07:00

35 lines
1012 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 = {
arch: string
platform: string
id: 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
ifconfigUrl: string
ram: number
devices: Array<LshwDevice>
kiosk: boolean | null
language: string | null
keyboard: KeyboardOptions | null
}