@adminide-stack/extension-api 6.0.1-alpha.0 → 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.
@@ -1,7 +1,8 @@
|
|
1
1
|
import { URI, UriComponents } from '@vscode-alt/monaco-editor/esm/vs/base/common/uri.js';
|
2
2
|
import { GraphQLResolveInfo, GraphQLScalarType, GraphQLScalarTypeConfig } from 'graphql';
|
3
3
|
import { MyContext } from '@adminide-stack/core';
|
4
|
-
import
|
4
|
+
import { DocumentNode } from 'graphql';
|
5
|
+
import * as Apollo from '@apollo/client';
|
5
6
|
export type Maybe<T> = T | null;
|
6
7
|
export type InputMaybe<T> = Maybe<T>;
|
7
8
|
export type Exact<T extends {
|
@@ -2163,7 +2164,8 @@ export type IShowNotificationQuery = {
|
|
2163
2164
|
__typename?: 'Query';
|
2164
2165
|
showNotification?: boolean | null;
|
2165
2166
|
};
|
2166
|
-
export declare const CopyDocument:
|
2167
|
+
export declare const CopyDocument: DocumentNode;
|
2168
|
+
export type ICopyMutationFn = Apollo.MutationFunction<ICopyMutation, ICopyMutationVariables>;
|
2167
2169
|
/**
|
2168
2170
|
* __useCopyMutation__
|
2169
2171
|
*
|
@@ -2187,7 +2189,8 @@ export declare function useCopyMutation(baseOptions?: Apollo.MutationHookOptions
|
|
2187
2189
|
export type CopyMutationHookResult = ReturnType<typeof useCopyMutation>;
|
2188
2190
|
export type CopyMutationResult = Apollo.MutationResult<ICopyMutation>;
|
2189
2191
|
export type CopyMutationOptions = Apollo.BaseMutationOptions<ICopyMutation, ICopyMutationVariables>;
|
2190
|
-
export declare const RunMenuActionDocument:
|
2192
|
+
export declare const RunMenuActionDocument: DocumentNode;
|
2193
|
+
export type IRunMenuActionMutationFn = Apollo.MutationFunction<IRunMenuActionMutation, IRunMenuActionMutationVariables>;
|
2191
2194
|
/**
|
2192
2195
|
* __useRunMenuActionMutation__
|
2193
2196
|
*
|
@@ -2211,7 +2214,8 @@ export declare function useRunMenuActionMutation(baseOptions?: Apollo.MutationHo
|
|
2211
2214
|
export type RunMenuActionMutationHookResult = ReturnType<typeof useRunMenuActionMutation>;
|
2212
2215
|
export type RunMenuActionMutationResult = Apollo.MutationResult<IRunMenuActionMutation>;
|
2213
2216
|
export type RunMenuActionMutationOptions = Apollo.BaseMutationOptions<IRunMenuActionMutation, IRunMenuActionMutationVariables>;
|
2214
|
-
export declare const HideContextMenuDocument:
|
2217
|
+
export declare const HideContextMenuDocument: DocumentNode;
|
2218
|
+
export type IHideContextMenuMutationFn = Apollo.MutationFunction<IHideContextMenuMutation, IHideContextMenuMutationVariables>;
|
2215
2219
|
/**
|
2216
2220
|
* __useHideContextMenuMutation__
|
2217
2221
|
*
|
@@ -2234,7 +2238,8 @@ export declare function useHideContextMenuMutation(baseOptions?: Apollo.Mutation
|
|
2234
2238
|
export type HideContextMenuMutationHookResult = ReturnType<typeof useHideContextMenuMutation>;
|
2235
2239
|
export type HideContextMenuMutationResult = Apollo.MutationResult<IHideContextMenuMutation>;
|
2236
2240
|
export type HideContextMenuMutationOptions = Apollo.BaseMutationOptions<IHideContextMenuMutation, IHideContextMenuMutationVariables>;
|
2237
|
-
export declare const ShowContextMenuDocument:
|
2241
|
+
export declare const ShowContextMenuDocument: DocumentNode;
|
2242
|
+
export type IShowContextMenuMutationFn = Apollo.MutationFunction<IShowContextMenuMutation, IShowContextMenuMutationVariables>;
|
2238
2243
|
/**
|
2239
2244
|
* __useShowContextMenuMutation__
|
2240
2245
|
*
|
@@ -2258,7 +2263,8 @@ export declare function useShowContextMenuMutation(baseOptions?: Apollo.Mutation
|
|
2258
2263
|
export type ShowContextMenuMutationHookResult = ReturnType<typeof useShowContextMenuMutation>;
|
2259
2264
|
export type ShowContextMenuMutationResult = Apollo.MutationResult<IShowContextMenuMutation>;
|
2260
2265
|
export type ShowContextMenuMutationOptions = Apollo.BaseMutationOptions<IShowContextMenuMutation, IShowContextMenuMutationVariables>;
|
2261
|
-
export declare const InstallDocument:
|
2266
|
+
export declare const InstallDocument: DocumentNode;
|
2267
|
+
export type IInstallMutationFn = Apollo.MutationFunction<IInstallMutation, IInstallMutationVariables>;
|
2262
2268
|
/**
|
2263
2269
|
* __useInstallMutation__
|
2264
2270
|
*
|
@@ -2282,7 +2288,8 @@ export declare function useInstallMutation(baseOptions?: Apollo.MutationHookOpti
|
|
2282
2288
|
export type InstallMutationHookResult = ReturnType<typeof useInstallMutation>;
|
2283
2289
|
export type InstallMutationResult = Apollo.MutationResult<IInstallMutation>;
|
2284
2290
|
export type InstallMutationOptions = Apollo.BaseMutationOptions<IInstallMutation, IInstallMutationVariables>;
|
2285
|
-
export declare const ProviderDefinitionDocument:
|
2291
|
+
export declare const ProviderDefinitionDocument: DocumentNode;
|
2292
|
+
export type IProviderDefinitionMutationFn = Apollo.MutationFunction<IProviderDefinitionMutation, IProviderDefinitionMutationVariables>;
|
2286
2293
|
/**
|
2287
2294
|
* __useProviderDefinitionMutation__
|
2288
2295
|
*
|
@@ -2306,7 +2313,8 @@ export declare function useProviderDefinitionMutation(baseOptions?: Apollo.Mutat
|
|
2306
2313
|
export type ProviderDefinitionMutationHookResult = ReturnType<typeof useProviderDefinitionMutation>;
|
2307
2314
|
export type ProviderDefinitionMutationResult = Apollo.MutationResult<IProviderDefinitionMutation>;
|
2308
2315
|
export type ProviderDefinitionMutationOptions = Apollo.BaseMutationOptions<IProviderDefinitionMutation, IProviderDefinitionMutationVariables>;
|
2309
|
-
export declare const RemoveDocument:
|
2316
|
+
export declare const RemoveDocument: DocumentNode;
|
2317
|
+
export type IRemoveMutationFn = Apollo.MutationFunction<IRemoveMutation, IRemoveMutationVariables>;
|
2310
2318
|
/**
|
2311
2319
|
* __useRemoveMutation__
|
2312
2320
|
*
|
@@ -2330,7 +2338,7 @@ export declare function useRemoveMutation(baseOptions?: Apollo.MutationHookOptio
|
|
2330
2338
|
export type RemoveMutationHookResult = ReturnType<typeof useRemoveMutation>;
|
2331
2339
|
export type RemoveMutationResult = Apollo.MutationResult<IRemoveMutation>;
|
2332
2340
|
export type RemoveMutationOptions = Apollo.BaseMutationOptions<IRemoveMutation, IRemoveMutationVariables>;
|
2333
|
-
export declare const ContextMenuDocument:
|
2341
|
+
export declare const ContextMenuDocument: DocumentNode;
|
2334
2342
|
/**
|
2335
2343
|
* __useContextMenuQuery__
|
2336
2344
|
*
|
@@ -2359,7 +2367,7 @@ export type ContextMenuQueryHookResult = ReturnType<typeof useContextMenuQuery>;
|
|
2359
2367
|
export type ContextMenuLazyQueryHookResult = ReturnType<typeof useContextMenuLazyQuery>;
|
2360
2368
|
export type ContextMenuSuspenseQueryHookResult = ReturnType<typeof useContextMenuSuspenseQuery>;
|
2361
2369
|
export type ContextMenuQueryResult = Apollo.QueryResult<IContextMenuQuery, IContextMenuQueryVariables>;
|
2362
|
-
export declare const GalleryExtensionDocument:
|
2370
|
+
export declare const GalleryExtensionDocument: DocumentNode;
|
2363
2371
|
/**
|
2364
2372
|
* __useGalleryExtensionQuery__
|
2365
2373
|
*
|
@@ -2394,7 +2402,7 @@ export type GalleryExtensionQueryHookResult = ReturnType<typeof useGalleryExtens
|
|
2394
2402
|
export type GalleryExtensionLazyQueryHookResult = ReturnType<typeof useGalleryExtensionLazyQuery>;
|
2395
2403
|
export type GalleryExtensionSuspenseQueryHookResult = ReturnType<typeof useGalleryExtensionSuspenseQuery>;
|
2396
2404
|
export type GalleryExtensionQueryResult = Apollo.QueryResult<IGalleryExtensionQuery, IGalleryExtensionQueryVariables>;
|
2397
|
-
export declare const ExtensionsByLimitDocument:
|
2405
|
+
export declare const ExtensionsByLimitDocument: DocumentNode;
|
2398
2406
|
/**
|
2399
2407
|
* __useExtensionsByLimitQuery__
|
2400
2408
|
*
|
@@ -2433,7 +2441,7 @@ export type ExtensionsByLimitQueryHookResult = ReturnType<typeof useExtensionsBy
|
|
2433
2441
|
export type ExtensionsByLimitLazyQueryHookResult = ReturnType<typeof useExtensionsByLimitLazyQuery>;
|
2434
2442
|
export type ExtensionsByLimitSuspenseQueryHookResult = ReturnType<typeof useExtensionsByLimitSuspenseQuery>;
|
2435
2443
|
export type ExtensionsByLimitQueryResult = Apollo.QueryResult<IExtensionsByLimitQuery, IExtensionsByLimitQueryVariables>;
|
2436
|
-
export declare const GalleryDocument:
|
2444
|
+
export declare const GalleryDocument: DocumentNode;
|
2437
2445
|
/**
|
2438
2446
|
* __useGalleryQuery__
|
2439
2447
|
*
|
@@ -2463,7 +2471,7 @@ export type GalleryQueryHookResult = ReturnType<typeof useGalleryQuery>;
|
|
2463
2471
|
export type GalleryLazyQueryHookResult = ReturnType<typeof useGalleryLazyQuery>;
|
2464
2472
|
export type GallerySuspenseQueryHookResult = ReturnType<typeof useGallerySuspenseQuery>;
|
2465
2473
|
export type GalleryQueryResult = Apollo.QueryResult<IGalleryQuery, IGalleryQueryVariables>;
|
2466
|
-
export declare const InstalledExtensionsDocument:
|
2474
|
+
export declare const InstalledExtensionsDocument: DocumentNode;
|
2467
2475
|
/**
|
2468
2476
|
* __useInstalledExtensionsQuery__
|
2469
2477
|
*
|
@@ -2492,7 +2500,7 @@ export type InstalledExtensionsQueryHookResult = ReturnType<typeof useInstalledE
|
|
2492
2500
|
export type InstalledExtensionsLazyQueryHookResult = ReturnType<typeof useInstalledExtensionsLazyQuery>;
|
2493
2501
|
export type InstalledExtensionsSuspenseQueryHookResult = ReturnType<typeof useInstalledExtensionsSuspenseQuery>;
|
2494
2502
|
export type InstalledExtensionsQueryResult = Apollo.QueryResult<IInstalledExtensionsQuery, IInstalledExtensionsQueryVariables>;
|
2495
|
-
export declare const NotificationsDocument:
|
2503
|
+
export declare const NotificationsDocument: DocumentNode;
|
2496
2504
|
/**
|
2497
2505
|
* __useNotificationsQuery__
|
2498
2506
|
*
|
@@ -2521,7 +2529,7 @@ export type NotificationsQueryHookResult = ReturnType<typeof useNotificationsQue
|
|
2521
2529
|
export type NotificationsLazyQueryHookResult = ReturnType<typeof useNotificationsLazyQuery>;
|
2522
2530
|
export type NotificationsSuspenseQueryHookResult = ReturnType<typeof useNotificationsSuspenseQuery>;
|
2523
2531
|
export type NotificationsQueryResult = Apollo.QueryResult<INotificationsQuery, INotificationsQueryVariables>;
|
2524
|
-
export declare const ShowNotificationDocument:
|
2532
|
+
export declare const ShowNotificationDocument: DocumentNode;
|
2525
2533
|
/**
|
2526
2534
|
* __useShowNotificationQuery__
|
2527
2535
|
*
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import*as Apollo from'@apollo/client
|
1
|
+
import*as Apollo from'@apollo/client';const defaultOptions = {};
|
2
2
|
var ICacheControlScope;
|
3
3
|
(function (ICacheControlScope) {
|
4
4
|
ICacheControlScope["Private"] = "PRIVATE";
|
@@ -97,11 +97,7 @@ var ISortEnum;
|
|
97
97
|
ISortEnum["Asc"] = "ASC";
|
98
98
|
ISortEnum["Desc"] = "DESC";
|
99
99
|
})(ISortEnum || (ISortEnum = {}));
|
100
|
-
const CopyDocument =
|
101
|
-
mutation Copy($value: String) {
|
102
|
-
copy(value: $value) @client
|
103
|
-
}
|
104
|
-
`;
|
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" } }] }] } }] };
|
105
101
|
/**
|
106
102
|
* __useCopyMutation__
|
107
103
|
*
|
@@ -123,11 +119,7 @@ function useCopyMutation(baseOptions) {
|
|
123
119
|
const options = { ...defaultOptions, ...baseOptions };
|
124
120
|
return Apollo.useMutation(CopyDocument, options);
|
125
121
|
}
|
126
|
-
const RunMenuActionDocument =
|
127
|
-
mutation RunMenuAction($argument: ContributionActionRunInput) {
|
128
|
-
runMenuAction(argument: $argument) @client
|
129
|
-
}
|
130
|
-
`;
|
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" } }] }] } }] };
|
131
123
|
/**
|
132
124
|
* __useRunMenuActionMutation__
|
133
125
|
*
|
@@ -149,11 +141,7 @@ function useRunMenuActionMutation(baseOptions) {
|
|
149
141
|
const options = { ...defaultOptions, ...baseOptions };
|
150
142
|
return Apollo.useMutation(RunMenuActionDocument, options);
|
151
143
|
}
|
152
|
-
const HideContextMenuDocument =
|
153
|
-
mutation HideContextMenu {
|
154
|
-
hideContextMenu @client
|
155
|
-
}
|
156
|
-
`;
|
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" } }] }] } }] };
|
157
145
|
/**
|
158
146
|
* __useHideContextMenuMutation__
|
159
147
|
*
|
@@ -174,11 +162,7 @@ function useHideContextMenuMutation(baseOptions) {
|
|
174
162
|
const options = { ...defaultOptions, ...baseOptions };
|
175
163
|
return Apollo.useMutation(HideContextMenuDocument, options);
|
176
164
|
}
|
177
|
-
const ShowContextMenuDocument =
|
178
|
-
mutation ShowContextMenu($delegate: ContextMenuInput) {
|
179
|
-
showContextMenu(delegate: $delegate) @client
|
180
|
-
}
|
181
|
-
`;
|
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" } }] }] } }] };
|
182
166
|
/**
|
183
167
|
* __useShowContextMenuMutation__
|
184
168
|
*
|
@@ -200,14 +184,7 @@ function useShowContextMenuMutation(baseOptions) {
|
|
200
184
|
const options = { ...defaultOptions, ...baseOptions };
|
201
185
|
return Apollo.useMutation(ShowContextMenuDocument, options);
|
202
186
|
}
|
203
|
-
const InstallDocument =
|
204
|
-
mutation install($vsix: String!) {
|
205
|
-
install(vsix: $vsix) {
|
206
|
-
id
|
207
|
-
uuid
|
208
|
-
}
|
209
|
-
}
|
210
|
-
`;
|
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" } }] } }] } }] };
|
211
188
|
/**
|
212
189
|
* __useInstallMutation__
|
213
190
|
*
|
@@ -229,11 +206,7 @@ function useInstallMutation(baseOptions) {
|
|
229
206
|
const options = { ...defaultOptions, ...baseOptions };
|
230
207
|
return Apollo.useMutation(InstallDocument, options);
|
231
208
|
}
|
232
|
-
const ProviderDefinitionDocument =
|
233
|
-
mutation providerDefinition($params: TextDocumentPositionParamsInput) {
|
234
|
-
hoverProviderDefinition(params: $params) @client
|
235
|
-
}
|
236
|
-
`;
|
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" } }] }] } }] };
|
237
210
|
/**
|
238
211
|
* __useProviderDefinitionMutation__
|
239
212
|
*
|
@@ -255,11 +228,7 @@ function useProviderDefinitionMutation(baseOptions) {
|
|
255
228
|
const options = { ...defaultOptions, ...baseOptions };
|
256
229
|
return Apollo.useMutation(ProviderDefinitionDocument, options);
|
257
230
|
}
|
258
|
-
const RemoveDocument =
|
259
|
-
mutation remove($id: String!) {
|
260
|
-
removeExtension(id: $id)
|
261
|
-
}
|
262
|
-
`;
|
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" } } }] }] } }] };
|
263
232
|
/**
|
264
233
|
* __useRemoveMutation__
|
265
234
|
*
|
@@ -281,30 +250,7 @@ function useRemoveMutation(baseOptions) {
|
|
281
250
|
const options = { ...defaultOptions, ...baseOptions };
|
282
251
|
return Apollo.useMutation(RemoveDocument, options);
|
283
252
|
}
|
284
|
-
const ContextMenuDocument =
|
285
|
-
query ContextMenu {
|
286
|
-
contextMenu @client {
|
287
|
-
id
|
288
|
-
isShow
|
289
|
-
anchor {
|
290
|
-
x
|
291
|
-
y
|
292
|
-
height
|
293
|
-
width
|
294
|
-
}
|
295
|
-
menuItems {
|
296
|
-
id
|
297
|
-
label
|
298
|
-
enabled
|
299
|
-
run {
|
300
|
-
type
|
301
|
-
document
|
302
|
-
variables
|
303
|
-
}
|
304
|
-
}
|
305
|
-
}
|
306
|
-
}
|
307
|
-
`;
|
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" } }] } }] } }] } }] } }] };
|
308
254
|
/**
|
309
255
|
* __useContextMenuQuery__
|
310
256
|
*
|
@@ -332,35 +278,7 @@ function useContextMenuSuspenseQuery(baseOptions) {
|
|
332
278
|
const options = { ...defaultOptions, ...baseOptions };
|
333
279
|
return Apollo.useSuspenseQuery(ContextMenuDocument, options);
|
334
280
|
}
|
335
|
-
const GalleryExtensionDocument =
|
336
|
-
query galleryExtension($extensionID: String!) {
|
337
|
-
galleryExtension(extensionID: $extensionID) {
|
338
|
-
id
|
339
|
-
name
|
340
|
-
icon
|
341
|
-
version
|
342
|
-
description
|
343
|
-
publisher
|
344
|
-
installCount
|
345
|
-
publisherDisplayName
|
346
|
-
rating
|
347
|
-
ratingCount
|
348
|
-
displayName
|
349
|
-
assets {
|
350
|
-
download {
|
351
|
-
uri
|
352
|
-
fallbackUri
|
353
|
-
}
|
354
|
-
}
|
355
|
-
resources {
|
356
|
-
icon
|
357
|
-
readme
|
358
|
-
manifest
|
359
|
-
changelog
|
360
|
-
}
|
361
|
-
}
|
362
|
-
}
|
363
|
-
`;
|
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" } }] } }] } }] } }] };
|
364
282
|
/**
|
365
283
|
* __useGalleryExtensionQuery__
|
366
284
|
*
|
@@ -389,24 +307,7 @@ function useGalleryExtensionSuspenseQuery(baseOptions) {
|
|
389
307
|
const options = { ...defaultOptions, ...baseOptions };
|
390
308
|
return Apollo.useSuspenseQuery(GalleryExtensionDocument, options);
|
391
309
|
}
|
392
|
-
const ExtensionsByLimitDocument =
|
393
|
-
query ExtensionsByLimit($first: Int!, $prioritizeExtensionIDs: [String!]!) {
|
394
|
-
extensions(first: $first, prioritizeExtensionIDs: $prioritizeExtensionIDs) {
|
395
|
-
nodes {
|
396
|
-
id
|
397
|
-
url
|
398
|
-
extensionID
|
399
|
-
viewerCanAdminister
|
400
|
-
manifest {
|
401
|
-
bundleURL
|
402
|
-
raw
|
403
|
-
name
|
404
|
-
activationEvents
|
405
|
-
}
|
406
|
-
}
|
407
|
-
}
|
408
|
-
}
|
409
|
-
`;
|
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" } }] } }] } }] } }] } }] };
|
410
311
|
/**
|
411
312
|
* __useExtensionsByLimitQuery__
|
412
313
|
*
|
@@ -436,32 +337,7 @@ function useExtensionsByLimitSuspenseQuery(baseOptions) {
|
|
436
337
|
const options = { ...defaultOptions, ...baseOptions };
|
437
338
|
return Apollo.useSuspenseQuery(ExtensionsByLimitDocument, options);
|
438
339
|
}
|
439
|
-
const GalleryDocument =
|
440
|
-
query gallery($query: GalleryQueryInput) {
|
441
|
-
gallery(query: $query) {
|
442
|
-
page
|
443
|
-
firstPage {
|
444
|
-
id
|
445
|
-
name
|
446
|
-
icon
|
447
|
-
version
|
448
|
-
description
|
449
|
-
publisher
|
450
|
-
installCount
|
451
|
-
publisherDisplayName
|
452
|
-
rating
|
453
|
-
ratingCount
|
454
|
-
displayName
|
455
|
-
assets {
|
456
|
-
download {
|
457
|
-
uri
|
458
|
-
fallbackUri
|
459
|
-
}
|
460
|
-
}
|
461
|
-
}
|
462
|
-
}
|
463
|
-
}
|
464
|
-
`;
|
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" } }] } }] } }] } }] } }] } }] };
|
465
341
|
/**
|
466
342
|
* __useGalleryQuery__
|
467
343
|
*
|
@@ -490,34 +366,7 @@ function useGallerySuspenseQuery(baseOptions) {
|
|
490
366
|
const options = { ...defaultOptions, ...baseOptions };
|
491
367
|
return Apollo.useSuspenseQuery(GalleryDocument, options);
|
492
368
|
}
|
493
|
-
const InstalledExtensionsDocument =
|
494
|
-
query installedExtensions {
|
495
|
-
installed {
|
496
|
-
identifier {
|
497
|
-
id
|
498
|
-
uuid
|
499
|
-
}
|
500
|
-
galleryIdentifier {
|
501
|
-
id
|
502
|
-
uuid
|
503
|
-
}
|
504
|
-
extension {
|
505
|
-
name
|
506
|
-
id
|
507
|
-
icon
|
508
|
-
displayName
|
509
|
-
installCount
|
510
|
-
description
|
511
|
-
version
|
512
|
-
identifier {
|
513
|
-
id
|
514
|
-
uuid
|
515
|
-
}
|
516
|
-
publisherDisplayName
|
517
|
-
}
|
518
|
-
}
|
519
|
-
}
|
520
|
-
`;
|
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" } }] } }] } }] } }] };
|
521
370
|
/**
|
522
371
|
* __useInstalledExtensionsQuery__
|
523
372
|
*
|
@@ -545,48 +394,7 @@ function useInstalledExtensionsSuspenseQuery(baseOptions) {
|
|
545
394
|
const options = { ...defaultOptions, ...baseOptions };
|
546
395
|
return Apollo.useSuspenseQuery(InstalledExtensionsDocument, options);
|
547
396
|
}
|
548
|
-
const NotificationsDocument =
|
549
|
-
query Notifications {
|
550
|
-
notifications @client {
|
551
|
-
notifications {
|
552
|
-
index
|
553
|
-
severity
|
554
|
-
message
|
555
|
-
actions {
|
556
|
-
primary {
|
557
|
-
id
|
558
|
-
label
|
559
|
-
tooltip
|
560
|
-
class
|
561
|
-
enabled
|
562
|
-
checked
|
563
|
-
radio
|
564
|
-
run {
|
565
|
-
type
|
566
|
-
document
|
567
|
-
variables
|
568
|
-
}
|
569
|
-
}
|
570
|
-
secondary {
|
571
|
-
id
|
572
|
-
label
|
573
|
-
tooltip
|
574
|
-
class
|
575
|
-
enabled
|
576
|
-
checked
|
577
|
-
radio
|
578
|
-
run {
|
579
|
-
type
|
580
|
-
document
|
581
|
-
variables
|
582
|
-
}
|
583
|
-
}
|
584
|
-
}
|
585
|
-
sticky
|
586
|
-
}
|
587
|
-
}
|
588
|
-
}
|
589
|
-
`;
|
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" } }] } }] } }] } }] };
|
590
398
|
/**
|
591
399
|
* __useNotificationsQuery__
|
592
400
|
*
|
@@ -614,11 +422,7 @@ function useNotificationsSuspenseQuery(baseOptions) {
|
|
614
422
|
const options = { ...defaultOptions, ...baseOptions };
|
615
423
|
return Apollo.useSuspenseQuery(NotificationsDocument, options);
|
616
424
|
}
|
617
|
-
const ShowNotificationDocument =
|
618
|
-
query showNotification($notification: NotificationInput) {
|
619
|
-
showNotification(notification: $notification) @client
|
620
|
-
}
|
621
|
-
`;
|
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" } }] }] } }] };
|
622
426
|
/**
|
623
427
|
* __useShowNotificationQuery__
|
624
428
|
*
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@adminide-stack/extension-api",
|
3
|
-
"version": "6.0.
|
3
|
+
"version": "6.0.2-alpha.0",
|
4
4
|
"description": "Workbench core for higher packages to depend on",
|
5
5
|
"license": "ISC",
|
6
6
|
"author": "CDMBase LLC",
|
@@ -37,10 +37,10 @@
|
|
37
37
|
}
|
38
38
|
},
|
39
39
|
"dependencies": {
|
40
|
-
"@adminide-stack/core": "6.0.
|
40
|
+
"@adminide-stack/core": "6.0.2-alpha.0",
|
41
41
|
"abort-controller": "^2.0.0",
|
42
42
|
"abortable-rx": "^1.0.9",
|
43
|
-
"cdeops": "
|
43
|
+
"cdeops": "3.1.2-alpha.0",
|
44
44
|
"queueing-subject": "0.3.4",
|
45
45
|
"utility-types": "^3.10.0",
|
46
46
|
"valid-url": "1.0.9"
|
@@ -58,5 +58,5 @@
|
|
58
58
|
"typescript": {
|
59
59
|
"definition": "lib/index.d.ts"
|
60
60
|
},
|
61
|
-
"gitHead": "
|
61
|
+
"gitHead": "46f1e10f1fd30b6cfa364493fcf7f53c9bf7c475"
|
62
62
|
}
|