2022-11-29 17:39:10 +08:00
|
|
|
import { ReqPage } from '.';
|
|
|
|
|
2022-09-16 18:53:45 +08:00
|
|
|
export namespace Backup {
|
|
|
|
export interface BackupInfo {
|
|
|
|
id: number;
|
|
|
|
type: string;
|
|
|
|
bucket: string;
|
|
|
|
vars: string;
|
|
|
|
varsJson: object;
|
|
|
|
}
|
|
|
|
export interface BackupOperate {
|
|
|
|
id: number;
|
|
|
|
type: string;
|
|
|
|
bucket: string;
|
|
|
|
credential: string;
|
|
|
|
vars: string;
|
|
|
|
}
|
2022-10-28 11:02:47 +08:00
|
|
|
export interface RecordDownload {
|
|
|
|
source: string;
|
|
|
|
fileDir: string;
|
|
|
|
fileName: string;
|
|
|
|
}
|
2022-10-27 23:09:39 +08:00
|
|
|
export interface RecordInfo {
|
|
|
|
id: number;
|
|
|
|
createdAt: Date;
|
|
|
|
source: string;
|
2022-10-31 17:26:15 +08:00
|
|
|
backupType: string;
|
2022-10-27 23:09:39 +08:00
|
|
|
fileDir: string;
|
|
|
|
fileName: string;
|
|
|
|
}
|
2022-09-16 18:53:45 +08:00
|
|
|
export interface ForBucket {
|
|
|
|
type: string;
|
|
|
|
credential: string;
|
|
|
|
vars: string;
|
|
|
|
}
|
2022-11-29 17:39:10 +08:00
|
|
|
export interface SearchBackupRecord extends ReqPage {
|
|
|
|
type: string;
|
|
|
|
name: string;
|
|
|
|
detailName: string;
|
|
|
|
}
|
2022-09-16 18:53:45 +08:00
|
|
|
}
|