Files
start-os/sdk/base/lib/osBindings/ServerInfo.ts
Aiden McClelland 3974c09369 feat(core): refactor hostname to ServerHostnameInfo with name/hostname pair
- Rename Hostname to ServerHostnameInfo, add name + hostname fields
- Add set_hostname_rpc for changing hostname at runtime
- Migrate alpha_20: generate serverInfo.name from hostname, delete ui.name
- Extract gateway.rs helpers to fix rustfmt nesting depth issue
- Add i18n key for hostname validation error
- Update SDK bindings
2026-02-24 14:18:53 -07:00

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
ifconfigUrl: string
ram: number
devices: Array<LshwDevice>
kiosk: boolean | null
language: string | null
keyboard: KeyboardOptions | null
}