@opensumi/ide-core-browser 2.18.10-next-1657724169.0 → 2.18.10
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/bootstrap/app.d.ts +3 -3
- package/lib/bootstrap/app.d.ts.map +1 -1
- package/lib/bootstrap/app.js +3 -3
- package/lib/bootstrap/app.js.map +1 -1
- package/lib/bootstrap/connection.d.ts +1 -2
- package/lib/bootstrap/connection.d.ts.map +1 -1
- package/lib/bootstrap/connection.js.map +1 -1
- package/lib/bootstrap/inner-providers.d.ts.map +1 -1
- package/lib/bootstrap/inner-providers.js +0 -5
- package/lib/bootstrap/inner-providers.js.map +1 -1
- package/lib/common/common.command.d.ts.map +1 -1
- package/lib/common/common.command.js +2 -9
- package/lib/common/common.command.js.map +1 -1
- package/lib/components/actions/index.js +1 -1
- package/lib/components/actions/index.js.map +1 -1
- package/lib/components/layout/split-panel.js +1 -1
- package/lib/core-preferences.d.ts.map +1 -1
- package/lib/core-preferences.js +1 -1
- package/lib/core-preferences.js.map +1 -1
- package/lib/index.d.ts +0 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +0 -1
- package/lib/index.js.map +1 -1
- package/lib/menu/next/menu-id.d.ts +1 -6
- package/lib/menu/next/menu-id.d.ts.map +1 -1
- package/lib/menu/next/menu-id.js +0 -7
- package/lib/menu/next/menu-id.js.map +1 -1
- package/lib/preferences/preference-service.d.ts +0 -1
- package/lib/preferences/preference-service.d.ts.map +1 -1
- package/lib/preferences/preference-service.js +0 -10
- package/lib/preferences/preference-service.js.map +1 -1
- package/lib/preferences/types.d.ts +1 -9
- package/lib/preferences/types.d.ts.map +1 -1
- package/lib/preferences/types.js.map +1 -1
- package/lib/react-providers/config-provider.d.ts +2 -2
- package/lib/react-providers/config-provider.d.ts.map +1 -1
- package/lib/services/storage-service.d.ts +12 -17
- package/lib/services/storage-service.d.ts.map +1 -1
- package/lib/services/storage-service.js +35 -74
- package/lib/services/storage-service.js.map +1 -1
- package/lib/style/icon/icon.d.ts +1 -1
- package/lib/style/icon/icon.d.ts.map +1 -1
- package/lib/style/icon/ide-iconfont.d.ts +1 -1
- package/lib/style/icon/ide-iconfont.d.ts.map +1 -1
- package/lib/style/icon/ide-iconfont.js +1 -1
- package/lib/style/icon/ide-iconfont.js.map +1 -1
- package/lib/toolbar/toolbar.d.ts.map +1 -1
- package/lib/toolbar/toolbar.js +0 -3
- package/lib/toolbar/toolbar.js.map +1 -1
- package/lib/toolbar/toolbar.registry.d.ts +0 -3
- package/lib/toolbar/toolbar.registry.d.ts.map +1 -1
- package/lib/toolbar/toolbar.registry.js +1 -20
- package/lib/toolbar/toolbar.registry.js.map +1 -1
- package/lib/toolbar/types.d.ts +0 -3
- package/lib/toolbar/types.d.ts.map +1 -1
- package/lib/toolbar/types.js +1 -4
- package/lib/toolbar/types.js.map +1 -1
- package/package.json +8 -5
- package/lib/extensions/extensions-point.service.d.ts +0 -24
- package/lib/extensions/extensions-point.service.d.ts.map +0 -1
- package/lib/extensions/extensions-point.service.js +0 -69
- package/lib/extensions/extensions-point.service.js.map +0 -1
- package/lib/extensions/index.d.ts +0 -4
- package/lib/extensions/index.d.ts.map +0 -1
- package/lib/extensions/index.js +0 -7
- package/lib/extensions/index.js.map +0 -1
- package/lib/extensions/schema/browserViews.d.ts +0 -220
- package/lib/extensions/schema/browserViews.d.ts.map +0 -1
- package/lib/extensions/schema/browserViews.js +0 -82
- package/lib/extensions/schema/browserViews.js.map +0 -1
- package/lib/extensions/schema/menu.d.ts +0 -6
- package/lib/extensions/schema/menu.d.ts.map +0 -1
- package/lib/extensions/schema/menu.js +0 -231
- package/lib/extensions/schema/menu.js.map +0 -1
- package/lib/extensions/schema/opensumiExtensionPackageSchema.d.ts +0 -13
- package/lib/extensions/schema/opensumiExtensionPackageSchema.d.ts.map +0 -1
- package/lib/extensions/schema/opensumiExtensionPackageSchema.js +0 -15
- package/lib/extensions/schema/opensumiExtensionPackageSchema.js.map +0 -1
- package/lib/extensions/schema/toolbar.d.ts +0 -5
- package/lib/extensions/schema/toolbar.d.ts.map +0 -1
- package/lib/extensions/schema/toolbar.js +0 -340
- package/lib/extensions/schema/toolbar.js.map +0 -1
- package/lib/extensions/schema/vscodeExtensionPackageSchema.d.ts +0 -163
- package/lib/extensions/schema/vscodeExtensionPackageSchema.d.ts.map +0 -1
- package/lib/extensions/schema/vscodeExtensionPackageSchema.js +0 -242
- package/lib/extensions/schema/vscodeExtensionPackageSchema.js.map +0 -1
|
@@ -1,340 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.toolbar = void 0;
|
|
4
|
-
const ide_core_common_1 = require("@opensumi/ide-core-common");
|
|
5
|
-
const snippetLabel = (obj, desc) => `${JSON.stringify(obj)}: ${desc}`;
|
|
6
|
-
const ToolbarButtonStatesProperties = {
|
|
7
|
-
type: 'object',
|
|
8
|
-
properties: {
|
|
9
|
-
title: {
|
|
10
|
-
type: 'string',
|
|
11
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.title'),
|
|
12
|
-
},
|
|
13
|
-
iconPath: {
|
|
14
|
-
type: 'string',
|
|
15
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.iconPath'),
|
|
16
|
-
},
|
|
17
|
-
iconMaskMode: {
|
|
18
|
-
type: 'boolean',
|
|
19
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.iconMaskMode'),
|
|
20
|
-
},
|
|
21
|
-
width: {
|
|
22
|
-
type: 'number',
|
|
23
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.button.states.width'),
|
|
24
|
-
},
|
|
25
|
-
height: {
|
|
26
|
-
type: 'number',
|
|
27
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.button.states.height'),
|
|
28
|
-
},
|
|
29
|
-
showTitle: {
|
|
30
|
-
type: 'boolean',
|
|
31
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.button.states.showTitle'),
|
|
32
|
-
},
|
|
33
|
-
iconForeground: {
|
|
34
|
-
type: 'string',
|
|
35
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.button.states.iconForeground'),
|
|
36
|
-
},
|
|
37
|
-
iconBackground: {
|
|
38
|
-
type: 'string',
|
|
39
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.button.states.iconBackground'),
|
|
40
|
-
},
|
|
41
|
-
titleForeground: {
|
|
42
|
-
type: 'string',
|
|
43
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.button.states.titleForeground'),
|
|
44
|
-
},
|
|
45
|
-
titleBackground: {
|
|
46
|
-
type: 'string',
|
|
47
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.button.states.titleBackground'),
|
|
48
|
-
},
|
|
49
|
-
titleSize: {
|
|
50
|
-
type: 'string',
|
|
51
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.button.states.titleSize'),
|
|
52
|
-
},
|
|
53
|
-
iconSize: {
|
|
54
|
-
type: 'string',
|
|
55
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.button.states.iconSize'),
|
|
56
|
-
},
|
|
57
|
-
background: {
|
|
58
|
-
type: 'string',
|
|
59
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.button.states.background'),
|
|
60
|
-
},
|
|
61
|
-
btnStyle: {
|
|
62
|
-
type: 'string',
|
|
63
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.button.states.btnStyle'),
|
|
64
|
-
enum: ['inline', 'button'],
|
|
65
|
-
},
|
|
66
|
-
btnTitleStyle: {
|
|
67
|
-
type: 'string',
|
|
68
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.button.states.btnTitleStyle'),
|
|
69
|
-
enum: ['vertical', 'horizontal'],
|
|
70
|
-
enumDescriptions: [
|
|
71
|
-
(0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.button.states.btnTitleStyle.vertical'),
|
|
72
|
-
(0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.button.states.btnTitleStyle.horizontal'),
|
|
73
|
-
],
|
|
74
|
-
},
|
|
75
|
-
},
|
|
76
|
-
};
|
|
77
|
-
const ToolbarSelectStatesProperties = {
|
|
78
|
-
type: 'object',
|
|
79
|
-
properties: {
|
|
80
|
-
backgroundColor: {
|
|
81
|
-
type: 'string',
|
|
82
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.select.states.backgroundColor'),
|
|
83
|
-
},
|
|
84
|
-
labelForegroundColor: {
|
|
85
|
-
type: 'string',
|
|
86
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.select.states.labelForegroundColor'),
|
|
87
|
-
},
|
|
88
|
-
iconForegroundColor: {
|
|
89
|
-
type: 'string',
|
|
90
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.select.states.iconForegroundColor'),
|
|
91
|
-
},
|
|
92
|
-
width: {
|
|
93
|
-
type: 'number',
|
|
94
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.select.states.width'),
|
|
95
|
-
},
|
|
96
|
-
minWidth: {
|
|
97
|
-
type: 'number',
|
|
98
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.select.states.minWidth'),
|
|
99
|
-
},
|
|
100
|
-
},
|
|
101
|
-
};
|
|
102
|
-
var toolbar;
|
|
103
|
-
(function (toolbar) {
|
|
104
|
-
toolbar.schema = {
|
|
105
|
-
type: 'object',
|
|
106
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar'),
|
|
107
|
-
properties: {
|
|
108
|
-
actions: {
|
|
109
|
-
type: 'array',
|
|
110
|
-
markdownDescription: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions'),
|
|
111
|
-
items: {
|
|
112
|
-
type: 'object',
|
|
113
|
-
required: ['id', 'description'],
|
|
114
|
-
defaultSnippets: [
|
|
115
|
-
{
|
|
116
|
-
label: snippetLabel({ type: 'button' }, (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.type.button')),
|
|
117
|
-
body: {
|
|
118
|
-
id: '${2}',
|
|
119
|
-
type: 'button',
|
|
120
|
-
description: '${3}',
|
|
121
|
-
title: '${4}',
|
|
122
|
-
iconPath: '${5}',
|
|
123
|
-
},
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
label: snippetLabel({ type: 'select' }, (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.type.select')),
|
|
127
|
-
body: {
|
|
128
|
-
id: '${2}',
|
|
129
|
-
type: 'select',
|
|
130
|
-
description: '${3}',
|
|
131
|
-
options: ['${4}'],
|
|
132
|
-
defaultValue: '${5}',
|
|
133
|
-
},
|
|
134
|
-
},
|
|
135
|
-
],
|
|
136
|
-
properties: {
|
|
137
|
-
id: {
|
|
138
|
-
type: 'string',
|
|
139
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.id'),
|
|
140
|
-
},
|
|
141
|
-
weight: {
|
|
142
|
-
type: 'number',
|
|
143
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.weight'),
|
|
144
|
-
},
|
|
145
|
-
preferredPosition: {
|
|
146
|
-
type: 'object',
|
|
147
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.preferredPosition'),
|
|
148
|
-
properties: {
|
|
149
|
-
location: {
|
|
150
|
-
type: 'string',
|
|
151
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.preferredPosition.location'),
|
|
152
|
-
},
|
|
153
|
-
group: {
|
|
154
|
-
type: 'string',
|
|
155
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.preferredPosition.group'),
|
|
156
|
-
},
|
|
157
|
-
},
|
|
158
|
-
},
|
|
159
|
-
strictPosition: {
|
|
160
|
-
type: 'object',
|
|
161
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.strictPosition'),
|
|
162
|
-
required: ['location', 'group'],
|
|
163
|
-
defaultSnippets: [
|
|
164
|
-
{
|
|
165
|
-
body: {
|
|
166
|
-
location: '${1}',
|
|
167
|
-
group: '${2}',
|
|
168
|
-
},
|
|
169
|
-
},
|
|
170
|
-
],
|
|
171
|
-
properties: {
|
|
172
|
-
location: {
|
|
173
|
-
type: 'string',
|
|
174
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.preferredPosition.location'),
|
|
175
|
-
},
|
|
176
|
-
group: {
|
|
177
|
-
type: 'string',
|
|
178
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.preferredPosition.group'),
|
|
179
|
-
},
|
|
180
|
-
},
|
|
181
|
-
},
|
|
182
|
-
description: {
|
|
183
|
-
type: 'string',
|
|
184
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.description'),
|
|
185
|
-
},
|
|
186
|
-
command: {
|
|
187
|
-
type: 'string',
|
|
188
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.command'),
|
|
189
|
-
},
|
|
190
|
-
defaultState: {
|
|
191
|
-
type: 'string',
|
|
192
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.defaultState'),
|
|
193
|
-
},
|
|
194
|
-
},
|
|
195
|
-
oneOf: [
|
|
196
|
-
{
|
|
197
|
-
required: ['type', 'title', 'iconPath'],
|
|
198
|
-
properties: {
|
|
199
|
-
type: {
|
|
200
|
-
type: 'string',
|
|
201
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.type'),
|
|
202
|
-
enum: ['button'],
|
|
203
|
-
enumDescriptions: [
|
|
204
|
-
(0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.type.button'),
|
|
205
|
-
],
|
|
206
|
-
default: 'button',
|
|
207
|
-
},
|
|
208
|
-
title: {
|
|
209
|
-
type: 'string',
|
|
210
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.title'),
|
|
211
|
-
},
|
|
212
|
-
iconPath: {
|
|
213
|
-
type: 'string',
|
|
214
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.iconPath'),
|
|
215
|
-
},
|
|
216
|
-
iconMaskMode: {
|
|
217
|
-
type: 'boolean',
|
|
218
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.iconMaskMode'),
|
|
219
|
-
},
|
|
220
|
-
states: {
|
|
221
|
-
type: 'object',
|
|
222
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.button.states'),
|
|
223
|
-
additionalProperties: ToolbarButtonStatesProperties,
|
|
224
|
-
properties: {
|
|
225
|
-
default: ToolbarButtonStatesProperties,
|
|
226
|
-
},
|
|
227
|
-
},
|
|
228
|
-
popoverComponent: {
|
|
229
|
-
type: 'string',
|
|
230
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.popoverComponent'),
|
|
231
|
-
},
|
|
232
|
-
popoverStyle: {
|
|
233
|
-
type: 'object',
|
|
234
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.popoverStyle'),
|
|
235
|
-
properties: {
|
|
236
|
-
position: {
|
|
237
|
-
type: 'string',
|
|
238
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.popoverStyle.position'),
|
|
239
|
-
enum: ['top', 'bottom'],
|
|
240
|
-
enumDescriptions: [
|
|
241
|
-
(0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.popoverStyle.position.top'),
|
|
242
|
-
(0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.popoverStyle.position.bottom'),
|
|
243
|
-
],
|
|
244
|
-
},
|
|
245
|
-
horizontalOffset: {
|
|
246
|
-
type: 'number',
|
|
247
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.popoverStyle.horizontalOffset'),
|
|
248
|
-
},
|
|
249
|
-
hideOnClickOutside: {
|
|
250
|
-
type: 'boolean',
|
|
251
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.popoverStyle.hideOnClickOutside'),
|
|
252
|
-
},
|
|
253
|
-
noContainerStyle: {
|
|
254
|
-
type: 'boolean',
|
|
255
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.popoverStyle.noContainerStyle'),
|
|
256
|
-
},
|
|
257
|
-
minWidth: {
|
|
258
|
-
type: 'number',
|
|
259
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.popoverStyle.minWidth'),
|
|
260
|
-
},
|
|
261
|
-
minHeight: {
|
|
262
|
-
type: 'number',
|
|
263
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.popoverStyle.minHeight'),
|
|
264
|
-
},
|
|
265
|
-
},
|
|
266
|
-
},
|
|
267
|
-
when: {
|
|
268
|
-
type: 'string',
|
|
269
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.when'),
|
|
270
|
-
},
|
|
271
|
-
},
|
|
272
|
-
},
|
|
273
|
-
{
|
|
274
|
-
required: ['type', 'options', 'defaultValue'],
|
|
275
|
-
properties: {
|
|
276
|
-
type: {
|
|
277
|
-
type: 'string',
|
|
278
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.type'),
|
|
279
|
-
enum: ['select'],
|
|
280
|
-
enumDescriptions: [
|
|
281
|
-
(0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.type.select'),
|
|
282
|
-
],
|
|
283
|
-
default: 'select',
|
|
284
|
-
},
|
|
285
|
-
options: {
|
|
286
|
-
type: 'array',
|
|
287
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.select.options'),
|
|
288
|
-
required: ['value'],
|
|
289
|
-
items: {
|
|
290
|
-
type: 'object',
|
|
291
|
-
defaultSnippets: [
|
|
292
|
-
{
|
|
293
|
-
label: snippetLabel({ value: '' }, (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.select.options.value')),
|
|
294
|
-
body: {
|
|
295
|
-
value: '${1}',
|
|
296
|
-
},
|
|
297
|
-
},
|
|
298
|
-
],
|
|
299
|
-
properties: {
|
|
300
|
-
iconPath: {
|
|
301
|
-
type: 'string',
|
|
302
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.select.options.iconPath'),
|
|
303
|
-
},
|
|
304
|
-
iconMaskMode: {
|
|
305
|
-
type: 'boolean',
|
|
306
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.select.options.iconMaskMode'),
|
|
307
|
-
},
|
|
308
|
-
label: {
|
|
309
|
-
type: 'string',
|
|
310
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.select.options.label'),
|
|
311
|
-
},
|
|
312
|
-
value: {
|
|
313
|
-
type: 'string',
|
|
314
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.select.options.value'),
|
|
315
|
-
},
|
|
316
|
-
},
|
|
317
|
-
},
|
|
318
|
-
},
|
|
319
|
-
defaultValue: {
|
|
320
|
-
type: 'string',
|
|
321
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.select.defaultValue'),
|
|
322
|
-
},
|
|
323
|
-
optionEqualityKey: {
|
|
324
|
-
type: 'string',
|
|
325
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.select.optionEqualityKey'),
|
|
326
|
-
},
|
|
327
|
-
states: {
|
|
328
|
-
type: 'object',
|
|
329
|
-
description: (0, ide_core_common_1.localize)('sumiContributes.toolbar.actions.select.states'),
|
|
330
|
-
additionalProperties: ToolbarSelectStatesProperties,
|
|
331
|
-
},
|
|
332
|
-
},
|
|
333
|
-
},
|
|
334
|
-
],
|
|
335
|
-
},
|
|
336
|
-
},
|
|
337
|
-
},
|
|
338
|
-
};
|
|
339
|
-
})(toolbar = exports.toolbar || (exports.toolbar = {}));
|
|
340
|
-
//# sourceMappingURL=toolbar.js.map
|
|
@@ -1 +0,0 @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9-A-Z]*)\\.([a-z0-9A-Z][a-z0-9-A-Z]*)$";
|
|
2
|
-
export declare const VSCodeExtensionPackageSchema: {
|
|
3
|
-
properties: {
|
|
4
|
-
engines: {
|
|
5
|
-
type: string;
|
|
6
|
-
description: string;
|
|
7
|
-
properties: {
|
|
8
|
-
vscode: {
|
|
9
|
-
type: string;
|
|
10
|
-
description: string;
|
|
11
|
-
default: string;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
publisher: {
|
|
16
|
-
description: string;
|
|
17
|
-
type: string;
|
|
18
|
-
};
|
|
19
|
-
displayName: {
|
|
20
|
-
description: string;
|
|
21
|
-
type: string;
|
|
22
|
-
};
|
|
23
|
-
categories: {
|
|
24
|
-
description: string;
|
|
25
|
-
type: string;
|
|
26
|
-
uniqueItems: boolean;
|
|
27
|
-
items: {
|
|
28
|
-
oneOf: ({
|
|
29
|
-
type: string;
|
|
30
|
-
enum: string[];
|
|
31
|
-
const?: undefined;
|
|
32
|
-
deprecationMessage?: undefined;
|
|
33
|
-
} | {
|
|
34
|
-
type: string;
|
|
35
|
-
const: string;
|
|
36
|
-
deprecationMessage: string;
|
|
37
|
-
enum?: undefined;
|
|
38
|
-
})[];
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
galleryBanner: {
|
|
42
|
-
type: string;
|
|
43
|
-
description: string;
|
|
44
|
-
properties: {
|
|
45
|
-
color: {
|
|
46
|
-
description: string;
|
|
47
|
-
type: string;
|
|
48
|
-
};
|
|
49
|
-
theme: {
|
|
50
|
-
description: string;
|
|
51
|
-
type: string;
|
|
52
|
-
enum: string[];
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
contributes: {
|
|
57
|
-
description: string;
|
|
58
|
-
type: string;
|
|
59
|
-
properties: {
|
|
60
|
-
[key: string]: any;
|
|
61
|
-
};
|
|
62
|
-
default: {};
|
|
63
|
-
};
|
|
64
|
-
preview: {
|
|
65
|
-
type: string;
|
|
66
|
-
description: string;
|
|
67
|
-
};
|
|
68
|
-
activationEvents: {
|
|
69
|
-
description: string;
|
|
70
|
-
type: string;
|
|
71
|
-
items: {
|
|
72
|
-
type: string;
|
|
73
|
-
defaultSnippets: {
|
|
74
|
-
label: string;
|
|
75
|
-
description: string;
|
|
76
|
-
body: string;
|
|
77
|
-
}[];
|
|
78
|
-
};
|
|
79
|
-
};
|
|
80
|
-
badges: {
|
|
81
|
-
type: string;
|
|
82
|
-
description: string;
|
|
83
|
-
items: {
|
|
84
|
-
type: string;
|
|
85
|
-
required: string[];
|
|
86
|
-
properties: {
|
|
87
|
-
url: {
|
|
88
|
-
type: string;
|
|
89
|
-
description: string;
|
|
90
|
-
};
|
|
91
|
-
href: {
|
|
92
|
-
type: string;
|
|
93
|
-
description: string;
|
|
94
|
-
};
|
|
95
|
-
description: {
|
|
96
|
-
type: string;
|
|
97
|
-
description: string;
|
|
98
|
-
};
|
|
99
|
-
};
|
|
100
|
-
};
|
|
101
|
-
};
|
|
102
|
-
markdown: {
|
|
103
|
-
type: string;
|
|
104
|
-
description: string;
|
|
105
|
-
enum: string[];
|
|
106
|
-
default: string;
|
|
107
|
-
};
|
|
108
|
-
qna: {
|
|
109
|
-
default: string;
|
|
110
|
-
description: string;
|
|
111
|
-
anyOf: ({
|
|
112
|
-
type: string[];
|
|
113
|
-
enum: (string | boolean)[];
|
|
114
|
-
} | {
|
|
115
|
-
type: string;
|
|
116
|
-
enum?: undefined;
|
|
117
|
-
})[];
|
|
118
|
-
};
|
|
119
|
-
extensionDependencies: {
|
|
120
|
-
description: string;
|
|
121
|
-
type: string;
|
|
122
|
-
uniqueItems: boolean;
|
|
123
|
-
items: {
|
|
124
|
-
type: string;
|
|
125
|
-
pattern: string;
|
|
126
|
-
};
|
|
127
|
-
};
|
|
128
|
-
extensionPack: {
|
|
129
|
-
description: string;
|
|
130
|
-
type: string;
|
|
131
|
-
uniqueItems: boolean;
|
|
132
|
-
items: {
|
|
133
|
-
type: string;
|
|
134
|
-
pattern: string;
|
|
135
|
-
};
|
|
136
|
-
};
|
|
137
|
-
extensionKind: {
|
|
138
|
-
description: string;
|
|
139
|
-
type: string;
|
|
140
|
-
enum: string[];
|
|
141
|
-
enumDescriptions: string[];
|
|
142
|
-
default: string;
|
|
143
|
-
};
|
|
144
|
-
scripts: {
|
|
145
|
-
type: string;
|
|
146
|
-
properties: {
|
|
147
|
-
'vscode:prepublish': {
|
|
148
|
-
description: string;
|
|
149
|
-
type: string;
|
|
150
|
-
};
|
|
151
|
-
'vscode:uninstall': {
|
|
152
|
-
description: string;
|
|
153
|
-
type: string;
|
|
154
|
-
};
|
|
155
|
-
};
|
|
156
|
-
};
|
|
157
|
-
icon: {
|
|
158
|
-
type: string;
|
|
159
|
-
description: string;
|
|
160
|
-
};
|
|
161
|
-
};
|
|
162
|
-
};
|
|
163
|
-
//# sourceMappingURL=vscodeExtensionPackageSchema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"vscodeExtensionPackageSchema.d.ts","sourceRoot":"","sources":["../../../src/extensions/schema/vscodeExtensionPackageSchema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,4BAA4B,8DAA8D,CAAC;AAExG,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqUxC,CAAC"}
|