@adminide-stack/extension-api 5.0.1-alpha.9 → 6.0.2-alpha.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/lib/connections/jsonrpc2/connection.js +5 -13
- package/lib/connections/jsonrpc2/events.js +3 -4
- package/lib/connections/jsonrpc2/linkedMap.js +3 -4
- package/lib/connections/jsonrpc2/messages.js +6 -7
- package/lib/connections/jsonrpc2/test-helper.js +4 -6
- package/lib/connections/jsonrpc2/trace.js +3 -6
- package/lib/connections/jsonrpc2/transport.js +3 -5
- package/lib/connections/jsonrpc2/transports/webWorker.js +3 -5
- package/lib/connections/proxy/proxy.js +7 -8
- package/lib/connections/remote-rpc/browser-remote-rpc.js +3 -9
- package/lib/connections/remote-rpc/rxjs-websockets.d.ts +1 -1
- package/lib/connections/remote-rpc/rxjs-websockets.js +4 -8
- package/lib/constants/action-types.js +5 -6
- package/lib/constants/types.js +2 -3
- package/lib/core/expr/evaluator.js +6 -9
- package/lib/core/expr/lexer.js +6 -7
- package/lib/core/expr/parser.js +4 -6
- package/lib/core/types/ext-host-types.js +5 -8
- package/lib/index.d.ts +2 -0
- package/lib/index.js +1 -8
- package/lib/interfaces/context.d.ts +1 -1
- package/lib/interfaces/contributions/contribution.js +3 -4
- package/lib/interfaces/ext-services/ext-services.d.ts +2 -1
- package/lib/interfaces/generated-models.d.ts +1258 -1086
- package/lib/interfaces/generated-models.js +82 -253
- package/lib/interfaces/graphql.d.ts +1 -1
- package/lib/interfaces/graphql.js +1 -2
- package/lib/interfaces/model.js +2 -3
- package/lib/interfaces/platform-context.d.ts +1 -1
- package/lib/interfaces/text-document.js +4 -6
- package/lib/interfaces/webview/webview.js +2 -3
- package/lib/protocol/client.protocol.js +3 -5
- package/lib/protocol/common.protocol.js +6 -8
- package/lib/protocol/editor-missing-types.js +2 -3
- package/lib/protocol/index.d.ts +3 -0
- package/lib/protocol/proxy-identifier.js +8 -9
- package/lib/protocol/rpc-logger.js +3 -6
- package/lib/protocol/rpc-protocol.js +10 -20
- package/lib/protocol/server.protocol.js +14 -16
- package/lib/protocol/shared/editor.js +4 -6
- package/lib/protocol/temporary-types.js +4 -13
- package/lib/protocol/utils/lazy-promise.js +3 -6
- package/lib/utils/abortable-rx.d.ts +32 -0
- package/lib/utils/abortable-rx.js +112 -0
- package/lib/utils/errors.js +3 -4
- package/lib/utils/extensions.js +3 -5
- package/lib/utils/helper.test.js +2 -3
- package/lib/utils/paths-util.js +5 -7
- package/lib/utils/rxjs/combineLatestOrDefault.js +3 -10
- package/lib/utils/util.js +7 -9
- package/lib/worker-lib/webWorkerLink.d.ts +1 -1
- package/package.json +7 -5
- package/lib/connections/jsonrpc2/connection.js.map +0 -1
- package/lib/connections/jsonrpc2/connection.test.js +0 -441
- package/lib/connections/jsonrpc2/connection.test.js.map +0 -1
- package/lib/connections/jsonrpc2/events.js.map +0 -1
- package/lib/connections/jsonrpc2/index.js +0 -8
- package/lib/connections/jsonrpc2/index.js.map +0 -1
- package/lib/connections/jsonrpc2/linkedMap.js.map +0 -1
- package/lib/connections/jsonrpc2/linkedMap.test.js +0 -60
- package/lib/connections/jsonrpc2/linkedMap.test.js.map +0 -1
- package/lib/connections/jsonrpc2/messages.js.map +0 -1
- package/lib/connections/jsonrpc2/test-helper.js.map +0 -1
- package/lib/connections/jsonrpc2/trace.js.map +0 -1
- package/lib/connections/jsonrpc2/transport.js.map +0 -1
- package/lib/connections/jsonrpc2/transports/browser-websocket.d.ts +0 -0
- package/lib/connections/jsonrpc2/transports/browser-websocket.js +0 -189
- package/lib/connections/jsonrpc2/transports/browser-websocket.js.map +0 -1
- package/lib/connections/jsonrpc2/transports/merged.d.ts +0 -0
- package/lib/connections/jsonrpc2/transports/merged.js +0 -239
- package/lib/connections/jsonrpc2/transports/merged.js.map +0 -1
- package/lib/connections/jsonrpc2/transports/webSocket.d.ts +0 -0
- package/lib/connections/jsonrpc2/transports/webSocket.js +0 -138
- package/lib/connections/jsonrpc2/transports/webSocket.js.map +0 -1
- package/lib/connections/jsonrpc2/transports/webWorker.js.map +0 -1
- package/lib/connections/proxy/index.js +0 -2
- package/lib/connections/proxy/index.js.map +0 -1
- package/lib/connections/proxy/proxy.js.map +0 -1
- package/lib/connections/proxy/proxy.test.js +0 -53
- package/lib/connections/proxy/proxy.test.js.map +0 -1
- package/lib/connections/remote-rpc/browser-remote-rpc.js.map +0 -1
- package/lib/connections/remote-rpc/browser-server-rpc.test.d.ts +0 -0
- package/lib/connections/remote-rpc/browser-server-rpc.test.js +0 -317
- package/lib/connections/remote-rpc/browser-server-rpc.test.js.map +0 -1
- package/lib/connections/remote-rpc/index.js +0 -2
- package/lib/connections/remote-rpc/index.js.map +0 -1
- package/lib/connections/remote-rpc/old-browser-remote-rpc.js +0 -37
- package/lib/connections/remote-rpc/old-browser-remote-rpc.js.map +0 -1
- package/lib/connections/remote-rpc/rxjs-websockets.js.map +0 -1
- package/lib/constants/action-types.js.map +0 -1
- package/lib/constants/index.js +0 -3
- package/lib/constants/index.js.map +0 -1
- package/lib/constants/types.js.map +0 -1
- package/lib/core/expr/evaluator.js.map +0 -1
- package/lib/core/expr/evaluator.test.js +0 -50
- package/lib/core/expr/evaluator.test.js.map +0 -1
- package/lib/core/expr/index.js +0 -4
- package/lib/core/expr/index.js.map +0 -1
- package/lib/core/expr/lexer.js.map +0 -1
- package/lib/core/expr/parser.js.map +0 -1
- package/lib/core/index.js +0 -3
- package/lib/core/index.js.map +0 -1
- package/lib/core/types/ext-host-types-bk.d.ts +0 -0
- package/lib/core/types/ext-host-types-bk.js +0 -1275
- package/lib/core/types/ext-host-types-bk.js.map +0 -1
- package/lib/core/types/ext-host-types.js.map +0 -1
- package/lib/core/types/index.js +0 -2
- package/lib/core/types/index.js.map +0 -1
- package/lib/errors/errors.js +0 -9
- package/lib/errors/errors.js.map +0 -1
- package/lib/errors/index.js +0 -2
- package/lib/errors/index.js.map +0 -1
- package/lib/index.js.map +0 -1
- package/lib/interfaces/command.js +0 -2
- package/lib/interfaces/command.js.map +0 -1
- package/lib/interfaces/configuration.js +0 -2
- package/lib/interfaces/configuration.js.map +0 -1
- package/lib/interfaces/connection.js +0 -2
- package/lib/interfaces/connection.js.map +0 -1
- package/lib/interfaces/context.js +0 -2
- package/lib/interfaces/context.js.map +0 -1
- package/lib/interfaces/contributions/contribution-service.js +0 -2
- package/lib/interfaces/contributions/contribution-service.js.map +0 -1
- package/lib/interfaces/contributions/contribution.js.map +0 -1
- package/lib/interfaces/contributions/index.js +0 -3
- package/lib/interfaces/contributions/index.js.map +0 -1
- package/lib/interfaces/controller.js +0 -2
- package/lib/interfaces/controller.js.map +0 -1
- package/lib/interfaces/errors.js +0 -2
- package/lib/interfaces/errors.js.map +0 -1
- package/lib/interfaces/ext-services/contributon-registry.js +0 -2
- package/lib/interfaces/ext-services/contributon-registry.js.map +0 -1
- package/lib/interfaces/ext-services/ext-services.js +0 -2
- package/lib/interfaces/ext-services/ext-services.js.map +0 -1
- package/lib/interfaces/ext-services/extension-service.js +0 -2
- package/lib/interfaces/ext-services/extension-service.js.map +0 -1
- package/lib/interfaces/ext-services/index.js +0 -9
- package/lib/interfaces/ext-services/index.js.map +0 -1
- package/lib/interfaces/ext-services/model-service.js +0 -2
- package/lib/interfaces/ext-services/model-service.js.map +0 -1
- package/lib/interfaces/ext-services/panel-view-registry.js +0 -2
- package/lib/interfaces/ext-services/panel-view-registry.js.map +0 -1
- package/lib/interfaces/ext-services/settings-service.js +0 -2
- package/lib/interfaces/ext-services/settings-service.js.map +0 -1
- package/lib/interfaces/ext-services/view-service.js +0 -2
- package/lib/interfaces/ext-services/view-service.js.map +0 -1
- package/lib/interfaces/ext-services/viewer-service.js +0 -4
- package/lib/interfaces/ext-services/viewer-service.js.map +0 -1
- package/lib/interfaces/extension-manifest.js +0 -2
- package/lib/interfaces/extension-manifest.js.map +0 -1
- package/lib/interfaces/extension.js +0 -2
- package/lib/interfaces/extension.js.map +0 -1
- package/lib/interfaces/generated-models.js.map +0 -1
- package/lib/interfaces/graphql.js.map +0 -1
- package/lib/interfaces/index.js +0 -22
- package/lib/interfaces/index.js.map +0 -1
- package/lib/interfaces/languages-types.js +0 -2
- package/lib/interfaces/languages-types.js.map +0 -1
- package/lib/interfaces/model.js.map +0 -1
- package/lib/interfaces/plain-types.js +0 -5
- package/lib/interfaces/plain-types.js.map +0 -1
- package/lib/interfaces/plainTypes.js +0 -2
- package/lib/interfaces/plainTypes.js.map +0 -1
- package/lib/interfaces/platform-context.js +0 -2
- package/lib/interfaces/platform-context.js.map +0 -1
- package/lib/interfaces/react-props/action-item.js +0 -2
- package/lib/interfaces/react-props/action-item.js.map +0 -1
- package/lib/interfaces/react-props/extension-controller.js +0 -2
- package/lib/interfaces/react-props/extension-controller.js.map +0 -1
- package/lib/interfaces/react-props/index.js +0 -4
- package/lib/interfaces/react-props/index.js.map +0 -1
- package/lib/interfaces/react-props/platform-context.js +0 -2
- package/lib/interfaces/react-props/platform-context.js.map +0 -1
- package/lib/interfaces/registry-extension.js +0 -2
- package/lib/interfaces/registry-extension.js.map +0 -1
- package/lib/interfaces/settings.js +0 -2
- package/lib/interfaces/settings.js.map +0 -1
- package/lib/interfaces/text-document.js.map +0 -1
- package/lib/interfaces/webview/index.js +0 -4
- package/lib/interfaces/webview/index.js.map +0 -1
- package/lib/interfaces/webview/webview-manager-service.js +0 -2
- package/lib/interfaces/webview/webview-manager-service.js.map +0 -1
- package/lib/interfaces/webview/webview-port-mapping.js +0 -2
- package/lib/interfaces/webview/webview-port-mapping.js.map +0 -1
- package/lib/interfaces/webview/webview.js.map +0 -1
- package/lib/main.d.ts +0 -0
- package/lib/main.js +0 -3
- package/lib/main.js.map +0 -1
- package/lib/protocol/client.protocol.js.map +0 -1
- package/lib/protocol/common.protocol.js.map +0 -1
- package/lib/protocol/editor-missing-types.js.map +0 -1
- package/lib/protocol/index.js +0 -8
- package/lib/protocol/index.js.map +0 -1
- package/lib/protocol/proxy-identifier.js.map +0 -1
- package/lib/protocol/rpc-logger.js.map +0 -1
- package/lib/protocol/rpc-protocol.js.map +0 -1
- package/lib/protocol/rpc-protocol.test.js +0 -169
- package/lib/protocol/rpc-protocol.test.js.map +0 -1
- package/lib/protocol/server.protocol-bk.d.ts +0 -0
- package/lib/protocol/server.protocol-bk.js +0 -719
- package/lib/protocol/server.protocol-bk.js.map +0 -1
- package/lib/protocol/server.protocol.js.map +0 -1
- package/lib/protocol/shared/editor.js.map +0 -1
- package/lib/protocol/shared/tasks.js +0 -3
- package/lib/protocol/shared/tasks.js.map +0 -1
- package/lib/protocol/temporary-types.js.map +0 -1
- package/lib/protocol/utils/index.js +0 -2
- package/lib/protocol/utils/index.js.map +0 -1
- package/lib/protocol/utils/lazy-promise.js.map +0 -1
- package/lib/utils/errors.js.map +0 -1
- package/lib/utils/extensions.js.map +0 -1
- package/lib/utils/helper.test.js.map +0 -1
- package/lib/utils/index.js +0 -8
- package/lib/utils/index.js.map +0 -1
- package/lib/utils/paths-util.js.map +0 -1
- package/lib/utils/rxjs/combineLatestOrDefault.js.map +0 -1
- package/lib/utils/rxjs/combineLatestOrDefault.test.js +0 -50
- package/lib/utils/rxjs/combineLatestOrDefault.test.js.map +0 -1
- package/lib/utils/rxjs/index.js +0 -2
- package/lib/utils/rxjs/index.js.map +0 -1
- package/lib/utils/util.js.map +0 -1
- package/lib/worker-lib/MessageTypes.js +0 -6
- package/lib/worker-lib/MessageTypes.js.map +0 -1
- package/lib/worker-lib/index.js +0 -3
- package/lib/worker-lib/index.js.map +0 -1
- package/lib/worker-lib/webWorkerLink.js +0 -90
- package/lib/worker-lib/webWorkerLink.js.map +0 -1
- package/lib/worker-lib/workerUtils.js +0 -173
- package/lib/worker-lib/workerUtils.js.map +0 -1
@@ -1,44 +1,46 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
const defaultOptions = {};
|
4
|
-
export var ICacheControlScope;
|
1
|
+
import*as Apollo from'@apollo/client';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
|
-
|
7
|
+
var IClientContainerService;
|
10
8
|
(function (IClientContainerService) {
|
11
9
|
IClientContainerService["ExtensionController"] = "ExtensionController";
|
12
10
|
})(IClientContainerService || (IClientContainerService = {}));
|
13
|
-
|
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
|
-
|
17
|
+
var IExtensionKind;
|
20
18
|
(function (IExtensionKind) {
|
21
19
|
IExtensionKind["Ui"] = "ui";
|
22
20
|
IExtensionKind["Workspace"] = "workspace";
|
23
21
|
})(IExtensionKind || (IExtensionKind = {}));
|
24
|
-
|
22
|
+
var IExtensionType;
|
25
23
|
(function (IExtensionType) {
|
26
24
|
IExtensionType["System"] = "System";
|
27
25
|
IExtensionType["User"] = "User";
|
28
26
|
})(IExtensionType || (IExtensionType = {}));
|
29
|
-
|
27
|
+
var IGraphqlCallType;
|
30
28
|
(function (IGraphqlCallType) {
|
31
29
|
IGraphqlCallType["Mutation"] = "mutation";
|
32
30
|
IGraphqlCallType["Query"] = "query";
|
33
31
|
})(IGraphqlCallType || (IGraphqlCallType = {}));
|
34
|
-
|
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
|
-
|
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,54 +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
|
-
|
71
|
+
var IMoleculerServiceName;
|
74
72
|
(function (IMoleculerServiceName) {
|
75
73
|
IMoleculerServiceName["Dummy"] = "dummy";
|
76
74
|
})(IMoleculerServiceName || (IMoleculerServiceName = {}));
|
77
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
95
|
+
var ISortEnum;
|
98
96
|
(function (ISortEnum) {
|
99
97
|
ISortEnum["Asc"] = "ASC";
|
100
98
|
ISortEnum["Desc"] = "DESC";
|
101
99
|
})(ISortEnum || (ISortEnum = {}));
|
102
|
-
|
103
|
-
mutation Copy($value: String) {
|
104
|
-
copy(value: $value) @client
|
105
|
-
}
|
106
|
-
`;
|
100
|
+
const CopyDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "Copy" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "value" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "copy" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "value" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "value" } } }], "directives": [{ "kind": "Directive", "name": { "kind": "Name", "value": "client" } }] }] } }] };
|
107
101
|
/**
|
108
102
|
* __useCopyMutation__
|
109
103
|
*
|
@@ -121,15 +115,11 @@ export const CopyDocument = gql `
|
|
121
115
|
* },
|
122
116
|
* });
|
123
117
|
*/
|
124
|
-
|
118
|
+
function useCopyMutation(baseOptions) {
|
125
119
|
const options = { ...defaultOptions, ...baseOptions };
|
126
120
|
return Apollo.useMutation(CopyDocument, options);
|
127
121
|
}
|
128
|
-
|
129
|
-
mutation RunMenuAction($argument: ContributionActionRunInput) {
|
130
|
-
runMenuAction(argument: $argument) @client
|
131
|
-
}
|
132
|
-
`;
|
122
|
+
const RunMenuActionDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "RunMenuAction" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "argument" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ContributionActionRunInput" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "runMenuAction" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "argument" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "argument" } } }], "directives": [{ "kind": "Directive", "name": { "kind": "Name", "value": "client" } }] }] } }] };
|
133
123
|
/**
|
134
124
|
* __useRunMenuActionMutation__
|
135
125
|
*
|
@@ -147,15 +137,11 @@ export const RunMenuActionDocument = gql `
|
|
147
137
|
* },
|
148
138
|
* });
|
149
139
|
*/
|
150
|
-
|
140
|
+
function useRunMenuActionMutation(baseOptions) {
|
151
141
|
const options = { ...defaultOptions, ...baseOptions };
|
152
142
|
return Apollo.useMutation(RunMenuActionDocument, options);
|
153
143
|
}
|
154
|
-
|
155
|
-
mutation HideContextMenu {
|
156
|
-
hideContextMenu @client
|
157
|
-
}
|
158
|
-
`;
|
144
|
+
const HideContextMenuDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "HideContextMenu" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "hideContextMenu" }, "directives": [{ "kind": "Directive", "name": { "kind": "Name", "value": "client" } }] }] } }] };
|
159
145
|
/**
|
160
146
|
* __useHideContextMenuMutation__
|
161
147
|
*
|
@@ -172,15 +158,11 @@ export const HideContextMenuDocument = gql `
|
|
172
158
|
* },
|
173
159
|
* });
|
174
160
|
*/
|
175
|
-
|
161
|
+
function useHideContextMenuMutation(baseOptions) {
|
176
162
|
const options = { ...defaultOptions, ...baseOptions };
|
177
163
|
return Apollo.useMutation(HideContextMenuDocument, options);
|
178
164
|
}
|
179
|
-
|
180
|
-
mutation ShowContextMenu($delegate: ContextMenuInput) {
|
181
|
-
showContextMenu(delegate: $delegate) @client
|
182
|
-
}
|
183
|
-
`;
|
165
|
+
const ShowContextMenuDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "ShowContextMenu" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "delegate" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ContextMenuInput" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "showContextMenu" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "delegate" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "delegate" } } }], "directives": [{ "kind": "Directive", "name": { "kind": "Name", "value": "client" } }] }] } }] };
|
184
166
|
/**
|
185
167
|
* __useShowContextMenuMutation__
|
186
168
|
*
|
@@ -198,18 +180,11 @@ export const ShowContextMenuDocument = gql `
|
|
198
180
|
* },
|
199
181
|
* });
|
200
182
|
*/
|
201
|
-
|
183
|
+
function useShowContextMenuMutation(baseOptions) {
|
202
184
|
const options = { ...defaultOptions, ...baseOptions };
|
203
185
|
return Apollo.useMutation(ShowContextMenuDocument, options);
|
204
186
|
}
|
205
|
-
|
206
|
-
mutation install($vsix: String!) {
|
207
|
-
install(vsix: $vsix) {
|
208
|
-
id
|
209
|
-
uuid
|
210
|
-
}
|
211
|
-
}
|
212
|
-
`;
|
187
|
+
const InstallDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "install" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "vsix" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "install" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "vsix" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "vsix" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "uuid" } }] } }] } }] };
|
213
188
|
/**
|
214
189
|
* __useInstallMutation__
|
215
190
|
*
|
@@ -227,15 +202,11 @@ export const InstallDocument = gql `
|
|
227
202
|
* },
|
228
203
|
* });
|
229
204
|
*/
|
230
|
-
|
205
|
+
function useInstallMutation(baseOptions) {
|
231
206
|
const options = { ...defaultOptions, ...baseOptions };
|
232
207
|
return Apollo.useMutation(InstallDocument, options);
|
233
208
|
}
|
234
|
-
|
235
|
-
mutation providerDefinition($params: TextDocumentPositionParamsInput) {
|
236
|
-
hoverProviderDefinition(params: $params) @client
|
237
|
-
}
|
238
|
-
`;
|
209
|
+
const ProviderDefinitionDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "providerDefinition" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "params" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "TextDocumentPositionParamsInput" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "hoverProviderDefinition" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "params" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "params" } } }], "directives": [{ "kind": "Directive", "name": { "kind": "Name", "value": "client" } }] }] } }] };
|
239
210
|
/**
|
240
211
|
* __useProviderDefinitionMutation__
|
241
212
|
*
|
@@ -253,15 +224,11 @@ export const ProviderDefinitionDocument = gql `
|
|
253
224
|
* },
|
254
225
|
* });
|
255
226
|
*/
|
256
|
-
|
227
|
+
function useProviderDefinitionMutation(baseOptions) {
|
257
228
|
const options = { ...defaultOptions, ...baseOptions };
|
258
229
|
return Apollo.useMutation(ProviderDefinitionDocument, options);
|
259
230
|
}
|
260
|
-
|
261
|
-
mutation remove($id: String!) {
|
262
|
-
removeExtension(id: $id)
|
263
|
-
}
|
264
|
-
`;
|
231
|
+
const RemoveDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "remove" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "id" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "removeExtension" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "id" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "id" } } }] }] } }] };
|
265
232
|
/**
|
266
233
|
* __useRemoveMutation__
|
267
234
|
*
|
@@ -279,34 +246,11 @@ export const RemoveDocument = gql `
|
|
279
246
|
* },
|
280
247
|
* });
|
281
248
|
*/
|
282
|
-
|
249
|
+
function useRemoveMutation(baseOptions) {
|
283
250
|
const options = { ...defaultOptions, ...baseOptions };
|
284
251
|
return Apollo.useMutation(RemoveDocument, options);
|
285
252
|
}
|
286
|
-
|
287
|
-
query ContextMenu {
|
288
|
-
contextMenu @client {
|
289
|
-
id
|
290
|
-
isShow
|
291
|
-
anchor {
|
292
|
-
x
|
293
|
-
y
|
294
|
-
height
|
295
|
-
width
|
296
|
-
}
|
297
|
-
menuItems {
|
298
|
-
id
|
299
|
-
label
|
300
|
-
enabled
|
301
|
-
run {
|
302
|
-
type
|
303
|
-
document
|
304
|
-
variables
|
305
|
-
}
|
306
|
-
}
|
307
|
-
}
|
308
|
-
}
|
309
|
-
`;
|
253
|
+
const ContextMenuDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "ContextMenu" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "contextMenu" }, "directives": [{ "kind": "Directive", "name": { "kind": "Name", "value": "client" } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isShow" } }, { "kind": "Field", "name": { "kind": "Name", "value": "anchor" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "x" } }, { "kind": "Field", "name": { "kind": "Name", "value": "y" } }, { "kind": "Field", "name": { "kind": "Name", "value": "height" } }, { "kind": "Field", "name": { "kind": "Name", "value": "width" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "menuItems" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "label" } }, { "kind": "Field", "name": { "kind": "Name", "value": "enabled" } }, { "kind": "Field", "name": { "kind": "Name", "value": "run" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "type" } }, { "kind": "Field", "name": { "kind": "Name", "value": "document" } }, { "kind": "Field", "name": { "kind": "Name", "value": "variables" } }] } }] } }] } }] } }] };
|
310
254
|
/**
|
311
255
|
* __useContextMenuQuery__
|
312
256
|
*
|
@@ -322,43 +266,19 @@ export const ContextMenuDocument = gql `
|
|
322
266
|
* },
|
323
267
|
* });
|
324
268
|
*/
|
325
|
-
|
269
|
+
function useContextMenuQuery(baseOptions) {
|
326
270
|
const options = { ...defaultOptions, ...baseOptions };
|
327
271
|
return Apollo.useQuery(ContextMenuDocument, options);
|
328
272
|
}
|
329
|
-
|
273
|
+
function useContextMenuLazyQuery(baseOptions) {
|
330
274
|
const options = { ...defaultOptions, ...baseOptions };
|
331
275
|
return Apollo.useLazyQuery(ContextMenuDocument, options);
|
332
276
|
}
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
id
|
337
|
-
name
|
338
|
-
icon
|
339
|
-
version
|
340
|
-
description
|
341
|
-
publisher
|
342
|
-
installCount
|
343
|
-
publisherDisplayName
|
344
|
-
rating
|
345
|
-
ratingCount
|
346
|
-
displayName
|
347
|
-
assets {
|
348
|
-
download {
|
349
|
-
uri
|
350
|
-
fallbackUri
|
351
|
-
}
|
352
|
-
}
|
353
|
-
resources {
|
354
|
-
icon
|
355
|
-
readme
|
356
|
-
manifest
|
357
|
-
changelog
|
358
|
-
}
|
359
|
-
}
|
277
|
+
function useContextMenuSuspenseQuery(baseOptions) {
|
278
|
+
const options = { ...defaultOptions, ...baseOptions };
|
279
|
+
return Apollo.useSuspenseQuery(ContextMenuDocument, options);
|
360
280
|
}
|
361
|
-
|
281
|
+
const GalleryExtensionDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "galleryExtension" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "extensionID" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "galleryExtension" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "extensionID" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "extensionID" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "icon" } }, { "kind": "Field", "name": { "kind": "Name", "value": "version" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publisher" } }, { "kind": "Field", "name": { "kind": "Name", "value": "installCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publisherDisplayName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "rating" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ratingCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "displayName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "assets" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "download" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "uri" } }, { "kind": "Field", "name": { "kind": "Name", "value": "fallbackUri" } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "resources" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "icon" } }, { "kind": "Field", "name": { "kind": "Name", "value": "readme" } }, { "kind": "Field", "name": { "kind": "Name", "value": "manifest" } }, { "kind": "Field", "name": { "kind": "Name", "value": "changelog" } }] } }] } }] } }] };
|
362
282
|
/**
|
363
283
|
* __useGalleryExtensionQuery__
|
364
284
|
*
|
@@ -375,32 +295,19 @@ export const GalleryExtensionDocument = gql `
|
|
375
295
|
* },
|
376
296
|
* });
|
377
297
|
*/
|
378
|
-
|
298
|
+
function useGalleryExtensionQuery(baseOptions) {
|
379
299
|
const options = { ...defaultOptions, ...baseOptions };
|
380
300
|
return Apollo.useQuery(GalleryExtensionDocument, options);
|
381
301
|
}
|
382
|
-
|
302
|
+
function useGalleryExtensionLazyQuery(baseOptions) {
|
383
303
|
const options = { ...defaultOptions, ...baseOptions };
|
384
304
|
return Apollo.useLazyQuery(GalleryExtensionDocument, options);
|
385
305
|
}
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
nodes {
|
390
|
-
id
|
391
|
-
url
|
392
|
-
extensionID
|
393
|
-
viewerCanAdminister
|
394
|
-
manifest {
|
395
|
-
bundleURL
|
396
|
-
raw
|
397
|
-
name
|
398
|
-
activationEvents
|
399
|
-
}
|
400
|
-
}
|
401
|
-
}
|
306
|
+
function useGalleryExtensionSuspenseQuery(baseOptions) {
|
307
|
+
const options = { ...defaultOptions, ...baseOptions };
|
308
|
+
return Apollo.useSuspenseQuery(GalleryExtensionDocument, options);
|
402
309
|
}
|
403
|
-
|
310
|
+
const ExtensionsByLimitDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "ExtensionsByLimit" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "prioritizeExtensionIDs" } }, "type": { "kind": "NonNullType", "type": { "kind": "ListType", "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "extensions" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "prioritizeExtensionIDs" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "prioritizeExtensionIDs" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "nodes" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "url" } }, { "kind": "Field", "name": { "kind": "Name", "value": "extensionID" } }, { "kind": "Field", "name": { "kind": "Name", "value": "viewerCanAdminister" } }, { "kind": "Field", "name": { "kind": "Name", "value": "manifest" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "bundleURL" } }, { "kind": "Field", "name": { "kind": "Name", "value": "raw" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "activationEvents" } }] } }] } }] } }] } }] };
|
404
311
|
/**
|
405
312
|
* __useExtensionsByLimitQuery__
|
406
313
|
*
|
@@ -418,40 +325,19 @@ export const ExtensionsByLimitDocument = gql `
|
|
418
325
|
* },
|
419
326
|
* });
|
420
327
|
*/
|
421
|
-
|
328
|
+
function useExtensionsByLimitQuery(baseOptions) {
|
422
329
|
const options = { ...defaultOptions, ...baseOptions };
|
423
330
|
return Apollo.useQuery(ExtensionsByLimitDocument, options);
|
424
331
|
}
|
425
|
-
|
332
|
+
function useExtensionsByLimitLazyQuery(baseOptions) {
|
426
333
|
const options = { ...defaultOptions, ...baseOptions };
|
427
334
|
return Apollo.useLazyQuery(ExtensionsByLimitDocument, options);
|
428
335
|
}
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
page
|
433
|
-
firstPage {
|
434
|
-
id
|
435
|
-
name
|
436
|
-
icon
|
437
|
-
version
|
438
|
-
description
|
439
|
-
publisher
|
440
|
-
installCount
|
441
|
-
publisherDisplayName
|
442
|
-
rating
|
443
|
-
ratingCount
|
444
|
-
displayName
|
445
|
-
assets {
|
446
|
-
download {
|
447
|
-
uri
|
448
|
-
fallbackUri
|
449
|
-
}
|
450
|
-
}
|
451
|
-
}
|
452
|
-
}
|
336
|
+
function useExtensionsByLimitSuspenseQuery(baseOptions) {
|
337
|
+
const options = { ...defaultOptions, ...baseOptions };
|
338
|
+
return Apollo.useSuspenseQuery(ExtensionsByLimitDocument, options);
|
453
339
|
}
|
454
|
-
|
340
|
+
const GalleryDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "gallery" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "query" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "GalleryQueryInput" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gallery" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "query" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "query" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "page" } }, { "kind": "Field", "name": { "kind": "Name", "value": "firstPage" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "icon" } }, { "kind": "Field", "name": { "kind": "Name", "value": "version" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publisher" } }, { "kind": "Field", "name": { "kind": "Name", "value": "installCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publisherDisplayName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "rating" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ratingCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "displayName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "assets" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "download" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "uri" } }, { "kind": "Field", "name": { "kind": "Name", "value": "fallbackUri" } }] } }] } }] } }] } }] } }] };
|
455
341
|
/**
|
456
342
|
* __useGalleryQuery__
|
457
343
|
*
|
@@ -468,42 +354,19 @@ export const GalleryDocument = gql `
|
|
468
354
|
* },
|
469
355
|
* });
|
470
356
|
*/
|
471
|
-
|
357
|
+
function useGalleryQuery(baseOptions) {
|
472
358
|
const options = { ...defaultOptions, ...baseOptions };
|
473
359
|
return Apollo.useQuery(GalleryDocument, options);
|
474
360
|
}
|
475
|
-
|
361
|
+
function useGalleryLazyQuery(baseOptions) {
|
476
362
|
const options = { ...defaultOptions, ...baseOptions };
|
477
363
|
return Apollo.useLazyQuery(GalleryDocument, options);
|
478
364
|
}
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
identifier {
|
483
|
-
id
|
484
|
-
uuid
|
485
|
-
}
|
486
|
-
galleryIdentifier {
|
487
|
-
id
|
488
|
-
uuid
|
489
|
-
}
|
490
|
-
extension {
|
491
|
-
name
|
492
|
-
id
|
493
|
-
icon
|
494
|
-
displayName
|
495
|
-
installCount
|
496
|
-
description
|
497
|
-
version
|
498
|
-
identifier {
|
499
|
-
id
|
500
|
-
uuid
|
501
|
-
}
|
502
|
-
publisherDisplayName
|
503
|
-
}
|
504
|
-
}
|
365
|
+
function useGallerySuspenseQuery(baseOptions) {
|
366
|
+
const options = { ...defaultOptions, ...baseOptions };
|
367
|
+
return Apollo.useSuspenseQuery(GalleryDocument, options);
|
505
368
|
}
|
506
|
-
|
369
|
+
const InstalledExtensionsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "installedExtensions" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "installed" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "identifier" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "uuid" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "galleryIdentifier" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "uuid" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "extension" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "icon" } }, { "kind": "Field", "name": { "kind": "Name", "value": "displayName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "installCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "version" } }, { "kind": "Field", "name": { "kind": "Name", "value": "identifier" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "uuid" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "publisherDisplayName" } }] } }] } }] } }] };
|
507
370
|
/**
|
508
371
|
* __useInstalledExtensionsQuery__
|
509
372
|
*
|
@@ -519,56 +382,19 @@ export const InstalledExtensionsDocument = gql `
|
|
519
382
|
* },
|
520
383
|
* });
|
521
384
|
*/
|
522
|
-
|
385
|
+
function useInstalledExtensionsQuery(baseOptions) {
|
523
386
|
const options = { ...defaultOptions, ...baseOptions };
|
524
387
|
return Apollo.useQuery(InstalledExtensionsDocument, options);
|
525
388
|
}
|
526
|
-
|
389
|
+
function useInstalledExtensionsLazyQuery(baseOptions) {
|
527
390
|
const options = { ...defaultOptions, ...baseOptions };
|
528
391
|
return Apollo.useLazyQuery(InstalledExtensionsDocument, options);
|
529
392
|
}
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
notifications {
|
534
|
-
index
|
535
|
-
severity
|
536
|
-
message
|
537
|
-
actions {
|
538
|
-
primary {
|
539
|
-
id
|
540
|
-
label
|
541
|
-
tooltip
|
542
|
-
class
|
543
|
-
enabled
|
544
|
-
checked
|
545
|
-
radio
|
546
|
-
run {
|
547
|
-
type
|
548
|
-
document
|
549
|
-
variables
|
550
|
-
}
|
551
|
-
}
|
552
|
-
secondary {
|
553
|
-
id
|
554
|
-
label
|
555
|
-
tooltip
|
556
|
-
class
|
557
|
-
enabled
|
558
|
-
checked
|
559
|
-
radio
|
560
|
-
run {
|
561
|
-
type
|
562
|
-
document
|
563
|
-
variables
|
564
|
-
}
|
565
|
-
}
|
566
|
-
}
|
567
|
-
sticky
|
568
|
-
}
|
569
|
-
}
|
393
|
+
function useInstalledExtensionsSuspenseQuery(baseOptions) {
|
394
|
+
const options = { ...defaultOptions, ...baseOptions };
|
395
|
+
return Apollo.useSuspenseQuery(InstalledExtensionsDocument, options);
|
570
396
|
}
|
571
|
-
|
397
|
+
const NotificationsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "Notifications" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "notifications" }, "directives": [{ "kind": "Directive", "name": { "kind": "Name", "value": "client" } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "notifications" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "index" } }, { "kind": "Field", "name": { "kind": "Name", "value": "severity" } }, { "kind": "Field", "name": { "kind": "Name", "value": "message" } }, { "kind": "Field", "name": { "kind": "Name", "value": "actions" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "primary" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "label" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tooltip" } }, { "kind": "Field", "name": { "kind": "Name", "value": "class" } }, { "kind": "Field", "name": { "kind": "Name", "value": "enabled" } }, { "kind": "Field", "name": { "kind": "Name", "value": "checked" } }, { "kind": "Field", "name": { "kind": "Name", "value": "radio" } }, { "kind": "Field", "name": { "kind": "Name", "value": "run" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "type" } }, { "kind": "Field", "name": { "kind": "Name", "value": "document" } }, { "kind": "Field", "name": { "kind": "Name", "value": "variables" } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "secondary" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "label" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tooltip" } }, { "kind": "Field", "name": { "kind": "Name", "value": "class" } }, { "kind": "Field", "name": { "kind": "Name", "value": "enabled" } }, { "kind": "Field", "name": { "kind": "Name", "value": "checked" } }, { "kind": "Field", "name": { "kind": "Name", "value": "radio" } }, { "kind": "Field", "name": { "kind": "Name", "value": "run" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "type" } }, { "kind": "Field", "name": { "kind": "Name", "value": "document" } }, { "kind": "Field", "name": { "kind": "Name", "value": "variables" } }] } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "sticky" } }] } }] } }] } }] };
|
572
398
|
/**
|
573
399
|
* __useNotificationsQuery__
|
574
400
|
*
|
@@ -584,19 +410,19 @@ export const NotificationsDocument = gql `
|
|
584
410
|
* },
|
585
411
|
* });
|
586
412
|
*/
|
587
|
-
|
413
|
+
function useNotificationsQuery(baseOptions) {
|
588
414
|
const options = { ...defaultOptions, ...baseOptions };
|
589
415
|
return Apollo.useQuery(NotificationsDocument, options);
|
590
416
|
}
|
591
|
-
|
417
|
+
function useNotificationsLazyQuery(baseOptions) {
|
592
418
|
const options = { ...defaultOptions, ...baseOptions };
|
593
419
|
return Apollo.useLazyQuery(NotificationsDocument, options);
|
594
420
|
}
|
595
|
-
|
596
|
-
|
597
|
-
|
421
|
+
function useNotificationsSuspenseQuery(baseOptions) {
|
422
|
+
const options = { ...defaultOptions, ...baseOptions };
|
423
|
+
return Apollo.useSuspenseQuery(NotificationsDocument, options);
|
598
424
|
}
|
599
|
-
|
425
|
+
const ShowNotificationDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "showNotification" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "notification" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "NotificationInput" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "showNotification" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "notification" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "notification" } } }], "directives": [{ "kind": "Directive", "name": { "kind": "Name", "value": "client" } }] }] } }] };
|
600
426
|
/**
|
601
427
|
* __useShowNotificationQuery__
|
602
428
|
*
|
@@ -613,12 +439,15 @@ export const ShowNotificationDocument = gql `
|
|
613
439
|
* },
|
614
440
|
* });
|
615
441
|
*/
|
616
|
-
|
442
|
+
function useShowNotificationQuery(baseOptions) {
|
617
443
|
const options = { ...defaultOptions, ...baseOptions };
|
618
444
|
return Apollo.useQuery(ShowNotificationDocument, options);
|
619
445
|
}
|
620
|
-
|
446
|
+
function useShowNotificationLazyQuery(baseOptions) {
|
621
447
|
const options = { ...defaultOptions, ...baseOptions };
|
622
448
|
return Apollo.useLazyQuery(ShowNotificationDocument, options);
|
623
449
|
}
|
624
|
-
|
450
|
+
function useShowNotificationSuspenseQuery(baseOptions) {
|
451
|
+
const options = { ...defaultOptions, ...baseOptions };
|
452
|
+
return Apollo.useSuspenseQuery(ShowNotificationDocument, options);
|
453
|
+
}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,2 +1 @@
|
|
1
|
-
|
2
|
-
//# sourceMappingURL=graphql.js.map
|
1
|
+
const graphQLContent = Symbol('graphQLContent');export{graphQLContent};
|
package/lib/interfaces/model.js
CHANGED
@@ -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
|
*
|