mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-01 21:13:09 +00:00
finish
This commit is contained in:
committed by
Aiden McClelland
parent
36f0959bc2
commit
e864d0eb64
@@ -3,6 +3,7 @@ import { ConfigSpec } from 'src/app/pkg-config/config-types'
|
||||
export interface DataModel {
|
||||
'server-info': ServerInfo
|
||||
'package-data': { [id: string]: PackageDataEntry }
|
||||
'recovered-packages': { [id: string]: RecoveredPackageDataEntry }
|
||||
ui: UIData
|
||||
}
|
||||
|
||||
@@ -10,6 +11,7 @@ export interface UIData {
|
||||
name: string
|
||||
'welcome-ack': string
|
||||
'auto-check-updates': boolean
|
||||
'pkg-order': string[]
|
||||
}
|
||||
|
||||
export interface ServerInfo {
|
||||
@@ -30,8 +32,14 @@ export interface ServerInfo {
|
||||
export enum ServerStatus {
|
||||
Running = 'running',
|
||||
Updating = 'updating',
|
||||
Updated = 'updated',
|
||||
BackingUp = 'backing-up',
|
||||
}
|
||||
export interface RecoveredPackageDataEntry {
|
||||
title: string,
|
||||
icon: URL,
|
||||
version: string,
|
||||
}
|
||||
|
||||
export interface PackageDataEntry {
|
||||
state: PackageState
|
||||
|
||||
Reference in New Issue
Block a user