@lvce-editor/rpc-registry 2.4.0 → 2.5.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/index.d.ts +20 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -29,6 +29,8 @@ export interface SearchResult {
|
|
|
29
29
|
}
|
|
30
30
|
export interface RendererWorkerApi {
|
|
31
31
|
readonly "BulkReplacement.applyBulkReplacement": (edits: readonly BulkReplacementEdit[]) => Promise<void>;
|
|
32
|
+
readonly "ClipBoard.readNativeFiles": () => Promise<readonly string[]>;
|
|
33
|
+
readonly "ClipBoard.writeNativeFiles": (type: string, files: readonly string[]) => Promise<void>;
|
|
32
34
|
readonly "ClipBoard.writeText": (text: string) => Promise<void>;
|
|
33
35
|
readonly "ColorTheme.getColorThemeNames": () => Promise<readonly string[]>;
|
|
34
36
|
readonly "ColorTheme.setColorTheme": (id: string) => Promise<void>;
|
|
@@ -36,6 +38,8 @@ export interface RendererWorkerApi {
|
|
|
36
38
|
readonly "ContextMenu.show": (x: number, y: number, id: any, ...args: readonly any[]) => Promise<void>;
|
|
37
39
|
readonly "ElectronDialog.showMessageBox": (options: any) => Promise<any>;
|
|
38
40
|
readonly "ErrorHandling.showErrorDialog": (errorInfo: any) => Promise<void>;
|
|
41
|
+
readonly "Explorer.cancelTypeAhead": () => Promise<void>;
|
|
42
|
+
readonly "Explorer.handleKeyDown": (key: string) => Promise<void>;
|
|
39
43
|
readonly "ExtensionHost.executeCommand": (id: string) => Promise<void>;
|
|
40
44
|
readonly "ExtensionHost.getCommands": () => Promise<readonly any[]>;
|
|
41
45
|
readonly "ExtensionHost.searchFileWithFetch": (uri: string) => Promise<readonly string[]>;
|
|
@@ -46,14 +50,29 @@ export interface RendererWorkerApi {
|
|
|
46
50
|
readonly "ExtensionHostTextSearch.textSearchFetch": (scheme: string, root: string, query: string, options: any, assetDir: string) => Promise<readonly SearchResult[]>;
|
|
47
51
|
readonly "ExtensionHostTextSearch.textSearchHtml": (scheme: string, root: string, query: string) => Promise<readonly SearchResult[]>;
|
|
48
52
|
readonly "ExtensionHostTextSearch.textSearchMemory": (scheme: string, root: string, query: string, options: any, assetDir: string) => Promise<readonly SearchResult[]>;
|
|
53
|
+
readonly "FileSystem.copy": (oldUri: string, newUri: string) => Promise<void>;
|
|
54
|
+
readonly "FileSystem.createFile": (uri: string) => Promise<void>;
|
|
55
|
+
readonly "FileSystem.getPathSeparator": (root: string) => Promise<string>;
|
|
56
|
+
readonly "FileSystem.getRealPath": (root: string) => Promise<string>;
|
|
57
|
+
readonly "FileSystem.mkdir": (uri: string) => Promise<void>;
|
|
58
|
+
readonly "FileSystem.readDirWithFileTypes": (uri: string) => Promise<readonly any[]>;
|
|
49
59
|
readonly "FileSystem.readFile": (uri: string) => Promise<string>;
|
|
50
|
-
readonly "
|
|
60
|
+
readonly "FileSystem.remove": (uri: string) => Promise<void>;
|
|
61
|
+
readonly "FileSystem.rename": (oldUri: string, newUri: string) => Promise<void>;
|
|
62
|
+
readonly "FileSystem.stat": (root: string) => Promise<any>;
|
|
63
|
+
readonly "FileSystem.writeFile": (uri: string, content: string) => Promise<void>;
|
|
64
|
+
readonly "FileSystemHandle.getFileHandles": (fileIds: readonly number[]) => Promise<readonly FileSystemHandle[]>;
|
|
65
|
+
readonly "FileSystemHandle.getFilePathElectron": (file: File) => Promise<string>;
|
|
66
|
+
readonly "Focus.setFocus": (focusId: number) => Promise<void>;
|
|
51
67
|
readonly "GetWindowId.getWindowId": () => Promise<number>;
|
|
52
68
|
readonly "IconTheme.getFileIcon": (options: any) => Promise<string>;
|
|
53
69
|
readonly "IconTheme.getFolderIcon": (options: any) => Promise<string>;
|
|
54
70
|
readonly "IconTheme.getIcons": (request: readonly any[]) => Promise<readonly string[]>;
|
|
55
71
|
readonly "KeyBindingsInitial.getKeyBindings": () => Promise<readonly any[]>;
|
|
56
72
|
readonly "Main.openUri": (uri: string, focus?: boolean, props?: any) => Promise<void>;
|
|
73
|
+
readonly "MouseActions.get": (uid: number, button: number, modifiers: any) => Promise<any>;
|
|
74
|
+
readonly "OpenNativeFolder.openNativeFolder": (path: string) => Promise<void>;
|
|
75
|
+
readonly "Preferences.get": (key: string) => Promise<any>;
|
|
57
76
|
readonly "Process.getChromeVersion": () => Promise<string>;
|
|
58
77
|
readonly "Process.getElectronVersion": () => Promise<string>;
|
|
59
78
|
readonly "Process.getNodeVersion": () => Promise<string>;
|