mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-10-06 08:00:22 +00:00
feat: 增加从快照恢复功能
feat: 增加升级备份与恢复
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user