This commit is contained in:
xief
2025-06-24 11:48:26 +08:00
commit 305a30372a
16 changed files with 4325 additions and 0 deletions

15
src/base.ts Normal file
View File

@@ -0,0 +1,15 @@
export class ConfigBase {
name: string = '';
version:string = '1.0.0';
enable:boolean = true;
[key: string]: any;
}
export interface FileOptions {
encode?: string;
addBOM?: boolean;
}
export interface FileInfo extends FileOptions {
name: string,
content: string | Blob | Uint8Array,
}