@lvce-editor/rpc-registry 2.17.0 → 2.18.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 +192 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -90,6 +90,20 @@ export interface SearchResult {
|
|
|
90
90
|
readonly text: string;
|
|
91
91
|
}
|
|
92
92
|
export interface RendererWorkerApi {
|
|
93
|
+
readonly "About.focusNext": () => Promise<void>;
|
|
94
|
+
readonly "About.focusPrevious": () => Promise<void>;
|
|
95
|
+
readonly "About.handleClickClose": () => Promise<void>;
|
|
96
|
+
readonly "About.handleClickCopy": () => Promise<void>;
|
|
97
|
+
readonly "About.handleClickOk": () => Promise<void>;
|
|
98
|
+
readonly "About.showAbout": () => Promise<void>;
|
|
99
|
+
readonly "ActivityBar.focus": () => Promise<void>;
|
|
100
|
+
readonly "ActivityBar.focusFirst": () => Promise<void>;
|
|
101
|
+
readonly "ActivityBar.focusLast": () => Promise<void>;
|
|
102
|
+
readonly "ActivityBar.focusNext": () => Promise<void>;
|
|
103
|
+
readonly "ActivityBar.focusPrevious": () => Promise<void>;
|
|
104
|
+
readonly "ActivityBar.handleClick": (index: number) => Promise<void>;
|
|
105
|
+
readonly "ActivityBar.handleContextMenu": () => Promise<void>;
|
|
106
|
+
readonly "ActivityBar.selectCurrent": () => Promise<void>;
|
|
93
107
|
readonly "BulkReplacement.applyBulkReplacement": (edits: readonly BulkReplacementEdit[]) => Promise<void>;
|
|
94
108
|
readonly "ClipBoard.readNativeFiles": () => Promise<readonly string[]>;
|
|
95
109
|
readonly "ClipBoard.writeNativeFiles": (type: string, files: readonly string[]) => Promise<void>;
|
|
@@ -98,14 +112,100 @@ export interface RendererWorkerApi {
|
|
|
98
112
|
readonly "ColorTheme.setColorTheme": (id: string) => Promise<void>;
|
|
99
113
|
readonly "ConfirmPrompt.prompt": (confirmText: string, options: ConfirmPromptOptions) => Promise<boolean>;
|
|
100
114
|
readonly "ContextMenu.show": (x: number, y: number, id: any, ...args: readonly any[]) => Promise<void>;
|
|
115
|
+
readonly "Develop.openCacheFolder": () => Promise<void>;
|
|
116
|
+
readonly "Develop.openConfigFolder": () => Promise<void>;
|
|
117
|
+
readonly "Develop.openIframeInspector": () => Promise<void>;
|
|
118
|
+
readonly "Develop.openLogsFolder": () => Promise<void>;
|
|
119
|
+
readonly "Develop.openProcessExplorer": () => Promise<void>;
|
|
120
|
+
readonly "Develop.reloadColorTheme": () => Promise<void>;
|
|
121
|
+
readonly "Develop.toggleDeveloperTools": () => Promise<void>;
|
|
122
|
+
readonly "Editor.addAllMissingImports": () => Promise<void>;
|
|
123
|
+
readonly "Editor.braceCompletion": (text: string) => Promise<void>;
|
|
124
|
+
readonly "Editor.closeColorPicker": () => Promise<void>;
|
|
125
|
+
readonly "Editor.closeCompletion": () => Promise<void>;
|
|
126
|
+
readonly "Editor.contextMenu": (button: number, x: number, y: number) => Promise<void>;
|
|
127
|
+
readonly "Editor.copy": () => Promise<void>;
|
|
128
|
+
readonly "Editor.copyLineDown": () => Promise<void>;
|
|
129
|
+
readonly "Editor.copyLineUp": () => Promise<void>;
|
|
130
|
+
readonly "Editor.cursorCharacterLeft": () => Promise<void>;
|
|
131
|
+
readonly "Editor.cursorCharacterRight": () => Promise<void>;
|
|
132
|
+
readonly "Editor.cursorDown": () => Promise<void>;
|
|
133
|
+
readonly "Editor.cursorEnd": () => Promise<void>;
|
|
134
|
+
readonly "Editor.cursorHome": () => Promise<void>;
|
|
135
|
+
readonly "Editor.cursorSet": (rowIndex: number, columnIndex: number) => Promise<void>;
|
|
136
|
+
readonly "Editor.cursorUp": () => Promise<void>;
|
|
137
|
+
readonly "Editor.cursorWordLeft": () => Promise<void>;
|
|
138
|
+
readonly "Editor.cursorWordPartLeft": () => Promise<void>;
|
|
139
|
+
readonly "Editor.cursorWordPartRight": () => Promise<void>;
|
|
140
|
+
readonly "Editor.cursorWordRight": () => Promise<void>;
|
|
141
|
+
readonly "Editor.deleteAllLeft": () => Promise<void>;
|
|
142
|
+
readonly "Editor.deleteAllRight": () => Promise<void>;
|
|
143
|
+
readonly "Editor.format": () => Promise<void>;
|
|
144
|
+
readonly "Editor.getText": () => Promise<string>;
|
|
145
|
+
readonly "Editor.goToDefinition": () => Promise<void>;
|
|
146
|
+
readonly "Editor.goToTypeDefinition": () => Promise<void>;
|
|
147
|
+
readonly "Editor.handleContextMenu": (x: number, y: number) => Promise<void>;
|
|
148
|
+
readonly "Editor.insertLineBreak": () => Promise<void>;
|
|
149
|
+
readonly "Editor.openColorPicker": () => Promise<void>;
|
|
150
|
+
readonly "Editor.openCompletion": () => Promise<void>;
|
|
151
|
+
readonly "Editor.openFind": () => Promise<void>;
|
|
152
|
+
readonly "Editor.openRename": () => Promise<void>;
|
|
153
|
+
readonly "Editor.organizeImports": () => Promise<void>;
|
|
154
|
+
readonly "Editor.rename": () => Promise<void>;
|
|
155
|
+
readonly "Editor.setDeltaY": (deltaY: number) => Promise<void>;
|
|
156
|
+
readonly "Editor.setSelections": (selections: any) => Promise<void>;
|
|
157
|
+
readonly "Editor.showHover2": () => Promise<void>;
|
|
158
|
+
readonly "Editor.showSourceActions2": () => Promise<void>;
|
|
159
|
+
readonly "Editor.sortImports": () => Promise<void>;
|
|
160
|
+
readonly "Editor.tabCompletion": () => Promise<void>;
|
|
161
|
+
readonly "Editor.toggleBlockComment": () => Promise<void>;
|
|
162
|
+
readonly "Editor.toggleLineComment": () => Promise<void>;
|
|
163
|
+
readonly "Editor.type": (text: string) => Promise<void>;
|
|
164
|
+
readonly "EditorCompletion.closeDetais": () => Promise<void>;
|
|
165
|
+
readonly "EditorCompletion.openDetails": () => Promise<void>;
|
|
166
|
+
readonly "EditorCompletion.selectCurrentIndex": () => Promise<void>;
|
|
167
|
+
readonly "EditorCompletion.selectIndex": (index: number) => Promise<void>;
|
|
168
|
+
readonly "EditorSourceActions.selectCurrent": () => Promise<void>;
|
|
101
169
|
readonly "ElectronDialog.showMessageBox": (options: any) => Promise<any>;
|
|
102
170
|
readonly "ElectronWindow.close": () => Promise<void>;
|
|
103
171
|
readonly "ElectronWindow.maximize": () => Promise<void>;
|
|
104
172
|
readonly "ElectronWindow.minimize": () => Promise<void>;
|
|
105
173
|
readonly "ElectronWindow.unmaximize": () => Promise<void>;
|
|
106
174
|
readonly "ErrorHandling.showErrorDialog": (errorInfo: any) => Promise<void>;
|
|
175
|
+
readonly "Explorer.acceptEdit": () => Promise<void>;
|
|
176
|
+
readonly "Explorer.cancelEdit": () => Promise<void>;
|
|
107
177
|
readonly "Explorer.cancelTypeAhead": () => Promise<void>;
|
|
178
|
+
readonly "Explorer.expandAll": () => Promise<void>;
|
|
179
|
+
readonly "Explorer.expandRecursively": () => Promise<void>;
|
|
180
|
+
readonly "Explorer.focus": () => Promise<void>;
|
|
181
|
+
readonly "Explorer.focusFirst": () => Promise<void>;
|
|
182
|
+
readonly "Explorer.focusIndex": (index: number) => Promise<void>;
|
|
183
|
+
readonly "Explorer.focusLast": () => Promise<void>;
|
|
184
|
+
readonly "Explorer.handleArrowLeft": () => Promise<void>;
|
|
185
|
+
readonly "Explorer.handleBlur": () => Promise<void>;
|
|
186
|
+
readonly "Explorer.handleClick": (index: number) => Promise<void>;
|
|
187
|
+
readonly "Explorer.handleClickAt": (preventDefault: boolean, button: number, ctrlKey: number, shiftKey: number, x: number, y: number) => Promise<void>;
|
|
188
|
+
readonly "Explorer.handleClickCurrent": () => Promise<void>;
|
|
189
|
+
readonly "Explorer.handleContextMenuKeyboard": () => Promise<void>;
|
|
190
|
+
readonly "Explorer.handleDragLeave": () => Promise<void>;
|
|
191
|
+
readonly "Explorer.handleDragOver": (x: number, y: number) => Promise<void>;
|
|
192
|
+
readonly "Explorer.handleDrop": (x: number, y: number, fileIds: readonly number[], fileList: FileList | readonly File[]) => Promise<void>;
|
|
193
|
+
readonly "Explorer.handleInputBlur": () => Promise<void>;
|
|
108
194
|
readonly "Explorer.handleKeyDown": (key: string) => Promise<void>;
|
|
195
|
+
readonly "Explorer.newFile": () => Promise<void>;
|
|
196
|
+
readonly "Explorer.newFolder": () => Promise<void>;
|
|
197
|
+
readonly "Explorer.refresh": () => Promise<void>;
|
|
198
|
+
readonly "Explorer.removeDirent": () => Promise<void>;
|
|
199
|
+
readonly "Explorer.rename": () => Promise<void>;
|
|
200
|
+
readonly "Explorer.renameDirent": () => Promise<void>;
|
|
201
|
+
readonly "Explorer.selectAll": () => Promise<void>;
|
|
202
|
+
readonly "Explorer.selectDown": () => Promise<void>;
|
|
203
|
+
readonly "Explorer.selectIndices": (indices: readonly number[]) => Promise<void>;
|
|
204
|
+
readonly "Explorer.selectUp": () => Promise<void>;
|
|
205
|
+
readonly "Explorer.updateEditingValue": (value: string) => Promise<void>;
|
|
206
|
+
readonly "ExtensionDetail.open": (eextensionId: string) => Promise<void>;
|
|
207
|
+
readonly "ExtensionDetail.selectFeature": (name: string) => Promise<void>;
|
|
208
|
+
readonly "ExtensionDetail.selectTab": (name: string) => Promise<void>;
|
|
109
209
|
readonly "ExtensionHost.executeCommand": (id: string) => Promise<void>;
|
|
110
210
|
readonly "ExtensionHost.getCommands": () => Promise<readonly any[]>;
|
|
111
211
|
readonly "ExtensionHost.searchFileWithFetch": (uri: string) => Promise<readonly string[]>;
|
|
@@ -120,6 +220,8 @@ export interface RendererWorkerApi {
|
|
|
120
220
|
readonly "ExtensionManagement.getAllExtensions": () => Promise<readonly any[]>;
|
|
121
221
|
readonly "ExtensionManagement.getExtension": (id: string) => Promise<any>;
|
|
122
222
|
readonly "ExtensionManagement.uninstall": (id: string) => Promise<void>;
|
|
223
|
+
readonly "ExtensionMeta.addNodeExtension": (absolutePath: string) => Promise<void>;
|
|
224
|
+
readonly "ExtensionMeta.addWebExtension": (absolutePath: string) => Promise<void>;
|
|
123
225
|
readonly "FileSystem.copy": (oldUri: string, newUri: string) => Promise<void>;
|
|
124
226
|
readonly "FileSystem.createFile": (uri: string) => Promise<void>;
|
|
125
227
|
readonly "FileSystem.getFolderSize": (uri: string) => Promise<number>;
|
|
@@ -134,14 +236,57 @@ export interface RendererWorkerApi {
|
|
|
134
236
|
readonly "FileSystem.writeFile": (uri: string, content: string) => Promise<void>;
|
|
135
237
|
readonly "FileSystemHandle.getFileHandles": (fileIds: readonly number[]) => Promise<readonly FileSystemHandle[]>;
|
|
136
238
|
readonly "FileSystemHandle.getFilePathElectron": (file: File) => Promise<string>;
|
|
239
|
+
readonly "FindWidget.focusNext": () => Promise<void>;
|
|
240
|
+
readonly "FindWidget.handleInput": (value: string) => Promise<void>;
|
|
137
241
|
readonly "Focus.setFocus": (focusId: number) => Promise<void>;
|
|
138
242
|
readonly "GetWindowId.getWindowId": () => Promise<number>;
|
|
139
243
|
readonly "IconTheme.getFileIcon": (options: any) => Promise<string>;
|
|
140
244
|
readonly "IconTheme.getFolderIcon": (options: any) => Promise<string>;
|
|
141
245
|
readonly "IconTheme.getIcons": (request: readonly any[]) => Promise<readonly string[]>;
|
|
246
|
+
readonly "IconTheme.setIconTheme": (id: string) => Promise<readonly string[]>;
|
|
247
|
+
readonly "IframeInspector.focusFirst": () => Promise<void>;
|
|
248
|
+
readonly "IframeInspector.focusLast": () => Promise<void>;
|
|
249
|
+
readonly "IframeInspector.focusNext": () => Promise<void>;
|
|
250
|
+
readonly "IframeInspector.focusPrevious": () => Promise<void>;
|
|
251
|
+
readonly "IframeInspector.selectIndex": (index: number) => Promise<void>;
|
|
252
|
+
readonly "KeyBindings.addKeyBinding": () => Promise<void>;
|
|
253
|
+
readonly "KeyBindings.changeWhenExpression": () => Promise<void>;
|
|
254
|
+
readonly "KeyBindings.clearInput": () => Promise<void>;
|
|
255
|
+
readonly "KeyBindings.copyCommandId": () => Promise<void>;
|
|
256
|
+
readonly "KeyBindings.copyCommandTitle": () => Promise<void>;
|
|
257
|
+
readonly "KeyBindings.focusFirst": () => Promise<void>;
|
|
258
|
+
readonly "KeyBindings.focusLast": () => Promise<void>;
|
|
259
|
+
readonly "KeyBindings.focusNext": () => Promise<void>;
|
|
260
|
+
readonly "KeyBindings.focusPrevious": () => Promise<void>;
|
|
261
|
+
readonly "KeyBindings.handleClick": (x: number, y: number) => Promise<void>;
|
|
262
|
+
readonly "KeyBindings.handleContextMenu": (button: number, x: number, y: number) => Promise<void>;
|
|
263
|
+
readonly "KeyBindings.handleDoubleClick": (x: number, y: number) => Promise<void>;
|
|
264
|
+
readonly "KeyBindings.handleInput": (value: string) => Promise<void>;
|
|
265
|
+
readonly "KeyBindings.handleWheel": (deltaMode: number, deltaY: number) => Promise<void>;
|
|
266
|
+
readonly "KeyBindings.removeKeyBinding": () => Promise<void>;
|
|
267
|
+
readonly "KeyBindings.resetKeyBinding": () => Promise<void>;
|
|
268
|
+
readonly "KeyBindings.showSameKeyBindings": () => Promise<void>;
|
|
269
|
+
readonly "KeyBindings.sortByPrecedence": () => Promise<void>;
|
|
270
|
+
readonly "KeyBindings.startRecordingKeys": () => Promise<void>;
|
|
271
|
+
readonly "KeyBindings.stopRecordingKeys": () => Promise<void>;
|
|
272
|
+
readonly "KeyBindings.toggleRecordingKeys": () => Promise<void>;
|
|
142
273
|
readonly "KeyBindingsInitial.getKeyBindings": () => Promise<readonly any[]>;
|
|
274
|
+
readonly "Layout.hideSideBar": () => Promise<void>;
|
|
275
|
+
readonly "Layout.showPanel": (id: string) => Promise<void>;
|
|
276
|
+
readonly "Main.closeActiveEditor": () => Promise<void>;
|
|
277
|
+
readonly "Main.closeAllEditors": () => Promise<void>;
|
|
278
|
+
readonly "Main.closeOthers": () => Promise<void>;
|
|
279
|
+
readonly "Main.closeTabsLeft": () => Promise<void>;
|
|
280
|
+
readonly "Main.closeTabsRight": () => Promise<void>;
|
|
281
|
+
readonly "Main.focusFirst": () => Promise<void>;
|
|
282
|
+
readonly "Main.focusLast": () => Promise<void>;
|
|
283
|
+
readonly "Main.focusNext": () => Promise<void>;
|
|
284
|
+
readonly "Main.focusPrevious": () => Promise<void>;
|
|
285
|
+
readonly "Main.openKeyBindings": () => Promise<void>;
|
|
143
286
|
readonly "Main.openUri": (uri: string, focus?: boolean, props?: any) => Promise<void>;
|
|
287
|
+
readonly "Main.splitRight": () => Promise<void>;
|
|
144
288
|
readonly "Markdown.renderMarkdown": (markdown: string, options: any) => Promise<string>;
|
|
289
|
+
readonly "Menu.selectItem": (text: string) => Promise<void>;
|
|
145
290
|
readonly "MouseActions.get": (uid: number, button: number, modifiers: any) => Promise<any>;
|
|
146
291
|
readonly "OpenNativeFolder.openNativeFolder": (path: string) => Promise<void>;
|
|
147
292
|
readonly "Preferences.get": (key: string) => Promise<any>;
|
|
@@ -153,11 +298,58 @@ export interface RendererWorkerApi {
|
|
|
153
298
|
readonly "Run And Debug.handlePaused": (params: any) => Promise<void>;
|
|
154
299
|
readonly "Run And Debug.handleResumed": (params: any) => Promise<void>;
|
|
155
300
|
readonly "Run And Debug.handleScriptParsed": (params: any) => Promise<void>;
|
|
301
|
+
readonly "Search.clearSearchResults": () => Promise<void>;
|
|
302
|
+
readonly "Search.collapseDetails": () => Promise<void>;
|
|
303
|
+
readonly "Search.dismissItem": () => Promise<void>;
|
|
304
|
+
readonly "Search.focusFirst": () => Promise<void>;
|
|
305
|
+
readonly "Search.focusIndex": (index: number) => Promise<void>;
|
|
306
|
+
readonly "Search.focusNext": () => Promise<void>;
|
|
307
|
+
readonly "Search.focusNextPage": () => Promise<void>;
|
|
308
|
+
readonly "Search.focusPrevious": () => Promise<void>;
|
|
309
|
+
readonly "Search.focusPreviousPage": () => Promise<void>;
|
|
310
|
+
readonly "Search.handleExcludeInput": (value: string) => Promise<void>;
|
|
311
|
+
readonly "Search.handleInput": (value: string) => Promise<void>;
|
|
312
|
+
readonly "Search.handleReplaceInput": (value: string) => Promise<void>;
|
|
313
|
+
readonly "Search.handleWheel": (deltaMode: number, deltaY: number) => Promise<void>;
|
|
314
|
+
readonly "Search.openDetails": () => Promise<void>;
|
|
315
|
+
readonly "Search.replaceAll": () => Promise<void>;
|
|
316
|
+
readonly "Search.selectIndex": (index: number) => Promise<void>;
|
|
317
|
+
readonly "Search.setIncludeValue": (value: string) => Promise<void>;
|
|
318
|
+
readonly "Search.toggleMatchCase": () => Promise<void>;
|
|
319
|
+
readonly "Search.toggleMatchWholeWord": () => Promise<void>;
|
|
320
|
+
readonly "Search.togglePreserveCase": () => Promise<void>;
|
|
321
|
+
readonly "Search.toggleReplace": () => Promise<void>;
|
|
322
|
+
readonly "Search.toggleSearchDetails": () => Promise<void>;
|
|
323
|
+
readonly "Search.toggleUseRegularExpression": () => Promise<void>;
|
|
156
324
|
readonly "SearchProcess.invoke": (command: string, ...args: readonly any[]) => Promise<any>;
|
|
157
325
|
readonly "SendMessagePortToElectron.sendMessagePortToElectron": (port: MessagePort, command: string) => Promise<void>;
|
|
158
326
|
readonly "SendMessagePortToExtensionHostWorker.sendMessagePortToExtensionHostWorker": (port: MessagePort, initialCommand: string, rpcId: number) => Promise<void>;
|
|
159
327
|
readonly "SendMessagePortToExtensionHostWorker.sendMessagePortToSharedProcess": (port: MessagePort, outerCommand: string, rpcId: number) => Promise<void>;
|
|
160
328
|
readonly "SendMessagePortToFileSystemProcess.sendMessagePortToFileSystemProcess": (port: MessagePort, outerCommand: string, rpcId: number) => Promise<void>;
|
|
329
|
+
readonly "SideBar.openViewlet": (id: string) => Promise<void>;
|
|
330
|
+
readonly "SideBar.show": (id: string) => Promise<void>;
|
|
331
|
+
readonly "Source Control.acceptInput": () => Promise<void>;
|
|
332
|
+
readonly "Source Control.handleClickSourceControlButtons": (index: number, name: string) => Promise<void>;
|
|
333
|
+
readonly "Source Control.handleInput": (text: string) => Promise<void>;
|
|
334
|
+
readonly "Source Control.selectIndex": (index: number) => Promise<void>;
|
|
335
|
+
readonly "StatusBar.updateStatusBarItems": () => Promise<void>;
|
|
336
|
+
readonly "TitleBarMenuBar.closeMenu": () => Promise<void>;
|
|
337
|
+
readonly "TitleBarMenuBar.focus": () => Promise<void>;
|
|
338
|
+
readonly "TitleBarMenuBar.focusFirst": () => Promise<void>;
|
|
339
|
+
readonly "TitleBarMenuBar.focusIndex": () => Promise<void>;
|
|
340
|
+
readonly "TitleBarMenuBar.focusLast": () => Promise<void>;
|
|
341
|
+
readonly "TitleBarMenuBar.focusNext": () => Promise<void>;
|
|
342
|
+
readonly "TitleBarMenuBar.focusPrevious": () => Promise<void>;
|
|
343
|
+
readonly "TitleBarMenuBar.handleKeyArrowDown": () => Promise<void>;
|
|
344
|
+
readonly "TitleBarMenuBar.handleKeyArrowLeft": () => Promise<void>;
|
|
345
|
+
readonly "TitleBarMenuBar.handleKeyArrowRight": () => Promise<void>;
|
|
346
|
+
readonly "TitleBarMenuBar.handleKeyArrowUp": () => Promise<void>;
|
|
347
|
+
readonly "TitleBarMenuBar.handleKeyEnd": () => Promise<void>;
|
|
348
|
+
readonly "TitleBarMenuBar.handleKeyEscape": () => Promise<void>;
|
|
349
|
+
readonly "TitleBarMenuBar.handleKeyHome": () => Promise<void>;
|
|
350
|
+
readonly "TitleBarMenuBar.handleKeySpace": () => Promise<void>;
|
|
351
|
+
readonly "TitleBarMenuBar.toggleIndex": (index: number) => Promise<void>;
|
|
352
|
+
readonly "TitleBarMenuBar.toggleMenu": () => Promise<void>;
|
|
161
353
|
readonly "Viewlet.closeWidget": (id: number | string) => Promise<void>;
|
|
162
354
|
readonly "Viewlet.openWidget": (widgetId: string) => Promise<string>;
|
|
163
355
|
readonly "WebView.getWebViewInfo2": (id: string) => Promise<any>;
|
package/dist/index.js
CHANGED