Fix StartOS 0.4 TypeScript packaging to match SDK API
This commit is contained in:
+33
@@ -0,0 +1,33 @@
|
||||
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;
|
||||
};
|
||||
Reference in New Issue
Block a user