mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
compiles
This commit is contained in:
@@ -3,7 +3,16 @@ import { T } from '@start9labs/start-sdk'
|
||||
|
||||
export type DataModel = {
|
||||
ui: UIData
|
||||
serverInfo: ServerInfo
|
||||
serverInfo: Omit<
|
||||
T.Public['serverInfo'],
|
||||
'wifi' | 'unreadNotificationCount'
|
||||
> & {
|
||||
network: NetworkInfo
|
||||
unreadNotifications: {
|
||||
count: number
|
||||
recent: ServerNotifications
|
||||
}
|
||||
}
|
||||
packageData: Record<string, PackageDataEntry>
|
||||
}
|
||||
|
||||
@@ -17,7 +26,6 @@ export type UIData = {
|
||||
}
|
||||
ackInstructions: Record<string, boolean>
|
||||
theme: string
|
||||
desktop: readonly string[]
|
||||
}
|
||||
|
||||
export type UIMarketplaceData = {
|
||||
@@ -33,30 +41,6 @@ export type UIStore = {
|
||||
name?: string
|
||||
}
|
||||
|
||||
export type ServerInfo = {
|
||||
id: string
|
||||
version: string
|
||||
country: string
|
||||
ui: T.HostnameInfo[]
|
||||
network: NetworkInfo
|
||||
lastBackup: string | null
|
||||
unreadNotifications: {
|
||||
count: number
|
||||
recent: ServerNotifications
|
||||
}
|
||||
statusInfo: ServerStatusInfo
|
||||
eosVersionCompat: string
|
||||
pubkey: string
|
||||
caFingerprint: string
|
||||
ntpSynced: boolean
|
||||
smtp: T.SmtpValue | null
|
||||
passwordHash: string
|
||||
platform: string
|
||||
arch: string
|
||||
governor: string | null
|
||||
zram: boolean
|
||||
}
|
||||
|
||||
export type NetworkInfo = {
|
||||
wifi: WiFiInfo
|
||||
start9ToSubdomain: Omit<Domain, 'provider'> | null
|
||||
|
||||
Reference in New Issue
Block a user