Files
start-os/core/startos/bindings/ServerInfo.ts
2024-03-28 11:20:20 -06:00

36 lines
944 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;
/**
* Used in the wifi to determine the region to set the system to
*/
lastWifiRegion: 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;
};