mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 04:01:58 +00:00
* complete get_primary_url fn * complete clear_network_interfaces fn * formatting * complete remove_address fn * get_system_smtp wip * complete get_system_smtp and set_system_smtp * add SetSystemSmtpParams struct * add set_system_smtp subcommand * Remove 'Copy' implementation from `HostAddress` Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com> * Refactor `get_host_primary` fn and clone resulting `HostAddress` Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com> * misc fixes and debug info * seed hosts with a tor address --------- Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com> Co-authored-by: Aiden McClelland <me@drbonez.dev>
33 lines
829 B
TypeScript
33 lines
829 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 { IpInfo } from "./IpInfo"
|
|
import type { ServerStatus } from "./ServerStatus"
|
|
import type { WifiInfo } from "./WifiInfo"
|
|
|
|
export type ServerInfo = {
|
|
arch: string
|
|
platform: string
|
|
id: string
|
|
hostname: string
|
|
version: string
|
|
lastBackup: string | null
|
|
eosVersionCompat: string
|
|
lanAddress: string
|
|
onionAddress: string
|
|
/**
|
|
* for backwards compatibility
|
|
*/
|
|
torAddress: string
|
|
ipInfo: { [key: string]: IpInfo }
|
|
statusInfo: ServerStatus
|
|
wifi: WifiInfo
|
|
unreadNotificationCount: number
|
|
passwordHash: string
|
|
pubkey: string
|
|
caFingerprint: string
|
|
ntpSynced: boolean
|
|
zram: boolean
|
|
governor: Governor | null
|
|
smtp: string | null
|
|
}
|