1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-21 01:09:17 +08:00

47 lines
1.0 KiB
Go
Raw Normal View History

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