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

47 lines
1.0 KiB
Go

import { ReqPage } from '.';
export namespace Backup {
export interface BackupInfo {
id: number;
type: string;
accessKey: string;
bucket: string;
credential: string;
vars: string;
varsJson: object;
createdAt: Date;
}
export interface BackupOperate {
id: number;
type: string;
accessKey: string;
bucket: string;
credential: string;
vars: string;
}
export interface RecordDownload {
source: string;
fileDir: string;
fileName: string;
}
export interface RecordInfo {
id: number;
createdAt: Date;
source: string;
backupType: string;
fileDir: string;
fileName: string;
}
export interface ForBucket {
type: string;
accessKey: string;
credential: string;
vars: string;
}
export interface SearchBackupRecord extends ReqPage {
type: string;
name: string;
detailName: string;
}
}