@lvce-editor/test-worker 13.17.0 → 13.19.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 +8 -1
- package/dist/testWorkerMain.js +627 -635
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -368,6 +368,7 @@ interface Explorer {
|
|
|
368
368
|
readonly handleDragOver: (x: number, y: number) => Promise<void>;
|
|
369
369
|
readonly handleDragOverIndex: (index: number) => Promise<void>;
|
|
370
370
|
readonly handleDrop: (x: number, y: number, fileIds: readonly number[], fileList: FileList | readonly File[]) => Promise<void>;
|
|
371
|
+
readonly handleDropIndex: (fileHandles: readonly FileSystemHandle[], files: readonly any[], paths: readonly string[], index: number) => Promise<void>;
|
|
371
372
|
readonly handleEscape: () => Promise<void>;
|
|
372
373
|
readonly handleInputBlur: () => Promise<void>;
|
|
373
374
|
readonly handlePaste: () => Promise<void>;
|
|
@@ -433,7 +434,7 @@ interface ExtensionSearch {
|
|
|
433
434
|
}
|
|
434
435
|
|
|
435
436
|
interface FileSystem {
|
|
436
|
-
readonly addFileHandle: (file: File) => Promise<void>;
|
|
437
|
+
readonly addFileHandle: (file: File | FileSystemHandle) => Promise<void>;
|
|
437
438
|
readonly chmod: (uri: string, permissions: any) => Promise<void>;
|
|
438
439
|
readonly createDroppedFileHandle: () => Promise<DroppedFileHandle>;
|
|
439
440
|
readonly createExecutable: (content: string) => Promise<string>;
|
|
@@ -509,6 +510,11 @@ interface KeyBoard {
|
|
|
509
510
|
readonly press: (key: string) => Promise<void>;
|
|
510
511
|
}
|
|
511
512
|
|
|
513
|
+
interface Layout {
|
|
514
|
+
readonly handleWorkspaceRefresh: () => Promise<void>;
|
|
515
|
+
readonly showSideBar: () => Promise<void>;
|
|
516
|
+
}
|
|
517
|
+
|
|
512
518
|
interface LanguageModels {
|
|
513
519
|
readonly addModel: () => Promise<void>;
|
|
514
520
|
readonly clearFilterInput: () => Promise<void>;
|
|
@@ -765,6 +771,7 @@ export interface TestApi {
|
|
|
765
771
|
readonly IframeInspector: IframeInspector
|
|
766
772
|
readonly KeyBindingsEditor: KeyBindingsEditor
|
|
767
773
|
readonly KeyBoard: KeyBoard
|
|
774
|
+
readonly Layout: Layout
|
|
768
775
|
readonly LanguageModels: LanguageModels
|
|
769
776
|
readonly Main: Main
|
|
770
777
|
readonly Open: Open
|