@lvce-editor/rpc-registry 5.12.0 → 6.0.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
CHANGED
|
@@ -169,7 +169,7 @@ declare const showMessageBox: (options: any) => Promise<void>;
|
|
|
169
169
|
declare const handleDebugResumed: (params: any) => Promise<void>;
|
|
170
170
|
declare const openWidget: (name: string) => Promise<void>;
|
|
171
171
|
declare const getIcons$1: (requests: readonly any[]) => Promise<readonly string[]>;
|
|
172
|
-
declare const activateByEvent$1: (event: string) => Promise<void>;
|
|
172
|
+
declare const activateByEvent$1: (event: string, assetDir: string, platform: number) => Promise<void>;
|
|
173
173
|
declare const setAdditionalFocus: (focusKey: number) => Promise<void>;
|
|
174
174
|
declare const getActiveEditorId: () => Promise<number>;
|
|
175
175
|
declare const getWorkspacePath: () => Promise<string>;
|
|
@@ -168,8 +168,8 @@ export const getIcons = async (requests) => {
|
|
|
168
168
|
const icons = await invoke('IconTheme.getIcons', requests);
|
|
169
169
|
return icons;
|
|
170
170
|
};
|
|
171
|
-
export const activateByEvent = (event) => {
|
|
172
|
-
return invoke('ExtensionHostManagement.activateByEvent', event);
|
|
171
|
+
export const activateByEvent = (event, assetDir, platform) => {
|
|
172
|
+
return invoke('ExtensionHostManagement.activateByEvent', event, assetDir, platform);
|
|
173
173
|
};
|
|
174
174
|
export const setAdditionalFocus = (focusKey) => {
|
|
175
175
|
// @ts-ignore
|