@codingame/monaco-vscode-rollup-vsix-plugin 1.81.8-next.1

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.
@@ -0,0 +1,12 @@
1
+ interface ILocalizedString {
2
+ /**
3
+ * The localized value of the string.
4
+ */
5
+ value: string;
6
+ /**
7
+ * The original (non localized value of the string)
8
+ */
9
+ original: string;
10
+ }
11
+
12
+ export { ILocalizedString };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Type of extension.
3
+ *
4
+ * **NOTE**: This is defined in `platform/environment` because it can appear as a CLI argument.
5
+ */
6
+ type ExtensionKind = 'ui' | 'workspace' | 'web';
7
+
8
+ export { ExtensionKind };
@@ -0,0 +1,252 @@
1
+ import { ILocalizedString } from '../../action/common/action.js';
2
+ import { ExtensionKind } from '../../environment/common/environment.js';
3
+
4
+ interface ICommand {
5
+ command: string;
6
+ title: string | ILocalizedString;
7
+ category?: string | ILocalizedString;
8
+ }
9
+ interface IConfigurationProperty {
10
+ description: string;
11
+ type: string | string[];
12
+ default?: any;
13
+ }
14
+ interface IConfiguration {
15
+ id?: string;
16
+ order?: number;
17
+ title?: string;
18
+ properties: {
19
+ [key: string]: IConfigurationProperty;
20
+ };
21
+ }
22
+ interface IDebugger {
23
+ label?: string;
24
+ type: string;
25
+ runtime?: string;
26
+ }
27
+ interface IGrammar {
28
+ language: string;
29
+ }
30
+ interface IJSONValidation {
31
+ fileMatch: string | string[];
32
+ url: string;
33
+ }
34
+ interface IKeyBinding {
35
+ command: string;
36
+ key: string;
37
+ when?: string;
38
+ mac?: string;
39
+ linux?: string;
40
+ win?: string;
41
+ }
42
+ interface ILanguage {
43
+ id: string;
44
+ extensions: string[];
45
+ aliases: string[];
46
+ }
47
+ interface IMenu {
48
+ command: string;
49
+ alt?: string;
50
+ when?: string;
51
+ group?: string;
52
+ }
53
+ interface ISnippet {
54
+ language: string;
55
+ }
56
+ interface ITheme {
57
+ label: string;
58
+ }
59
+ interface IViewContainer {
60
+ id: string;
61
+ title: string;
62
+ }
63
+ interface IView {
64
+ id: string;
65
+ name: string;
66
+ }
67
+ interface IColor {
68
+ id: string;
69
+ description: string;
70
+ defaults: {
71
+ light: string;
72
+ dark: string;
73
+ highContrast: string;
74
+ };
75
+ }
76
+ interface IWebviewEditor {
77
+ readonly viewType: string;
78
+ readonly priority: string;
79
+ readonly selector: readonly {
80
+ readonly filenamePattern?: string;
81
+ }[];
82
+ }
83
+ interface ICodeActionContributionAction {
84
+ readonly kind: string;
85
+ readonly title: string;
86
+ readonly description?: string;
87
+ }
88
+ interface ICodeActionContribution {
89
+ readonly languages: readonly string[];
90
+ readonly actions: readonly ICodeActionContributionAction[];
91
+ }
92
+ interface IAuthenticationContribution {
93
+ readonly id: string;
94
+ readonly label: string;
95
+ }
96
+ interface IWalkthroughStep {
97
+ readonly id: string;
98
+ readonly title: string;
99
+ readonly description: string | undefined;
100
+ readonly media: {
101
+ image: string | {
102
+ dark: string;
103
+ light: string;
104
+ hc: string;
105
+ };
106
+ altText: string;
107
+ markdown?: never;
108
+ svg?: never;
109
+ } | {
110
+ markdown: string;
111
+ image?: never;
112
+ svg?: never;
113
+ } | {
114
+ svg: string;
115
+ altText: string;
116
+ markdown?: never;
117
+ image?: never;
118
+ };
119
+ readonly completionEvents?: string[];
120
+ /** @deprecated use `completionEvents: 'onCommand:...'` */
121
+ readonly doneOn?: {
122
+ command: string;
123
+ };
124
+ readonly when?: string;
125
+ }
126
+ interface IWalkthrough {
127
+ readonly id: string;
128
+ readonly title: string;
129
+ readonly icon?: string;
130
+ readonly description: string;
131
+ readonly steps: IWalkthroughStep[];
132
+ readonly featuredFor: string[] | undefined;
133
+ readonly when?: string;
134
+ }
135
+ interface IStartEntry {
136
+ readonly title: string;
137
+ readonly description: string;
138
+ readonly command: string;
139
+ readonly when?: string;
140
+ readonly category: 'file' | 'folder' | 'notebook';
141
+ }
142
+ interface INotebookEntry {
143
+ readonly type: string;
144
+ readonly displayName: string;
145
+ }
146
+ interface INotebookRendererContribution {
147
+ readonly id: string;
148
+ readonly displayName: string;
149
+ readonly mimeTypes: string[];
150
+ }
151
+ interface ITranslation {
152
+ id: string;
153
+ path: string;
154
+ }
155
+ interface ILocalizationContribution {
156
+ languageId: string;
157
+ languageName?: string;
158
+ localizedLanguageName?: string;
159
+ translations: ITranslation[];
160
+ minimalTranslations?: {
161
+ [key: string]: string;
162
+ };
163
+ }
164
+ interface IExtensionContributions {
165
+ commands?: ICommand[];
166
+ configuration?: IConfiguration | IConfiguration[];
167
+ debuggers?: IDebugger[];
168
+ grammars?: IGrammar[];
169
+ jsonValidation?: IJSONValidation[];
170
+ keybindings?: IKeyBinding[];
171
+ languages?: ILanguage[];
172
+ menus?: {
173
+ [context: string]: IMenu[];
174
+ };
175
+ snippets?: ISnippet[];
176
+ themes?: ITheme[];
177
+ iconThemes?: ITheme[];
178
+ productIconThemes?: ITheme[];
179
+ viewsContainers?: {
180
+ [location: string]: IViewContainer[];
181
+ };
182
+ views?: {
183
+ [location: string]: IView[];
184
+ };
185
+ colors?: IColor[];
186
+ localizations?: ILocalizationContribution[];
187
+ readonly customEditors?: readonly IWebviewEditor[];
188
+ readonly codeActions?: readonly ICodeActionContribution[];
189
+ authentication?: IAuthenticationContribution[];
190
+ walkthroughs?: IWalkthrough[];
191
+ startEntries?: IStartEntry[];
192
+ readonly notebooks?: INotebookEntry[];
193
+ readonly notebookRenderer?: INotebookRendererContribution[];
194
+ }
195
+ interface IExtensionCapabilities {
196
+ readonly virtualWorkspaces?: ExtensionVirtualWorkspaceSupport;
197
+ readonly untrustedWorkspaces?: ExtensionUntrustedWorkspaceSupport;
198
+ }
199
+ type LimitedWorkspaceSupportType = 'limited';
200
+ type ExtensionUntrustedWorkspaceSupport = {
201
+ supported: true;
202
+ } | {
203
+ supported: false;
204
+ description: string;
205
+ } | {
206
+ supported: LimitedWorkspaceSupportType;
207
+ description: string;
208
+ restrictedConfigurations?: string[];
209
+ };
210
+ type ExtensionVirtualWorkspaceSupport = boolean | {
211
+ supported: true;
212
+ } | {
213
+ supported: false | LimitedWorkspaceSupportType;
214
+ description: string;
215
+ };
216
+ interface IRelaxedExtensionManifest {
217
+ name: string;
218
+ displayName?: string;
219
+ publisher: string;
220
+ version: string;
221
+ engines: {
222
+ readonly vscode: string;
223
+ };
224
+ description?: string;
225
+ main?: string;
226
+ browser?: string;
227
+ preview?: boolean;
228
+ l10n?: string;
229
+ icon?: string;
230
+ categories?: string[];
231
+ keywords?: string[];
232
+ activationEvents?: string[];
233
+ extensionDependencies?: string[];
234
+ extensionPack?: string[];
235
+ extensionKind?: ExtensionKind | ExtensionKind[];
236
+ contributes?: IExtensionContributions;
237
+ repository?: {
238
+ url: string;
239
+ };
240
+ bugs?: {
241
+ url: string;
242
+ };
243
+ enabledApiProposals?: readonly string[];
244
+ api?: string;
245
+ scripts?: {
246
+ [key: string]: string;
247
+ };
248
+ capabilities?: IExtensionCapabilities;
249
+ }
250
+ type IExtensionManifest = Readonly<IRelaxedExtensionManifest>;
251
+
252
+ export { ExtensionUntrustedWorkspaceSupport, ExtensionVirtualWorkspaceSupport, IAuthenticationContribution, ICodeActionContribution, ICodeActionContributionAction, IColor, ICommand, IConfiguration, IConfigurationProperty, IDebugger, IExtensionCapabilities, IExtensionContributions, IExtensionManifest, IGrammar, IJSONValidation, IKeyBinding, ILanguage, ILocalizationContribution, IMenu, INotebookEntry, INotebookRendererContribution, IRelaxedExtensionManifest, ISnippet, IStartEntry, ITheme, ITranslation, IView, IViewContainer, IWalkthrough, IWalkthroughStep, LimitedWorkspaceSupportType };