@codingame/monaco-vscode-ab07af84-42e8-5a0f-8aef-b83fb90ede21-common 14.0.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.
package/empty.js ADDED
@@ -0,0 +1 @@
1
+ export {}
package/package.json ADDED
@@ -0,0 +1,40 @@
1
+ {
2
+ "name": "@codingame/monaco-vscode-ab07af84-42e8-5a0f-8aef-b83fb90ede21-common",
3
+ "version": "14.0.0",
4
+ "private": false,
5
+ "description": "VSCode public API plugged on the monaco editor - common package (debug, markers, output, task)",
6
+ "keywords": [],
7
+ "author": {
8
+ "name": "CodinGame",
9
+ "url": "http://www.codingame.com"
10
+ },
11
+ "license": "MIT",
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "git+ssh://git@github.com/CodinGame/monaco-vscode-api.git"
15
+ },
16
+ "type": "module",
17
+ "dependencies": {
18
+ "@codingame/monaco-vscode-api": "14.0.0"
19
+ },
20
+ "exports": {
21
+ ".": {
22
+ "default": "./empty.js"
23
+ },
24
+ "./vscode/*": {
25
+ "default": "./vscode/src/*.js",
26
+ "types": "./vscode/src/*.d.ts"
27
+ },
28
+ "./*": {
29
+ "default": "./*.js",
30
+ "types": "./*.d.ts"
31
+ }
32
+ },
33
+ "typesVersions": {
34
+ "*": {
35
+ "vscode/*": [
36
+ "./vscode/src/*.d.ts"
37
+ ]
38
+ }
39
+ }
40
+ }
@@ -0,0 +1,35 @@
1
+ import { RawContextKey } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey";
2
+ export declare enum MarkersViewMode {
3
+ Table = "table",
4
+ Tree = "tree"
5
+ }
6
+ export declare namespace Markers {
7
+ const MARKERS_CONTAINER_ID = "workbench.panel.markers";
8
+ const MARKERS_VIEW_ID = "workbench.panel.markers.view";
9
+ const MARKERS_VIEW_STORAGE_ID = "workbench.panel.markers";
10
+ const MARKER_COPY_ACTION_ID = "problems.action.copy";
11
+ const MARKER_COPY_MESSAGE_ACTION_ID = "problems.action.copyMessage";
12
+ const RELATED_INFORMATION_COPY_MESSAGE_ACTION_ID = "problems.action.copyRelatedInformationMessage";
13
+ const FOCUS_PROBLEMS_FROM_FILTER = "problems.action.focusProblemsFromFilter";
14
+ const MARKERS_VIEW_FOCUS_FILTER = "problems.action.focusFilter";
15
+ const MARKERS_VIEW_CLEAR_FILTER_TEXT = "problems.action.clearFilterText";
16
+ const MARKERS_VIEW_SHOW_MULTILINE_MESSAGE = "problems.action.showMultilineMessage";
17
+ const MARKERS_VIEW_SHOW_SINGLELINE_MESSAGE = "problems.action.showSinglelineMessage";
18
+ const MARKER_OPEN_ACTION_ID = "problems.action.open";
19
+ const MARKER_OPEN_SIDE_ACTION_ID = "problems.action.openToSide";
20
+ const MARKER_SHOW_PANEL_ID = "workbench.action.showErrorsWarnings";
21
+ const MARKER_SHOW_QUICK_FIX = "problems.action.showQuickFixes";
22
+ const TOGGLE_MARKERS_VIEW_ACTION_ID = "workbench.actions.view.toggleProblems";
23
+ }
24
+ export declare namespace MarkersContextKeys {
25
+ const MarkersViewModeContextKey: RawContextKey<MarkersViewMode>;
26
+ const MarkersTreeVisibilityContextKey: RawContextKey<boolean>;
27
+ const MarkerFocusContextKey: RawContextKey<boolean>;
28
+ const MarkerViewFilterFocusContextKey: RawContextKey<boolean>;
29
+ const RelatedInformationFocusContextKey: RawContextKey<boolean>;
30
+ const ShowErrorsFilterContextKey: RawContextKey<boolean>;
31
+ const ShowWarningsFilterContextKey: RawContextKey<boolean>;
32
+ const ShowInfoFilterContextKey: RawContextKey<boolean>;
33
+ const ShowActiveFileFilterContextKey: RawContextKey<boolean>;
34
+ const ShowExcludedFilesFilterContextKey: RawContextKey<boolean>;
35
+ }
@@ -0,0 +1,42 @@
1
+
2
+ import { RawContextKey } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey';
3
+
4
+ var MarkersViewMode;
5
+ (function (MarkersViewMode) {
6
+ MarkersViewMode["Table"] = "table";
7
+ MarkersViewMode["Tree"] = "tree";
8
+ })(MarkersViewMode || (MarkersViewMode = {}));
9
+ var Markers;
10
+ (function (Markers) {
11
+ Markers.MARKERS_CONTAINER_ID = 'workbench.panel.markers';
12
+ Markers.MARKERS_VIEW_ID = 'workbench.panel.markers.view';
13
+ Markers.MARKERS_VIEW_STORAGE_ID = 'workbench.panel.markers';
14
+ Markers.MARKER_COPY_ACTION_ID = 'problems.action.copy';
15
+ Markers.MARKER_COPY_MESSAGE_ACTION_ID = 'problems.action.copyMessage';
16
+ Markers.RELATED_INFORMATION_COPY_MESSAGE_ACTION_ID = 'problems.action.copyRelatedInformationMessage';
17
+ Markers.FOCUS_PROBLEMS_FROM_FILTER = 'problems.action.focusProblemsFromFilter';
18
+ Markers.MARKERS_VIEW_FOCUS_FILTER = 'problems.action.focusFilter';
19
+ Markers.MARKERS_VIEW_CLEAR_FILTER_TEXT = 'problems.action.clearFilterText';
20
+ Markers.MARKERS_VIEW_SHOW_MULTILINE_MESSAGE = 'problems.action.showMultilineMessage';
21
+ Markers.MARKERS_VIEW_SHOW_SINGLELINE_MESSAGE = 'problems.action.showSinglelineMessage';
22
+ Markers.MARKER_OPEN_ACTION_ID = 'problems.action.open';
23
+ Markers.MARKER_OPEN_SIDE_ACTION_ID = 'problems.action.openToSide';
24
+ Markers.MARKER_SHOW_PANEL_ID = 'workbench.action.showErrorsWarnings';
25
+ Markers.MARKER_SHOW_QUICK_FIX = 'problems.action.showQuickFixes';
26
+ Markers.TOGGLE_MARKERS_VIEW_ACTION_ID = 'workbench.actions.view.toggleProblems';
27
+ })(Markers || (Markers = {}));
28
+ var MarkersContextKeys;
29
+ (function (MarkersContextKeys) {
30
+ MarkersContextKeys.MarkersViewModeContextKey = ( new RawContextKey('problemsViewMode', MarkersViewMode.Tree));
31
+ MarkersContextKeys.MarkersTreeVisibilityContextKey = ( new RawContextKey('problemsVisibility', false));
32
+ MarkersContextKeys.MarkerFocusContextKey = ( new RawContextKey('problemFocus', false));
33
+ MarkersContextKeys.MarkerViewFilterFocusContextKey = ( new RawContextKey('problemsFilterFocus', false));
34
+ MarkersContextKeys.RelatedInformationFocusContextKey = ( new RawContextKey('relatedInformationFocus', false));
35
+ MarkersContextKeys.ShowErrorsFilterContextKey = ( new RawContextKey('problems.filter.errors', true));
36
+ MarkersContextKeys.ShowWarningsFilterContextKey = ( new RawContextKey('problems.filter.warnings', true));
37
+ MarkersContextKeys.ShowInfoFilterContextKey = ( new RawContextKey('problems.filter.info', true));
38
+ MarkersContextKeys.ShowActiveFileFilterContextKey = ( new RawContextKey('problems.filter.activeFile', false));
39
+ MarkersContextKeys.ShowExcludedFilesFilterContextKey = ( new RawContextKey('problems.filter.excludedFiles', true));
40
+ })(MarkersContextKeys || (MarkersContextKeys = {}));
41
+
42
+ export { Markers, MarkersContextKeys, MarkersViewMode };
@@ -0,0 +1,2 @@
1
+ import { IJSONSchema } from "@codingame/monaco-vscode-api/vscode/vs/base/common/jsonSchema";
2
+ export declare const inputsSchema: IJSONSchema;
@@ -0,0 +1,156 @@
1
+
2
+ import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
3
+
4
+ const idDescription = ( localize(
5
+ 11524,
6
+ "The input's id is used to associate an input with a variable of the form ${input:id}."
7
+ ));
8
+ const typeDescription = ( localize(11525, "The type of user input prompt to use."));
9
+ const descriptionDescription = ( localize(11526, "The description is shown when the user is prompted for input."));
10
+ const defaultDescription = ( localize(11527, "The default value for the input."));
11
+ const inputsSchema = {
12
+ definitions: {
13
+ inputs: {
14
+ type: 'array',
15
+ description: ( localize(
16
+ 11528,
17
+ 'User inputs. Used for defining user input prompts, such as free string input or a choice from several options.'
18
+ )),
19
+ items: {
20
+ oneOf: [
21
+ {
22
+ type: 'object',
23
+ required: ['id', 'type', 'description'],
24
+ additionalProperties: false,
25
+ properties: {
26
+ id: {
27
+ type: 'string',
28
+ description: idDescription
29
+ },
30
+ type: {
31
+ type: 'string',
32
+ description: typeDescription,
33
+ enum: ['promptString'],
34
+ enumDescriptions: [
35
+ ( localize(
36
+ 11529,
37
+ "The 'promptString' type opens an input box to ask the user for input."
38
+ )),
39
+ ]
40
+ },
41
+ description: {
42
+ type: 'string',
43
+ description: descriptionDescription
44
+ },
45
+ default: {
46
+ type: 'string',
47
+ description: defaultDescription
48
+ },
49
+ password: {
50
+ type: 'boolean',
51
+ description: ( localize(
52
+ 11530,
53
+ "Controls if a password input is shown. Password input hides the typed text."
54
+ )),
55
+ },
56
+ }
57
+ },
58
+ {
59
+ type: 'object',
60
+ required: ['id', 'type', 'description', 'options'],
61
+ additionalProperties: false,
62
+ properties: {
63
+ id: {
64
+ type: 'string',
65
+ description: idDescription
66
+ },
67
+ type: {
68
+ type: 'string',
69
+ description: typeDescription,
70
+ enum: ['pickString'],
71
+ enumDescriptions: [
72
+ ( localize(11531, "The 'pickString' type shows a selection list.")),
73
+ ]
74
+ },
75
+ description: {
76
+ type: 'string',
77
+ description: descriptionDescription
78
+ },
79
+ default: {
80
+ type: 'string',
81
+ description: defaultDescription
82
+ },
83
+ options: {
84
+ type: 'array',
85
+ description: ( localize(11532, "An array of strings that defines the options for a quick pick.")),
86
+ items: {
87
+ oneOf: [
88
+ {
89
+ type: 'string'
90
+ },
91
+ {
92
+ type: 'object',
93
+ required: ['value'],
94
+ additionalProperties: false,
95
+ properties: {
96
+ label: {
97
+ type: 'string',
98
+ description: ( localize(11533, "Label for the option."))
99
+ },
100
+ value: {
101
+ type: 'string',
102
+ description: ( localize(11534, "Value for the option."))
103
+ }
104
+ }
105
+ }
106
+ ]
107
+ }
108
+ }
109
+ }
110
+ },
111
+ {
112
+ type: 'object',
113
+ required: ['id', 'type', 'command'],
114
+ additionalProperties: false,
115
+ properties: {
116
+ id: {
117
+ type: 'string',
118
+ description: idDescription
119
+ },
120
+ type: {
121
+ type: 'string',
122
+ description: typeDescription,
123
+ enum: ['command'],
124
+ enumDescriptions: [
125
+ ( localize(11535, "The 'command' type executes a command.")),
126
+ ]
127
+ },
128
+ command: {
129
+ type: 'string',
130
+ description: ( localize(11536, "The command to execute for this input variable."))
131
+ },
132
+ args: {
133
+ oneOf: [
134
+ {
135
+ type: 'object',
136
+ description: ( localize(11537, "Optional arguments passed to the command."))
137
+ },
138
+ {
139
+ type: 'array',
140
+ description: ( localize(11537, "Optional arguments passed to the command."))
141
+ },
142
+ {
143
+ type: 'string',
144
+ description: ( localize(11537, "Optional arguments passed to the command."))
145
+ }
146
+ ]
147
+ }
148
+ }
149
+ }
150
+ ]
151
+ }
152
+ }
153
+ }
154
+ };
155
+
156
+ export { inputsSchema };
@@ -0,0 +1,2 @@
1
+ import { IJSONSchema } from "@codingame/monaco-vscode-api/vscode/vs/base/common/jsonSchema";
2
+ export declare function applyDeprecatedVariableMessage(schema: IJSONSchema): void;
@@ -0,0 +1,13 @@
1
+
2
+ import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
3
+
4
+ function applyDeprecatedVariableMessage(schema) {
5
+ schema.pattern = schema.pattern || '^(?!.*\\$\\{(env|config|command)\\.)';
6
+ schema.patternErrorMessage = schema.patternErrorMessage ||
7
+ ( localize(
8
+ 11538,
9
+ "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead."
10
+ ));
11
+ }
12
+
13
+ export { applyDeprecatedVariableMessage };