mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-21 01:09:17 +08:00
46 lines
1.0 KiB
Go
46 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;
|
|
}
|
|
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;
|
|
}
|
|
}
|