@adminide-stack/extension-api 5.0.1-alpha.10 → 5.0.1-alpha.12

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.
Files changed (228) hide show
  1. package/lib/connections/jsonrpc2/connection.js +5 -13
  2. package/lib/connections/jsonrpc2/events.js +3 -4
  3. package/lib/connections/jsonrpc2/linkedMap.js +3 -4
  4. package/lib/connections/jsonrpc2/messages.js +6 -7
  5. package/lib/connections/jsonrpc2/test-helper.js +4 -6
  6. package/lib/connections/jsonrpc2/trace.js +3 -6
  7. package/lib/connections/jsonrpc2/transport.js +3 -5
  8. package/lib/connections/jsonrpc2/transports/webWorker.js +3 -5
  9. package/lib/connections/proxy/proxy.js +7 -8
  10. package/lib/connections/remote-rpc/browser-remote-rpc.js +3 -9
  11. package/lib/connections/remote-rpc/rxjs-websockets.d.ts +1 -1
  12. package/lib/connections/remote-rpc/rxjs-websockets.js +4 -8
  13. package/lib/constants/action-types.js +5 -6
  14. package/lib/constants/types.js +2 -3
  15. package/lib/core/expr/evaluator.js +6 -9
  16. package/lib/core/expr/lexer.js +6 -7
  17. package/lib/core/expr/parser.js +4 -6
  18. package/lib/core/types/ext-host-types.js +5 -8
  19. package/lib/index.d.ts +2 -0
  20. package/lib/index.js +1 -8
  21. package/lib/interfaces/context.d.ts +1 -1
  22. package/lib/interfaces/contributions/contribution.js +3 -4
  23. package/lib/interfaces/generated-models.d.ts +1237 -1073
  24. package/lib/interfaces/generated-models.js +88 -63
  25. package/lib/interfaces/graphql.d.ts +1 -1
  26. package/lib/interfaces/graphql.js +1 -2
  27. package/lib/interfaces/model.js +2 -3
  28. package/lib/interfaces/platform-context.d.ts +1 -1
  29. package/lib/interfaces/text-document.js +4 -6
  30. package/lib/interfaces/webview/webview.js +2 -3
  31. package/lib/protocol/client.protocol.js +3 -5
  32. package/lib/protocol/common.protocol.js +6 -8
  33. package/lib/protocol/editor-missing-types.js +2 -3
  34. package/lib/protocol/index.d.ts +3 -0
  35. package/lib/protocol/proxy-identifier.js +8 -9
  36. package/lib/protocol/rpc-logger.js +3 -6
  37. package/lib/protocol/rpc-protocol.js +10 -20
  38. package/lib/protocol/server.protocol.js +14 -16
  39. package/lib/protocol/shared/editor.js +4 -6
  40. package/lib/protocol/temporary-types.js +4 -13
  41. package/lib/protocol/utils/lazy-promise.js +3 -6
  42. package/lib/utils/abortable-rx.d.ts +32 -0
  43. package/lib/utils/abortable-rx.js +112 -0
  44. package/lib/utils/errors.js +3 -4
  45. package/lib/utils/extensions.js +3 -5
  46. package/lib/utils/helper.test.js +2 -3
  47. package/lib/utils/paths-util.js +5 -7
  48. package/lib/utils/rxjs/combineLatestOrDefault.js +3 -10
  49. package/lib/utils/util.js +7 -9
  50. package/lib/worker-lib/webWorkerLink.d.ts +1 -1
  51. package/package.json +5 -4
  52. package/lib/connections/jsonrpc2/connection.js.map +0 -1
  53. package/lib/connections/jsonrpc2/connection.test.js +0 -441
  54. package/lib/connections/jsonrpc2/connection.test.js.map +0 -1
  55. package/lib/connections/jsonrpc2/events.js.map +0 -1
  56. package/lib/connections/jsonrpc2/index.js +0 -8
  57. package/lib/connections/jsonrpc2/index.js.map +0 -1
  58. package/lib/connections/jsonrpc2/linkedMap.js.map +0 -1
  59. package/lib/connections/jsonrpc2/linkedMap.test.js +0 -60
  60. package/lib/connections/jsonrpc2/linkedMap.test.js.map +0 -1
  61. package/lib/connections/jsonrpc2/messages.js.map +0 -1
  62. package/lib/connections/jsonrpc2/test-helper.js.map +0 -1
  63. package/lib/connections/jsonrpc2/trace.js.map +0 -1
  64. package/lib/connections/jsonrpc2/transport.js.map +0 -1
  65. package/lib/connections/jsonrpc2/transports/browser-websocket.d.ts +0 -0
  66. package/lib/connections/jsonrpc2/transports/browser-websocket.js +0 -189
  67. package/lib/connections/jsonrpc2/transports/browser-websocket.js.map +0 -1
  68. package/lib/connections/jsonrpc2/transports/merged.d.ts +0 -0
  69. package/lib/connections/jsonrpc2/transports/merged.js +0 -239
  70. package/lib/connections/jsonrpc2/transports/merged.js.map +0 -1
  71. package/lib/connections/jsonrpc2/transports/webSocket.d.ts +0 -0
  72. package/lib/connections/jsonrpc2/transports/webSocket.js +0 -138
  73. package/lib/connections/jsonrpc2/transports/webSocket.js.map +0 -1
  74. package/lib/connections/jsonrpc2/transports/webWorker.js.map +0 -1
  75. package/lib/connections/proxy/index.js +0 -2
  76. package/lib/connections/proxy/index.js.map +0 -1
  77. package/lib/connections/proxy/proxy.js.map +0 -1
  78. package/lib/connections/proxy/proxy.test.js +0 -53
  79. package/lib/connections/proxy/proxy.test.js.map +0 -1
  80. package/lib/connections/remote-rpc/browser-remote-rpc.js.map +0 -1
  81. package/lib/connections/remote-rpc/browser-server-rpc.test.d.ts +0 -0
  82. package/lib/connections/remote-rpc/browser-server-rpc.test.js +0 -317
  83. package/lib/connections/remote-rpc/browser-server-rpc.test.js.map +0 -1
  84. package/lib/connections/remote-rpc/index.js +0 -2
  85. package/lib/connections/remote-rpc/index.js.map +0 -1
  86. package/lib/connections/remote-rpc/old-browser-remote-rpc.js +0 -37
  87. package/lib/connections/remote-rpc/old-browser-remote-rpc.js.map +0 -1
  88. package/lib/connections/remote-rpc/rxjs-websockets.js.map +0 -1
  89. package/lib/constants/action-types.js.map +0 -1
  90. package/lib/constants/index.js +0 -3
  91. package/lib/constants/index.js.map +0 -1
  92. package/lib/constants/types.js.map +0 -1
  93. package/lib/core/expr/evaluator.js.map +0 -1
  94. package/lib/core/expr/evaluator.test.js +0 -50
  95. package/lib/core/expr/evaluator.test.js.map +0 -1
  96. package/lib/core/expr/index.js +0 -4
  97. package/lib/core/expr/index.js.map +0 -1
  98. package/lib/core/expr/lexer.js.map +0 -1
  99. package/lib/core/expr/parser.js.map +0 -1
  100. package/lib/core/index.js +0 -3
  101. package/lib/core/index.js.map +0 -1
  102. package/lib/core/types/ext-host-types-bk.d.ts +0 -0
  103. package/lib/core/types/ext-host-types-bk.js +0 -1275
  104. package/lib/core/types/ext-host-types-bk.js.map +0 -1
  105. package/lib/core/types/ext-host-types.js.map +0 -1
  106. package/lib/core/types/index.js +0 -2
  107. package/lib/core/types/index.js.map +0 -1
  108. package/lib/errors/errors.js +0 -9
  109. package/lib/errors/errors.js.map +0 -1
  110. package/lib/errors/index.js +0 -2
  111. package/lib/errors/index.js.map +0 -1
  112. package/lib/index.js.map +0 -1
  113. package/lib/interfaces/command.js +0 -2
  114. package/lib/interfaces/command.js.map +0 -1
  115. package/lib/interfaces/configuration.js +0 -2
  116. package/lib/interfaces/configuration.js.map +0 -1
  117. package/lib/interfaces/connection.js +0 -2
  118. package/lib/interfaces/connection.js.map +0 -1
  119. package/lib/interfaces/context.js +0 -2
  120. package/lib/interfaces/context.js.map +0 -1
  121. package/lib/interfaces/contributions/contribution-service.js +0 -2
  122. package/lib/interfaces/contributions/contribution-service.js.map +0 -1
  123. package/lib/interfaces/contributions/contribution.js.map +0 -1
  124. package/lib/interfaces/contributions/index.js +0 -3
  125. package/lib/interfaces/contributions/index.js.map +0 -1
  126. package/lib/interfaces/controller.js +0 -2
  127. package/lib/interfaces/controller.js.map +0 -1
  128. package/lib/interfaces/errors.js +0 -2
  129. package/lib/interfaces/errors.js.map +0 -1
  130. package/lib/interfaces/ext-services/contributon-registry.js +0 -2
  131. package/lib/interfaces/ext-services/contributon-registry.js.map +0 -1
  132. package/lib/interfaces/ext-services/ext-services.js +0 -2
  133. package/lib/interfaces/ext-services/ext-services.js.map +0 -1
  134. package/lib/interfaces/ext-services/extension-service.js +0 -2
  135. package/lib/interfaces/ext-services/extension-service.js.map +0 -1
  136. package/lib/interfaces/ext-services/index.js +0 -9
  137. package/lib/interfaces/ext-services/index.js.map +0 -1
  138. package/lib/interfaces/ext-services/model-service.js +0 -2
  139. package/lib/interfaces/ext-services/model-service.js.map +0 -1
  140. package/lib/interfaces/ext-services/panel-view-registry.js +0 -2
  141. package/lib/interfaces/ext-services/panel-view-registry.js.map +0 -1
  142. package/lib/interfaces/ext-services/settings-service.js +0 -2
  143. package/lib/interfaces/ext-services/settings-service.js.map +0 -1
  144. package/lib/interfaces/ext-services/view-service.js +0 -2
  145. package/lib/interfaces/ext-services/view-service.js.map +0 -1
  146. package/lib/interfaces/ext-services/viewer-service.js +0 -4
  147. package/lib/interfaces/ext-services/viewer-service.js.map +0 -1
  148. package/lib/interfaces/extension-manifest.js +0 -2
  149. package/lib/interfaces/extension-manifest.js.map +0 -1
  150. package/lib/interfaces/extension.js +0 -2
  151. package/lib/interfaces/extension.js.map +0 -1
  152. package/lib/interfaces/generated-models.js.map +0 -1
  153. package/lib/interfaces/graphql.js.map +0 -1
  154. package/lib/interfaces/index.js +0 -22
  155. package/lib/interfaces/index.js.map +0 -1
  156. package/lib/interfaces/languages-types.js +0 -2
  157. package/lib/interfaces/languages-types.js.map +0 -1
  158. package/lib/interfaces/model.js.map +0 -1
  159. package/lib/interfaces/plain-types.js +0 -5
  160. package/lib/interfaces/plain-types.js.map +0 -1
  161. package/lib/interfaces/plainTypes.js +0 -2
  162. package/lib/interfaces/plainTypes.js.map +0 -1
  163. package/lib/interfaces/platform-context.js +0 -2
  164. package/lib/interfaces/platform-context.js.map +0 -1
  165. package/lib/interfaces/react-props/action-item.js +0 -2
  166. package/lib/interfaces/react-props/action-item.js.map +0 -1
  167. package/lib/interfaces/react-props/extension-controller.js +0 -2
  168. package/lib/interfaces/react-props/extension-controller.js.map +0 -1
  169. package/lib/interfaces/react-props/index.js +0 -4
  170. package/lib/interfaces/react-props/index.js.map +0 -1
  171. package/lib/interfaces/react-props/platform-context.js +0 -2
  172. package/lib/interfaces/react-props/platform-context.js.map +0 -1
  173. package/lib/interfaces/registry-extension.js +0 -2
  174. package/lib/interfaces/registry-extension.js.map +0 -1
  175. package/lib/interfaces/settings.js +0 -2
  176. package/lib/interfaces/settings.js.map +0 -1
  177. package/lib/interfaces/text-document.js.map +0 -1
  178. package/lib/interfaces/webview/index.js +0 -4
  179. package/lib/interfaces/webview/index.js.map +0 -1
  180. package/lib/interfaces/webview/webview-manager-service.js +0 -2
  181. package/lib/interfaces/webview/webview-manager-service.js.map +0 -1
  182. package/lib/interfaces/webview/webview-port-mapping.js +0 -2
  183. package/lib/interfaces/webview/webview-port-mapping.js.map +0 -1
  184. package/lib/interfaces/webview/webview.js.map +0 -1
  185. package/lib/main.d.ts +0 -0
  186. package/lib/main.js +0 -3
  187. package/lib/main.js.map +0 -1
  188. package/lib/protocol/client.protocol.js.map +0 -1
  189. package/lib/protocol/common.protocol.js.map +0 -1
  190. package/lib/protocol/editor-missing-types.js.map +0 -1
  191. package/lib/protocol/index.js +0 -8
  192. package/lib/protocol/index.js.map +0 -1
  193. package/lib/protocol/proxy-identifier.js.map +0 -1
  194. package/lib/protocol/rpc-logger.js.map +0 -1
  195. package/lib/protocol/rpc-protocol.js.map +0 -1
  196. package/lib/protocol/rpc-protocol.test.js +0 -169
  197. package/lib/protocol/rpc-protocol.test.js.map +0 -1
  198. package/lib/protocol/server.protocol-bk.d.ts +0 -0
  199. package/lib/protocol/server.protocol-bk.js +0 -719
  200. package/lib/protocol/server.protocol-bk.js.map +0 -1
  201. package/lib/protocol/server.protocol.js.map +0 -1
  202. package/lib/protocol/shared/editor.js.map +0 -1
  203. package/lib/protocol/shared/tasks.js +0 -3
  204. package/lib/protocol/shared/tasks.js.map +0 -1
  205. package/lib/protocol/temporary-types.js.map +0 -1
  206. package/lib/protocol/utils/index.js +0 -2
  207. package/lib/protocol/utils/index.js.map +0 -1
  208. package/lib/protocol/utils/lazy-promise.js.map +0 -1
  209. package/lib/utils/errors.js.map +0 -1
  210. package/lib/utils/extensions.js.map +0 -1
  211. package/lib/utils/helper.test.js.map +0 -1
  212. package/lib/utils/index.js +0 -8
  213. package/lib/utils/index.js.map +0 -1
  214. package/lib/utils/paths-util.js.map +0 -1
  215. package/lib/utils/rxjs/combineLatestOrDefault.js.map +0 -1
  216. package/lib/utils/rxjs/combineLatestOrDefault.test.js +0 -50
  217. package/lib/utils/rxjs/combineLatestOrDefault.test.js.map +0 -1
  218. package/lib/utils/rxjs/index.js +0 -2
  219. package/lib/utils/rxjs/index.js.map +0 -1
  220. package/lib/utils/util.js.map +0 -1
  221. package/lib/worker-lib/MessageTypes.js +0 -6
  222. package/lib/worker-lib/MessageTypes.js.map +0 -1
  223. package/lib/worker-lib/index.js +0 -3
  224. package/lib/worker-lib/index.js.map +0 -1
  225. package/lib/worker-lib/webWorkerLink.js +0 -90
  226. package/lib/worker-lib/webWorkerLink.js.map +0 -1
  227. package/lib/worker-lib/workerUtils.js +0 -173
  228. package/lib/worker-lib/workerUtils.js.map +0 -1
@@ -1,44 +1,46 @@
1
- import { gql } from '@apollo/client';
2
- import * as Apollo from '@apollo/client';
3
- const defaultOptions = {};
4
- export var ICacheControlScope;
1
+ import*as Apollo from'@apollo/client/index.js';import {gql}from'@apollo/client/index.js';const defaultOptions = {};
2
+ var ICacheControlScope;
5
3
  (function (ICacheControlScope) {
6
- ICacheControlScope["Public"] = "PUBLIC";
7
4
  ICacheControlScope["Private"] = "PRIVATE";
5
+ ICacheControlScope["Public"] = "PUBLIC";
8
6
  })(ICacheControlScope || (ICacheControlScope = {}));
9
- export var IClientContainerService;
7
+ var IClientContainerService;
10
8
  (function (IClientContainerService) {
11
9
  IClientContainerService["ExtensionController"] = "ExtensionController";
12
10
  })(IClientContainerService || (IClientContainerService = {}));
13
- export var IEnvironmentSync;
11
+ var IEnvironmentSync;
14
12
  (function (IEnvironmentSync) {
15
- IEnvironmentSync["On"] = "on";
16
13
  IEnvironmentSync["Off"] = "off";
14
+ IEnvironmentSync["On"] = "on";
17
15
  IEnvironmentSync["Unset"] = "unset";
18
16
  })(IEnvironmentSync || (IEnvironmentSync = {}));
19
- export var IExtensionKind;
17
+ var IExtensionKind;
20
18
  (function (IExtensionKind) {
21
19
  IExtensionKind["Ui"] = "ui";
22
20
  IExtensionKind["Workspace"] = "workspace";
23
21
  })(IExtensionKind || (IExtensionKind = {}));
24
- export var IExtensionType;
22
+ var IExtensionType;
25
23
  (function (IExtensionType) {
26
24
  IExtensionType["System"] = "System";
27
25
  IExtensionType["User"] = "User";
28
26
  })(IExtensionType || (IExtensionType = {}));
29
- export var IGraphqlCallType;
27
+ var IGraphqlCallType;
30
28
  (function (IGraphqlCallType) {
31
29
  IGraphqlCallType["Mutation"] = "mutation";
32
30
  IGraphqlCallType["Query"] = "query";
33
31
  })(IGraphqlCallType || (IGraphqlCallType = {}));
34
- export var IMarkupKind;
32
+ var IMarkupKind;
35
33
  (function (IMarkupKind) {
36
- IMarkupKind["Plaintext"] = "plaintext";
37
34
  IMarkupKind["Markdown"] = "markdown";
35
+ IMarkupKind["Plaintext"] = "plaintext";
38
36
  })(IMarkupKind || (IMarkupKind = {}));
39
- export var IMenuId;
37
+ var IMenuId;
40
38
  (function (IMenuId) {
41
39
  IMenuId["CommandPalette"] = "CommandPalette";
40
+ IMenuId["CommentActions"] = "CommentActions";
41
+ IMenuId["CommentThreadActions"] = "CommentThreadActions";
42
+ IMenuId["CommentThreadTitle"] = "CommentThreadTitle";
43
+ IMenuId["CommentTitle"] = "CommentTitle";
42
44
  IMenuId["MenubarAppearanceMenu"] = "MenubarAppearanceMenu";
43
45
  IMenuId["MenubarDebugMenu"] = "MenubarDebugMenu";
44
46
  IMenuId["MenubarEditMenu"] = "MenubarEditMenu";
@@ -56,50 +58,46 @@ export var IMenuId;
56
58
  IMenuId["ProblemsPanelContext"] = "ProblemsPanelContext";
57
59
  IMenuId["ScmChangeContext"] = "SCMChangeContext";
58
60
  IMenuId["ScmResourceContext"] = "SCMResourceContext";
59
- IMenuId["ScmResourceGroupContext"] = "SCMResourceGroupContext";
60
61
  IMenuId["ScmResourceControl"] = "SCMResourceControl";
62
+ IMenuId["ScmResourceGroupContext"] = "SCMResourceGroupContext";
61
63
  IMenuId["ScmTitle"] = "SCMTitle";
62
64
  IMenuId["SearchContext"] = "SearchContext";
63
65
  IMenuId["StatusBarWindowIndicatorMenu"] = "StatusBarWindowIndicatorMenu";
64
66
  IMenuId["TouchBarContext"] = "TouchBarContext";
65
67
  IMenuId["ViewItemContext"] = "ViewItemContext";
66
68
  IMenuId["ViewTitle"] = "ViewTitle";
67
- IMenuId["CommentThreadTitle"] = "CommentThreadTitle";
68
- IMenuId["CommentThreadActions"] = "CommentThreadActions";
69
- IMenuId["CommentTitle"] = "CommentTitle";
70
- IMenuId["CommentActions"] = "CommentActions";
71
69
  })(IMenuId || (IMenuId = {}));
72
70
  /** All Moleculer Topic names are extended from this. */
73
- export var IMoleculerServiceName;
71
+ var IMoleculerServiceName;
74
72
  (function (IMoleculerServiceName) {
75
73
  IMoleculerServiceName["Dummy"] = "dummy";
76
74
  })(IMoleculerServiceName || (IMoleculerServiceName = {}));
77
- export var INotificationChangeType;
75
+ var INotificationChangeType;
78
76
  (function (INotificationChangeType) {
79
77
  INotificationChangeType["Add"] = "ADD";
80
78
  INotificationChangeType["Change"] = "CHANGE";
81
79
  INotificationChangeType["Remove"] = "REMOVE";
82
80
  })(INotificationChangeType || (INotificationChangeType = {}));
83
- export var INotificationSeverity;
81
+ var INotificationSeverity;
84
82
  (function (INotificationSeverity) {
83
+ INotificationSeverity["Error"] = "Error";
85
84
  INotificationSeverity["Ignore"] = "Ignore";
86
85
  INotificationSeverity["Info"] = "Info";
87
86
  INotificationSeverity["Warning"] = "Warning";
88
- INotificationSeverity["Error"] = "Error";
89
87
  })(INotificationSeverity || (INotificationSeverity = {}));
90
- export var INotificationViewItemLabelKind;
88
+ var INotificationViewItemLabelKind;
91
89
  (function (INotificationViewItemLabelKind) {
92
- INotificationViewItemLabelKind["Severity"] = "SEVERITY";
93
- INotificationViewItemLabelKind["Message"] = "MESSAGE";
94
90
  INotificationViewItemLabelKind["Actions"] = "ACTIONS";
91
+ INotificationViewItemLabelKind["Message"] = "MESSAGE";
95
92
  INotificationViewItemLabelKind["Progress"] = "PROGRESS";
93
+ INotificationViewItemLabelKind["Severity"] = "SEVERITY";
96
94
  })(INotificationViewItemLabelKind || (INotificationViewItemLabelKind = {}));
97
- export var ISortEnum;
95
+ var ISortEnum;
98
96
  (function (ISortEnum) {
99
97
  ISortEnum["Asc"] = "ASC";
100
98
  ISortEnum["Desc"] = "DESC";
101
99
  })(ISortEnum || (ISortEnum = {}));
102
- export const CopyDocument = gql `
100
+ const CopyDocument = gql `
103
101
  mutation Copy($value: String) {
104
102
  copy(value: $value) @client
105
103
  }
@@ -121,11 +119,11 @@ export const CopyDocument = gql `
121
119
  * },
122
120
  * });
123
121
  */
124
- export function useCopyMutation(baseOptions) {
122
+ function useCopyMutation(baseOptions) {
125
123
  const options = { ...defaultOptions, ...baseOptions };
126
124
  return Apollo.useMutation(CopyDocument, options);
127
125
  }
128
- export const RunMenuActionDocument = gql `
126
+ const RunMenuActionDocument = gql `
129
127
  mutation RunMenuAction($argument: ContributionActionRunInput) {
130
128
  runMenuAction(argument: $argument) @client
131
129
  }
@@ -147,11 +145,11 @@ export const RunMenuActionDocument = gql `
147
145
  * },
148
146
  * });
149
147
  */
150
- export function useRunMenuActionMutation(baseOptions) {
148
+ function useRunMenuActionMutation(baseOptions) {
151
149
  const options = { ...defaultOptions, ...baseOptions };
152
150
  return Apollo.useMutation(RunMenuActionDocument, options);
153
151
  }
154
- export const HideContextMenuDocument = gql `
152
+ const HideContextMenuDocument = gql `
155
153
  mutation HideContextMenu {
156
154
  hideContextMenu @client
157
155
  }
@@ -172,11 +170,11 @@ export const HideContextMenuDocument = gql `
172
170
  * },
173
171
  * });
174
172
  */
175
- export function useHideContextMenuMutation(baseOptions) {
173
+ function useHideContextMenuMutation(baseOptions) {
176
174
  const options = { ...defaultOptions, ...baseOptions };
177
175
  return Apollo.useMutation(HideContextMenuDocument, options);
178
176
  }
179
- export const ShowContextMenuDocument = gql `
177
+ const ShowContextMenuDocument = gql `
180
178
  mutation ShowContextMenu($delegate: ContextMenuInput) {
181
179
  showContextMenu(delegate: $delegate) @client
182
180
  }
@@ -198,11 +196,11 @@ export const ShowContextMenuDocument = gql `
198
196
  * },
199
197
  * });
200
198
  */
201
- export function useShowContextMenuMutation(baseOptions) {
199
+ function useShowContextMenuMutation(baseOptions) {
202
200
  const options = { ...defaultOptions, ...baseOptions };
203
201
  return Apollo.useMutation(ShowContextMenuDocument, options);
204
202
  }
205
- export const InstallDocument = gql `
203
+ const InstallDocument = gql `
206
204
  mutation install($vsix: String!) {
207
205
  install(vsix: $vsix) {
208
206
  id
@@ -227,11 +225,11 @@ export const InstallDocument = gql `
227
225
  * },
228
226
  * });
229
227
  */
230
- export function useInstallMutation(baseOptions) {
228
+ function useInstallMutation(baseOptions) {
231
229
  const options = { ...defaultOptions, ...baseOptions };
232
230
  return Apollo.useMutation(InstallDocument, options);
233
231
  }
234
- export const ProviderDefinitionDocument = gql `
232
+ const ProviderDefinitionDocument = gql `
235
233
  mutation providerDefinition($params: TextDocumentPositionParamsInput) {
236
234
  hoverProviderDefinition(params: $params) @client
237
235
  }
@@ -253,11 +251,11 @@ export const ProviderDefinitionDocument = gql `
253
251
  * },
254
252
  * });
255
253
  */
256
- export function useProviderDefinitionMutation(baseOptions) {
254
+ function useProviderDefinitionMutation(baseOptions) {
257
255
  const options = { ...defaultOptions, ...baseOptions };
258
256
  return Apollo.useMutation(ProviderDefinitionDocument, options);
259
257
  }
260
- export const RemoveDocument = gql `
258
+ const RemoveDocument = gql `
261
259
  mutation remove($id: String!) {
262
260
  removeExtension(id: $id)
263
261
  }
@@ -279,11 +277,11 @@ export const RemoveDocument = gql `
279
277
  * },
280
278
  * });
281
279
  */
282
- export function useRemoveMutation(baseOptions) {
280
+ function useRemoveMutation(baseOptions) {
283
281
  const options = { ...defaultOptions, ...baseOptions };
284
282
  return Apollo.useMutation(RemoveDocument, options);
285
283
  }
286
- export const ContextMenuDocument = gql `
284
+ const ContextMenuDocument = gql `
287
285
  query ContextMenu {
288
286
  contextMenu @client {
289
287
  id
@@ -322,15 +320,19 @@ export const ContextMenuDocument = gql `
322
320
  * },
323
321
  * });
324
322
  */
325
- export function useContextMenuQuery(baseOptions) {
323
+ function useContextMenuQuery(baseOptions) {
326
324
  const options = { ...defaultOptions, ...baseOptions };
327
325
  return Apollo.useQuery(ContextMenuDocument, options);
328
326
  }
329
- export function useContextMenuLazyQuery(baseOptions) {
327
+ function useContextMenuLazyQuery(baseOptions) {
330
328
  const options = { ...defaultOptions, ...baseOptions };
331
329
  return Apollo.useLazyQuery(ContextMenuDocument, options);
332
330
  }
333
- export const GalleryExtensionDocument = gql `
331
+ function useContextMenuSuspenseQuery(baseOptions) {
332
+ const options = { ...defaultOptions, ...baseOptions };
333
+ return Apollo.useSuspenseQuery(ContextMenuDocument, options);
334
+ }
335
+ const GalleryExtensionDocument = gql `
334
336
  query galleryExtension($extensionID: String!) {
335
337
  galleryExtension(extensionID: $extensionID) {
336
338
  id
@@ -375,15 +377,19 @@ export const GalleryExtensionDocument = gql `
375
377
  * },
376
378
  * });
377
379
  */
378
- export function useGalleryExtensionQuery(baseOptions) {
380
+ function useGalleryExtensionQuery(baseOptions) {
379
381
  const options = { ...defaultOptions, ...baseOptions };
380
382
  return Apollo.useQuery(GalleryExtensionDocument, options);
381
383
  }
382
- export function useGalleryExtensionLazyQuery(baseOptions) {
384
+ function useGalleryExtensionLazyQuery(baseOptions) {
383
385
  const options = { ...defaultOptions, ...baseOptions };
384
386
  return Apollo.useLazyQuery(GalleryExtensionDocument, options);
385
387
  }
386
- export const ExtensionsByLimitDocument = gql `
388
+ function useGalleryExtensionSuspenseQuery(baseOptions) {
389
+ const options = { ...defaultOptions, ...baseOptions };
390
+ return Apollo.useSuspenseQuery(GalleryExtensionDocument, options);
391
+ }
392
+ const ExtensionsByLimitDocument = gql `
387
393
  query ExtensionsByLimit($first: Int!, $prioritizeExtensionIDs: [String!]!) {
388
394
  extensions(first: $first, prioritizeExtensionIDs: $prioritizeExtensionIDs) {
389
395
  nodes {
@@ -418,15 +424,19 @@ export const ExtensionsByLimitDocument = gql `
418
424
  * },
419
425
  * });
420
426
  */
421
- export function useExtensionsByLimitQuery(baseOptions) {
427
+ function useExtensionsByLimitQuery(baseOptions) {
422
428
  const options = { ...defaultOptions, ...baseOptions };
423
429
  return Apollo.useQuery(ExtensionsByLimitDocument, options);
424
430
  }
425
- export function useExtensionsByLimitLazyQuery(baseOptions) {
431
+ function useExtensionsByLimitLazyQuery(baseOptions) {
426
432
  const options = { ...defaultOptions, ...baseOptions };
427
433
  return Apollo.useLazyQuery(ExtensionsByLimitDocument, options);
428
434
  }
429
- export const GalleryDocument = gql `
435
+ function useExtensionsByLimitSuspenseQuery(baseOptions) {
436
+ const options = { ...defaultOptions, ...baseOptions };
437
+ return Apollo.useSuspenseQuery(ExtensionsByLimitDocument, options);
438
+ }
439
+ const GalleryDocument = gql `
430
440
  query gallery($query: GalleryQueryInput) {
431
441
  gallery(query: $query) {
432
442
  page
@@ -468,15 +478,19 @@ export const GalleryDocument = gql `
468
478
  * },
469
479
  * });
470
480
  */
471
- export function useGalleryQuery(baseOptions) {
481
+ function useGalleryQuery(baseOptions) {
472
482
  const options = { ...defaultOptions, ...baseOptions };
473
483
  return Apollo.useQuery(GalleryDocument, options);
474
484
  }
475
- export function useGalleryLazyQuery(baseOptions) {
485
+ function useGalleryLazyQuery(baseOptions) {
476
486
  const options = { ...defaultOptions, ...baseOptions };
477
487
  return Apollo.useLazyQuery(GalleryDocument, options);
478
488
  }
479
- export const InstalledExtensionsDocument = gql `
489
+ function useGallerySuspenseQuery(baseOptions) {
490
+ const options = { ...defaultOptions, ...baseOptions };
491
+ return Apollo.useSuspenseQuery(GalleryDocument, options);
492
+ }
493
+ const InstalledExtensionsDocument = gql `
480
494
  query installedExtensions {
481
495
  installed {
482
496
  identifier {
@@ -519,15 +533,19 @@ export const InstalledExtensionsDocument = gql `
519
533
  * },
520
534
  * });
521
535
  */
522
- export function useInstalledExtensionsQuery(baseOptions) {
536
+ function useInstalledExtensionsQuery(baseOptions) {
523
537
  const options = { ...defaultOptions, ...baseOptions };
524
538
  return Apollo.useQuery(InstalledExtensionsDocument, options);
525
539
  }
526
- export function useInstalledExtensionsLazyQuery(baseOptions) {
540
+ function useInstalledExtensionsLazyQuery(baseOptions) {
527
541
  const options = { ...defaultOptions, ...baseOptions };
528
542
  return Apollo.useLazyQuery(InstalledExtensionsDocument, options);
529
543
  }
530
- export const NotificationsDocument = gql `
544
+ function useInstalledExtensionsSuspenseQuery(baseOptions) {
545
+ const options = { ...defaultOptions, ...baseOptions };
546
+ return Apollo.useSuspenseQuery(InstalledExtensionsDocument, options);
547
+ }
548
+ const NotificationsDocument = gql `
531
549
  query Notifications {
532
550
  notifications @client {
533
551
  notifications {
@@ -584,15 +602,19 @@ export const NotificationsDocument = gql `
584
602
  * },
585
603
  * });
586
604
  */
587
- export function useNotificationsQuery(baseOptions) {
605
+ function useNotificationsQuery(baseOptions) {
588
606
  const options = { ...defaultOptions, ...baseOptions };
589
607
  return Apollo.useQuery(NotificationsDocument, options);
590
608
  }
591
- export function useNotificationsLazyQuery(baseOptions) {
609
+ function useNotificationsLazyQuery(baseOptions) {
592
610
  const options = { ...defaultOptions, ...baseOptions };
593
611
  return Apollo.useLazyQuery(NotificationsDocument, options);
594
612
  }
595
- export const ShowNotificationDocument = gql `
613
+ function useNotificationsSuspenseQuery(baseOptions) {
614
+ const options = { ...defaultOptions, ...baseOptions };
615
+ return Apollo.useSuspenseQuery(NotificationsDocument, options);
616
+ }
617
+ const ShowNotificationDocument = gql `
596
618
  query showNotification($notification: NotificationInput) {
597
619
  showNotification(notification: $notification) @client
598
620
  }
@@ -613,12 +635,15 @@ export const ShowNotificationDocument = gql `
613
635
  * },
614
636
  * });
615
637
  */
616
- export function useShowNotificationQuery(baseOptions) {
638
+ function useShowNotificationQuery(baseOptions) {
617
639
  const options = { ...defaultOptions, ...baseOptions };
618
640
  return Apollo.useQuery(ShowNotificationDocument, options);
619
641
  }
620
- export function useShowNotificationLazyQuery(baseOptions) {
642
+ function useShowNotificationLazyQuery(baseOptions) {
621
643
  const options = { ...defaultOptions, ...baseOptions };
622
644
  return Apollo.useLazyQuery(ShowNotificationDocument, options);
623
645
  }
624
- //# sourceMappingURL=generated-models.js.map
646
+ function useShowNotificationSuspenseQuery(baseOptions) {
647
+ const options = { ...defaultOptions, ...baseOptions };
648
+ return Apollo.useSuspenseQuery(ShowNotificationDocument, options);
649
+ }export{ContextMenuDocument,CopyDocument,ExtensionsByLimitDocument,GalleryDocument,GalleryExtensionDocument,HideContextMenuDocument,ICacheControlScope,IClientContainerService,IEnvironmentSync,IExtensionKind,IExtensionType,IGraphqlCallType,IMarkupKind,IMenuId,IMoleculerServiceName,INotificationChangeType,INotificationSeverity,INotificationViewItemLabelKind,ISortEnum,InstallDocument,InstalledExtensionsDocument,NotificationsDocument,ProviderDefinitionDocument,RemoveDocument,RunMenuActionDocument,ShowContextMenuDocument,ShowNotificationDocument,useContextMenuLazyQuery,useContextMenuQuery,useContextMenuSuspenseQuery,useCopyMutation,useExtensionsByLimitLazyQuery,useExtensionsByLimitQuery,useExtensionsByLimitSuspenseQuery,useGalleryExtensionLazyQuery,useGalleryExtensionQuery,useGalleryExtensionSuspenseQuery,useGalleryLazyQuery,useGalleryQuery,useGallerySuspenseQuery,useHideContextMenuMutation,useInstallMutation,useInstalledExtensionsLazyQuery,useInstalledExtensionsQuery,useInstalledExtensionsSuspenseQuery,useNotificationsLazyQuery,useNotificationsQuery,useNotificationsSuspenseQuery,useProviderDefinitionMutation,useRemoveMutation,useRunMenuActionMutation,useShowContextMenuMutation,useShowNotificationLazyQuery,useShowNotificationQuery,useShowNotificationSuspenseQuery};
@@ -1,5 +1,5 @@
1
1
  export declare const graphQLContent: unique symbol;
2
- import { ApolloQueryResult } from '@apollo/client';
2
+ import { ApolloQueryResult } from '@apollo/client/index.js';
3
3
  export interface GraphQLDocument {
4
4
  [graphQLContent]: string;
5
5
  }
@@ -1,2 +1 @@
1
- export const graphQLContent = Symbol('graphQLContent');
2
- //# sourceMappingURL=graphql.js.map
1
+ const graphQLContent = Symbol('graphQLContent');export{graphQLContent};
@@ -1,6 +1,5 @@
1
1
  /** An empty Cdeops extension client IModel. */
2
- export const EMPTY_MODEL = {
2
+ const EMPTY_MODEL = {
3
3
  roots: null,
4
4
  visibleViewComponents: null,
5
- };
6
- //# sourceMappingURL=model.js.map
5
+ };export{EMPTY_MODEL};
@@ -1,6 +1,6 @@
1
1
  import { NextObserver, Observable, Subscribable } from 'rxjs';
2
2
  import { MessageTransports } from '../connections/jsonrpc2';
3
- import { ApolloClient, ApolloQueryResult } from '@apollo/client';
3
+ import { ApolloClient, ApolloQueryResult } from '@apollo/client/index.js';
4
4
  /**
5
5
  * Platform-specific data and methods shared by multiple Cdeops components.
6
6
  *
@@ -1,8 +1,7 @@
1
- import minimatch from 'minimatch';
2
- /**
1
+ import minimatch from'minimatch';/**
3
2
  * Returns whether any of the document selectors match (or "select") the document.
4
3
  */
5
- export function match(selectors, document) {
4
+ function match(selectors, document) {
6
5
  for (const selector of isSingleDocumentSelector(selectors) ? [selectors] : selectors) {
7
6
  if (match1(selector, document)) {
8
7
  return true;
@@ -36,7 +35,7 @@ function match1(selector, document) {
36
35
  * Taken from
37
36
  * https://github.com/Microsoft/vscode/blob/3d35801127f0a62d58d752bc613506e836c5d120/src/vs/editor/common/modes/languageSelector.ts#L24.
38
37
  */
39
- export function score(selector, candidateUri, candidateLanguage) {
38
+ function score(selector, candidateUri, candidateLanguage) {
40
39
  // array -> take max individual value
41
40
  let returnValue = 0;
42
41
  for (const filter of selector) {
@@ -110,5 +109,4 @@ function score1(selector, candidateUri, candidateLanguage) {
110
109
  }
111
110
  }
112
111
  return returnValue;
113
- }
114
- //# sourceMappingURL=text-document.js.map
112
+ }export{match,score};
@@ -1,6 +1,5 @@
1
- export var WebviewContentPurpose;
1
+ var WebviewContentPurpose;
2
2
  (function (WebviewContentPurpose) {
3
3
  WebviewContentPurpose["NotebookRenderer"] = "notebookRenderer";
4
4
  WebviewContentPurpose["CustomEditor"] = "customEditor";
5
- })(WebviewContentPurpose || (WebviewContentPurpose = {}));
6
- //# sourceMappingURL=webview.js.map
5
+ })(WebviewContentPurpose || (WebviewContentPurpose = {}));export{WebviewContentPurpose};
@@ -1,5 +1,3 @@
1
- import { createMainContextProxyIdentifier as createMainId } from './proxy-identifier';
2
- export const ClientContext = {
3
- ClientThreadLanguageFeatures: createMainId('ClientThreadLanguageFeatures'),
4
- };
5
- //# sourceMappingURL=client.protocol.js.map
1
+ import {createMainContextProxyIdentifier}from'./proxy-identifier.js';const ClientContext = {
2
+ ClientThreadLanguageFeatures: createMainContextProxyIdentifier('ClientThreadLanguageFeatures'),
3
+ };export{ClientContext};
@@ -1,5 +1,4 @@
1
- import { URI } from '@vscode-alt/monaco-editor/esm/vs/base/common/uri';
2
- export class IdObject {
1
+ import {URI}from'@vscode-alt/monaco-editor/esm/vs/base/common/uri.js';class IdObject {
3
2
  static mixin(object) {
4
3
  object._id = IdObject._n++;
5
4
  return object;
@@ -7,7 +6,7 @@ export class IdObject {
7
6
  }
8
7
  IdObject._n = 0;
9
8
  // needed
10
- export var ISuggestDataDtoField;
9
+ var ISuggestDataDtoField;
11
10
  (function (ISuggestDataDtoField) {
12
11
  ISuggestDataDtoField["label"] = "a";
13
12
  ISuggestDataDtoField["kind"] = "b";
@@ -26,14 +25,14 @@ export var ISuggestDataDtoField;
26
25
  // to merge into label
27
26
  ISuggestDataDtoField["label2"] = "o";
28
27
  })(ISuggestDataDtoField || (ISuggestDataDtoField = {}));
29
- export var ISuggestResultDtoField;
28
+ var ISuggestResultDtoField;
30
29
  (function (ISuggestResultDtoField) {
31
30
  ISuggestResultDtoField["defaultRanges"] = "a";
32
31
  ISuggestResultDtoField["completions"] = "b";
33
32
  ISuggestResultDtoField["isIncomplete"] = "c";
34
33
  ISuggestResultDtoField["duration"] = "d";
35
34
  })(ISuggestResultDtoField || (ISuggestResultDtoField = {}));
36
- export function reviveWorkspaceEditDto(data) {
35
+ function reviveWorkspaceEditDto(data) {
37
36
  if (data && data.edits) {
38
37
  for (const edit of data.edits) {
39
38
  if (typeof edit.resource === 'object') {
@@ -47,7 +46,7 @@ export function reviveWorkspaceEditDto(data) {
47
46
  }
48
47
  return data;
49
48
  }
50
- export var ObjectIdentifier;
49
+ var ObjectIdentifier;
51
50
  (function (ObjectIdentifier) {
52
51
  ObjectIdentifier.name = '$ident';
53
52
  function mixin(obj, id) {
@@ -59,5 +58,4 @@ export var ObjectIdentifier;
59
58
  return obj[ObjectIdentifier.name];
60
59
  }
61
60
  ObjectIdentifier.of = of;
62
- })(ObjectIdentifier || (ObjectIdentifier = {}));
63
- //# sourceMappingURL=common.protocol.js.map
61
+ })(ObjectIdentifier || (ObjectIdentifier = {}));export{ISuggestDataDtoField,ISuggestResultDtoField,IdObject,ObjectIdentifier,reviveWorkspaceEditDto};
@@ -1,7 +1,6 @@
1
- export var EditorPosition;
1
+ var EditorPosition;
2
2
  (function (EditorPosition) {
3
3
  EditorPosition[EditorPosition["ONE"] = 0] = "ONE";
4
4
  EditorPosition[EditorPosition["TWO"] = 1] = "TWO";
5
5
  EditorPosition[EditorPosition["THREE"] = 2] = "THREE";
6
- })(EditorPosition || (EditorPosition = {}));
7
- //# sourceMappingURL=editor-missing-types.js.map
6
+ })(EditorPosition || (EditorPosition = {}));export{EditorPosition};
@@ -4,3 +4,6 @@ export * from './temporary-types';
4
4
  export * from './client.protocol';
5
5
  export * from './common.protocol';
6
6
  export * from './shared/editor';
7
+ export * from './server.protocol';
8
+ export * from './rpc-protocol';
9
+ export * from './rpc-logger';
@@ -1,5 +1,5 @@
1
1
  /* tslint:disable */
2
- export class ProxyIdentifier {
2
+ class ProxyIdentifier {
3
3
  constructor(isMain, sid, hostId) {
4
4
  this.isMain = isMain;
5
5
  this.sid = sid;
@@ -9,27 +9,27 @@ export class ProxyIdentifier {
9
9
  }
10
10
  ProxyIdentifier.count = 0;
11
11
  const identifiers = [];
12
- export function createMainContextProxyIdentifier(identifier, hostIdentifier = 1 /* HostIdentifier.ServerMainThread */) {
12
+ function createMainContextProxyIdentifier(identifier, hostIdentifier = 1 /* HostIdentifier.ServerMainThread */) {
13
13
  const result = new ProxyIdentifier(true, identifier, hostIdentifier);
14
14
  identifiers[result.nid] = result;
15
15
  return result;
16
16
  }
17
- export function createExtHostContextProxyIdentifier(identifier, hostIdentifier = 0 /* HostIdentifier.ServerExtHost */) {
17
+ function createExtHostContextProxyIdentifier(identifier, hostIdentifier = 0 /* HostIdentifier.ServerExtHost */) {
18
18
  const result = new ProxyIdentifier(false, identifier, hostIdentifier);
19
19
  identifiers[result.nid] = result;
20
20
  return result;
21
21
  }
22
- export function getStringIdentifierForProxy(nid) {
22
+ function getStringIdentifierForProxy(nid) {
23
23
  return identifiers[nid] ? identifiers[nid].sid : null;
24
24
  }
25
- export var HostIdentifier;
25
+ var HostIdentifier;
26
26
  (function (HostIdentifier) {
27
27
  HostIdentifier[HostIdentifier["ServerExtHost"] = 0] = "ServerExtHost";
28
28
  HostIdentifier[HostIdentifier["ServerMainThread"] = 1] = "ServerMainThread";
29
29
  HostIdentifier[HostIdentifier["BrowserExtHost"] = 2] = "BrowserExtHost";
30
30
  HostIdentifier[HostIdentifier["BrowserClientThread"] = 3] = "BrowserClientThread";
31
31
  })(HostIdentifier || (HostIdentifier = {}));
32
- export var RequestType;
32
+ var RequestType;
33
33
  (function (RequestType) {
34
34
  /**
35
35
  * Process the request on the reciever end
@@ -44,9 +44,8 @@ export var RequestType;
44
44
  */
45
45
  RequestType[RequestType["ProcessAndForward"] = 2] = "ProcessAndForward";
46
46
  })(RequestType || (RequestType = {}));
47
- export var TransportType;
47
+ var TransportType;
48
48
  (function (TransportType) {
49
49
  TransportType[TransportType["Socket"] = 0] = "Socket";
50
50
  TransportType[TransportType["WebSocket"] = 1] = "WebSocket";
51
- })(TransportType || (TransportType = {}));
52
- //# sourceMappingURL=proxy-identifier.js.map
51
+ })(TransportType || (TransportType = {}));export{HostIdentifier,ProxyIdentifier,RequestType,TransportType,createExtHostContextProxyIdentifier,createMainContextProxyIdentifier,getStringIdentifierForProxy};
@@ -1,6 +1,4 @@
1
1
  // Enable to see detailed message communication between window and extension host
2
- const LOG_EXTENSION_HOST_COMMUNICATION = false;
3
- const LOG_USE_COLORS = true;
4
2
  const colorTables = [
5
3
  ['#2977B1', '#FC802D', '#34A13A', '#D3282F', '#9366BA'],
6
4
  ['#8B564C', '#E177C0', '#7F7F7F', '#BBBE3D', '#2EBECD'],
@@ -23,7 +21,7 @@ function pretty(data) {
23
21
  }
24
22
  return prettyWithoutArrays(data);
25
23
  }
26
- export class RPCLogger {
24
+ class RPCLogger {
27
25
  constructor() {
28
26
  this._totalIncoming = 0;
29
27
  this._totalOutgoing = 0;
@@ -31,7 +29,7 @@ export class RPCLogger {
31
29
  _log(direction, totalLength, msgLength, req, initiator, str, data) {
32
30
  data = pretty(data);
33
31
  const colorTable = colorTables[initiator];
34
- const color = LOG_USE_COLORS ? colorTable[req % colorTable.length] : '#000000';
32
+ const color = colorTable[req % colorTable.length] ;
35
33
  /* tslint:disable-next-line:max-line-length */
36
34
  let args = [`%c[${direction}]%c[${String(totalLength).padStart(7)}]%c[len: ${String(msgLength).padStart(5)}]%c${String(req).padStart(5)} - ${str}`, 'color: darkgreen', 'color: grey', 'color: grey', `color: ${color}`];
37
35
  if (/\($/.test(str)) {
@@ -52,5 +50,4 @@ export class RPCLogger {
52
50
  this._totalOutgoing += msgLength;
53
51
  this._log('Win \u2192 Ext', this._totalOutgoing, msgLength, req, initiator, str, data);
54
52
  }
55
- }
56
- //# sourceMappingURL=rpc-logger.js.map
53
+ }export{RPCLogger};