feat: 增加从快照恢复功能

feat: 增加升级备份与恢复
This commit is contained in:
ssongliu
2023-01-30 21:11:12 +08:00
committed by ssongliu
parent e3a15e88d7
commit e7af9de9ed
56 changed files with 12385 additions and 315 deletions
+23 -2
View File
@@ -5,6 +5,7 @@ export namespace Setting {
userName: string;
password: string;
email: string;
systemVersion: string;
sessionTimeout: number;
localTime: string;
@@ -46,16 +47,36 @@ export namespace Setting {
code: string;
}
export interface SnapshotCreate {
from: string;
description: string;
backupType: string;
}
export interface SnapshotRecover {
id: number;
isNew: boolean;
reDownload: boolean;
}
export interface SnapshotInfo {
id: number;
name: string;
from: string;
description: string;
backupType: string;
status: string;
message: string;
createdAt: DateTimeFormats;
version: string;
interruptStep: string;
recoverStatus: string;
recoverMessage: string;
lastRecoveredAt: string;
rollbackStatus: string;
rollbackMessage: string;
lastRollbackedAt: string;
}
export interface UpgradeInfo {
newVersion: string;
tag: string;
releaseNote: string;
createdAt: string;
publishedAt: string;
}
}