refactor: downgrade and update improvements with store refactors

This commit is contained in:
Zack Spear
2023-11-06 13:20:06 -08:00
parent 1d67fa4c56
commit 799b77f09b
9 changed files with 83 additions and 47 deletions
+4 -1
View File
@@ -31,8 +31,9 @@ export type ServerState = 'BASIC'
| undefined;
export type ServerOsVersionBranch = 'stable' | 'next' | 'preview' | 'test';
export type ServerconnectPluginInstalled = 'dynamix.unraid.net.plg' | 'dynamix.unraid.net.staging.plg' | 'dynamix.unraid.net.plg_installFailed' | 'dynamix.unraid.net.staging.plg_installFailed' | '';
export type ServerRebootType = 'thirdPartyDriversDownloading' | 'downgrade' | 'update' | '';
export interface Server {
apiKey?: string;
apiVersion?: string;
@@ -58,6 +59,8 @@ export interface Server {
name?: string;
osVersion?: string;
osVersionBranch?: ServerOsVersionBranch;
rebootType?: ServerRebootType;
rebootVersion?: string;
registered?: boolean;
regDev?: number;
regGen?: number;