@lvce-editor/rpc-registry 2.21.0 → 2.23.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 +81 -63
- package/dist/index.js +54 -24
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -51,10 +51,40 @@ export interface EmbedsProcessApi {
|
|
|
51
51
|
readonly "ElectronWebContentsViewFunctions.show": (id: any, ...args: readonly any[]) => Promise<void>;
|
|
52
52
|
}
|
|
53
53
|
declare const invoke$1: <T extends keyof EmbedsProcessApi>(method: T, ...params: Parameters<EmbedsProcessApi[T]>) => ReturnType<EmbedsProcessApi[T]>, invokeAndTransfer$1: <T extends keyof EmbedsProcessApi>(method: T, ...params: Parameters<EmbedsProcessApi[T]>) => ReturnType<EmbedsProcessApi[T]>, set$2: (rpc: import("@lvce-editor/rpc").Rpc) => void;
|
|
54
|
+
export interface ErrorWorkerApi {
|
|
55
|
+
readonly "Errors.prepare": (error: any) => Promise<any>;
|
|
56
|
+
}
|
|
57
|
+
declare const invoke$2: <T extends "Errors.prepare">(method: T, ...params: Parameters<ErrorWorkerApi[T]>) => ReturnType<ErrorWorkerApi[T]>, invokeAndTransfer$2: <T extends "Errors.prepare">(method: T, ...params: Parameters<ErrorWorkerApi[T]>) => ReturnType<ErrorWorkerApi[T]>, set$3: (rpc: import("@lvce-editor/rpc").Rpc) => void;
|
|
54
58
|
export interface ExtensionHostWorkerApi {
|
|
55
59
|
readonly "Extensions.getExtensions": () => Promise<readonly any[]>;
|
|
56
60
|
}
|
|
57
|
-
declare const invoke$
|
|
61
|
+
declare const invoke$3: <T extends "Extensions.getExtensions">(method: T, ...params: Parameters<ExtensionHostWorkerApi[T]>) => ReturnType<ExtensionHostWorkerApi[T]>, invokeAndTransfer$3: <T extends "Extensions.getExtensions">(method: T, ...params: Parameters<ExtensionHostWorkerApi[T]>) => ReturnType<ExtensionHostWorkerApi[T]>, set$4: (rpc: import("@lvce-editor/rpc").Rpc) => void;
|
|
62
|
+
export interface FileSystemProcessApi {
|
|
63
|
+
readonly "FileSystem.copy": (oldUri: string, newUri: string) => Promise<void>;
|
|
64
|
+
readonly "FileSystem.getPathSeparator": () => Promise<string>;
|
|
65
|
+
readonly "FileSystem.getRealPath": (uri: string) => Promise<string>;
|
|
66
|
+
readonly "FileSystem.mkdir": (uri: string) => Promise<void>;
|
|
67
|
+
readonly "FileSystem.readDirWithFileTypes": (uri: string) => Promise<readonly any[]>;
|
|
68
|
+
readonly "FileSystem.readFile": (uri: string) => Promise<string>;
|
|
69
|
+
readonly "FileSystem.remove": (uri: string) => Promise<void>;
|
|
70
|
+
readonly "FileSystem.rename": (oldUri: string, newUri: string) => Promise<void>;
|
|
71
|
+
readonly "FileSystem.stat": (uri: string) => Promise<any>;
|
|
72
|
+
readonly "FileSystem.writeFile": (uri: string, content: string) => Promise<void>;
|
|
73
|
+
}
|
|
74
|
+
declare const invoke$4: <T extends keyof FileSystemProcessApi>(method: T, ...params: Parameters<FileSystemProcessApi[T]>) => ReturnType<FileSystemProcessApi[T]>, invokeAndTransfer$4: <T extends keyof FileSystemProcessApi>(method: T, ...params: Parameters<FileSystemProcessApi[T]>) => ReturnType<FileSystemProcessApi[T]>, set$5: (rpc: import("@lvce-editor/rpc").Rpc) => void;
|
|
75
|
+
export interface FileSystemWorkerApi {
|
|
76
|
+
readonly "FileSystem.copy": (oldUri: string, newUri: string) => Promise<void>;
|
|
77
|
+
readonly "FileSystem.getPathSeparator": () => Promise<string>;
|
|
78
|
+
readonly "FileSystem.getRealPath": (uri: string) => Promise<string>;
|
|
79
|
+
readonly "FileSystem.mkdir": (uri: string) => Promise<void>;
|
|
80
|
+
readonly "FileSystem.readDirWithFileTypes": (uri: string) => Promise<readonly any[]>;
|
|
81
|
+
readonly "FileSystem.readFile": (uri: string) => Promise<string>;
|
|
82
|
+
readonly "FileSystem.remove": (uri: string) => Promise<void>;
|
|
83
|
+
readonly "FileSystem.rename": (oldUri: string, newUri: string) => Promise<void>;
|
|
84
|
+
readonly "FileSystem.stat": (uri: string) => Promise<any>;
|
|
85
|
+
readonly "FileSystem.writeFile": (uri: string, content: string) => Promise<void>;
|
|
86
|
+
}
|
|
87
|
+
declare const invoke$5: <T extends keyof FileSystemWorkerApi>(method: T, ...params: Parameters<FileSystemWorkerApi[T]>) => ReturnType<FileSystemWorkerApi[T]>, invokeAndTransfer$5: <T extends keyof FileSystemWorkerApi>(method: T, ...params: Parameters<FileSystemWorkerApi[T]>) => ReturnType<FileSystemWorkerApi[T]>, set$6: (rpc: import("@lvce-editor/rpc").Rpc) => void;
|
|
58
88
|
export interface MainProcessApi {
|
|
59
89
|
readonly "ElectronWebContents.callFunction": (webContentsId: any, method: string, ...params: readonly any[]) => Promise<any>;
|
|
60
90
|
readonly "ElectronWebContents.dispose": (id: any) => Promise<void>;
|
|
@@ -70,7 +100,12 @@ export interface MainProcessApi {
|
|
|
70
100
|
readonly "ElectronWebContentsViewFunctions.show": (id: any, ...args: readonly any[]) => Promise<void>;
|
|
71
101
|
readonly "Trash.trash": (path: string) => Promise<void>;
|
|
72
102
|
}
|
|
73
|
-
declare const invoke$
|
|
103
|
+
declare const invoke$6: <T extends keyof MainProcessApi>(method: T, ...params: Parameters<MainProcessApi[T]>) => ReturnType<MainProcessApi[T]>, invokeAndTransfer$6: <T extends keyof MainProcessApi>(method: T, ...params: Parameters<MainProcessApi[T]>) => ReturnType<MainProcessApi[T]>, set$7: (rpc: import("@lvce-editor/rpc").Rpc) => void;
|
|
104
|
+
export interface MarkdownWorkerApi {
|
|
105
|
+
readonly "Markdown.getMarkDownVirtualDom": (html: string) => Promise<any>;
|
|
106
|
+
readonly "Markdown.renderMarkdown": (markdown: string, options: any) => Promise<void>;
|
|
107
|
+
}
|
|
108
|
+
declare const invoke$7: <T extends keyof MarkdownWorkerApi>(method: T, ...params: Parameters<MarkdownWorkerApi[T]>) => ReturnType<MarkdownWorkerApi[T]>, invokeAndTransfer$7: <T extends keyof MarkdownWorkerApi>(method: T, ...params: Parameters<MarkdownWorkerApi[T]>) => ReturnType<MarkdownWorkerApi[T]>, set$8: (rpc: import("@lvce-editor/rpc").Rpc) => void;
|
|
74
109
|
export interface TextEdit {
|
|
75
110
|
readonly text: string;
|
|
76
111
|
readonly startRowIndex: number;
|
|
@@ -363,57 +398,7 @@ export interface RendererWorkerApi {
|
|
|
363
398
|
readonly "Workspace.getPath": () => Promise<string>;
|
|
364
399
|
readonly "Workspace.setPath": (uri: string) => Promise<void>;
|
|
365
400
|
}
|
|
366
|
-
declare const invoke$
|
|
367
|
-
export interface SearchProcessApi {
|
|
368
|
-
readonly "TextSearch.search": (options: any) => Promise<readonly SearchResult[]>;
|
|
369
|
-
}
|
|
370
|
-
declare const invoke$5: <T extends "TextSearch.search">(method: T, ...params: Parameters<SearchProcessApi[T]>) => ReturnType<SearchProcessApi[T]>, invokeAndTransfer$5: <T extends "TextSearch.search">(method: T, ...params: Parameters<SearchProcessApi[T]>) => ReturnType<SearchProcessApi[T]>, set$6: (rpc: import("@lvce-editor/rpc").Rpc) => void;
|
|
371
|
-
export interface MarkdownWorkerApi {
|
|
372
|
-
readonly "Markdown.getMarkDownVirtualDom": (html: string) => Promise<any>;
|
|
373
|
-
readonly "Markdown.renderMarkdown": (markdown: string, options: any) => Promise<void>;
|
|
374
|
-
}
|
|
375
|
-
declare const invoke$6: <T extends keyof MarkdownWorkerApi>(method: T, ...params: Parameters<MarkdownWorkerApi[T]>) => ReturnType<MarkdownWorkerApi[T]>, invokeAndTransfer$6: <T extends keyof MarkdownWorkerApi>(method: T, ...params: Parameters<MarkdownWorkerApi[T]>) => ReturnType<MarkdownWorkerApi[T]>, set$7: (rpc: import("@lvce-editor/rpc").Rpc) => void;
|
|
376
|
-
export interface FileSystemProcessApi {
|
|
377
|
-
readonly "FileSystem.copy": (oldUri: string, newUri: string) => Promise<void>;
|
|
378
|
-
readonly "FileSystem.getPathSeparator": () => Promise<string>;
|
|
379
|
-
readonly "FileSystem.getRealPath": (uri: string) => Promise<string>;
|
|
380
|
-
readonly "FileSystem.mkdir": (uri: string) => Promise<void>;
|
|
381
|
-
readonly "FileSystem.readDirWithFileTypes": (uri: string) => Promise<readonly any[]>;
|
|
382
|
-
readonly "FileSystem.readFile": (uri: string) => Promise<string>;
|
|
383
|
-
readonly "FileSystem.remove": (uri: string) => Promise<void>;
|
|
384
|
-
readonly "FileSystem.rename": (oldUri: string, newUri: string) => Promise<void>;
|
|
385
|
-
readonly "FileSystem.stat": (uri: string) => Promise<any>;
|
|
386
|
-
readonly "FileSystem.writeFile": (uri: string, content: string) => Promise<void>;
|
|
387
|
-
}
|
|
388
|
-
declare const invoke$7: <T extends keyof FileSystemProcessApi>(method: T, ...params: Parameters<FileSystemProcessApi[T]>) => ReturnType<FileSystemProcessApi[T]>, invokeAndTransfer$7: <T extends keyof FileSystemProcessApi>(method: T, ...params: Parameters<FileSystemProcessApi[T]>) => ReturnType<FileSystemProcessApi[T]>, set$8: (rpc: import("@lvce-editor/rpc").Rpc) => void;
|
|
389
|
-
export interface FileSystemWorkerApi {
|
|
390
|
-
readonly "FileSystem.copy": (oldUri: string, newUri: string) => Promise<void>;
|
|
391
|
-
readonly "FileSystem.getPathSeparator": () => Promise<string>;
|
|
392
|
-
readonly "FileSystem.getRealPath": (uri: string) => Promise<string>;
|
|
393
|
-
readonly "FileSystem.mkdir": (uri: string) => Promise<void>;
|
|
394
|
-
readonly "FileSystem.readDirWithFileTypes": (uri: string) => Promise<readonly any[]>;
|
|
395
|
-
readonly "FileSystem.readFile": (uri: string) => Promise<string>;
|
|
396
|
-
readonly "FileSystem.remove": (uri: string) => Promise<void>;
|
|
397
|
-
readonly "FileSystem.rename": (oldUri: string, newUri: string) => Promise<void>;
|
|
398
|
-
readonly "FileSystem.stat": (uri: string) => Promise<any>;
|
|
399
|
-
readonly "FileSystem.writeFile": (uri: string, content: string) => Promise<void>;
|
|
400
|
-
}
|
|
401
|
-
declare const invoke$8: <T extends keyof FileSystemWorkerApi>(method: T, ...params: Parameters<FileSystemWorkerApi[T]>) => ReturnType<FileSystemWorkerApi[T]>, invokeAndTransfer$8: <T extends keyof FileSystemWorkerApi>(method: T, ...params: Parameters<FileSystemWorkerApi[T]>) => ReturnType<FileSystemWorkerApi[T]>, set$9: (rpc: import("@lvce-editor/rpc").Rpc) => void;
|
|
402
|
-
export interface SharedProcessApi {
|
|
403
|
-
readonly "ElectronWebContents.callFunction": (webContentsId: any, method: string, ...params: readonly any[]) => Promise<any>;
|
|
404
|
-
readonly "ElectronWebContents.dispose": (id: any) => Promise<void>;
|
|
405
|
-
readonly "ElectronWebContentsView.attachEventListeners": (webContentsId: any) => Promise<void>;
|
|
406
|
-
readonly "ElectronWebContentsView.createWebContentsView": (webContentsId: any) => Promise<any>;
|
|
407
|
-
readonly "ElectronWebContentsView.disposeWebContentsView": (webContentsId: any) => Promise<void>;
|
|
408
|
-
readonly "ElectronWebContentsViewFunctions.getStats": (id: any, ...args: readonly any[]) => Promise<any>;
|
|
409
|
-
readonly "ElectronWebContentsViewFunctions.resizeBrowserView": (id: any, ...args: readonly any[]) => Promise<void>;
|
|
410
|
-
readonly "ElectronWebContentsViewFunctions.setBackgroundColor": (webContentsId: any, backgroundColor: string) => Promise<void>;
|
|
411
|
-
readonly "ElectronWebContentsViewFunctions.setFallthroughKeyBindings": (id: any, ...args: readonly any[]) => Promise<void>;
|
|
412
|
-
readonly "ElectronWebContentsViewFunctions.setIframeSrc": (id: any, ...args: readonly any[]) => Promise<void>;
|
|
413
|
-
readonly "ElectronWebContentsViewFunctions.setIframeSrcFallback": (id: any, ...args: readonly any[]) => Promise<void>;
|
|
414
|
-
readonly "ElectronWebContentsViewFunctions.show": (id: any, ...args: readonly any[]) => Promise<void>;
|
|
415
|
-
}
|
|
416
|
-
declare const invoke$9: <T extends keyof SharedProcessApi>(method: T, ...params: Parameters<SharedProcessApi[T]>) => ReturnType<SharedProcessApi[T]>, invokeAndTransfer$9: <T extends keyof SharedProcessApi>(method: T, ...params: Parameters<SharedProcessApi[T]>) => ReturnType<SharedProcessApi[T]>, set$10: (rpc: import("@lvce-editor/rpc").Rpc) => void;
|
|
401
|
+
declare const invoke$8: <T extends keyof RendererWorkerApi>(method: T, ...params: Parameters<RendererWorkerApi[T]>) => ReturnType<RendererWorkerApi[T]>, invokeAndTransfer$8: <T extends keyof RendererWorkerApi>(method: T, ...params: Parameters<RendererWorkerApi[T]>) => ReturnType<RendererWorkerApi[T]>, set$9: (rpc: import("@lvce-editor/rpc").Rpc) => void;
|
|
417
402
|
declare const DebugWorker = 55;
|
|
418
403
|
declare const EditorWorker = 99;
|
|
419
404
|
declare const ExtensionHostWorker = 44;
|
|
@@ -431,9 +416,34 @@ declare const MarkdownWorker = 300;
|
|
|
431
416
|
declare const CompletionWorker = 301;
|
|
432
417
|
declare const ColorPickerWorker = 302;
|
|
433
418
|
declare const SourceActionWorker = 303;
|
|
419
|
+
declare const ErrorWorker = 3308;
|
|
420
|
+
declare const SyntaxHighlightingWorker = 3309;
|
|
421
|
+
export interface SearchProcessApi {
|
|
422
|
+
readonly "TextSearch.search": (options: any) => Promise<readonly SearchResult[]>;
|
|
423
|
+
}
|
|
424
|
+
declare const invoke$9: <T extends "TextSearch.search">(method: T, ...params: Parameters<SearchProcessApi[T]>) => ReturnType<SearchProcessApi[T]>, invokeAndTransfer$9: <T extends "TextSearch.search">(method: T, ...params: Parameters<SearchProcessApi[T]>) => ReturnType<SearchProcessApi[T]>, set$10: (rpc: import("@lvce-editor/rpc").Rpc) => void;
|
|
425
|
+
export interface SharedProcessApi {
|
|
426
|
+
readonly "ElectronWebContents.callFunction": (webContentsId: any, method: string, ...params: readonly any[]) => Promise<any>;
|
|
427
|
+
readonly "ElectronWebContents.dispose": (id: any) => Promise<void>;
|
|
428
|
+
readonly "ElectronWebContentsView.attachEventListeners": (webContentsId: any) => Promise<void>;
|
|
429
|
+
readonly "ElectronWebContentsView.createWebContentsView": (webContentsId: any) => Promise<any>;
|
|
430
|
+
readonly "ElectronWebContentsView.disposeWebContentsView": (webContentsId: any) => Promise<void>;
|
|
431
|
+
readonly "ElectronWebContentsViewFunctions.getStats": (id: any, ...args: readonly any[]) => Promise<any>;
|
|
432
|
+
readonly "ElectronWebContentsViewFunctions.resizeBrowserView": (id: any, ...args: readonly any[]) => Promise<void>;
|
|
433
|
+
readonly "ElectronWebContentsViewFunctions.setBackgroundColor": (webContentsId: any, backgroundColor: string) => Promise<void>;
|
|
434
|
+
readonly "ElectronWebContentsViewFunctions.setFallthroughKeyBindings": (id: any, ...args: readonly any[]) => Promise<void>;
|
|
435
|
+
readonly "ElectronWebContentsViewFunctions.setIframeSrc": (id: any, ...args: readonly any[]) => Promise<void>;
|
|
436
|
+
readonly "ElectronWebContentsViewFunctions.setIframeSrcFallback": (id: any, ...args: readonly any[]) => Promise<void>;
|
|
437
|
+
readonly "ElectronWebContentsViewFunctions.show": (id: any, ...args: readonly any[]) => Promise<void>;
|
|
438
|
+
}
|
|
439
|
+
declare const invoke$10: <T extends keyof SharedProcessApi>(method: T, ...params: Parameters<SharedProcessApi[T]>) => ReturnType<SharedProcessApi[T]>, invokeAndTransfer$10: <T extends keyof SharedProcessApi>(method: T, ...params: Parameters<SharedProcessApi[T]>) => ReturnType<SharedProcessApi[T]>, set$11: (rpc: import("@lvce-editor/rpc").Rpc) => void;
|
|
440
|
+
export interface SyntaxHighlightingWorkerApi {
|
|
441
|
+
readonly "Syntax.highlight": (lines: readonly string[]) => Promise<readonly any[]>;
|
|
442
|
+
}
|
|
443
|
+
declare const invoke$11: <T extends "Syntax.highlight">(method: T, ...params: Parameters<SyntaxHighlightingWorkerApi[T]>) => ReturnType<SyntaxHighlightingWorkerApi[T]>, invokeAndTransfer$11: <T extends "Syntax.highlight">(method: T, ...params: Parameters<SyntaxHighlightingWorkerApi[T]>) => ReturnType<SyntaxHighlightingWorkerApi[T]>, set$12: (rpc: import("@lvce-editor/rpc").Rpc) => void;
|
|
434
444
|
|
|
435
|
-
declare namespace
|
|
436
|
-
export {
|
|
445
|
+
declare namespace SyntaxHighlightingWorker$1 {
|
|
446
|
+
export { invoke$11 as invoke, invokeAndTransfer$11 as invokeAndTransfer, set$12 as set };
|
|
437
447
|
}
|
|
438
448
|
declare namespace EditorWorker$1 {
|
|
439
449
|
export { invoke, invokeAndTransfer, set$1 as set };
|
|
@@ -441,34 +451,41 @@ declare namespace EditorWorker$1 {
|
|
|
441
451
|
declare namespace EmbedsProcess$1 {
|
|
442
452
|
export { invoke$1 as invoke, invokeAndTransfer$1 as invokeAndTransfer, set$2 as set };
|
|
443
453
|
}
|
|
444
|
-
declare namespace
|
|
454
|
+
declare namespace ErrorWorker$1 {
|
|
445
455
|
export { invoke$2 as invoke, invokeAndTransfer$2 as invokeAndTransfer, set$3 as set };
|
|
446
456
|
}
|
|
447
|
-
declare namespace
|
|
457
|
+
declare namespace ExtensionHost {
|
|
448
458
|
export { invoke$3 as invoke, invokeAndTransfer$3 as invokeAndTransfer, set$4 as set };
|
|
449
459
|
}
|
|
450
|
-
declare namespace
|
|
460
|
+
declare namespace FileSystemProcess$1 {
|
|
451
461
|
export { invoke$4 as invoke, invokeAndTransfer$4 as invokeAndTransfer, set$5 as set };
|
|
452
462
|
}
|
|
453
|
-
declare namespace
|
|
463
|
+
declare namespace FileSystemWorker$1 {
|
|
454
464
|
export { invoke$5 as invoke, invokeAndTransfer$5 as invokeAndTransfer, set$6 as set };
|
|
455
465
|
}
|
|
456
|
-
declare namespace
|
|
466
|
+
declare namespace MainProcess$1 {
|
|
457
467
|
export { invoke$6 as invoke, invokeAndTransfer$6 as invokeAndTransfer, set$7 as set };
|
|
458
468
|
}
|
|
459
|
-
declare namespace
|
|
469
|
+
declare namespace MarkdownWorker$1 {
|
|
460
470
|
export { invoke$7 as invoke, invokeAndTransfer$7 as invokeAndTransfer, set$8 as set };
|
|
461
471
|
}
|
|
462
|
-
declare namespace
|
|
472
|
+
declare namespace RendererWorker$1 {
|
|
463
473
|
export { invoke$8 as invoke, invokeAndTransfer$8 as invokeAndTransfer, set$9 as set };
|
|
464
474
|
}
|
|
465
|
-
declare namespace
|
|
475
|
+
declare namespace RpcId {
|
|
476
|
+
export { ColorPickerWorker, CompletionWorker, DebugWorker, EditorWorker, EmbedsProcess, EmbedsWorker, ErrorWorker, ExtensionHostWorker, FileSystemProcess, FileSystemWorker, MainProcess, MarkdownWorker, RendererWorker, SearchProcess, SearchProcessElectron, SharedProcess, SourceActionWorker, SourceControlWorker, SyntaxHighlightingWorker };
|
|
477
|
+
}
|
|
478
|
+
declare namespace SearchProcess$1 {
|
|
466
479
|
export { invoke$9 as invoke, invokeAndTransfer$9 as invokeAndTransfer, set$10 as set };
|
|
467
480
|
}
|
|
481
|
+
declare namespace SharedProcess$1 {
|
|
482
|
+
export { invoke$10 as invoke, invokeAndTransfer$10 as invokeAndTransfer, set$11 as set };
|
|
483
|
+
}
|
|
468
484
|
|
|
469
485
|
export {
|
|
470
486
|
EditorWorker$1 as EditorWorker,
|
|
471
487
|
EmbedsProcess$1 as EmbedsProcess,
|
|
488
|
+
ErrorWorker$1 as ErrorWorker,
|
|
472
489
|
ExtensionHost,
|
|
473
490
|
FileSystemProcess$1 as FileSystemProcess,
|
|
474
491
|
FileSystemWorker$1 as FileSystemWorker,
|
|
@@ -479,6 +496,7 @@ export {
|
|
|
479
496
|
RpcId,
|
|
480
497
|
SearchProcess$1 as SearchProcess,
|
|
481
498
|
SharedProcess$1 as SharedProcess,
|
|
499
|
+
SyntaxHighlightingWorker$1 as SyntaxHighlightingWorker,
|
|
482
500
|
};
|
|
483
501
|
|
|
484
502
|
export {};
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const rpcs = Object.create(null);
|
|
2
|
-
const set$
|
|
2
|
+
const set$c = (id, rpc) => {
|
|
3
3
|
rpcs[id] = rpc;
|
|
4
4
|
};
|
|
5
5
|
const get = id => {
|
|
@@ -26,7 +26,7 @@ const create = rpcId => {
|
|
|
26
26
|
return rpc.invokeAndTransfer(method, ...params);
|
|
27
27
|
},
|
|
28
28
|
set(rpc) {
|
|
29
|
-
set$
|
|
29
|
+
set$c(rpcId, rpc);
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
32
|
};
|
|
@@ -48,6 +48,8 @@ const MarkdownWorker$1 = 300;
|
|
|
48
48
|
const CompletionWorker = 301;
|
|
49
49
|
const ColorPickerWorker = 302;
|
|
50
50
|
const SourceActionWorker = 303;
|
|
51
|
+
const ErrorWorker$1 = 3308;
|
|
52
|
+
const SyntaxHighlightingWorker$1 = 3309;
|
|
51
53
|
|
|
52
54
|
const RpcId = {
|
|
53
55
|
__proto__: null,
|
|
@@ -57,6 +59,7 @@ const RpcId = {
|
|
|
57
59
|
EditorWorker: EditorWorker$1,
|
|
58
60
|
EmbedsProcess: EmbedsProcess$1,
|
|
59
61
|
EmbedsWorker,
|
|
62
|
+
ErrorWorker: ErrorWorker$1,
|
|
60
63
|
ExtensionHostWorker,
|
|
61
64
|
FileSystemProcess: FileSystemProcess$1,
|
|
62
65
|
FileSystemWorker: FileSystemWorker$1,
|
|
@@ -67,16 +70,43 @@ const RpcId = {
|
|
|
67
70
|
SearchProcessElectron,
|
|
68
71
|
SharedProcess: SharedProcess$1,
|
|
69
72
|
SourceActionWorker,
|
|
70
|
-
SourceControlWorker
|
|
73
|
+
SourceControlWorker,
|
|
74
|
+
SyntaxHighlightingWorker: SyntaxHighlightingWorker$1
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
const {
|
|
78
|
+
invoke: invoke$b,
|
|
79
|
+
invokeAndTransfer: invokeAndTransfer$b,
|
|
80
|
+
set: set$b
|
|
81
|
+
} = create(EditorWorker$1);
|
|
82
|
+
|
|
83
|
+
const EditorWorker = {
|
|
84
|
+
__proto__: null,
|
|
85
|
+
invoke: invoke$b,
|
|
86
|
+
invokeAndTransfer: invokeAndTransfer$b,
|
|
87
|
+
set: set$b
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
const {
|
|
91
|
+
invoke: invoke$a,
|
|
92
|
+
invokeAndTransfer: invokeAndTransfer$a,
|
|
93
|
+
set: set$a
|
|
94
|
+
} = create(EmbedsProcess$1);
|
|
95
|
+
|
|
96
|
+
const EmbedsProcess = {
|
|
97
|
+
__proto__: null,
|
|
98
|
+
invoke: invoke$a,
|
|
99
|
+
invokeAndTransfer: invokeAndTransfer$a,
|
|
100
|
+
set: set$a
|
|
71
101
|
};
|
|
72
102
|
|
|
73
103
|
const {
|
|
74
104
|
invoke: invoke$9,
|
|
75
105
|
invokeAndTransfer: invokeAndTransfer$9,
|
|
76
106
|
set: set$9
|
|
77
|
-
} = create(
|
|
107
|
+
} = create(ErrorWorker$1);
|
|
78
108
|
|
|
79
|
-
const
|
|
109
|
+
const ErrorWorker = {
|
|
80
110
|
__proto__: null,
|
|
81
111
|
invoke: invoke$9,
|
|
82
112
|
invokeAndTransfer: invokeAndTransfer$9,
|
|
@@ -87,9 +117,9 @@ const {
|
|
|
87
117
|
invoke: invoke$8,
|
|
88
118
|
invokeAndTransfer: invokeAndTransfer$8,
|
|
89
119
|
set: set$8
|
|
90
|
-
} = create(
|
|
120
|
+
} = create(ExtensionHostWorker);
|
|
91
121
|
|
|
92
|
-
const
|
|
122
|
+
const ExtensionHost = {
|
|
93
123
|
__proto__: null,
|
|
94
124
|
invoke: invoke$8,
|
|
95
125
|
invokeAndTransfer: invokeAndTransfer$8,
|
|
@@ -100,9 +130,9 @@ const {
|
|
|
100
130
|
invoke: invoke$7,
|
|
101
131
|
invokeAndTransfer: invokeAndTransfer$7,
|
|
102
132
|
set: set$7
|
|
103
|
-
} = create(
|
|
133
|
+
} = create(FileSystemProcess$1);
|
|
104
134
|
|
|
105
|
-
const
|
|
135
|
+
const FileSystemProcess = {
|
|
106
136
|
__proto__: null,
|
|
107
137
|
invoke: invoke$7,
|
|
108
138
|
invokeAndTransfer: invokeAndTransfer$7,
|
|
@@ -113,9 +143,9 @@ const {
|
|
|
113
143
|
invoke: invoke$6,
|
|
114
144
|
invokeAndTransfer: invokeAndTransfer$6,
|
|
115
145
|
set: set$6
|
|
116
|
-
} = create(
|
|
146
|
+
} = create(FileSystemWorker$1);
|
|
117
147
|
|
|
118
|
-
const
|
|
148
|
+
const FileSystemWorker = {
|
|
119
149
|
__proto__: null,
|
|
120
150
|
invoke: invoke$6,
|
|
121
151
|
invokeAndTransfer: invokeAndTransfer$6,
|
|
@@ -126,9 +156,9 @@ const {
|
|
|
126
156
|
invoke: invoke$5,
|
|
127
157
|
invokeAndTransfer: invokeAndTransfer$5,
|
|
128
158
|
set: set$5
|
|
129
|
-
} = create(
|
|
159
|
+
} = create(MainProcess$1);
|
|
130
160
|
|
|
131
|
-
const
|
|
161
|
+
const MainProcess = {
|
|
132
162
|
__proto__: null,
|
|
133
163
|
invoke: invoke$5,
|
|
134
164
|
invokeAndTransfer: invokeAndTransfer$5,
|
|
@@ -139,9 +169,9 @@ const {
|
|
|
139
169
|
invoke: invoke$4,
|
|
140
170
|
invokeAndTransfer: invokeAndTransfer$4,
|
|
141
171
|
set: set$4
|
|
142
|
-
} = create(
|
|
172
|
+
} = create(MarkdownWorker$1);
|
|
143
173
|
|
|
144
|
-
const
|
|
174
|
+
const MarkdownWorker = {
|
|
145
175
|
__proto__: null,
|
|
146
176
|
invoke: invoke$4,
|
|
147
177
|
invokeAndTransfer: invokeAndTransfer$4,
|
|
@@ -152,9 +182,9 @@ const {
|
|
|
152
182
|
invoke: invoke$3,
|
|
153
183
|
invokeAndTransfer: invokeAndTransfer$3,
|
|
154
184
|
set: set$3
|
|
155
|
-
} = create(
|
|
185
|
+
} = create(RendererWorker$1);
|
|
156
186
|
|
|
157
|
-
const
|
|
187
|
+
const RendererWorker = {
|
|
158
188
|
__proto__: null,
|
|
159
189
|
invoke: invoke$3,
|
|
160
190
|
invokeAndTransfer: invokeAndTransfer$3,
|
|
@@ -165,9 +195,9 @@ const {
|
|
|
165
195
|
invoke: invoke$2,
|
|
166
196
|
invokeAndTransfer: invokeAndTransfer$2,
|
|
167
197
|
set: set$2
|
|
168
|
-
} = create(
|
|
198
|
+
} = create(SearchProcess$1);
|
|
169
199
|
|
|
170
|
-
const
|
|
200
|
+
const SearchProcess = {
|
|
171
201
|
__proto__: null,
|
|
172
202
|
invoke: invoke$2,
|
|
173
203
|
invokeAndTransfer: invokeAndTransfer$2,
|
|
@@ -178,9 +208,9 @@ const {
|
|
|
178
208
|
invoke: invoke$1,
|
|
179
209
|
invokeAndTransfer: invokeAndTransfer$1,
|
|
180
210
|
set: set$1
|
|
181
|
-
} = create(
|
|
211
|
+
} = create(SharedProcess$1);
|
|
182
212
|
|
|
183
|
-
const
|
|
213
|
+
const SharedProcess = {
|
|
184
214
|
__proto__: null,
|
|
185
215
|
invoke: invoke$1,
|
|
186
216
|
invokeAndTransfer: invokeAndTransfer$1,
|
|
@@ -191,13 +221,13 @@ const {
|
|
|
191
221
|
invoke,
|
|
192
222
|
invokeAndTransfer,
|
|
193
223
|
set
|
|
194
|
-
} = create(
|
|
224
|
+
} = create(MarkdownWorker$1);
|
|
195
225
|
|
|
196
|
-
const
|
|
226
|
+
const SyntaxHighlightingWorker = {
|
|
197
227
|
__proto__: null,
|
|
198
228
|
invoke,
|
|
199
229
|
invokeAndTransfer,
|
|
200
230
|
set
|
|
201
231
|
};
|
|
202
232
|
|
|
203
|
-
export { EditorWorker, EmbedsProcess, ExtensionHost, FileSystemProcess, FileSystemWorker, MainProcess, MarkdownWorker, RendererWorker, RpcId, SearchProcess, SharedProcess, get, remove, set$
|
|
233
|
+
export { EditorWorker, EmbedsProcess, ErrorWorker, ExtensionHost, FileSystemProcess, FileSystemWorker, MainProcess, MarkdownWorker, RendererWorker, RpcId, SearchProcess, SharedProcess, SyntaxHighlightingWorker, get, remove, set$c as set };
|