@adminide-stack/extension-api 9.2.1-alpha.9 → 10.0.1-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.
@@ -1,456 +0,0 @@
1
- import*as Apollo from'@apollo/client';const defaultOptions = {};
2
- var IClientContainerService;
3
- (function (IClientContainerService) {
4
- IClientContainerService["ExtensionController"] = "ExtensionController";
5
- })(IClientContainerService || (IClientContainerService = {}));
6
- var IEnvironmentSync;
7
- (function (IEnvironmentSync) {
8
- IEnvironmentSync["Off"] = "off";
9
- IEnvironmentSync["On"] = "on";
10
- IEnvironmentSync["Unset"] = "unset";
11
- })(IEnvironmentSync || (IEnvironmentSync = {}));
12
- var IExtensionKind;
13
- (function (IExtensionKind) {
14
- IExtensionKind["Ui"] = "ui";
15
- IExtensionKind["Workspace"] = "workspace";
16
- })(IExtensionKind || (IExtensionKind = {}));
17
- var IExtensionType;
18
- (function (IExtensionType) {
19
- IExtensionType["System"] = "System";
20
- IExtensionType["User"] = "User";
21
- })(IExtensionType || (IExtensionType = {}));
22
- var IGraphqlCallType;
23
- (function (IGraphqlCallType) {
24
- IGraphqlCallType["Mutation"] = "mutation";
25
- IGraphqlCallType["Query"] = "query";
26
- })(IGraphqlCallType || (IGraphqlCallType = {}));
27
- var IMailTemplateId;
28
- (function (IMailTemplateId) {
29
- IMailTemplateId["Dummy"] = "dummy";
30
- })(IMailTemplateId || (IMailTemplateId = {}));
31
- var IMarkupKind;
32
- (function (IMarkupKind) {
33
- IMarkupKind["Markdown"] = "markdown";
34
- IMarkupKind["Plaintext"] = "plaintext";
35
- })(IMarkupKind || (IMarkupKind = {}));
36
- var IMenuId;
37
- (function (IMenuId) {
38
- IMenuId["CommandPalette"] = "CommandPalette";
39
- IMenuId["CommentActions"] = "CommentActions";
40
- IMenuId["CommentThreadActions"] = "CommentThreadActions";
41
- IMenuId["CommentThreadTitle"] = "CommentThreadTitle";
42
- IMenuId["CommentTitle"] = "CommentTitle";
43
- IMenuId["MenubarAppearanceMenu"] = "MenubarAppearanceMenu";
44
- IMenuId["MenubarDebugMenu"] = "MenubarDebugMenu";
45
- IMenuId["MenubarEditMenu"] = "MenubarEditMenu";
46
- IMenuId["MenubarFileMenu"] = "MenubarFileMenu";
47
- IMenuId["MenubarGoMenu"] = "MenubarGoMenu";
48
- IMenuId["MenubarNewBreakpointMenu"] = "MenubarNewBreakpointMenu";
49
- IMenuId["MenubarPreferencesMenu"] = "MenubarPreferencesMenu";
50
- IMenuId["MenubarRecentMenu"] = "MenubarRecentMenu";
51
- IMenuId["MenubarSelectionMenu"] = "MenubarSelectionMenu";
52
- IMenuId["MenubarSwitchEditorMenu"] = "MenubarSwitchEditorMenu";
53
- IMenuId["MenubarSwitchGroupMenu"] = "MenubarSwitchGroupMenu";
54
- IMenuId["MenubarTeamMenu"] = "MenubarTeamMenu";
55
- IMenuId["MenubarViewMenu"] = "MenubarViewMenu";
56
- IMenuId["OpenEditorContext"] = "OpenEditorContext";
57
- IMenuId["ProblemsPanelContext"] = "ProblemsPanelContext";
58
- IMenuId["ScmChangeContext"] = "SCMChangeContext";
59
- IMenuId["ScmResourceContext"] = "SCMResourceContext";
60
- IMenuId["ScmResourceControl"] = "SCMResourceControl";
61
- IMenuId["ScmResourceGroupContext"] = "SCMResourceGroupContext";
62
- IMenuId["ScmTitle"] = "SCMTitle";
63
- IMenuId["SearchContext"] = "SearchContext";
64
- IMenuId["StatusBarWindowIndicatorMenu"] = "StatusBarWindowIndicatorMenu";
65
- IMenuId["TouchBarContext"] = "TouchBarContext";
66
- IMenuId["ViewItemContext"] = "ViewItemContext";
67
- IMenuId["ViewTitle"] = "ViewTitle";
68
- })(IMenuId || (IMenuId = {}));
69
- var IMoleculerCronServiceName;
70
- (function (IMoleculerCronServiceName) {
71
- IMoleculerCronServiceName["Dummy"] = "dummy";
72
- })(IMoleculerCronServiceName || (IMoleculerCronServiceName = {}));
73
- /** All Moleculer Topic names are extended from this. */
74
- var IMoleculerServiceName;
75
- (function (IMoleculerServiceName) {
76
- IMoleculerServiceName["Dummy"] = "dummy";
77
- })(IMoleculerServiceName || (IMoleculerServiceName = {}));
78
- var INotificationChangeType;
79
- (function (INotificationChangeType) {
80
- INotificationChangeType["Add"] = "ADD";
81
- INotificationChangeType["Change"] = "CHANGE";
82
- INotificationChangeType["Remove"] = "REMOVE";
83
- })(INotificationChangeType || (INotificationChangeType = {}));
84
- var INotificationSeverity;
85
- (function (INotificationSeverity) {
86
- INotificationSeverity["Error"] = "Error";
87
- INotificationSeverity["Ignore"] = "Ignore";
88
- INotificationSeverity["Info"] = "Info";
89
- INotificationSeverity["Warning"] = "Warning";
90
- })(INotificationSeverity || (INotificationSeverity = {}));
91
- var INotificationViewItemLabelKind;
92
- (function (INotificationViewItemLabelKind) {
93
- INotificationViewItemLabelKind["Actions"] = "ACTIONS";
94
- INotificationViewItemLabelKind["Message"] = "MESSAGE";
95
- INotificationViewItemLabelKind["Progress"] = "PROGRESS";
96
- INotificationViewItemLabelKind["Severity"] = "SEVERITY";
97
- })(INotificationViewItemLabelKind || (INotificationViewItemLabelKind = {}));
98
- var ISortEnum;
99
- (function (ISortEnum) {
100
- ISortEnum["Asc"] = "ASC";
101
- ISortEnum["Desc"] = "DESC";
102
- })(ISortEnum || (ISortEnum = {}));
103
- 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" } }] }] } }] };
104
- /**
105
- * __useCopyMutation__
106
- *
107
- * To run a mutation, you first call `useCopyMutation` within a React component and pass it any options that fit your needs.
108
- * When your component renders, `useCopyMutation` returns a tuple that includes:
109
- * - A mutate function that you can call at any time to execute the mutation
110
- * - An object with fields that represent the current status of the mutation's execution
111
- *
112
- * @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;
113
- *
114
- * @example
115
- * const [copyMutation, { data, loading, error }] = useCopyMutation({
116
- * variables: {
117
- * value: // value for 'value'
118
- * },
119
- * });
120
- */
121
- function useCopyMutation(baseOptions) {
122
- const options = { ...defaultOptions, ...baseOptions };
123
- return Apollo.useMutation(CopyDocument, options);
124
- }
125
- 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" } }] }] } }] };
126
- /**
127
- * __useRunMenuActionMutation__
128
- *
129
- * To run a mutation, you first call `useRunMenuActionMutation` within a React component and pass it any options that fit your needs.
130
- * When your component renders, `useRunMenuActionMutation` returns a tuple that includes:
131
- * - A mutate function that you can call at any time to execute the mutation
132
- * - An object with fields that represent the current status of the mutation's execution
133
- *
134
- * @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;
135
- *
136
- * @example
137
- * const [runMenuActionMutation, { data, loading, error }] = useRunMenuActionMutation({
138
- * variables: {
139
- * argument: // value for 'argument'
140
- * },
141
- * });
142
- */
143
- function useRunMenuActionMutation(baseOptions) {
144
- const options = { ...defaultOptions, ...baseOptions };
145
- return Apollo.useMutation(RunMenuActionDocument, options);
146
- }
147
- 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" } }] }] } }] };
148
- /**
149
- * __useHideContextMenuMutation__
150
- *
151
- * To run a mutation, you first call `useHideContextMenuMutation` within a React component and pass it any options that fit your needs.
152
- * When your component renders, `useHideContextMenuMutation` returns a tuple that includes:
153
- * - A mutate function that you can call at any time to execute the mutation
154
- * - An object with fields that represent the current status of the mutation's execution
155
- *
156
- * @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;
157
- *
158
- * @example
159
- * const [hideContextMenuMutation, { data, loading, error }] = useHideContextMenuMutation({
160
- * variables: {
161
- * },
162
- * });
163
- */
164
- function useHideContextMenuMutation(baseOptions) {
165
- const options = { ...defaultOptions, ...baseOptions };
166
- return Apollo.useMutation(HideContextMenuDocument, options);
167
- }
168
- 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" } }] }] } }] };
169
- /**
170
- * __useShowContextMenuMutation__
171
- *
172
- * To run a mutation, you first call `useShowContextMenuMutation` within a React component and pass it any options that fit your needs.
173
- * When your component renders, `useShowContextMenuMutation` returns a tuple that includes:
174
- * - A mutate function that you can call at any time to execute the mutation
175
- * - An object with fields that represent the current status of the mutation's execution
176
- *
177
- * @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;
178
- *
179
- * @example
180
- * const [showContextMenuMutation, { data, loading, error }] = useShowContextMenuMutation({
181
- * variables: {
182
- * delegate: // value for 'delegate'
183
- * },
184
- * });
185
- */
186
- function useShowContextMenuMutation(baseOptions) {
187
- const options = { ...defaultOptions, ...baseOptions };
188
- return Apollo.useMutation(ShowContextMenuDocument, options);
189
- }
190
- 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" } }] } }] } }] };
191
- /**
192
- * __useInstallMutation__
193
- *
194
- * To run a mutation, you first call `useInstallMutation` within a React component and pass it any options that fit your needs.
195
- * When your component renders, `useInstallMutation` returns a tuple that includes:
196
- * - A mutate function that you can call at any time to execute the mutation
197
- * - An object with fields that represent the current status of the mutation's execution
198
- *
199
- * @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;
200
- *
201
- * @example
202
- * const [installMutation, { data, loading, error }] = useInstallMutation({
203
- * variables: {
204
- * vsix: // value for 'vsix'
205
- * },
206
- * });
207
- */
208
- function useInstallMutation(baseOptions) {
209
- const options = { ...defaultOptions, ...baseOptions };
210
- return Apollo.useMutation(InstallDocument, options);
211
- }
212
- 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" } }] }] } }] };
213
- /**
214
- * __useProviderDefinitionMutation__
215
- *
216
- * To run a mutation, you first call `useProviderDefinitionMutation` within a React component and pass it any options that fit your needs.
217
- * When your component renders, `useProviderDefinitionMutation` returns a tuple that includes:
218
- * - A mutate function that you can call at any time to execute the mutation
219
- * - An object with fields that represent the current status of the mutation's execution
220
- *
221
- * @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;
222
- *
223
- * @example
224
- * const [providerDefinitionMutation, { data, loading, error }] = useProviderDefinitionMutation({
225
- * variables: {
226
- * params: // value for 'params'
227
- * },
228
- * });
229
- */
230
- function useProviderDefinitionMutation(baseOptions) {
231
- const options = { ...defaultOptions, ...baseOptions };
232
- return Apollo.useMutation(ProviderDefinitionDocument, options);
233
- }
234
- 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" } } }] }] } }] };
235
- /**
236
- * __useRemoveMutation__
237
- *
238
- * To run a mutation, you first call `useRemoveMutation` within a React component and pass it any options that fit your needs.
239
- * When your component renders, `useRemoveMutation` returns a tuple that includes:
240
- * - A mutate function that you can call at any time to execute the mutation
241
- * - An object with fields that represent the current status of the mutation's execution
242
- *
243
- * @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;
244
- *
245
- * @example
246
- * const [removeMutation, { data, loading, error }] = useRemoveMutation({
247
- * variables: {
248
- * id: // value for 'id'
249
- * },
250
- * });
251
- */
252
- function useRemoveMutation(baseOptions) {
253
- const options = { ...defaultOptions, ...baseOptions };
254
- return Apollo.useMutation(RemoveDocument, options);
255
- }
256
- 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" } }] } }] } }] } }] } }] };
257
- /**
258
- * __useContextMenuQuery__
259
- *
260
- * To run a query within a React component, call `useContextMenuQuery` and pass it any options that fit your needs.
261
- * When your component renders, `useContextMenuQuery` returns an object from Apollo Client that contains loading, error, and data properties
262
- * you can use to render your UI.
263
- *
264
- * @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;
265
- *
266
- * @example
267
- * const { data, loading, error } = useContextMenuQuery({
268
- * variables: {
269
- * },
270
- * });
271
- */
272
- function useContextMenuQuery(baseOptions) {
273
- const options = { ...defaultOptions, ...baseOptions };
274
- return Apollo.useQuery(ContextMenuDocument, options);
275
- }
276
- function useContextMenuLazyQuery(baseOptions) {
277
- const options = { ...defaultOptions, ...baseOptions };
278
- return Apollo.useLazyQuery(ContextMenuDocument, options);
279
- }
280
- function useContextMenuSuspenseQuery(baseOptions) {
281
- const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
282
- return Apollo.useSuspenseQuery(ContextMenuDocument, options);
283
- }
284
- 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" } }] } }] } }] } }] };
285
- /**
286
- * __useGalleryExtensionQuery__
287
- *
288
- * To run a query within a React component, call `useGalleryExtensionQuery` and pass it any options that fit your needs.
289
- * When your component renders, `useGalleryExtensionQuery` returns an object from Apollo Client that contains loading, error, and data properties
290
- * you can use to render your UI.
291
- *
292
- * @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;
293
- *
294
- * @example
295
- * const { data, loading, error } = useGalleryExtensionQuery({
296
- * variables: {
297
- * extensionID: // value for 'extensionID'
298
- * },
299
- * });
300
- */
301
- function useGalleryExtensionQuery(baseOptions) {
302
- const options = { ...defaultOptions, ...baseOptions };
303
- return Apollo.useQuery(GalleryExtensionDocument, options);
304
- }
305
- function useGalleryExtensionLazyQuery(baseOptions) {
306
- const options = { ...defaultOptions, ...baseOptions };
307
- return Apollo.useLazyQuery(GalleryExtensionDocument, options);
308
- }
309
- function useGalleryExtensionSuspenseQuery(baseOptions) {
310
- const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
311
- return Apollo.useSuspenseQuery(GalleryExtensionDocument, options);
312
- }
313
- 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" } }] } }] } }] } }] } }] };
314
- /**
315
- * __useExtensionsByLimitQuery__
316
- *
317
- * To run a query within a React component, call `useExtensionsByLimitQuery` and pass it any options that fit your needs.
318
- * When your component renders, `useExtensionsByLimitQuery` returns an object from Apollo Client that contains loading, error, and data properties
319
- * you can use to render your UI.
320
- *
321
- * @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;
322
- *
323
- * @example
324
- * const { data, loading, error } = useExtensionsByLimitQuery({
325
- * variables: {
326
- * first: // value for 'first'
327
- * prioritizeExtensionIDs: // value for 'prioritizeExtensionIDs'
328
- * },
329
- * });
330
- */
331
- function useExtensionsByLimitQuery(baseOptions) {
332
- const options = { ...defaultOptions, ...baseOptions };
333
- return Apollo.useQuery(ExtensionsByLimitDocument, options);
334
- }
335
- function useExtensionsByLimitLazyQuery(baseOptions) {
336
- const options = { ...defaultOptions, ...baseOptions };
337
- return Apollo.useLazyQuery(ExtensionsByLimitDocument, options);
338
- }
339
- function useExtensionsByLimitSuspenseQuery(baseOptions) {
340
- const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
341
- return Apollo.useSuspenseQuery(ExtensionsByLimitDocument, options);
342
- }
343
- 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" } }] } }] } }] } }] } }] } }] };
344
- /**
345
- * __useGalleryQuery__
346
- *
347
- * To run a query within a React component, call `useGalleryQuery` and pass it any options that fit your needs.
348
- * When your component renders, `useGalleryQuery` returns an object from Apollo Client that contains loading, error, and data properties
349
- * you can use to render your UI.
350
- *
351
- * @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;
352
- *
353
- * @example
354
- * const { data, loading, error } = useGalleryQuery({
355
- * variables: {
356
- * query: // value for 'query'
357
- * },
358
- * });
359
- */
360
- function useGalleryQuery(baseOptions) {
361
- const options = { ...defaultOptions, ...baseOptions };
362
- return Apollo.useQuery(GalleryDocument, options);
363
- }
364
- function useGalleryLazyQuery(baseOptions) {
365
- const options = { ...defaultOptions, ...baseOptions };
366
- return Apollo.useLazyQuery(GalleryDocument, options);
367
- }
368
- function useGallerySuspenseQuery(baseOptions) {
369
- const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
370
- return Apollo.useSuspenseQuery(GalleryDocument, options);
371
- }
372
- 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" } }] } }] } }] } }] };
373
- /**
374
- * __useInstalledExtensionsQuery__
375
- *
376
- * To run a query within a React component, call `useInstalledExtensionsQuery` and pass it any options that fit your needs.
377
- * When your component renders, `useInstalledExtensionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
378
- * you can use to render your UI.
379
- *
380
- * @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;
381
- *
382
- * @example
383
- * const { data, loading, error } = useInstalledExtensionsQuery({
384
- * variables: {
385
- * },
386
- * });
387
- */
388
- function useInstalledExtensionsQuery(baseOptions) {
389
- const options = { ...defaultOptions, ...baseOptions };
390
- return Apollo.useQuery(InstalledExtensionsDocument, options);
391
- }
392
- function useInstalledExtensionsLazyQuery(baseOptions) {
393
- const options = { ...defaultOptions, ...baseOptions };
394
- return Apollo.useLazyQuery(InstalledExtensionsDocument, options);
395
- }
396
- function useInstalledExtensionsSuspenseQuery(baseOptions) {
397
- const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
398
- return Apollo.useSuspenseQuery(InstalledExtensionsDocument, options);
399
- }
400
- 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" } }] } }] } }] } }] };
401
- /**
402
- * __useNotificationsQuery__
403
- *
404
- * To run a query within a React component, call `useNotificationsQuery` and pass it any options that fit your needs.
405
- * When your component renders, `useNotificationsQuery` returns an object from Apollo Client that contains loading, error, and data properties
406
- * you can use to render your UI.
407
- *
408
- * @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;
409
- *
410
- * @example
411
- * const { data, loading, error } = useNotificationsQuery({
412
- * variables: {
413
- * },
414
- * });
415
- */
416
- function useNotificationsQuery(baseOptions) {
417
- const options = { ...defaultOptions, ...baseOptions };
418
- return Apollo.useQuery(NotificationsDocument, options);
419
- }
420
- function useNotificationsLazyQuery(baseOptions) {
421
- const options = { ...defaultOptions, ...baseOptions };
422
- return Apollo.useLazyQuery(NotificationsDocument, options);
423
- }
424
- function useNotificationsSuspenseQuery(baseOptions) {
425
- const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
426
- return Apollo.useSuspenseQuery(NotificationsDocument, options);
427
- }
428
- 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" } }] }] } }] };
429
- /**
430
- * __useShowNotificationQuery__
431
- *
432
- * To run a query within a React component, call `useShowNotificationQuery` and pass it any options that fit your needs.
433
- * When your component renders, `useShowNotificationQuery` returns an object from Apollo Client that contains loading, error, and data properties
434
- * you can use to render your UI.
435
- *
436
- * @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;
437
- *
438
- * @example
439
- * const { data, loading, error } = useShowNotificationQuery({
440
- * variables: {
441
- * notification: // value for 'notification'
442
- * },
443
- * });
444
- */
445
- function useShowNotificationQuery(baseOptions) {
446
- const options = { ...defaultOptions, ...baseOptions };
447
- return Apollo.useQuery(ShowNotificationDocument, options);
448
- }
449
- function useShowNotificationLazyQuery(baseOptions) {
450
- const options = { ...defaultOptions, ...baseOptions };
451
- return Apollo.useLazyQuery(ShowNotificationDocument, options);
452
- }
453
- function useShowNotificationSuspenseQuery(baseOptions) {
454
- const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
455
- return Apollo.useSuspenseQuery(ShowNotificationDocument, options);
456
- }export{ContextMenuDocument,CopyDocument,ExtensionsByLimitDocument,GalleryDocument,GalleryExtensionDocument,HideContextMenuDocument,IClientContainerService,IEnvironmentSync,IExtensionKind,IExtensionType,IGraphqlCallType,IMailTemplateId,IMarkupKind,IMenuId,IMoleculerCronServiceName,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};