rework endpoints and enable setting custom marketplace urls

This commit is contained in:
Matt Hill
2021-07-14 16:43:25 -06:00
committed by Aiden McClelland
parent 16f5764f74
commit 6d92c195e9
24 changed files with 397 additions and 439 deletions

View File

@@ -6,14 +6,19 @@ export interface DataModel {
ui: UIData
}
export interface UIData {
'welcome-ack': string
'auto-check-updates': boolean
}
export interface ServerInfo {
id: string
version: string
'lan-address': URL
'tor-address': URL
status: ServerStatus
'package-registry': URL
'system-registry': URL
'eos-marketplace': URL
'package-marketplace': URL | null // uses EOS marketplace if null
wifi: WiFiInfo
'unread-notification-count': number
specs: {
@@ -376,8 +381,3 @@ export interface InterfaceInfo {
}
export type URL = string
export interface UIData {
'welcome-ack': string
'auto-check-updates': boolean
}