@adminide-stack/extension-api 0.0.20-alpha.98 → 1.0.201-alpha.2
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/lib/connections/jsonrpc2/connection.js +10 -10
- package/lib/connections/jsonrpc2/connection.js.map +1 -1
- package/lib/connections/jsonrpc2/connection.test.d.ts +1 -0
- package/lib/connections/jsonrpc2/connection.test.js +452 -0
- package/lib/connections/jsonrpc2/connection.test.js.map +1 -0
- package/lib/connections/jsonrpc2/index.js +5 -1
- package/lib/connections/jsonrpc2/index.js.map +1 -1
- package/lib/connections/jsonrpc2/linkedMap.test.d.ts +1 -0
- package/lib/connections/jsonrpc2/linkedMap.test.js +62 -0
- package/lib/connections/jsonrpc2/linkedMap.test.js.map +1 -0
- package/lib/connections/proxy/index.js +5 -1
- package/lib/connections/proxy/index.js.map +1 -1
- package/lib/connections/proxy/proxy.js +0 -1
- package/lib/connections/proxy/proxy.js.map +1 -1
- package/lib/connections/proxy/proxy.test.d.ts +1 -0
- package/lib/connections/proxy/proxy.test.js +64 -0
- package/lib/connections/proxy/proxy.test.js.map +1 -0
- package/lib/connections/remote-rpc/browser-remote-rpc.js +4 -4
- package/lib/connections/remote-rpc/browser-remote-rpc.js.map +1 -1
- package/lib/connections/remote-rpc/browser-server-rpc.test.d.ts +1 -0
- package/lib/connections/remote-rpc/browser-server-rpc.test.js +323 -0
- package/lib/connections/remote-rpc/browser-server-rpc.test.js.map +1 -0
- package/lib/connections/remote-rpc/index.js +5 -1
- package/lib/connections/remote-rpc/index.js.map +1 -1
- package/lib/connections/remote-rpc/old-browser-remote-rpc.js +1 -1
- package/lib/connections/remote-rpc/old-browser-remote-rpc.js.map +1 -1
- package/lib/constants/index.js +5 -1
- package/lib/constants/index.js.map +1 -1
- package/lib/core/expr/evaluator.test.d.ts +1 -0
- package/lib/core/expr/evaluator.test.js +52 -0
- package/lib/core/expr/evaluator.test.js.map +1 -0
- package/lib/core/expr/index.js +5 -1
- package/lib/core/expr/index.js.map +1 -1
- package/lib/core/index.js +5 -1
- package/lib/core/index.js.map +1 -1
- package/lib/core/types/ext-host-types.js +2 -2
- package/lib/core/types/ext-host-types.js.map +1 -1
- package/lib/core/types/index.js +5 -1
- package/lib/core/types/index.js.map +1 -1
- package/lib/errors/index.js +5 -1
- package/lib/errors/index.js.map +1 -1
- package/lib/index.js +5 -1
- package/lib/index.js.map +1 -1
- package/lib/interfaces/context.d.ts +1 -1
- package/lib/interfaces/contributions/index.js +5 -1
- package/lib/interfaces/contributions/index.js.map +1 -1
- package/lib/interfaces/ext-services/index.js +5 -1
- package/lib/interfaces/ext-services/index.js.map +1 -1
- package/lib/interfaces/ext-services/panel-view-registry.d.ts +1 -0
- package/lib/interfaces/generated-models.d.ts +910 -605
- package/lib/interfaces/generated-models.js +356 -16
- package/lib/interfaces/generated-models.js.map +1 -1
- package/lib/interfaces/graphql.d.ts +1 -1
- package/lib/interfaces/index.js +5 -1
- package/lib/interfaces/index.js.map +1 -1
- package/lib/interfaces/platform-context.d.ts +1 -1
- package/lib/interfaces/react-props/index.js +5 -1
- package/lib/interfaces/react-props/index.js.map +1 -1
- package/lib/interfaces/text-document.js +2 -2
- package/lib/interfaces/text-document.js.map +1 -1
- package/lib/interfaces/webview/index.js +5 -1
- package/lib/interfaces/webview/index.js.map +1 -1
- package/lib/protocol/client.protocol.js +1 -1
- package/lib/protocol/client.protocol.js.map +1 -1
- package/lib/protocol/index.js +5 -1
- package/lib/protocol/index.js.map +1 -1
- package/lib/protocol/proxy-identifier.js +2 -2
- package/lib/protocol/proxy-identifier.js.map +1 -1
- package/lib/protocol/rpc-protocol.d.ts +1 -0
- package/lib/protocol/rpc-protocol.js +57 -57
- package/lib/protocol/rpc-protocol.js.map +1 -1
- package/lib/protocol/rpc-protocol.test.d.ts +1 -0
- package/lib/protocol/rpc-protocol.test.js +171 -0
- package/lib/protocol/rpc-protocol.test.js.map +1 -0
- package/lib/protocol/server.protocol.d.ts +1 -0
- package/lib/protocol/server.protocol.js +10 -10
- package/lib/protocol/server.protocol.js.map +1 -1
- package/lib/protocol/shared/editor.js +2 -2
- package/lib/protocol/shared/editor.js.map +1 -1
- package/lib/protocol/utils/index.js +5 -1
- package/lib/protocol/utils/index.js.map +1 -1
- package/lib/protocol/utils/lazy-promise.js +2 -1
- package/lib/protocol/utils/lazy-promise.js.map +1 -1
- package/lib/utils/extensions.js +1 -1
- package/lib/utils/extensions.js.map +1 -1
- package/lib/utils/index.js +5 -1
- package/lib/utils/index.js.map +1 -1
- package/lib/utils/rxjs/combineLatestOrDefault.js +8 -8
- package/lib/utils/rxjs/combineLatestOrDefault.js.map +1 -1
- package/lib/utils/rxjs/combineLatestOrDefault.test.d.ts +1 -0
- package/lib/utils/rxjs/combineLatestOrDefault.test.js +52 -0
- package/lib/utils/rxjs/combineLatestOrDefault.test.js.map +1 -0
- package/lib/utils/rxjs/index.js +5 -1
- package/lib/utils/rxjs/index.js.map +1 -1
- package/lib/utils/util.js +1 -1
- package/lib/utils/util.js.map +1 -1
- package/lib/worker-lib/index.js +5 -1
- package/lib/worker-lib/index.js.map +1 -1
- package/lib/worker-lib/webWorkerLink.d.ts +2 -1
- package/lib/worker-lib/webWorkerLink.js +7 -7
- package/lib/worker-lib/webWorkerLink.js.map +1 -1
- package/lib/worker-lib/workerUtils.js +8 -8
- package/lib/worker-lib/workerUtils.js.map +1 -1
- package/package.json +28 -24
|
@@ -1,13 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.showNotificationDocument = exports.NotificationsDocument = exports.installedExtensionsDocument = exports.galleryDocument = exports.ExtensionsByLimitDocument = exports.galleryExtensionDocument = exports.ContextMenuDocument = exports.removeDocument = exports.providerDefinitionDocument = exports.installDocument = exports.ShowContextMenuDocument = exports.HideContextMenuDocument = exports.RunMenuActionDocument = exports.CopyDocument = exports.INotificationViewItemLabelKind = exports.INotificationSeverity = exports.INotificationChangeType = exports.IMoleculerServiceName = exports.IMenuId = exports.IMarkupKind = exports.IGraphqlCallType = exports.IExtensionType = exports.IExtensionKind = exports.IEnvironmentSync = exports.ICacheControlScope = void 0;
|
|
4
|
-
const
|
|
3
|
+
exports.useshowNotificationLazyQuery = exports.useshowNotificationQuery = exports.showNotificationDocument = exports.useNotificationsLazyQuery = exports.useNotificationsQuery = exports.NotificationsDocument = exports.useinstalledExtensionsLazyQuery = exports.useinstalledExtensionsQuery = exports.installedExtensionsDocument = exports.usegalleryLazyQuery = exports.usegalleryQuery = exports.galleryDocument = exports.useExtensionsByLimitLazyQuery = exports.useExtensionsByLimitQuery = exports.ExtensionsByLimitDocument = exports.usegalleryExtensionLazyQuery = exports.usegalleryExtensionQuery = exports.galleryExtensionDocument = exports.useContextMenuLazyQuery = exports.useContextMenuQuery = exports.ContextMenuDocument = exports.useremoveMutation = exports.removeDocument = exports.useproviderDefinitionMutation = exports.providerDefinitionDocument = exports.useinstallMutation = exports.installDocument = exports.useShowContextMenuMutation = exports.ShowContextMenuDocument = exports.useHideContextMenuMutation = exports.HideContextMenuDocument = exports.useRunMenuActionMutation = exports.RunMenuActionDocument = exports.useCopyMutation = exports.CopyDocument = exports.INotificationViewItemLabelKind = exports.INotificationSeverity = exports.INotificationChangeType = exports.IMoleculerServiceName = exports.IMenuId = exports.IMarkupKind = exports.IGraphqlCallType = exports.IExtensionType = exports.IExtensionKind = exports.IEnvironmentSync = exports.IClientContainerService = exports.ICacheControlScope = void 0;
|
|
4
|
+
const client_1 = require("@apollo/client");
|
|
5
|
+
const Apollo = require("@apollo/client");
|
|
6
|
+
const defaultOptions = {};
|
|
5
7
|
var ICacheControlScope;
|
|
6
8
|
(function (ICacheControlScope) {
|
|
7
9
|
ICacheControlScope["PUBLIC"] = "PUBLIC";
|
|
8
10
|
ICacheControlScope["PRIVATE"] = "PRIVATE";
|
|
9
11
|
})(ICacheControlScope = exports.ICacheControlScope || (exports.ICacheControlScope = {}));
|
|
10
12
|
;
|
|
13
|
+
var IClientContainerService;
|
|
14
|
+
(function (IClientContainerService) {
|
|
15
|
+
IClientContainerService["ExtensionController"] = "ExtensionController";
|
|
16
|
+
})(IClientContainerService = exports.IClientContainerService || (exports.IClientContainerService = {}));
|
|
17
|
+
;
|
|
11
18
|
var IEnvironmentSync;
|
|
12
19
|
(function (IEnvironmentSync) {
|
|
13
20
|
IEnvironmentSync["on"] = "on";
|
|
@@ -102,27 +109,114 @@ var INotificationViewItemLabelKind;
|
|
|
102
109
|
INotificationViewItemLabelKind["PROGRESS"] = "PROGRESS";
|
|
103
110
|
})(INotificationViewItemLabelKind = exports.INotificationViewItemLabelKind || (exports.INotificationViewItemLabelKind = {}));
|
|
104
111
|
;
|
|
105
|
-
exports.CopyDocument =
|
|
112
|
+
exports.CopyDocument = (0, client_1.gql) `
|
|
106
113
|
mutation Copy($value: String) {
|
|
107
114
|
copy(value: $value) @client
|
|
108
115
|
}
|
|
109
116
|
`;
|
|
110
|
-
|
|
117
|
+
/**
|
|
118
|
+
* __useCopyMutation__
|
|
119
|
+
*
|
|
120
|
+
* To run a mutation, you first call `useCopyMutation` within a React component and pass it any options that fit your needs.
|
|
121
|
+
* When your component renders, `useCopyMutation` returns a tuple that includes:
|
|
122
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
123
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
124
|
+
*
|
|
125
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
126
|
+
*
|
|
127
|
+
* @example
|
|
128
|
+
* const [copyMutation, { data, loading, error }] = useCopyMutation({
|
|
129
|
+
* variables: {
|
|
130
|
+
* value: // value for 'value'
|
|
131
|
+
* },
|
|
132
|
+
* });
|
|
133
|
+
*/
|
|
134
|
+
function useCopyMutation(baseOptions) {
|
|
135
|
+
const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
|
|
136
|
+
return Apollo.useMutation(exports.CopyDocument, options);
|
|
137
|
+
}
|
|
138
|
+
exports.useCopyMutation = useCopyMutation;
|
|
139
|
+
exports.RunMenuActionDocument = (0, client_1.gql) `
|
|
111
140
|
mutation RunMenuAction($argument: ContributionActionRun_input) {
|
|
112
141
|
runMenuAction(argument: $argument) @client
|
|
113
142
|
}
|
|
114
143
|
`;
|
|
115
|
-
|
|
144
|
+
/**
|
|
145
|
+
* __useRunMenuActionMutation__
|
|
146
|
+
*
|
|
147
|
+
* To run a mutation, you first call `useRunMenuActionMutation` within a React component and pass it any options that fit your needs.
|
|
148
|
+
* When your component renders, `useRunMenuActionMutation` returns a tuple that includes:
|
|
149
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
150
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
151
|
+
*
|
|
152
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
153
|
+
*
|
|
154
|
+
* @example
|
|
155
|
+
* const [runMenuActionMutation, { data, loading, error }] = useRunMenuActionMutation({
|
|
156
|
+
* variables: {
|
|
157
|
+
* argument: // value for 'argument'
|
|
158
|
+
* },
|
|
159
|
+
* });
|
|
160
|
+
*/
|
|
161
|
+
function useRunMenuActionMutation(baseOptions) {
|
|
162
|
+
const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
|
|
163
|
+
return Apollo.useMutation(exports.RunMenuActionDocument, options);
|
|
164
|
+
}
|
|
165
|
+
exports.useRunMenuActionMutation = useRunMenuActionMutation;
|
|
166
|
+
exports.HideContextMenuDocument = (0, client_1.gql) `
|
|
116
167
|
mutation HideContextMenu {
|
|
117
168
|
hideContextMenu @client
|
|
118
169
|
}
|
|
119
170
|
`;
|
|
120
|
-
|
|
171
|
+
/**
|
|
172
|
+
* __useHideContextMenuMutation__
|
|
173
|
+
*
|
|
174
|
+
* To run a mutation, you first call `useHideContextMenuMutation` within a React component and pass it any options that fit your needs.
|
|
175
|
+
* When your component renders, `useHideContextMenuMutation` returns a tuple that includes:
|
|
176
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
177
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
178
|
+
*
|
|
179
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
180
|
+
*
|
|
181
|
+
* @example
|
|
182
|
+
* const [hideContextMenuMutation, { data, loading, error }] = useHideContextMenuMutation({
|
|
183
|
+
* variables: {
|
|
184
|
+
* },
|
|
185
|
+
* });
|
|
186
|
+
*/
|
|
187
|
+
function useHideContextMenuMutation(baseOptions) {
|
|
188
|
+
const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
|
|
189
|
+
return Apollo.useMutation(exports.HideContextMenuDocument, options);
|
|
190
|
+
}
|
|
191
|
+
exports.useHideContextMenuMutation = useHideContextMenuMutation;
|
|
192
|
+
exports.ShowContextMenuDocument = (0, client_1.gql) `
|
|
121
193
|
mutation ShowContextMenu($delegate: ContextMenu_input) {
|
|
122
194
|
showContextMenu(delegate: $delegate) @client
|
|
123
195
|
}
|
|
124
196
|
`;
|
|
125
|
-
|
|
197
|
+
/**
|
|
198
|
+
* __useShowContextMenuMutation__
|
|
199
|
+
*
|
|
200
|
+
* To run a mutation, you first call `useShowContextMenuMutation` within a React component and pass it any options that fit your needs.
|
|
201
|
+
* When your component renders, `useShowContextMenuMutation` returns a tuple that includes:
|
|
202
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
203
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
204
|
+
*
|
|
205
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
206
|
+
*
|
|
207
|
+
* @example
|
|
208
|
+
* const [showContextMenuMutation, { data, loading, error }] = useShowContextMenuMutation({
|
|
209
|
+
* variables: {
|
|
210
|
+
* delegate: // value for 'delegate'
|
|
211
|
+
* },
|
|
212
|
+
* });
|
|
213
|
+
*/
|
|
214
|
+
function useShowContextMenuMutation(baseOptions) {
|
|
215
|
+
const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
|
|
216
|
+
return Apollo.useMutation(exports.ShowContextMenuDocument, options);
|
|
217
|
+
}
|
|
218
|
+
exports.useShowContextMenuMutation = useShowContextMenuMutation;
|
|
219
|
+
exports.installDocument = (0, client_1.gql) `
|
|
126
220
|
mutation install($vsix: String!) {
|
|
127
221
|
install(vsix: $vsix) {
|
|
128
222
|
id
|
|
@@ -130,17 +224,83 @@ exports.installDocument = graphql_tag_1.default `
|
|
|
130
224
|
}
|
|
131
225
|
}
|
|
132
226
|
`;
|
|
133
|
-
|
|
227
|
+
/**
|
|
228
|
+
* __useinstallMutation__
|
|
229
|
+
*
|
|
230
|
+
* To run a mutation, you first call `useinstallMutation` within a React component and pass it any options that fit your needs.
|
|
231
|
+
* When your component renders, `useinstallMutation` returns a tuple that includes:
|
|
232
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
233
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
234
|
+
*
|
|
235
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
236
|
+
*
|
|
237
|
+
* @example
|
|
238
|
+
* const [installMutation, { data, loading, error }] = useinstallMutation({
|
|
239
|
+
* variables: {
|
|
240
|
+
* vsix: // value for 'vsix'
|
|
241
|
+
* },
|
|
242
|
+
* });
|
|
243
|
+
*/
|
|
244
|
+
function useinstallMutation(baseOptions) {
|
|
245
|
+
const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
|
|
246
|
+
return Apollo.useMutation(exports.installDocument, options);
|
|
247
|
+
}
|
|
248
|
+
exports.useinstallMutation = useinstallMutation;
|
|
249
|
+
exports.providerDefinitionDocument = (0, client_1.gql) `
|
|
134
250
|
mutation providerDefinition($params: TextDocumentPositionParamsInput) {
|
|
135
251
|
hoverProviderDefinition(params: $params) @client
|
|
136
252
|
}
|
|
137
253
|
`;
|
|
138
|
-
|
|
254
|
+
/**
|
|
255
|
+
* __useproviderDefinitionMutation__
|
|
256
|
+
*
|
|
257
|
+
* To run a mutation, you first call `useproviderDefinitionMutation` within a React component and pass it any options that fit your needs.
|
|
258
|
+
* When your component renders, `useproviderDefinitionMutation` returns a tuple that includes:
|
|
259
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
260
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
261
|
+
*
|
|
262
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
263
|
+
*
|
|
264
|
+
* @example
|
|
265
|
+
* const [providerDefinitionMutation, { data, loading, error }] = useproviderDefinitionMutation({
|
|
266
|
+
* variables: {
|
|
267
|
+
* params: // value for 'params'
|
|
268
|
+
* },
|
|
269
|
+
* });
|
|
270
|
+
*/
|
|
271
|
+
function useproviderDefinitionMutation(baseOptions) {
|
|
272
|
+
const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
|
|
273
|
+
return Apollo.useMutation(exports.providerDefinitionDocument, options);
|
|
274
|
+
}
|
|
275
|
+
exports.useproviderDefinitionMutation = useproviderDefinitionMutation;
|
|
276
|
+
exports.removeDocument = (0, client_1.gql) `
|
|
139
277
|
mutation remove($id: String!) {
|
|
140
278
|
removeExtension(id: $id)
|
|
141
279
|
}
|
|
142
280
|
`;
|
|
143
|
-
|
|
281
|
+
/**
|
|
282
|
+
* __useremoveMutation__
|
|
283
|
+
*
|
|
284
|
+
* To run a mutation, you first call `useremoveMutation` within a React component and pass it any options that fit your needs.
|
|
285
|
+
* When your component renders, `useremoveMutation` returns a tuple that includes:
|
|
286
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
287
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
288
|
+
*
|
|
289
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
290
|
+
*
|
|
291
|
+
* @example
|
|
292
|
+
* const [removeMutation, { data, loading, error }] = useremoveMutation({
|
|
293
|
+
* variables: {
|
|
294
|
+
* id: // value for 'id'
|
|
295
|
+
* },
|
|
296
|
+
* });
|
|
297
|
+
*/
|
|
298
|
+
function useremoveMutation(baseOptions) {
|
|
299
|
+
const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
|
|
300
|
+
return Apollo.useMutation(exports.removeDocument, options);
|
|
301
|
+
}
|
|
302
|
+
exports.useremoveMutation = useremoveMutation;
|
|
303
|
+
exports.ContextMenuDocument = (0, client_1.gql) `
|
|
144
304
|
query ContextMenu {
|
|
145
305
|
contextMenu @client {
|
|
146
306
|
id
|
|
@@ -164,7 +324,32 @@ exports.ContextMenuDocument = graphql_tag_1.default `
|
|
|
164
324
|
}
|
|
165
325
|
}
|
|
166
326
|
`;
|
|
167
|
-
|
|
327
|
+
/**
|
|
328
|
+
* __useContextMenuQuery__
|
|
329
|
+
*
|
|
330
|
+
* To run a query within a React component, call `useContextMenuQuery` and pass it any options that fit your needs.
|
|
331
|
+
* When your component renders, `useContextMenuQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
332
|
+
* you can use to render your UI.
|
|
333
|
+
*
|
|
334
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
335
|
+
*
|
|
336
|
+
* @example
|
|
337
|
+
* const { data, loading, error } = useContextMenuQuery({
|
|
338
|
+
* variables: {
|
|
339
|
+
* },
|
|
340
|
+
* });
|
|
341
|
+
*/
|
|
342
|
+
function useContextMenuQuery(baseOptions) {
|
|
343
|
+
const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
|
|
344
|
+
return Apollo.useQuery(exports.ContextMenuDocument, options);
|
|
345
|
+
}
|
|
346
|
+
exports.useContextMenuQuery = useContextMenuQuery;
|
|
347
|
+
function useContextMenuLazyQuery(baseOptions) {
|
|
348
|
+
const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
|
|
349
|
+
return Apollo.useLazyQuery(exports.ContextMenuDocument, options);
|
|
350
|
+
}
|
|
351
|
+
exports.useContextMenuLazyQuery = useContextMenuLazyQuery;
|
|
352
|
+
exports.galleryExtensionDocument = (0, client_1.gql) `
|
|
168
353
|
query galleryExtension($extensionID: String!) {
|
|
169
354
|
galleryExtension(extensionID: $extensionID) {
|
|
170
355
|
id
|
|
@@ -193,7 +378,33 @@ exports.galleryExtensionDocument = graphql_tag_1.default `
|
|
|
193
378
|
}
|
|
194
379
|
}
|
|
195
380
|
`;
|
|
196
|
-
|
|
381
|
+
/**
|
|
382
|
+
* __usegalleryExtensionQuery__
|
|
383
|
+
*
|
|
384
|
+
* To run a query within a React component, call `usegalleryExtensionQuery` and pass it any options that fit your needs.
|
|
385
|
+
* When your component renders, `usegalleryExtensionQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
386
|
+
* you can use to render your UI.
|
|
387
|
+
*
|
|
388
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
389
|
+
*
|
|
390
|
+
* @example
|
|
391
|
+
* const { data, loading, error } = usegalleryExtensionQuery({
|
|
392
|
+
* variables: {
|
|
393
|
+
* extensionID: // value for 'extensionID'
|
|
394
|
+
* },
|
|
395
|
+
* });
|
|
396
|
+
*/
|
|
397
|
+
function usegalleryExtensionQuery(baseOptions) {
|
|
398
|
+
const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
|
|
399
|
+
return Apollo.useQuery(exports.galleryExtensionDocument, options);
|
|
400
|
+
}
|
|
401
|
+
exports.usegalleryExtensionQuery = usegalleryExtensionQuery;
|
|
402
|
+
function usegalleryExtensionLazyQuery(baseOptions) {
|
|
403
|
+
const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
|
|
404
|
+
return Apollo.useLazyQuery(exports.galleryExtensionDocument, options);
|
|
405
|
+
}
|
|
406
|
+
exports.usegalleryExtensionLazyQuery = usegalleryExtensionLazyQuery;
|
|
407
|
+
exports.ExtensionsByLimitDocument = (0, client_1.gql) `
|
|
197
408
|
query ExtensionsByLimit($first: Int!, $prioritizeExtensionIDs: [String!]!) {
|
|
198
409
|
extensions(first: $first, prioritizeExtensionIDs: $prioritizeExtensionIDs) {
|
|
199
410
|
nodes {
|
|
@@ -211,7 +422,34 @@ exports.ExtensionsByLimitDocument = graphql_tag_1.default `
|
|
|
211
422
|
}
|
|
212
423
|
}
|
|
213
424
|
`;
|
|
214
|
-
|
|
425
|
+
/**
|
|
426
|
+
* __useExtensionsByLimitQuery__
|
|
427
|
+
*
|
|
428
|
+
* To run a query within a React component, call `useExtensionsByLimitQuery` and pass it any options that fit your needs.
|
|
429
|
+
* When your component renders, `useExtensionsByLimitQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
430
|
+
* you can use to render your UI.
|
|
431
|
+
*
|
|
432
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
433
|
+
*
|
|
434
|
+
* @example
|
|
435
|
+
* const { data, loading, error } = useExtensionsByLimitQuery({
|
|
436
|
+
* variables: {
|
|
437
|
+
* first: // value for 'first'
|
|
438
|
+
* prioritizeExtensionIDs: // value for 'prioritizeExtensionIDs'
|
|
439
|
+
* },
|
|
440
|
+
* });
|
|
441
|
+
*/
|
|
442
|
+
function useExtensionsByLimitQuery(baseOptions) {
|
|
443
|
+
const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
|
|
444
|
+
return Apollo.useQuery(exports.ExtensionsByLimitDocument, options);
|
|
445
|
+
}
|
|
446
|
+
exports.useExtensionsByLimitQuery = useExtensionsByLimitQuery;
|
|
447
|
+
function useExtensionsByLimitLazyQuery(baseOptions) {
|
|
448
|
+
const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
|
|
449
|
+
return Apollo.useLazyQuery(exports.ExtensionsByLimitDocument, options);
|
|
450
|
+
}
|
|
451
|
+
exports.useExtensionsByLimitLazyQuery = useExtensionsByLimitLazyQuery;
|
|
452
|
+
exports.galleryDocument = (0, client_1.gql) `
|
|
215
453
|
query gallery($query: GalleryQuery) {
|
|
216
454
|
gallery(query: $query) {
|
|
217
455
|
page
|
|
@@ -237,7 +475,33 @@ exports.galleryDocument = graphql_tag_1.default `
|
|
|
237
475
|
}
|
|
238
476
|
}
|
|
239
477
|
`;
|
|
240
|
-
|
|
478
|
+
/**
|
|
479
|
+
* __usegalleryQuery__
|
|
480
|
+
*
|
|
481
|
+
* To run a query within a React component, call `usegalleryQuery` and pass it any options that fit your needs.
|
|
482
|
+
* When your component renders, `usegalleryQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
483
|
+
* you can use to render your UI.
|
|
484
|
+
*
|
|
485
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
486
|
+
*
|
|
487
|
+
* @example
|
|
488
|
+
* const { data, loading, error } = usegalleryQuery({
|
|
489
|
+
* variables: {
|
|
490
|
+
* query: // value for 'query'
|
|
491
|
+
* },
|
|
492
|
+
* });
|
|
493
|
+
*/
|
|
494
|
+
function usegalleryQuery(baseOptions) {
|
|
495
|
+
const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
|
|
496
|
+
return Apollo.useQuery(exports.galleryDocument, options);
|
|
497
|
+
}
|
|
498
|
+
exports.usegalleryQuery = usegalleryQuery;
|
|
499
|
+
function usegalleryLazyQuery(baseOptions) {
|
|
500
|
+
const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
|
|
501
|
+
return Apollo.useLazyQuery(exports.galleryDocument, options);
|
|
502
|
+
}
|
|
503
|
+
exports.usegalleryLazyQuery = usegalleryLazyQuery;
|
|
504
|
+
exports.installedExtensionsDocument = (0, client_1.gql) `
|
|
241
505
|
query installedExtensions {
|
|
242
506
|
installed {
|
|
243
507
|
identifier {
|
|
@@ -265,7 +529,32 @@ exports.installedExtensionsDocument = graphql_tag_1.default `
|
|
|
265
529
|
}
|
|
266
530
|
}
|
|
267
531
|
`;
|
|
268
|
-
|
|
532
|
+
/**
|
|
533
|
+
* __useinstalledExtensionsQuery__
|
|
534
|
+
*
|
|
535
|
+
* To run a query within a React component, call `useinstalledExtensionsQuery` and pass it any options that fit your needs.
|
|
536
|
+
* When your component renders, `useinstalledExtensionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
537
|
+
* you can use to render your UI.
|
|
538
|
+
*
|
|
539
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
540
|
+
*
|
|
541
|
+
* @example
|
|
542
|
+
* const { data, loading, error } = useinstalledExtensionsQuery({
|
|
543
|
+
* variables: {
|
|
544
|
+
* },
|
|
545
|
+
* });
|
|
546
|
+
*/
|
|
547
|
+
function useinstalledExtensionsQuery(baseOptions) {
|
|
548
|
+
const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
|
|
549
|
+
return Apollo.useQuery(exports.installedExtensionsDocument, options);
|
|
550
|
+
}
|
|
551
|
+
exports.useinstalledExtensionsQuery = useinstalledExtensionsQuery;
|
|
552
|
+
function useinstalledExtensionsLazyQuery(baseOptions) {
|
|
553
|
+
const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
|
|
554
|
+
return Apollo.useLazyQuery(exports.installedExtensionsDocument, options);
|
|
555
|
+
}
|
|
556
|
+
exports.useinstalledExtensionsLazyQuery = useinstalledExtensionsLazyQuery;
|
|
557
|
+
exports.NotificationsDocument = (0, client_1.gql) `
|
|
269
558
|
query Notifications {
|
|
270
559
|
notifications @client {
|
|
271
560
|
notifications {
|
|
@@ -307,9 +596,60 @@ exports.NotificationsDocument = graphql_tag_1.default `
|
|
|
307
596
|
}
|
|
308
597
|
}
|
|
309
598
|
`;
|
|
310
|
-
|
|
599
|
+
/**
|
|
600
|
+
* __useNotificationsQuery__
|
|
601
|
+
*
|
|
602
|
+
* To run a query within a React component, call `useNotificationsQuery` and pass it any options that fit your needs.
|
|
603
|
+
* When your component renders, `useNotificationsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
604
|
+
* you can use to render your UI.
|
|
605
|
+
*
|
|
606
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
607
|
+
*
|
|
608
|
+
* @example
|
|
609
|
+
* const { data, loading, error } = useNotificationsQuery({
|
|
610
|
+
* variables: {
|
|
611
|
+
* },
|
|
612
|
+
* });
|
|
613
|
+
*/
|
|
614
|
+
function useNotificationsQuery(baseOptions) {
|
|
615
|
+
const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
|
|
616
|
+
return Apollo.useQuery(exports.NotificationsDocument, options);
|
|
617
|
+
}
|
|
618
|
+
exports.useNotificationsQuery = useNotificationsQuery;
|
|
619
|
+
function useNotificationsLazyQuery(baseOptions) {
|
|
620
|
+
const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
|
|
621
|
+
return Apollo.useLazyQuery(exports.NotificationsDocument, options);
|
|
622
|
+
}
|
|
623
|
+
exports.useNotificationsLazyQuery = useNotificationsLazyQuery;
|
|
624
|
+
exports.showNotificationDocument = (0, client_1.gql) `
|
|
311
625
|
query showNotification($notification: Notification_input) {
|
|
312
626
|
showNotification(notification: $notification) @client
|
|
313
627
|
}
|
|
314
628
|
`;
|
|
629
|
+
/**
|
|
630
|
+
* __useshowNotificationQuery__
|
|
631
|
+
*
|
|
632
|
+
* To run a query within a React component, call `useshowNotificationQuery` and pass it any options that fit your needs.
|
|
633
|
+
* When your component renders, `useshowNotificationQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
634
|
+
* you can use to render your UI.
|
|
635
|
+
*
|
|
636
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
637
|
+
*
|
|
638
|
+
* @example
|
|
639
|
+
* const { data, loading, error } = useshowNotificationQuery({
|
|
640
|
+
* variables: {
|
|
641
|
+
* notification: // value for 'notification'
|
|
642
|
+
* },
|
|
643
|
+
* });
|
|
644
|
+
*/
|
|
645
|
+
function useshowNotificationQuery(baseOptions) {
|
|
646
|
+
const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
|
|
647
|
+
return Apollo.useQuery(exports.showNotificationDocument, options);
|
|
648
|
+
}
|
|
649
|
+
exports.useshowNotificationQuery = useshowNotificationQuery;
|
|
650
|
+
function useshowNotificationLazyQuery(baseOptions) {
|
|
651
|
+
const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
|
|
652
|
+
return Apollo.useLazyQuery(exports.showNotificationDocument, options);
|
|
653
|
+
}
|
|
654
|
+
exports.useshowNotificationLazyQuery = useshowNotificationLazyQuery;
|
|
315
655
|
//# sourceMappingURL=generated-models.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generated-models.js","sourceRoot":"","sources":["../../src/interfaces/generated-models.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"generated-models.js","sourceRoot":"","sources":["../../src/interfaces/generated-models.ts"],"names":[],"mappings":";;;AAIA,2CAAqC;AACrC,yCAAyC;AAMzC,MAAM,cAAc,GAAI,EAAE,CAAA;AA2E1B,IAAkB,kBAGjB;AAHD,WAAkB,kBAAkB;IAClC,uCAAiB,CAAA;IACjB,yCAAmB,CAAA;AACrB,CAAC,EAHiB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAGnC;AAAA,CAAC;AAEF,IAAkB,uBAEjB;AAFD,WAAkB,uBAAuB;IACvC,sEAA2C,CAAA;AAC7C,CAAC,EAFiB,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAExC;AAAA,CAAC;AA2KF,IAAkB,gBAIjB;AAJD,WAAkB,gBAAgB;IAChC,6BAAS,CAAA;IACT,+BAAW,CAAA;IACX,mCAAe,CAAA;AACjB,CAAC,EAJiB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAIjC;AAAA,CAAC;AA4XF,IAAkB,cAGjB;AAHD,WAAkB,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js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/interfaces/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,8CAA4B;AAC5B,uDAAqC;AACrC,uDAAqC;AACrC,2CAAyB;AACzB,6CAA2B;AAC3B,qDAAmC;AACnC,4CAA0B;AAC1B,iDAA+B;AAC/B,+CAA6B;AAC7B,+CAA6B;AAC7B,4CAA0B;AAC1B,oDAAkC;AAClC,0CAAwB;AACxB,kDAAgC;AAChC,kDAAgC;AAChC,+CAA6B;AAC7B,kDAAgC;AAChC,gDAA8B;AAC9B,qDAAmC;AACnC,4CAA0B"}
|
|
@@ -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
|
|
3
|
+
import { ApolloClient, ApolloQueryResult } from '@apollo/client';
|
|
4
4
|
/**
|
|
5
5
|
* Platform-specific data and methods shared by multiple Cdeops components.
|
|
6
6
|
*
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/interfaces/react-props/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/interfaces/react-props/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC;AACvC,qDAAmC;AACnC,gDAA8B"}
|
|
@@ -104,10 +104,10 @@ function score1(selector, candidateUri, candidateLanguage) {
|
|
|
104
104
|
}
|
|
105
105
|
if (pattern) {
|
|
106
106
|
const filePath = decodeURIComponent(candidateUri.protocol === 'git:' ? candidateUri.hash.slice(1) : candidateUri.pathname.replace(/^\//, ''));
|
|
107
|
-
if (filePath.endsWith(pattern) || minimatch_1.default(filePath, pattern)) {
|
|
107
|
+
if (filePath.endsWith(pattern) || (0, minimatch_1.default)(filePath, pattern)) {
|
|
108
108
|
returnValue = 10;
|
|
109
109
|
}
|
|
110
|
-
else if (filePath && minimatch_1.default(filePath, pattern, { dot: true, matchBase: true })) {
|
|
110
|
+
else if (filePath && (0, minimatch_1.default)(filePath, pattern, { dot: true, matchBase: true })) {
|
|
111
111
|
returnValue = 5;
|
|
112
112
|
}
|
|
113
113
|
else {
|
|
@@ -1 +1 @@
|
|
|
1
|
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AAE,EAAE,CAAC,CAC3G,CAAC;QACF,IAAI,QAAQ,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,IAAA,mBAAS,EAAC,QAAQ,EAAE,OAAO,CAAC,EAAE;YAC5D,WAAW,GAAG,EAAE,CAAC;SACpB;aAAM,IAAI,QAAQ,IAAI,IAAA,mBAAS,EAAC,QAAQ,EAAE,OAAO,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE;YACjF,WAAW,GAAG,CAAC,CAAC;SACnB;aAAM;YACH,OAAO,CAAC,CAAC;SACZ;KACJ;IACD,OAAO,WAAW,CAAC;AACvB,CAAC"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/interfaces/webview/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/interfaces/webview/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,yDAAuC;AACvC,4DAA0C"}
|
|
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ClientContext = void 0;
|
|
4
4
|
const proxy_identifier_1 = require("./proxy-identifier");
|
|
5
5
|
exports.ClientContext = {
|
|
6
|
-
ClientThreadLanguageFeatures: proxy_identifier_1.createMainContextProxyIdentifier('ClientThreadLanguageFeatures'),
|
|
6
|
+
ClientThreadLanguageFeatures: (0, proxy_identifier_1.createMainContextProxyIdentifier)('ClientThreadLanguageFeatures'),
|
|
7
7
|
};
|
|
8
8
|
//# sourceMappingURL=client.protocol.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.protocol.js","sourceRoot":"","sources":["../../src/protocol/client.protocol.ts"],"names":[],"mappings":";;;AAMA,yDAAyK;AAoI5J,QAAA,aAAa,GAAG;IACzB,4BAA4B,EAAE,mDAAY,
|
|
1
|
+
{"version":3,"file":"client.protocol.js","sourceRoot":"","sources":["../../src/protocol/client.protocol.ts"],"names":[],"mappings":";;;AAMA,yDAAyK;AAoI5J,QAAA,aAAa,GAAG;IACzB,4BAA4B,EAAE,IAAA,mDAAY,EAAoC,8BAA8B,CAAC;CAChH,CAAC"}
|
package/lib/protocol/index.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/protocol/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/protocol/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qCAAqC;AACrC,yDAAuC;AACvC,qDAAmC;AACnC,oDAAkC;AAClC,oDAAkC;AAClC,oDAAkC;AAClC,kDAAgC"}
|
|
@@ -13,13 +13,13 @@ class ProxyIdentifier {
|
|
|
13
13
|
exports.ProxyIdentifier = ProxyIdentifier;
|
|
14
14
|
ProxyIdentifier.count = 0;
|
|
15
15
|
const identifiers = [];
|
|
16
|
-
function createMainContextProxyIdentifier(identifier, hostIdentifier = 1 /* ServerMainThread */) {
|
|
16
|
+
function createMainContextProxyIdentifier(identifier, hostIdentifier = 1 /* HostIdentifier.ServerMainThread */) {
|
|
17
17
|
const result = new ProxyIdentifier(true, identifier, hostIdentifier);
|
|
18
18
|
identifiers[result.nid] = result;
|
|
19
19
|
return result;
|
|
20
20
|
}
|
|
21
21
|
exports.createMainContextProxyIdentifier = createMainContextProxyIdentifier;
|
|
22
|
-
function createExtHostContextProxyIdentifier(identifier, hostIdentifier = 0 /* ServerExtHost */) {
|
|
22
|
+
function createExtHostContextProxyIdentifier(identifier, hostIdentifier = 0 /* HostIdentifier.ServerExtHost */) {
|
|
23
23
|
const result = new ProxyIdentifier(false, identifier, hostIdentifier);
|
|
24
24
|
identifiers[result.nid] = result;
|
|
25
25
|
return result;
|