feat: 增加文件压缩功能

This commit is contained in:
zhengkunwang223
2022-08-30 17:59:59 +08:00
parent 12527de2ba
commit 20129c7d0b
20 changed files with 442 additions and 30 deletions

View File

@@ -13,6 +13,7 @@ export namespace File {
updateTime: string;
modTime: string;
mode: number;
mimeType: string;
items: File[];
}
@@ -40,4 +41,12 @@ export namespace File {
path: string;
isDir: boolean;
}
export interface FileCompress {
files: string[];
type: string;
dst: string;
name: string;
replace: boolean;
}
}