@adminide-stack/marketplace-module-server 5.0.1-alpha.0 → 5.0.1-alpha.8
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/constants/index.d.ts +1 -0
- package/lib/constants/index.d.ts.map +1 -0
- package/lib/constants/types.d.ts +1 -0
- package/lib/constants/types.d.ts.map +1 -0
- package/lib/constants/types.js +5 -0
- package/lib/containers/index.d.ts +1 -0
- package/lib/containers/index.d.ts.map +1 -0
- package/lib/containers/module.d.ts +1 -0
- package/lib/containers/module.d.ts.map +1 -0
- package/lib/containers/module.js +13 -0
- package/lib/graphql/resolvers/index.d.ts +1 -0
- package/lib/graphql/resolvers/index.d.ts.map +1 -0
- package/lib/graphql/resolvers/resolvers.d.ts +1 -0
- package/lib/graphql/resolvers/resolvers.d.ts.map +1 -0
- package/lib/graphql/resolvers/resolvers.js +140 -0
- package/lib/graphql/schemas/index.d.ts +1 -0
- package/lib/graphql/schemas/index.d.ts.map +1 -0
- package/lib/graphql/schemas/schema.graphql.js +2 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +1 -935
- package/lib/interfaces/index.d.ts +1 -0
- package/lib/interfaces/index.d.ts.map +1 -0
- package/lib/interfaces/registry-extension-repository.d.ts +1 -0
- package/lib/interfaces/registry-extension-repository.d.ts.map +1 -0
- package/lib/interfaces/registry-extension-service.d.ts +1 -0
- package/lib/interfaces/registry-extension-service.d.ts.map +1 -0
- package/lib/middleware/extension-middleware.d.ts +21 -0
- package/lib/middleware/extension-middleware.d.ts.map +1 -0
- package/lib/model.d.ts +981 -0
- package/lib/model.d.ts.map +1 -0
- package/lib/module.d.ts +1 -0
- package/lib/module.d.ts.map +1 -0
- package/lib/module.js +26 -0
- package/lib/services/extension-service.d.ts +1 -0
- package/lib/services/extension-service.d.ts.map +1 -0
- package/lib/services/extension-service.js +36 -0
- package/lib/services/index.d.ts +1 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/store/index.d.ts +1 -0
- package/lib/store/index.d.ts.map +1 -0
- package/lib/store/models/index.d.ts +1 -0
- package/lib/store/models/index.d.ts.map +1 -0
- package/lib/store/models/registry-extension-model.d.ts +1 -0
- package/lib/store/models/registry-extension-model.d.ts.map +1 -0
- package/lib/store/models/registry-extension-model.js +35 -0
- package/lib/store/repository/index.d.ts +1 -0
- package/lib/store/repository/index.d.ts.map +1 -0
- package/lib/store/repository/registry-extension-repository.d.ts +1 -0
- package/lib/store/repository/registry-extension-repository.d.ts.map +1 -0
- package/lib/store/repository/registry-extension-repository.js +99 -0
- package/package.json +5 -5
- package/lib/index.js.map +0 -1
package/lib/model.d.ts
ADDED
@@ -0,0 +1,981 @@
|
|
1
|
+
export type Maybe<T> = T | null;
|
2
|
+
/** All built-in and custom scalars, mapped to their actual values */
|
3
|
+
export type Scalars = {
|
4
|
+
ID: string;
|
5
|
+
String: string;
|
6
|
+
Boolean: boolean;
|
7
|
+
Int: number;
|
8
|
+
Float: number;
|
9
|
+
AnyObject: any;
|
10
|
+
JSON: any;
|
11
|
+
JSONObject: any;
|
12
|
+
};
|
13
|
+
export type ActionItem = {
|
14
|
+
__typename?: "ActionItem";
|
15
|
+
label?: Maybe<Scalars["String"]>;
|
16
|
+
description?: Maybe<Scalars["String"]>;
|
17
|
+
};
|
18
|
+
export type Actions = {
|
19
|
+
__typename?: "Actions";
|
20
|
+
id?: Maybe<Scalars["String"]>;
|
21
|
+
command?: Maybe<Scalars["String"]>;
|
22
|
+
title?: Maybe<Scalars["String"]>;
|
23
|
+
category?: Maybe<Scalars["String"]>;
|
24
|
+
actionItem?: Maybe<ActionItem>;
|
25
|
+
};
|
26
|
+
export type Assets = {
|
27
|
+
__typename?: "Assets";
|
28
|
+
Type?: Maybe<Scalars["String"]>;
|
29
|
+
Content?: Maybe<Scalars["String"]>;
|
30
|
+
};
|
31
|
+
export type Author = {
|
32
|
+
__typename?: "Author";
|
33
|
+
name?: Maybe<Scalars["String"]>;
|
34
|
+
};
|
35
|
+
export type Bundles = {
|
36
|
+
__typename?: "Bundles";
|
37
|
+
server?: Maybe<Scalars["String"]>;
|
38
|
+
browser?: Maybe<Scalars["String"]>;
|
39
|
+
};
|
40
|
+
/** @deprecated use IExtensionContributions */
|
41
|
+
export type Contributes = {
|
42
|
+
__typename?: "Contributes";
|
43
|
+
menus?: Maybe<Menus>;
|
44
|
+
actions?: Maybe<Array<Maybe<Actions>>>;
|
45
|
+
};
|
46
|
+
/** A CDECode product documentation page. */
|
47
|
+
export type DocSitePage = {
|
48
|
+
__typename?: "DocSitePage";
|
49
|
+
/** The title of this page. */
|
50
|
+
title: Scalars["String"];
|
51
|
+
/** The content, as Markdown-rendered HTML. */
|
52
|
+
contentHTML: Scalars["String"];
|
53
|
+
/** The page index, as rendered HTML. */
|
54
|
+
indexHTML: Scalars["String"];
|
55
|
+
/** The filename of the file containing this page's content. */
|
56
|
+
filePath: Scalars["String"];
|
57
|
+
};
|
58
|
+
export type EmptyResponse = {
|
59
|
+
__typename?: "EmptyResponse";
|
60
|
+
alwaysNil?: Maybe<Scalars["String"]>;
|
61
|
+
};
|
62
|
+
export type Engines = {
|
63
|
+
__typename?: "Engines";
|
64
|
+
node?: Maybe<Scalars["String"]>;
|
65
|
+
vscode?: Maybe<Scalars["String"]>;
|
66
|
+
};
|
67
|
+
export type Extension = {
|
68
|
+
__typename?: "Extension";
|
69
|
+
type?: Maybe<Scalars["String"]>;
|
70
|
+
};
|
71
|
+
export type ExtensionManifest = {
|
72
|
+
__typename?: "ExtensionManifest";
|
73
|
+
/** The name of the extension - should be all lowercase with no spaces */
|
74
|
+
name: Scalars["String"];
|
75
|
+
/** SemVer compatible version. */
|
76
|
+
version: Scalars["String"];
|
77
|
+
/** The entry point to your extension */
|
78
|
+
main?: Maybe<Scalars["String"]>;
|
79
|
+
type?: Maybe<Scalars["String"]>;
|
80
|
+
/** Array of approved badges to display in the sidebar of the Marketplace's
|
81
|
+
* extension page. Each badge is an object containing 3 properties: url for the
|
82
|
+
* badge's image URL, href for the link users will follow when clicking the badge
|
83
|
+
* and description.
|
84
|
+
*/
|
85
|
+
badges?: Maybe<Scalars["String"]>;
|
86
|
+
/** Sets the extension to be flagged as a Preview in the Marketplace. */
|
87
|
+
preview?: Maybe<Scalars["Boolean"]>;
|
88
|
+
/** An array of keywords to make it easier to find the extension. These are
|
89
|
+
* included with other extension Tags on the Marketplace. This list is currently
|
90
|
+
* limited to 5 keywords.
|
91
|
+
*/
|
92
|
+
keywords?: Maybe<Scalars["String"]>;
|
93
|
+
/** Refer to npm's documentation. If you do have a LICENSE file in the root of
|
94
|
+
* your extension, the value for license should be "SEE LICENSE IN <filename>".
|
95
|
+
*/
|
96
|
+
license?: Maybe<Scalars["String"]>;
|
97
|
+
homepage?: Maybe<Scalars["String"]>;
|
98
|
+
/** The publisher name */
|
99
|
+
publisher: Scalars["String"];
|
100
|
+
/** the categories you want to use for the extensions allowed values: [Programming
|
101
|
+
* Languages, Snippets, Linters, Themes, Debuggers, Formatters, Keymaps, SCM
|
102
|
+
* Providers, Other, Extension Packs, Language Packs]
|
103
|
+
*/
|
104
|
+
categories?: Maybe<Scalars["String"]>;
|
105
|
+
/** A short description of what your extension is and does. */
|
106
|
+
description?: Maybe<Scalars["String"]>;
|
107
|
+
extensionID?: Maybe<Scalars["String"]>;
|
108
|
+
/** The display name for the extension used in the Marketplace. */
|
109
|
+
displayName?: Maybe<Scalars["String"]>;
|
110
|
+
/** Any runtime Node.js dependencies your extensions needs. Exactly the same as npm's dependencies. */
|
111
|
+
dependencies?: Maybe<Scalars["String"]>;
|
112
|
+
/** Any development Node.js dependencies your extension needs. Exactly the same as npm's devDependencies. */
|
113
|
+
devDependencies?: Maybe<Scalars["String"]>;
|
114
|
+
/** An array with the ids of extensions bundled with this extension. These other
|
115
|
+
* extensions will be installed when the primary extension is installed. The id
|
116
|
+
* of an extension is always ${publisher}.${name}. For example: vscode.csharp.
|
117
|
+
*/
|
118
|
+
extensionPack?: Maybe<Array<Maybe<Scalars["String"]>>>;
|
119
|
+
/** An extension can be of 'ui' | 'workspace' */
|
120
|
+
extensionKind?: Maybe<IextensionKind>;
|
121
|
+
/** An array with the ids of extensions that this extension depends on. These
|
122
|
+
* other extensions will be installed when the primary extension is installed.
|
123
|
+
* The id of an extension is always ${publisher}.${name}. For example:
|
124
|
+
* vscode.csharp.
|
125
|
+
*/
|
126
|
+
extensionDependencies?: Maybe<Array<Maybe<Scalars["String"]>>>;
|
127
|
+
bundle?: Maybe<Scalars["String"]>;
|
128
|
+
assets?: Maybe<Array<Maybe<Assets>>>;
|
129
|
+
/** Exactly the same as npm's scripts but with extra VS Code specific fields such as vscode:prepublish or vscode:uninstall. */
|
130
|
+
scripts?: Maybe<Scripts>;
|
131
|
+
bundles?: Maybe<Bundles>;
|
132
|
+
extension?: Maybe<Extension>;
|
133
|
+
/** An object containing at least the vscode key matching
|
134
|
+
* the versions of VS Code that the extension
|
135
|
+
* is compatible with. Cannot be *.
|
136
|
+
* For example: ^0.10.5 indicates compatibility with a minimum VS Code version of 0.10.5.
|
137
|
+
*/
|
138
|
+
engines: Engines;
|
139
|
+
/** Controls the Markdown rendering engine used in the Marketplace. Either github (default) or standard. */
|
140
|
+
makrdown?: Maybe<Scalars["String"]>;
|
141
|
+
/** Controls the Q & A link in the Marketplace. Set to marketplace to enable the
|
142
|
+
* default Marketplace Q & A site. Set to a string to provide the URL of a custom
|
143
|
+
* Q & A site. Set to false to disable Q & A altogether.
|
144
|
+
*/
|
145
|
+
qna?: Maybe<Scalars["String"]>;
|
146
|
+
author?: Maybe<Author>;
|
147
|
+
/** Helps format the Marketplace header to match your icon. See details below. */
|
148
|
+
galleryBanner?: Maybe<GalleryBanner>;
|
149
|
+
/** An array of the activation events for this extension. */
|
150
|
+
activationEvents?: Maybe<Array<Maybe<Scalars["String"]>>>;
|
151
|
+
/** An object describing the extension's contributions. */
|
152
|
+
contributes?: Maybe<Contributes>;
|
153
|
+
/** The path to the icon of at least 128x128 pixels (256x256 for Retina screens). */
|
154
|
+
icon?: Maybe<Scalars["String"]>;
|
155
|
+
/** Any development Node.js bugs reporting location of your extension.
|
156
|
+
* @example
|
157
|
+
* "bugs": {
|
158
|
+
* "url": "https://github.com/Microsoft/vscode-wordcount/issues",
|
159
|
+
* "email": "smcbreen@microsoft.com"
|
160
|
+
* },
|
161
|
+
*/
|
162
|
+
bugs?: Maybe<ExtensionManifestBugs>;
|
163
|
+
/** Any development Node.js repository location of your extension.
|
164
|
+
* @example
|
165
|
+
* "repository": {
|
166
|
+
* "type": "git",
|
167
|
+
* "url": "https://github.com/Microsoft/vscode-wordcount.git"
|
168
|
+
* }
|
169
|
+
*/
|
170
|
+
repository?: Maybe<ExtensionManifestRepository>;
|
171
|
+
/** To enable proposed Api's */
|
172
|
+
enableProposedApi?: Maybe<Scalars["Boolean"]>;
|
173
|
+
};
|
174
|
+
export type ExtensionManifestBugs = {
|
175
|
+
__typename?: "ExtensionManifestBugs";
|
176
|
+
url?: Maybe<Scalars["String"]>;
|
177
|
+
email?: Maybe<Scalars["String"]>;
|
178
|
+
};
|
179
|
+
export type ExtensionManifestRepository = {
|
180
|
+
__typename?: "ExtensionManifestRepository";
|
181
|
+
type?: Maybe<Scalars["String"]>;
|
182
|
+
url?: Maybe<Scalars["String"]>;
|
183
|
+
};
|
184
|
+
export type ExtensionRegistry = {
|
185
|
+
__typename?: "ExtensionRegistry";
|
186
|
+
/** Find an extension by its extension ID (which is the concatenation of the
|
187
|
+
* publisher naem, a slash ("/"), and the extension name).
|
188
|
+
*
|
189
|
+
* To find an extension by its GraphQL ID, use Query.node
|
190
|
+
* extension(extensionID: String!): RegistryExtension
|
191
|
+
* A list of extensions published in the extension registry.
|
192
|
+
*/
|
193
|
+
extensions: RegistryExtensionConnection;
|
194
|
+
/** List of extension releases */
|
195
|
+
releases?: Maybe<Array<Maybe<ExtensionRelease>>>;
|
196
|
+
/** A list of publishers with at least 1 extension in the registry. */
|
197
|
+
publishers: RegistryPublisherConnection;
|
198
|
+
/** A list of publishers that the viewer may publish extensions as. */
|
199
|
+
viewerPublishers: Array<RegistryPublisher>;
|
200
|
+
/** The extension ID prefix for extensions that are published in the local extension registry. This is the
|
201
|
+
* hostname ( and port, if non-default HTTP/HTTPS) of the CDEBase "appURL" site configuration property.
|
202
|
+
*
|
203
|
+
* It is null if extensions published on this CDEBase site do not have an extension ID prefix.
|
204
|
+
*
|
205
|
+
* Examples: "cdebase.example.com/", "cdebase.example.com:1234/"
|
206
|
+
*/
|
207
|
+
localExtensionIDPrefix?: Maybe<Scalars["String"]>;
|
208
|
+
};
|
209
|
+
export type ExtensionRegistryExtensionsArgs = {
|
210
|
+
first?: Maybe<Scalars["Int"]>;
|
211
|
+
query?: Maybe<Scalars["String"]>;
|
212
|
+
local: Scalars["Boolean"];
|
213
|
+
remote: Scalars["Boolean"];
|
214
|
+
includeWIP: Scalars["Boolean"];
|
215
|
+
};
|
216
|
+
export type ExtensionRegistryReleasesArgs = {
|
217
|
+
extensionID: Scalars["String"];
|
218
|
+
};
|
219
|
+
export type ExtensionRegistryPublishersArgs = {
|
220
|
+
first?: Maybe<Scalars["Int"]>;
|
221
|
+
};
|
222
|
+
/** The result of Mutation.extensionRegistry.createExtension. */
|
223
|
+
export type ExtensionRegistryCreateExtensionResult = {
|
224
|
+
__typename?: "ExtensionRegistryCreateExtensionResult";
|
225
|
+
/** The newly created extension. */
|
226
|
+
extension: RegistryExtension;
|
227
|
+
};
|
228
|
+
/** The result of Mutation.extensionRegistry.publishExtension. */
|
229
|
+
export type ExtensionRegistryPublishExtensionResult = {
|
230
|
+
__typename?: "ExtensionRegistryPublishExtensionResult";
|
231
|
+
/** The extension that was just published. */
|
232
|
+
extension: RegistryExtension;
|
233
|
+
};
|
234
|
+
/** The result of Mutation.extensionRegistry.updateExtension. */
|
235
|
+
export type ExtensionRegistryUpdateExtensionResult = {
|
236
|
+
__typename?: "ExtensionRegistryUpdateExtensionResult";
|
237
|
+
/** The newly updated extension. */
|
238
|
+
extension: RegistryExtension;
|
239
|
+
};
|
240
|
+
export type ExtensionRelease = {
|
241
|
+
__typename?: "ExtensionRelease";
|
242
|
+
id?: Maybe<Scalars["ID"]>;
|
243
|
+
bundle?: Maybe<Scalars["String"]>;
|
244
|
+
bundleURL?: Maybe<Scalars["String"]>;
|
245
|
+
version?: Maybe<Scalars["String"]>;
|
246
|
+
manifest: Scalars["String"];
|
247
|
+
sourceMap?: Maybe<Scalars["String"]>;
|
248
|
+
extensionID?: Maybe<Scalars["String"]>;
|
249
|
+
creatorUserId?: Maybe<Scalars["String"]>;
|
250
|
+
releaseVersion?: Maybe<Scalars["String"]>;
|
251
|
+
activationEvents?: Maybe<Array<Maybe<Scalars["String"]>>>;
|
252
|
+
};
|
253
|
+
export type FieldError = {
|
254
|
+
__typename?: "FieldError";
|
255
|
+
field: Scalars["String"];
|
256
|
+
message: Scalars["String"];
|
257
|
+
};
|
258
|
+
export type GalleryBanner = {
|
259
|
+
__typename?: "GalleryBanner";
|
260
|
+
color?: Maybe<Scalars["String"]>;
|
261
|
+
theme?: Maybe<Scalars["String"]>;
|
262
|
+
};
|
263
|
+
export type Idebugger = {
|
264
|
+
__typename?: "IDebugger";
|
265
|
+
label?: Maybe<Scalars["String"]>;
|
266
|
+
type: Scalars["String"];
|
267
|
+
runtime?: Maybe<Scalars["String"]>;
|
268
|
+
};
|
269
|
+
export type IextensionColor = {
|
270
|
+
__typename?: "IExtensionColor";
|
271
|
+
id: Scalars["ID"];
|
272
|
+
description?: Maybe<Scalars["String"]>;
|
273
|
+
defaults?: Maybe<IextensionColorTypes>;
|
274
|
+
};
|
275
|
+
export type IextensionColorTypes = {
|
276
|
+
__typename?: "IExtensionColorTypes";
|
277
|
+
light?: Maybe<Scalars["String"]>;
|
278
|
+
dark?: Maybe<Scalars["String"]>;
|
279
|
+
highContrast?: Maybe<Scalars["String"]>;
|
280
|
+
};
|
281
|
+
export type IextensionConfiguration = {
|
282
|
+
__typename?: "IExtensionConfiguration";
|
283
|
+
properties?: Maybe<Scalars["JSON"]>;
|
284
|
+
};
|
285
|
+
export type IextensionConfigurationProperty = {
|
286
|
+
__typename?: "IExtensionConfigurationProperty";
|
287
|
+
description?: Maybe<Scalars["String"]>;
|
288
|
+
type?: Maybe<Array<Maybe<Scalars["String"]>>>;
|
289
|
+
defaults?: Maybe<Scalars["JSON"]>;
|
290
|
+
};
|
291
|
+
export type IextensionContributions = {
|
292
|
+
__typename?: "IExtensionContributions";
|
293
|
+
/** @title contributes.commands
|
294
|
+
* @description Contribute the UI for a command consisting of a title and (optionally) an icon, category,
|
295
|
+
* and enabled state. Enablement is expressed with `when` clauses. By default, commands show in the
|
296
|
+
* Command Pallette but they can also show in other menus.
|
297
|
+
*
|
298
|
+
* Presentation of contributed commands depends on the containing menu. The Command Pallette, for instance, prefixes
|
299
|
+
* commands with their `category`, allowing for easy grouping. However, the Command Pallette doesn't show icons nor disabled
|
300
|
+
* commands. The editor context menu, on the other hand, show disabled items but doesn't show the category label.
|
301
|
+
*
|
302
|
+
* Note: When a command is invoked (from a key binding, from the Command Palette,
|
303
|
+
* any other menu, or programmatically), VS Code will emit an activationEvent
|
304
|
+
* onCommand:${command}.
|
305
|
+
*
|
306
|
+
* @example
|
307
|
+
* ```
|
308
|
+
* "contributes": {
|
309
|
+
* "commands": [{
|
310
|
+
* "command": "extension.sayHello",
|
311
|
+
* "title": "Hello World",
|
312
|
+
* "category": "Hello"
|
313
|
+
* }]
|
314
|
+
* }
|
315
|
+
* ```
|
316
|
+
*/
|
317
|
+
commands?: Maybe<Array<Maybe<Actions>>>;
|
318
|
+
/** @title contributes.configuration
|
319
|
+
* @description Contribute configuration keys that will be exposed to the user.
|
320
|
+
* The user will be able to set these configuration options either from User
|
321
|
+
* Settings or from the Workspace Settings.
|
322
|
+
* When contributing configuration keys, a JSON schema describing these keys is
|
323
|
+
* actually contributed. This ensures the user gets great tooling support when
|
324
|
+
* authoring VS Code settings files.
|
325
|
+
* You can read these values from your extension using vscode.workspace.getConfiguration('myExtension').
|
326
|
+
*
|
327
|
+
* Note: If you use markdownDescription instead of description, your setting
|
328
|
+
* description will be rendered as Markdown in the settings UI.
|
329
|
+
*
|
330
|
+
* @example
|
331
|
+
* ```
|
332
|
+
* "contributes": {
|
333
|
+
* "configuration": {
|
334
|
+
* "type": "object",
|
335
|
+
* "title": "TypeScript configuration",
|
336
|
+
* "properties": {
|
337
|
+
* "typescript.useCodeSnippetsOnMethodSuggest": {
|
338
|
+
* "type": "boolean",
|
339
|
+
* "default": false,
|
340
|
+
* "description": "Complete functions with their parameter signature."
|
341
|
+
* },
|
342
|
+
* "typescript.tsdk": {
|
343
|
+
* "type": ["string", "null"],
|
344
|
+
* "default": null,
|
345
|
+
* "description": "Specifies the folder path containing the tsserver and lib*.d.ts files to use."
|
346
|
+
* }
|
347
|
+
* }
|
348
|
+
* }
|
349
|
+
* }
|
350
|
+
* ```
|
351
|
+
*/
|
352
|
+
configuration?: Maybe<Array<Maybe<IextensionConfiguration>>>;
|
353
|
+
debuggers?: Maybe<Array<Maybe<Idebugger>>>;
|
354
|
+
/** @title contributes.grammars
|
355
|
+
* @description Contribute a TextMate grammar to a language. You must provide
|
356
|
+
* the language this grammar applies to, the TextMate scopeName for the grammar
|
357
|
+
* and the file path.
|
358
|
+
*
|
359
|
+
* Note: The file containing the grammar can be in JSON (filenames ending in
|
360
|
+
* .json) or in XML plist format (all other files).
|
361
|
+
*
|
362
|
+
* @example
|
363
|
+
* ```json
|
364
|
+
* "contributes": {
|
365
|
+
* "grammars": [{
|
366
|
+
* "language": "markdown",
|
367
|
+
* "scopeName": "text.html.markdown",
|
368
|
+
* "path": "./syntaxes/markdown.tmLanguage.json",
|
369
|
+
* "embeddedLanguages": {
|
370
|
+
* "meta.embedded.block.frontmatter": "yaml",
|
371
|
+
* ...
|
372
|
+
* }
|
373
|
+
* }]
|
374
|
+
* }
|
375
|
+
* ```
|
376
|
+
*/
|
377
|
+
grammars?: Maybe<Array<Maybe<Igrammar>>>;
|
378
|
+
/** @title contributes.jsonValidation
|
379
|
+
* @description Contribute a validation schema for a specific type of json file.
|
380
|
+
* The url value can be either a local path to a schema file included in the
|
381
|
+
* extension or a remote server URL such as a json schema store.
|
382
|
+
*
|
383
|
+
* @example
|
384
|
+
* "contributes": {
|
385
|
+
* "jsonValidation": [{
|
386
|
+
* "fileMatch": ".jshintrc",
|
387
|
+
* "url": "http://json.schemastore.org/jshintrc"
|
388
|
+
* }]
|
389
|
+
* }
|
390
|
+
*/
|
391
|
+
jsonValidation?: Maybe<Array<Maybe<IextensionJsonvalidation>>>;
|
392
|
+
/** @title contributes.keybindings
|
393
|
+
* @description Contribute a key binding rule defining what command should be
|
394
|
+
* invoked when the user presses a key combination. See the Key Bindings topic
|
395
|
+
* where key bindings are explained in detail.
|
396
|
+
*
|
397
|
+
* Contributing a key binding will cause the Default Keyboard Shortcuts to
|
398
|
+
* display your rule, and every UI representation of the command will now show
|
399
|
+
* the key binding you have added. And, of course, when the user presses the key
|
400
|
+
* combination the command will be invoked.
|
401
|
+
*
|
402
|
+
* Note: Because VS Code runs on Windows, macOS and Linux, where modifiers
|
403
|
+
* differ, you can use "key" to set the default key combination and overwrite it
|
404
|
+
* with a specific platform.
|
405
|
+
*
|
406
|
+
* Note: When a command is invoked (from a key binding or from the Command
|
407
|
+
* Palette), VS Code will emit an activationEvent onCommand:${command}.
|
408
|
+
*
|
409
|
+
* @example
|
410
|
+
* Defining that Ctrl+F1 under Windows and Linux and Cmd+F1 under macOS trigger the "extension.sayHello" command:
|
411
|
+
*
|
412
|
+
* ```json
|
413
|
+
* "contributes": {
|
414
|
+
* "keybindings": [{
|
415
|
+
* "command": "extension.sayHello",
|
416
|
+
* "key": "ctrl+f1",
|
417
|
+
* "mac": "cmd+f1",
|
418
|
+
* "when": "editorTextFocus"
|
419
|
+
* }]
|
420
|
+
* }
|
421
|
+
* ```
|
422
|
+
*/
|
423
|
+
keybindings?: Maybe<Array<Maybe<IkeyBinding>>>;
|
424
|
+
/** @title contributes.languages
|
425
|
+
* @description Contribute definition of a language. This will introduce a new
|
426
|
+
* language or enrich the knowledge VS Code has about a language.
|
427
|
+
*
|
428
|
+
* The main effects of contributes.languages are:
|
429
|
+
*
|
430
|
+
* Define a languageId that can be reused in other parts of VS Code API, such as
|
431
|
+
* vscode.TextDocument.getLanguageId() and the onLanguage Activation Events.
|
432
|
+
* You can contribute a human-readable using the aliases field. The first item in
|
433
|
+
* the list will be used as the human-readable label.
|
434
|
+
* Associate file name extensions, file name patterns, files that begin with a
|
435
|
+
* specific line (such as hashbang), mimetypes to that languageId.
|
436
|
+
* Contribute a set of Declarative Language Features for the contributed
|
437
|
+
* language. Learn more about the configurable editing features in the Language
|
438
|
+
* Configuration Guide.
|
439
|
+
*
|
440
|
+
* @example
|
441
|
+
* ```
|
442
|
+
* "contributes": {
|
443
|
+
* "languages": [{
|
444
|
+
* "id": "python",
|
445
|
+
* "extensions": [ ".py" ],
|
446
|
+
* "aliases": [ "Python", "py" ],
|
447
|
+
* "filenames": [ ... ],
|
448
|
+
* "firstLine": "^#!/.*\\bpython[0-9.-]*\\b",
|
449
|
+
* "configuration": "./language-configuration.json"
|
450
|
+
* }]
|
451
|
+
* }
|
452
|
+
* ```
|
453
|
+
*/
|
454
|
+
languages?: Maybe<Array<Maybe<IextensionLanguage>>>;
|
455
|
+
/** @title contributes.menus
|
456
|
+
* @description Contribute a menu item for a command to the editor or Explorer.
|
457
|
+
* The menu item definition contains the command that should be invoked when
|
458
|
+
* selected and the condition under which the item should show. The latter is
|
459
|
+
* defined with the when clause, which uses the key bindings when clause contexts.
|
460
|
+
*
|
461
|
+
* In addition to the mandatory command property, an alternative command can be
|
462
|
+
* defined using the alt-property. It will be shown and invoked when pressing Alt
|
463
|
+
* while opening a menu.
|
464
|
+
*
|
465
|
+
* Last, a group property defines sorting and grouping of menu items. The
|
466
|
+
* navigation group is special as it will always be sorted to the top/beginning of a menu.
|
467
|
+
*
|
468
|
+
* Note that when clauses apply to menus and enablement clauses to commands. The
|
469
|
+
* enablement applies to all menus and even keybindings while the when only
|
470
|
+
* applies to a single menu.
|
471
|
+
*
|
472
|
+
* Currently extension writers can contribute to:
|
473
|
+
*
|
474
|
+
* The global Command Palette - commandPalette
|
475
|
+
* The Explorer context menu - explorer/context
|
476
|
+
* The editor context menu - editor/context
|
477
|
+
* The editor title menu bar - editor/title
|
478
|
+
* The editor title context menu - editor/title/context
|
479
|
+
* The debug callstack view context menu - debug/callstack/context
|
480
|
+
* The debug toolbar - debug/toolbar
|
481
|
+
* The SCM title menu - scm/title
|
482
|
+
* SCM resource groups menus - scm/resourceGroup/context
|
483
|
+
* SCM resources menus - scm/resource/context
|
484
|
+
* SCM change title menus - scm/change/title
|
485
|
+
* The View title menu - view/title
|
486
|
+
* The View item menu - view/item/context
|
487
|
+
* The macOS Touch Bar - touchBar
|
488
|
+
* The comment thread title - comments/commentThread/title
|
489
|
+
* The comment thread actions - comments/commentThread/context
|
490
|
+
* The comment title - comments/comment/title
|
491
|
+
* The comment actions - comments/comment/context
|
492
|
+
* Note: When a command is invoked from a (context) menu, VS Code tries to infer
|
493
|
+
* the currently selected resource and passes that as a parameter when invoking
|
494
|
+
* the command. For instance, a menu item inside the Explorer is passed the URI
|
495
|
+
* of the selected resource and a menu item inside an editor is passed the URI of the document.
|
496
|
+
*
|
497
|
+
* In addition to a title, commands can also define icons which VS Code will show in the editor title menu bar.
|
498
|
+
*
|
499
|
+
* @example
|
500
|
+
* "contributes": {
|
501
|
+
* "menus": {
|
502
|
+
* "editor/title": [{
|
503
|
+
* "when": "resourceLangId == markdown",
|
504
|
+
* "command": "markdown.showPreview",
|
505
|
+
* "alt": "markdown.showPreviewToSide",
|
506
|
+
* "group": "navigation"
|
507
|
+
* }]
|
508
|
+
* }
|
509
|
+
* }
|
510
|
+
*/
|
511
|
+
menus?: Maybe<Menus>;
|
512
|
+
/** @title contributes.snippets
|
513
|
+
* @description Contribute snippets for a specific language. The language
|
514
|
+
* attribute is the language identifier and the path is the relative path to the
|
515
|
+
* snippet file, which defines snippets in the VS Code snippet format.
|
516
|
+
*
|
517
|
+
* @example
|
518
|
+
*
|
519
|
+
* ```json
|
520
|
+
* "contributes": {
|
521
|
+
* "snippets": [{
|
522
|
+
* "language": "go",
|
523
|
+
* "path": "./snippets/go.json"
|
524
|
+
* }]
|
525
|
+
* }
|
526
|
+
* ```
|
527
|
+
*/
|
528
|
+
snippets?: Maybe<Array<Maybe<Isnippet>>>;
|
529
|
+
/** @title contributes.themes
|
530
|
+
* @description Contribute a TextMate theme to VS Code. You must specify a label,
|
531
|
+
* whether the theme is a dark theme or a light theme (such that the rest of VS
|
532
|
+
* Code changes to match your theme) and the path to the file (XML plist format).
|
533
|
+
*
|
534
|
+
* @example
|
535
|
+
* ```json
|
536
|
+
* "contributes": {
|
537
|
+
* "themes": [{
|
538
|
+
* "label": "Monokai",
|
539
|
+
* "uiTheme": "vs-dark",
|
540
|
+
* "path": "./themes/Monokai.tmTheme"
|
541
|
+
* }]
|
542
|
+
* }
|
543
|
+
* ```
|
544
|
+
*/
|
545
|
+
themes?: Maybe<Array<Maybe<IthemeLabel>>>;
|
546
|
+
iconThemes?: Maybe<Array<Maybe<IthemeLabel>>>;
|
547
|
+
/** @title contributes.viewsContainers
|
548
|
+
* @description Contribute a view container into which Custom views can be
|
549
|
+
* contributed. You must specify an identifier, title, and an icon for the view
|
550
|
+
* container. At present, you can contribute them to the Activity Bar
|
551
|
+
* (activitybar) only. Below example shows how the Package Explorer view
|
552
|
+
* container is contributed to the Activity Bar and how views are contributed to it.
|
553
|
+
*
|
554
|
+
* @example
|
555
|
+
* ```json
|
556
|
+
* "contributes": {
|
557
|
+
* "viewsContainers": {
|
558
|
+
* "activitybar": [
|
559
|
+
* {
|
560
|
+
* "id": "package-explorer",
|
561
|
+
* "title": "Package Explorer",
|
562
|
+
* "icon": "resources/package-explorer.svg"
|
563
|
+
* }
|
564
|
+
* ]
|
565
|
+
* },
|
566
|
+
* "views": {
|
567
|
+
* "package-explorer": [
|
568
|
+
* {
|
569
|
+
* "id": "package-dependencies",
|
570
|
+
* "name": "Dependencies"
|
571
|
+
* },
|
572
|
+
* {
|
573
|
+
* "id": "package-outline",
|
574
|
+
* "name": "Outline"
|
575
|
+
* }
|
576
|
+
* ]
|
577
|
+
* }
|
578
|
+
* }
|
579
|
+
* ```
|
580
|
+
*/
|
581
|
+
viewsContainers?: Maybe<Scalars["JSON"]>;
|
582
|
+
/** @title contributes.viewsContainers
|
583
|
+
* @description Contribute a view container into which Custom views can be
|
584
|
+
* contributed. You must specify an identifier, title, and an icon for the view
|
585
|
+
* container. At present, you can contribute them to the Activity Bar
|
586
|
+
* (activitybar) only. Below example shows how the Package Explorer view
|
587
|
+
* container is contributed to the Activity Bar and how views are contributed to it.
|
588
|
+
*
|
589
|
+
* @example
|
590
|
+
* ```json
|
591
|
+
* "contributes": {
|
592
|
+
* "viewsContainers": {
|
593
|
+
* "activitybar": [
|
594
|
+
* {
|
595
|
+
* "id": "package-explorer",
|
596
|
+
* "title": "Package Explorer",
|
597
|
+
* "icon": "resources/package-explorer.svg"
|
598
|
+
* }
|
599
|
+
* ]
|
600
|
+
* },
|
601
|
+
* "views": {
|
602
|
+
* "package-explorer": [
|
603
|
+
* {
|
604
|
+
* "id": "package-dependencies",
|
605
|
+
* "name": "Dependencies"
|
606
|
+
* },
|
607
|
+
* {
|
608
|
+
* "id": "package-outline",
|
609
|
+
* "name": "Outline"
|
610
|
+
* }
|
611
|
+
* ]
|
612
|
+
* }
|
613
|
+
* }
|
614
|
+
* ```
|
615
|
+
*/
|
616
|
+
views?: Maybe<Scalars["JSON"]>;
|
617
|
+
/** @title contributes.colors
|
618
|
+
* @description Contributes new themable colors. These colors can be used by the
|
619
|
+
* extension in editor decorators and in the status bar. Once defined, users can
|
620
|
+
* customize the color in the workspace.colorCustomization setting and user
|
621
|
+
* themes can set the color value.
|
622
|
+
*
|
623
|
+
* @example
|
624
|
+
* ```json
|
625
|
+
* "contributes": {
|
626
|
+
* "colors": [{
|
627
|
+
* "id": "superstatus.error",
|
628
|
+
* "description": "Color for error message in the status bar.",
|
629
|
+
* "defaults": {
|
630
|
+
* "dark": "errorForeground",
|
631
|
+
* "light": "errorForeground",
|
632
|
+
* "highContrast": "#010203"
|
633
|
+
* }
|
634
|
+
* }]
|
635
|
+
* }
|
636
|
+
* ```
|
637
|
+
* Color default values can be defined for light, dark and high contrast theme
|
638
|
+
* and can either be a reference to an existing color or a Color Hex Value.
|
639
|
+
*/
|
640
|
+
colors?: Maybe<Array<Maybe<IextensionColor>>>;
|
641
|
+
localizations?: Maybe<Array<Maybe<Ilocalization>>>;
|
642
|
+
};
|
643
|
+
export type IextensionJsonvalidation = {
|
644
|
+
__typename?: "IExtensionJSONValidation";
|
645
|
+
fileMatch?: Maybe<Scalars["String"]>;
|
646
|
+
url?: Maybe<Scalars["String"]>;
|
647
|
+
};
|
648
|
+
export declare enum IextensionKind {
|
649
|
+
Ui = "ui",
|
650
|
+
Workspace = "workspace"
|
651
|
+
}
|
652
|
+
export type IextensionLanguage = {
|
653
|
+
__typename?: "IExtensionLanguage";
|
654
|
+
id: Scalars["ID"];
|
655
|
+
extensions?: Maybe<Array<Maybe<Scalars["String"]>>>;
|
656
|
+
aliases?: Maybe<Array<Maybe<Scalars["String"]>>>;
|
657
|
+
};
|
658
|
+
export type Igrammar = {
|
659
|
+
__typename?: "IGrammar";
|
660
|
+
language?: Maybe<Scalars["String"]>;
|
661
|
+
};
|
662
|
+
export type IkeyBinding = {
|
663
|
+
__typename?: "IKeyBinding";
|
664
|
+
command: Scalars["String"];
|
665
|
+
key: Scalars["String"];
|
666
|
+
when?: Maybe<Scalars["String"]>;
|
667
|
+
mac?: Maybe<Scalars["String"]>;
|
668
|
+
linux?: Maybe<Scalars["String"]>;
|
669
|
+
win?: Maybe<Scalars["String"]>;
|
670
|
+
};
|
671
|
+
export type Ilocalization = {
|
672
|
+
__typename?: "ILocalization";
|
673
|
+
languageId: Scalars["String"];
|
674
|
+
languageName?: Maybe<Scalars["String"]>;
|
675
|
+
localizedLanguageName?: Maybe<Scalars["String"]>;
|
676
|
+
translations: Array<Maybe<Ilocalization_Itranslation>>;
|
677
|
+
minimalTranslations?: Maybe<Scalars["JSON"]>;
|
678
|
+
};
|
679
|
+
export type Ilocalization_Itranslation = {
|
680
|
+
__typename?: "ILocalization_ITranslation";
|
681
|
+
id: Scalars["ID"];
|
682
|
+
path?: Maybe<Scalars["String"]>;
|
683
|
+
};
|
684
|
+
export type Isnippet = {
|
685
|
+
__typename?: "ISnippet";
|
686
|
+
language?: Maybe<Scalars["String"]>;
|
687
|
+
};
|
688
|
+
export type IthemeLabel = {
|
689
|
+
__typename?: "IThemeLabel";
|
690
|
+
label?: Maybe<Scalars["String"]>;
|
691
|
+
uiTheme?: Maybe<Scalars["String"]>;
|
692
|
+
path?: Maybe<Scalars["String"]>;
|
693
|
+
};
|
694
|
+
export type Iuser = {
|
695
|
+
__typename?: "User";
|
696
|
+
username?: Maybe<Scalars["String"]>;
|
697
|
+
};
|
698
|
+
export type Iview = {
|
699
|
+
__typename?: "IView";
|
700
|
+
id: Scalars["ID"];
|
701
|
+
name?: Maybe<Scalars["String"]>;
|
702
|
+
};
|
703
|
+
export type IviewContainer = {
|
704
|
+
__typename?: "IViewContainer";
|
705
|
+
id: Scalars["ID"];
|
706
|
+
title?: Maybe<Scalars["String"]>;
|
707
|
+
};
|
708
|
+
export declare enum MenuId {
|
709
|
+
CommandPalette = "CommandPalette",
|
710
|
+
DebugBreakpointsContext = "DebugBreakpointsContext",
|
711
|
+
DebugCallStackContext = "DebugCallStackContext",
|
712
|
+
DebugConsoleContext = "DebugConsoleContext",
|
713
|
+
DebugVariablesContext = "DebugVariablesContext",
|
714
|
+
DebugWatchContext = "DebugWatchContext",
|
715
|
+
DebugTooBar = "DebugTooBar",
|
716
|
+
EditorContext = "EditorContext",
|
717
|
+
EditorTitle = "EditorTitle",
|
718
|
+
EditorTitleContext = "EditorTitleContext",
|
719
|
+
EmptyEditorGroupContext = "EmptyEditorGroupContext",
|
720
|
+
ExplorerContext = "ExplorerContext",
|
721
|
+
MenubarAppearanceMenu = "MenubarAppearanceMenu",
|
722
|
+
MenubarDebugMenu = "MenubarDebugMenu",
|
723
|
+
MenubarEditMenu = "MenubarEditMenu",
|
724
|
+
MenubarFileMenu = "MenubarFileMenu",
|
725
|
+
MenubarGoMenu = "MenubarGoMenu",
|
726
|
+
MenubarNewBreakpointMenu = "MenubarNewBreakpointMenu",
|
727
|
+
MenubarPreferencesMenu = "MenubarPreferencesMenu",
|
728
|
+
MenubarRecentMenu = "MenubarRecentMenu",
|
729
|
+
MenubarSelectionMenu = "MenubarSelectionMenu",
|
730
|
+
MenubarSwitchEditorMenu = "MenubarSwitchEditorMenu",
|
731
|
+
MenubarSwitchGroupMenu = "MenubarSwitchGroupMenu",
|
732
|
+
MenubarTerminalMenu = "MenubarTerminalMenu",
|
733
|
+
MenubarViewMenu = "MenubarViewMenu",
|
734
|
+
OpenEditorContext = "OpenEditorContext",
|
735
|
+
ProblemsPanelContext = "ProblemsPanelContext",
|
736
|
+
ScmchangeContext = "SCMChangeContext",
|
737
|
+
ScmresourceContext = "SCMResourceContext",
|
738
|
+
ScmresourceGroupContext = "SCMResourceGroupContext",
|
739
|
+
ScmresourceControl = "SCMResourceControl",
|
740
|
+
Scmtitle = "SCMTitle",
|
741
|
+
SearchContext = "SearchContext",
|
742
|
+
StatusBarWindowIndicatorMenu = "StatusBarWindowIndicatorMenu",
|
743
|
+
TouchBarContext = "TouchBarContext",
|
744
|
+
ViewItemContext = "ViewItemContext",
|
745
|
+
ViewTitle = "ViewTitle",
|
746
|
+
CommentThreadTitle = "CommentThreadTitle",
|
747
|
+
CommentThreadActions = "CommentThreadActions",
|
748
|
+
CommentTitle = "CommentTitle",
|
749
|
+
CommentActions = "CommentActions"
|
750
|
+
}
|
751
|
+
export type MenuItemAction = {
|
752
|
+
__typename?: "MenuItemAction";
|
753
|
+
action?: Maybe<Scalars["String"]>;
|
754
|
+
when?: Maybe<Scalars["String"]>;
|
755
|
+
};
|
756
|
+
export type MenuItemActionContext = {
|
757
|
+
__typename?: "MenuItemActionContext";
|
758
|
+
context?: Maybe<Array<Maybe<MenuItemAction>>>;
|
759
|
+
};
|
760
|
+
export type MenuItemActionDebug = {
|
761
|
+
__typename?: "MenuItemActionDebug";
|
762
|
+
callstack?: Maybe<MenuItemActionContext>;
|
763
|
+
toolbar?: Maybe<Array<Maybe<MenuItemAction>>>;
|
764
|
+
};
|
765
|
+
export type MenuItemActionEditor = {
|
766
|
+
__typename?: "MenuItemActionEditor";
|
767
|
+
context?: Maybe<Array<Maybe<MenuItemAction>>>;
|
768
|
+
title?: Maybe<MenuItemActionEditorTitle>;
|
769
|
+
};
|
770
|
+
export type MenuItemActionEditorTitle = {
|
771
|
+
__typename?: "MenuItemActionEditorTitle";
|
772
|
+
own?: Maybe<Array<Maybe<MenuItemAction>>>;
|
773
|
+
context?: Maybe<Array<Maybe<MenuItemAction>>>;
|
774
|
+
};
|
775
|
+
export type MenuItemActionScm = {
|
776
|
+
__typename?: "MenuItemActionScm";
|
777
|
+
/** The Source Control title menu */
|
778
|
+
title?: Maybe<Array<Maybe<MenuItemAction>>>;
|
779
|
+
/** The Source Control resource group context menu */
|
780
|
+
resourceGroup?: Maybe<MenuItemActionContext>;
|
781
|
+
resource?: Maybe<MenuItemActionContext>;
|
782
|
+
change?: Maybe<MenuItemActionScmChange>;
|
783
|
+
};
|
784
|
+
export type MenuItemActionScmChange = {
|
785
|
+
__typename?: "MenuItemActionScmChange";
|
786
|
+
title?: Maybe<Array<Maybe<MenuItemAction>>>;
|
787
|
+
};
|
788
|
+
export type MenuItemActionView = {
|
789
|
+
__typename?: "MenuItemActionView";
|
790
|
+
/** The contributed view title menu */
|
791
|
+
title?: Maybe<Array<Maybe<MenuItemAction>>>;
|
792
|
+
/** The contributed view item context menu */
|
793
|
+
item?: Maybe<MenuItemActionContext>;
|
794
|
+
};
|
795
|
+
export type Menus = {
|
796
|
+
__typename?: "Menus";
|
797
|
+
/** The Command Palette */
|
798
|
+
commandPalette?: Maybe<Array<Maybe<MenuItemAction>>>;
|
799
|
+
/** The file explorer */
|
800
|
+
explorer?: Maybe<MenuItemActionContext>;
|
801
|
+
/** The editor */
|
802
|
+
editor?: Maybe<MenuItemActionEditor>;
|
803
|
+
/** The debug */
|
804
|
+
debug?: Maybe<MenuItemActionDebug>;
|
805
|
+
/** The Source Control */
|
806
|
+
scm?: Maybe<MenuItemActionScm>;
|
807
|
+
/** The contributed view */
|
808
|
+
view?: Maybe<MenuItemActionView>;
|
809
|
+
/** The touch bar (macOS only) */
|
810
|
+
touchBar?: Maybe<Array<Maybe<MenuItemAction>>>;
|
811
|
+
};
|
812
|
+
export type Mutation = {
|
813
|
+
__typename?: "Mutation";
|
814
|
+
dummy?: Maybe<Scalars["Int"]>;
|
815
|
+
/** Create a new extension in the extension registry. */
|
816
|
+
createExtension: RegistryExtension;
|
817
|
+
/** Update an extension in the extension registry.
|
818
|
+
*
|
819
|
+
* Only authorized extension publishers may perform this mutation.
|
820
|
+
*/
|
821
|
+
updateExtension: RegistryExtension;
|
822
|
+
/** Delete an extension from the extension registry.
|
823
|
+
*
|
824
|
+
* Only authorized extension publishers may perform this mutation.
|
825
|
+
*/
|
826
|
+
deleteExtension: EmptyResponse;
|
827
|
+
/** Publish an extension in the extension registry, creating it (if it doesn't yet exist) or updating it (if it
|
828
|
+
* does).
|
829
|
+
*
|
830
|
+
* This is a helper that wraps multiple other GraphQL mutations to expose a single API for publishing an
|
831
|
+
* extension.
|
832
|
+
*/
|
833
|
+
publishExtension: ExtensionRegistryPublishExtensionResult;
|
834
|
+
};
|
835
|
+
export type MutationCreateExtensionArgs = {
|
836
|
+
publisher: Scalars["ID"];
|
837
|
+
name: Scalars["String"];
|
838
|
+
};
|
839
|
+
export type MutationUpdateExtensionArgs = {
|
840
|
+
extension: Scalars["ID"];
|
841
|
+
name?: Maybe<Scalars["String"]>;
|
842
|
+
};
|
843
|
+
export type MutationDeleteExtensionArgs = {
|
844
|
+
extension: Scalars["ID"];
|
845
|
+
};
|
846
|
+
export type MutationPublishExtensionArgs = {
|
847
|
+
name?: Maybe<Scalars["String"]>;
|
848
|
+
version?: Maybe<Scalars["String"]>;
|
849
|
+
extensionID: Scalars["String"];
|
850
|
+
manifest: Scalars["String"];
|
851
|
+
bundle?: Maybe<Scalars["String"]>;
|
852
|
+
sourceMap?: Maybe<Scalars["String"]>;
|
853
|
+
force: Scalars["Boolean"];
|
854
|
+
};
|
855
|
+
export type Node = {
|
856
|
+
__typename?: "Node";
|
857
|
+
id: Scalars["ID"];
|
858
|
+
};
|
859
|
+
export type PageInfo = {
|
860
|
+
__typename?: "PageInfo";
|
861
|
+
hasNextPage: Scalars["Boolean"];
|
862
|
+
};
|
863
|
+
export type Query = {
|
864
|
+
__typename?: "Query";
|
865
|
+
dummy?: Maybe<Scalars["Int"]>;
|
866
|
+
extension?: Maybe<RegistryExtension>;
|
867
|
+
extensions: RegistryExtensionConnection;
|
868
|
+
releases?: Maybe<Array<Maybe<ExtensionRelease>>>;
|
869
|
+
/** The extension registry. */
|
870
|
+
extensionRegistry: ExtensionRegistry;
|
871
|
+
/** The CDECode documentation page for the given path, used to serve the content for help
|
872
|
+
* pages under the URL path /help on the CDECode instance. If no page exists at the path,
|
873
|
+
* null is returned.
|
874
|
+
*/
|
875
|
+
docSitePage?: Maybe<DocSitePage>;
|
876
|
+
};
|
877
|
+
export type QueryExtensionArgs = {
|
878
|
+
extensionID: Scalars["String"];
|
879
|
+
};
|
880
|
+
export type QueryExtensionsArgs = {
|
881
|
+
first?: Maybe<Scalars["Int"]>;
|
882
|
+
query?: Maybe<Scalars["String"]>;
|
883
|
+
local: Scalars["Boolean"];
|
884
|
+
remote: Scalars["Boolean"];
|
885
|
+
prioritizeExtensionIDs?: Maybe<Array<Scalars["String"]>>;
|
886
|
+
includeWIP: Scalars["Boolean"];
|
887
|
+
};
|
888
|
+
export type QueryReleasesArgs = {
|
889
|
+
extensionID: Scalars["String"];
|
890
|
+
};
|
891
|
+
export type QueryDocSitePageArgs = {
|
892
|
+
path: Scalars["String"];
|
893
|
+
};
|
894
|
+
/** An extenion's listing in the extension registry. */
|
895
|
+
export type RegistryExtension = Node & {
|
896
|
+
__typename?: "RegistryExtension";
|
897
|
+
/** The unique, opaque, permanent ID of the extension. Do not display this ID to the user; display
|
898
|
+
* RegistryExtension.extensionID instead (it is friendlier and still unique, but it can be renamed).
|
899
|
+
*/
|
900
|
+
id: Scalars["ID"];
|
901
|
+
/** The UUID of the extension. This identifies the extension externally (along with the origin). The UUID maps
|
902
|
+
* 1-t0-1 to RegistryExtension.id.
|
903
|
+
*/
|
904
|
+
uuid: Scalars["String"];
|
905
|
+
/** The publisher of the extension. If this extension is from a remote registry, the publisher may be null. */
|
906
|
+
publisher?: Maybe<RegistryPublisher>;
|
907
|
+
/** The qualified, unique name that refers to this extension, consisting of the registry name (if non-default),
|
908
|
+
* publisher's name, and the extension's name, all joined by "/" (for example, "cdecode/my-extension-name").
|
909
|
+
*/
|
910
|
+
extensionID?: Maybe<Scalars["String"]>;
|
911
|
+
/** The extension ID without the registry name. */
|
912
|
+
extensionIDWithoutRegistry?: Maybe<Scalars["String"]>;
|
913
|
+
/** The name of the extension (not including the publisher's name). */
|
914
|
+
name: Scalars["String"];
|
915
|
+
/** Latest Published version */
|
916
|
+
version?: Maybe<Scalars["String"]>;
|
917
|
+
activationEvents?: Maybe<Array<Maybe<Scalars["String"]>>>;
|
918
|
+
/** The extension manifest, or null if none is set. */
|
919
|
+
manifest?: Maybe<ExtensionManifest>;
|
920
|
+
/** The date when this extension was last updated on the registry. */
|
921
|
+
updatedAt?: Maybe<Scalars["String"]>;
|
922
|
+
/** The URL to the extension on this CDECode site. */
|
923
|
+
url?: Maybe<Scalars["String"]>;
|
924
|
+
/** The URL to the extension on the extension registry where it lives (if this is a remote
|
925
|
+
* extension). If this extension is local, then this field's value is null.
|
926
|
+
*/
|
927
|
+
remoteURL?: Maybe<Scalars["String"]>;
|
928
|
+
/** Whether the registry extension is published on this CDECode site. */
|
929
|
+
isLocal?: Maybe<Scalars["Boolean"]>;
|
930
|
+
/** Whether the viewer has admin privileges on this registry extension. */
|
931
|
+
viewerCanAdminister?: Maybe<Scalars["Boolean"]>;
|
932
|
+
/** Extension Releases */
|
933
|
+
releases?: Maybe<Array<Maybe<ExtensionRelease>>>;
|
934
|
+
};
|
935
|
+
/** A list of registry extensions. */
|
936
|
+
export type RegistryExtensionConnection = {
|
937
|
+
__typename?: "RegistryExtensionConnection";
|
938
|
+
/** A list of registry extensions. */
|
939
|
+
nodes: Array<RegistryExtension>;
|
940
|
+
/** The total count of registry extensions in the connection. This total cound may be larger than the number of
|
941
|
+
* nodes in this object when the result is paginated.
|
942
|
+
*/
|
943
|
+
totalCount: Scalars["Int"];
|
944
|
+
/** Pagination information */
|
945
|
+
pageInfo: PageInfo;
|
946
|
+
/** location of the extension path for example: /extensions/<extension_user>/<extension_name> */
|
947
|
+
url?: Maybe<Scalars["String"]>;
|
948
|
+
/** Errors that occured while communicating with remote registries to obtain the list of extensions.
|
949
|
+
*
|
950
|
+
* In order to be able to return local extensions even when the remote registry is unreachable, errors are
|
951
|
+
* recorded here instead of in the top-level GraphQL errors list.
|
952
|
+
*/
|
953
|
+
error?: Maybe<Scalars["String"]>;
|
954
|
+
};
|
955
|
+
/** A publisher of a registry extension. */
|
956
|
+
export type RegistryPublisher = {
|
957
|
+
__typename?: "RegistryPublisher";
|
958
|
+
UserId?: Maybe<Scalars["String"]>;
|
959
|
+
};
|
960
|
+
/** A list of publishers of extensions in the registry. */
|
961
|
+
export type RegistryPublisherConnection = {
|
962
|
+
__typename?: "RegistryPublisherConnection";
|
963
|
+
/** A list of publishers. */
|
964
|
+
nodes: Array<RegistryPublisher>;
|
965
|
+
/** The total count of publishers in the connection. This total count may be larger than the number of
|
966
|
+
* nodes in the object when result is paginated.
|
967
|
+
*/
|
968
|
+
totalCount: Scalars["Int"];
|
969
|
+
/** Pagination information. */
|
970
|
+
pageInfo: PageInfo;
|
971
|
+
};
|
972
|
+
export type Scripts = {
|
973
|
+
__typename?: "Scripts";
|
974
|
+
cdebasebuild?: Maybe<Scalars["String"]>;
|
975
|
+
cdebasepublish?: Maybe<Scalars["String"]>;
|
976
|
+
};
|
977
|
+
export type Subscription = {
|
978
|
+
__typename?: "Subscription";
|
979
|
+
dummy?: Maybe<Scalars["Int"]>;
|
980
|
+
};
|
981
|
+
//# sourceMappingURL=model.d.ts.map
|