mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 18:31:52 +00:00
- Add TS derive and type annotations to all tunnel API param structs - Export tunnel bindings to a tunnel/ subdirectory with index generation - Change port forward label from String to Option<String> - Add TunnelDatabase::init() with default subnet creation - Add tunnel migration framework with m_00_port_forward_entry migration to convert legacy string-only port forwards to the new entry format
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
|
|
}
|