mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-10-02 08:00:07 +00:00
fix: 统一文件上传、删除接口
This commit is contained in:
@@ -169,10 +169,6 @@ export namespace Database {
|
||||
createdAt: string;
|
||||
size: string;
|
||||
}
|
||||
export interface FileRecordDelete {
|
||||
fileDir: string;
|
||||
names: Array<string>;
|
||||
}
|
||||
export interface RedisRecover {
|
||||
fileName: string;
|
||||
fileDir: string;
|
||||
|
||||
@@ -51,6 +51,11 @@ export namespace File {
|
||||
isDir: boolean;
|
||||
}
|
||||
|
||||
export interface FileBatchDelete {
|
||||
isDir: boolean;
|
||||
paths: Array<string>;
|
||||
}
|
||||
|
||||
export interface FileCompress {
|
||||
files: string[];
|
||||
type: string;
|
||||
|
||||
Reference in New Issue
Block a user