@lvce-editor/test-worker 10.14.0 → 11.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/api.d.ts CHANGED
@@ -50,6 +50,11 @@ export interface FileSystemTmpDirOptions {
50
50
  readonly scheme?: string;
51
51
  }
52
52
 
53
+ export interface FileItem {
54
+ readonly content: string;
55
+ readonly uri: string;
56
+ }
57
+
53
58
  export interface SelectItem2Options {
54
59
  readonly callbackCommand: string;
55
60
  readonly label: string;
@@ -312,6 +317,7 @@ interface FileSystem {
312
317
  readonly readDir: (uri: string) => Promise<void>;
313
318
  readonly readFile: (uri: string) => Promise<string>;
314
319
  readonly remove: (uri: string) => Promise<void>;
320
+ readonly setFiles: (files: readonly FileItem[]) => Promise<void>;
315
321
  readonly writeFile: (uri: string, content: string) => Promise<void>;
316
322
  readonly writeJson: (uri: string, data: any) => Promise<void>;
317
323
  }
@@ -394,6 +400,7 @@ interface Main {
394
400
  interface Output {
395
401
  readonly clear: () => Promise<void>;
396
402
  readonly handleFilterInput: (text: string) => Promise<void>;
403
+ readonly saveAs: () => Promise<void>;
397
404
  readonly selectChannel: (channelId: string) => Promise<void>;
398
405
  readonly show: () => Promise<void>;
399
406
  }