@lvce-editor/rpc-registry 9.1.0 → 9.2.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/parts/Main/Main.d.ts +1 -0
- package/dist/parts/Main/Main.js +1 -0
- package/dist/parts/QuickPickWorker/QuickPickWorker.d.ts +2 -0
- package/dist/parts/QuickPickWorker/QuickPickWorker.js +5 -0
- package/dist/parts/RendererWorker/RendererWorker.d.ts +1 -0
- package/dist/parts/RendererWorker/RendererWorker.js +4 -0
- package/package.json +1 -1
|
@@ -15,6 +15,7 @@ export * as MainProcess from '../MainProcess/MainProcess.ts';
|
|
|
15
15
|
export * as MarkdownWorker from '../MarkdownWorker/MarkdownWorker.ts';
|
|
16
16
|
export * as FileSearchWorker from '../FileSearchWorker/FileSearchWorker.ts';
|
|
17
17
|
export * as PreviewWorker from '../PreviewWorker/PreviewWorker.ts';
|
|
18
|
+
export * as QuickPickWorker from '../QuickPickWorker/QuickPickWorker.ts';
|
|
18
19
|
export * as PreviewSandBoxWorker from '../PreviewSandBoxWorker/PreviewSandBoxWorker.ts';
|
|
19
20
|
export * as RendererProcess from '../RendererProcess/RendererProcess.ts';
|
|
20
21
|
export * as RendererWorker from '../RendererWorker/RendererWorker.ts';
|
package/dist/parts/Main/Main.js
CHANGED
|
@@ -14,6 +14,7 @@ export * as MainProcess from "../MainProcess/MainProcess.js";
|
|
|
14
14
|
export * as MarkdownWorker from "../MarkdownWorker/MarkdownWorker.js";
|
|
15
15
|
export * as FileSearchWorker from "../FileSearchWorker/FileSearchWorker.js";
|
|
16
16
|
export * as PreviewWorker from "../PreviewWorker/PreviewWorker.js";
|
|
17
|
+
export * as QuickPickWorker from "../QuickPickWorker/QuickPickWorker.js";
|
|
17
18
|
export * as PreviewSandBoxWorker from "../PreviewSandBoxWorker/PreviewSandBoxWorker.js";
|
|
18
19
|
export * as RendererProcess from "../RendererProcess/RendererProcess.js";
|
|
19
20
|
export * as RendererWorker from "../RendererWorker/RendererWorker.js";
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const dispose: () => Promise<void>, invoke: (method: string, ...params: readonly unknown[]) => Promise<any>, invokeAndTransfer: (method: string, ...params: readonly unknown[]) => Promise<any>, set: (rpc: import("@lvce-editor/rpc").Rpc) => void;
|
|
2
|
+
export declare const showQuickInput: (options: any) => Promise<any>;
|
|
@@ -48,6 +48,7 @@ export declare const saveEditor: () => Promise<void>;
|
|
|
48
48
|
export declare const togglePanelView: (id: string) => Promise<void>;
|
|
49
49
|
export declare const resizeViewlet: (uid: number, dimensions: any) => Promise<readonly any[]>;
|
|
50
50
|
export declare const sendMessagePortToFileSearchWorker: (port: MessagePort, rpcId?: number) => Promise<void>;
|
|
51
|
+
export declare const sendMessagePortToQuickPickWorker: (port: MessagePort, rpcId?: number) => Promise<void>;
|
|
51
52
|
export declare const sendMessagePortToSearchProcess: (port: MessagePort) => Promise<void>;
|
|
52
53
|
export declare const confirm: (message: string, options?: any) => Promise<boolean>;
|
|
53
54
|
export declare const getRecentlyOpened: () => Promise<readonly string[]>;
|
|
@@ -158,6 +158,10 @@ export const sendMessagePortToFileSearchWorker = async (port, rpcId = 0) => {
|
|
|
158
158
|
const command = 'QuickPick.handleMessagePort';
|
|
159
159
|
await invokeAndTransfer('SendMessagePortToExtensionHostWorker.sendMessagePortToFileSearchWorker', port, command, rpcId);
|
|
160
160
|
};
|
|
161
|
+
export const sendMessagePortToQuickPickWorker = async (port, rpcId = 0) => {
|
|
162
|
+
const command = 'QuickPick.handleMessagePort';
|
|
163
|
+
await invokeAndTransfer('SendMessagePortToExtensionHostWorker.sendMessagePortToQuickPickWorker', port, command, rpcId);
|
|
164
|
+
};
|
|
161
165
|
export const sendMessagePortToSearchProcess = async (port) => {
|
|
162
166
|
await invokeAndTransfer('SendMessagePortToElectron.sendMessagePortToElectron', port, 'HandleMessagePortForSearchProcess.handleMessagePortForSearchProcess');
|
|
163
167
|
};
|