@kusto/monaco-kusto 7.7.2 → 7.9.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,11 +1,11 @@
1
1
  /*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * monaco-kusto version: 7.7.2(36941000968d2e5b64053b2c801e7dd2500b0188)
3
+ * monaco-kusto version: 7.9.0(0281ddcee87ba54771464e1ceabfbf44179c8a19)
4
4
  * Released under the MIT license
5
5
  * https://https://github.com/Azure/monaco-kusto/blob/master/README.md
6
6
  *-----------------------------------------------------------------------------*/
7
7
 
8
- define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'use strict';
8
+ define('vs/language/kusto/main-33c2575c', ['exports'], (function (exports) { 'use strict';
9
9
 
10
10
  /* --------------------------------------------------------------------------------------------
11
11
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -13,19 +13,41 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
13
13
  * ------------------------------------------------------------------------------------------ */
14
14
 
15
15
  function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
16
+ var DocumentUri;
17
+ (function (DocumentUri) {
18
+ function is(value) {
19
+ return typeof value === 'string';
20
+ }
21
+ DocumentUri.is = is;
22
+ })(DocumentUri || (DocumentUri = {}));
23
+ var URI;
24
+ (function (URI) {
25
+ function is(value) {
26
+ return typeof value === 'string';
27
+ }
28
+ URI.is = is;
29
+ })(URI || (URI = {}));
16
30
  var integer;
17
31
  (function (integer) {
18
32
  integer.MIN_VALUE = -2147483648;
19
33
  integer.MAX_VALUE = 2147483647;
34
+ function is(value) {
35
+ return typeof value === 'number' && integer.MIN_VALUE <= value && value <= integer.MAX_VALUE;
36
+ }
37
+ integer.is = is;
20
38
  })(integer || (integer = {}));
21
39
  var uinteger;
22
40
  (function (uinteger) {
23
41
  uinteger.MIN_VALUE = 0;
24
42
  uinteger.MAX_VALUE = 2147483647;
43
+ function is(value) {
44
+ return typeof value === 'number' && uinteger.MIN_VALUE <= value && value <= uinteger.MAX_VALUE;
45
+ }
46
+ uinteger.is = is;
25
47
  })(uinteger || (uinteger = {}));
26
48
  /**
27
49
  * The Position namespace provides helper functions to work with
28
- * [Position](#Position) literals.
50
+ * {@link Position} literals.
29
51
  */
30
52
  var Position;
31
53
  (function (Position) {
@@ -48,7 +70,7 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
48
70
  }
49
71
  Position.create = create;
50
72
  /**
51
- * Checks whether the given literal conforms to the [Position](#Position) interface.
73
+ * Checks whether the given literal conforms to the {@link Position} interface.
52
74
  */
53
75
  function is(value) {
54
76
  var candidate = value;
@@ -58,7 +80,7 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
58
80
  })(Position || (Position = {}));
59
81
  /**
60
82
  * The Range namespace provides helper functions to work with
61
- * [Range](#Range) literals.
83
+ * {@link Range} literals.
62
84
  */
63
85
  exports.Range = void 0;
64
86
  (function (Range) {
@@ -74,12 +96,12 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
74
96
  end: two
75
97
  };
76
98
  } else {
77
- throw new Error("Range#create called with invalid arguments[" + one + ", " + two + ", " + three + ", " + four + "]");
99
+ throw new Error("Range#create called with invalid arguments[".concat(one, ", ").concat(two, ", ").concat(three, ", ").concat(four, "]"));
78
100
  }
79
101
  }
80
102
  Range.create = create;
81
103
  /**
82
- * Checks whether the given literal conforms to the [Range](#Range) interface.
104
+ * Checks whether the given literal conforms to the {@link Range} interface.
83
105
  */
84
106
  function is(value) {
85
107
  var candidate = value;
@@ -89,7 +111,7 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
89
111
  })(exports.Range || (exports.Range = {}));
90
112
  /**
91
113
  * The Location namespace provides helper functions to work with
92
- * [Location](#Location) literals.
114
+ * {@link Location} literals.
93
115
  */
94
116
  exports.Location = void 0;
95
117
  (function (Location) {
@@ -106,17 +128,17 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
106
128
  }
107
129
  Location.create = create;
108
130
  /**
109
- * Checks whether the given literal conforms to the [Location](#Location) interface.
131
+ * Checks whether the given literal conforms to the {@link Location} interface.
110
132
  */
111
133
  function is(value) {
112
134
  var candidate = value;
113
- return Is.defined(candidate) && exports.Range.is(candidate.range) && (Is.string(candidate.uri) || Is.undefined(candidate.uri));
135
+ return Is.objectLiteral(candidate) && exports.Range.is(candidate.range) && (Is.string(candidate.uri) || Is.undefined(candidate.uri));
114
136
  }
115
137
  Location.is = is;
116
138
  })(exports.Location || (exports.Location = {}));
117
139
  /**
118
140
  * The LocationLink namespace provides helper functions to work with
119
- * [LocationLink](#LocationLink) literals.
141
+ * {@link LocationLink} literals.
120
142
  */
121
143
  var LocationLink;
122
144
  (function (LocationLink) {
@@ -137,17 +159,17 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
137
159
  }
138
160
  LocationLink.create = create;
139
161
  /**
140
- * Checks whether the given literal conforms to the [LocationLink](#LocationLink) interface.
162
+ * Checks whether the given literal conforms to the {@link LocationLink} interface.
141
163
  */
142
164
  function is(value) {
143
165
  var candidate = value;
144
- return Is.defined(candidate) && exports.Range.is(candidate.targetRange) && Is.string(candidate.targetUri) && (exports.Range.is(candidate.targetSelectionRange) || Is.undefined(candidate.targetSelectionRange)) && (exports.Range.is(candidate.originSelectionRange) || Is.undefined(candidate.originSelectionRange));
166
+ return Is.objectLiteral(candidate) && exports.Range.is(candidate.targetRange) && Is.string(candidate.targetUri) && exports.Range.is(candidate.targetSelectionRange) && (exports.Range.is(candidate.originSelectionRange) || Is.undefined(candidate.originSelectionRange));
145
167
  }
146
168
  LocationLink.is = is;
147
169
  })(LocationLink || (LocationLink = {}));
148
170
  /**
149
171
  * The Color namespace provides helper functions to work with
150
- * [Color](#Color) literals.
172
+ * {@link Color} literals.
151
173
  */
152
174
  var Color;
153
175
  (function (Color) {
@@ -164,17 +186,17 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
164
186
  }
165
187
  Color.create = create;
166
188
  /**
167
- * Checks whether the given literal conforms to the [Color](#Color) interface.
189
+ * Checks whether the given literal conforms to the {@link Color} interface.
168
190
  */
169
191
  function is(value) {
170
192
  var candidate = value;
171
- return Is.numberRange(candidate.red, 0, 1) && Is.numberRange(candidate.green, 0, 1) && Is.numberRange(candidate.blue, 0, 1) && Is.numberRange(candidate.alpha, 0, 1);
193
+ return Is.objectLiteral(candidate) && Is.numberRange(candidate.red, 0, 1) && Is.numberRange(candidate.green, 0, 1) && Is.numberRange(candidate.blue, 0, 1) && Is.numberRange(candidate.alpha, 0, 1);
172
194
  }
173
195
  Color.is = is;
174
196
  })(Color || (Color = {}));
175
197
  /**
176
198
  * The ColorInformation namespace provides helper functions to work with
177
- * [ColorInformation](#ColorInformation) literals.
199
+ * {@link ColorInformation} literals.
178
200
  */
179
201
  var ColorInformation;
180
202
  (function (ColorInformation) {
@@ -189,17 +211,17 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
189
211
  }
190
212
  ColorInformation.create = create;
191
213
  /**
192
- * Checks whether the given literal conforms to the [ColorInformation](#ColorInformation) interface.
214
+ * Checks whether the given literal conforms to the {@link ColorInformation} interface.
193
215
  */
194
216
  function is(value) {
195
217
  var candidate = value;
196
- return exports.Range.is(candidate.range) && Color.is(candidate.color);
218
+ return Is.objectLiteral(candidate) && exports.Range.is(candidate.range) && Color.is(candidate.color);
197
219
  }
198
220
  ColorInformation.is = is;
199
221
  })(ColorInformation || (ColorInformation = {}));
200
222
  /**
201
223
  * The Color namespace provides helper functions to work with
202
- * [ColorPresentation](#ColorPresentation) literals.
224
+ * {@link ColorPresentation} literals.
203
225
  */
204
226
  var ColorPresentation;
205
227
  (function (ColorPresentation) {
@@ -215,42 +237,42 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
215
237
  }
216
238
  ColorPresentation.create = create;
217
239
  /**
218
- * Checks whether the given literal conforms to the [ColorInformation](#ColorInformation) interface.
240
+ * Checks whether the given literal conforms to the {@link ColorInformation} interface.
219
241
  */
220
242
  function is(value) {
221
243
  var candidate = value;
222
- return Is.string(candidate.label) && (Is.undefined(candidate.textEdit) || exports.TextEdit.is(candidate)) && (Is.undefined(candidate.additionalTextEdits) || Is.typedArray(candidate.additionalTextEdits, exports.TextEdit.is));
244
+ return Is.objectLiteral(candidate) && Is.string(candidate.label) && (Is.undefined(candidate.textEdit) || exports.TextEdit.is(candidate)) && (Is.undefined(candidate.additionalTextEdits) || Is.typedArray(candidate.additionalTextEdits, exports.TextEdit.is));
223
245
  }
224
246
  ColorPresentation.is = is;
225
247
  })(ColorPresentation || (ColorPresentation = {}));
226
248
  /**
227
- * Enum of known range kinds
249
+ * A set of predefined range kinds.
228
250
  */
229
251
  var FoldingRangeKind;
230
252
  (function (FoldingRangeKind) {
231
253
  /**
232
254
  * Folding range for a comment
233
255
  */
234
- FoldingRangeKind["Comment"] = "comment";
256
+ FoldingRangeKind.Comment = 'comment';
235
257
  /**
236
- * Folding range for a imports or includes
258
+ * Folding range for an import or include
237
259
  */
238
- FoldingRangeKind["Imports"] = "imports";
260
+ FoldingRangeKind.Imports = 'imports';
239
261
  /**
240
262
  * Folding range for a region (e.g. `#region`)
241
263
  */
242
- FoldingRangeKind["Region"] = "region";
264
+ FoldingRangeKind.Region = 'region';
243
265
  })(FoldingRangeKind || (FoldingRangeKind = {}));
244
266
  /**
245
267
  * The folding range namespace provides helper functions to work with
246
- * [FoldingRange](#FoldingRange) literals.
268
+ * {@link FoldingRange} literals.
247
269
  */
248
270
  var FoldingRange;
249
271
  (function (FoldingRange) {
250
272
  /**
251
273
  * Creates a new FoldingRange literal.
252
274
  */
253
- function create(startLine, endLine, startCharacter, endCharacter, kind) {
275
+ function create(startLine, endLine, startCharacter, endCharacter, kind, collapsedText) {
254
276
  var result = {
255
277
  startLine: startLine,
256
278
  endLine: endLine
@@ -264,21 +286,24 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
264
286
  if (Is.defined(kind)) {
265
287
  result.kind = kind;
266
288
  }
289
+ if (Is.defined(collapsedText)) {
290
+ result.collapsedText = collapsedText;
291
+ }
267
292
  return result;
268
293
  }
269
294
  FoldingRange.create = create;
270
295
  /**
271
- * Checks whether the given literal conforms to the [FoldingRange](#FoldingRange) interface.
296
+ * Checks whether the given literal conforms to the {@link FoldingRange} interface.
272
297
  */
273
298
  function is(value) {
274
299
  var candidate = value;
275
- return Is.uinteger(candidate.startLine) && Is.uinteger(candidate.startLine) && (Is.undefined(candidate.startCharacter) || Is.uinteger(candidate.startCharacter)) && (Is.undefined(candidate.endCharacter) || Is.uinteger(candidate.endCharacter)) && (Is.undefined(candidate.kind) || Is.string(candidate.kind));
300
+ return Is.objectLiteral(candidate) && Is.uinteger(candidate.startLine) && Is.uinteger(candidate.startLine) && (Is.undefined(candidate.startCharacter) || Is.uinteger(candidate.startCharacter)) && (Is.undefined(candidate.endCharacter) || Is.uinteger(candidate.endCharacter)) && (Is.undefined(candidate.kind) || Is.string(candidate.kind));
276
301
  }
277
302
  FoldingRange.is = is;
278
303
  })(FoldingRange || (FoldingRange = {}));
279
304
  /**
280
305
  * The DiagnosticRelatedInformation namespace provides helper functions to work with
281
- * [DiagnosticRelatedInformation](#DiagnosticRelatedInformation) literals.
306
+ * {@link DiagnosticRelatedInformation} literals.
282
307
  */
283
308
  var DiagnosticRelatedInformation;
284
309
  (function (DiagnosticRelatedInformation) {
@@ -293,7 +318,7 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
293
318
  }
294
319
  DiagnosticRelatedInformation.create = create;
295
320
  /**
296
- * Checks whether the given literal conforms to the [DiagnosticRelatedInformation](#DiagnosticRelatedInformation) interface.
321
+ * Checks whether the given literal conforms to the {@link DiagnosticRelatedInformation} interface.
297
322
  */
298
323
  function is(value) {
299
324
  var candidate = value;
@@ -353,13 +378,13 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
353
378
  (function (CodeDescription) {
354
379
  function is(value) {
355
380
  var candidate = value;
356
- return candidate !== undefined && candidate !== null && Is.string(candidate.href);
381
+ return Is.objectLiteral(candidate) && Is.string(candidate.href);
357
382
  }
358
383
  CodeDescription.is = is;
359
384
  })(CodeDescription || (CodeDescription = {}));
360
385
  /**
361
386
  * The Diagnostic namespace provides helper functions to work with
362
- * [Diagnostic](#Diagnostic) literals.
387
+ * {@link Diagnostic} literals.
363
388
  */
364
389
  exports.Diagnostic = void 0;
365
390
  (function (Diagnostic) {
@@ -387,7 +412,7 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
387
412
  }
388
413
  Diagnostic.create = create;
389
414
  /**
390
- * Checks whether the given literal conforms to the [Diagnostic](#Diagnostic) interface.
415
+ * Checks whether the given literal conforms to the {@link Diagnostic} interface.
391
416
  */
392
417
  function is(value) {
393
418
  var _a;
@@ -398,7 +423,7 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
398
423
  })(exports.Diagnostic || (exports.Diagnostic = {}));
399
424
  /**
400
425
  * The Command namespace provides helper functions to work with
401
- * [Command](#Command) literals.
426
+ * {@link Command} literals.
402
427
  */
403
428
  var Command;
404
429
  (function (Command) {
@@ -421,7 +446,7 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
421
446
  }
422
447
  Command.create = create;
423
448
  /**
424
- * Checks whether the given literal conforms to the [Command](#Command) interface.
449
+ * Checks whether the given literal conforms to the {@link Command} interface.
425
450
  */
426
451
  function is(value) {
427
452
  var candidate = value;
@@ -448,7 +473,7 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
448
473
  }
449
474
  TextEdit.replace = replace;
450
475
  /**
451
- * Creates a insert text edit.
476
+ * Creates an insert text edit.
452
477
  * @param position The position to insert the text at.
453
478
  * @param newText The text to be inserted.
454
479
  */
@@ -496,7 +521,7 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
496
521
  ChangeAnnotation.create = create;
497
522
  function is(value) {
498
523
  var candidate = value;
499
- return candidate !== undefined && Is.objectLiteral(candidate) && Is.string(candidate.label) && (Is.boolean(candidate.needsConfirmation) || candidate.needsConfirmation === undefined) && (Is.string(candidate.description) || candidate.description === undefined);
524
+ return Is.objectLiteral(candidate) && Is.string(candidate.label) && (Is.boolean(candidate.needsConfirmation) || candidate.needsConfirmation === undefined) && (Is.string(candidate.description) || candidate.description === undefined);
500
525
  }
501
526
  ChangeAnnotation.is = is;
502
527
  })(ChangeAnnotation || (ChangeAnnotation = {}));
@@ -504,7 +529,7 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
504
529
  (function (ChangeAnnotationIdentifier) {
505
530
  function is(value) {
506
531
  var candidate = value;
507
- return typeof candidate === 'string';
532
+ return Is.string(candidate);
508
533
  }
509
534
  ChangeAnnotationIdentifier.is = is;
510
535
  })(ChangeAnnotationIdentifier || (ChangeAnnotationIdentifier = {}));
@@ -769,10 +794,10 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
769
794
  annotation = idOrAnnotation;
770
795
  }
771
796
  if (this._annotations[id] !== undefined) {
772
- throw new Error("Id " + id + " is already in use.");
797
+ throw new Error("Id ".concat(id, " is already in use."));
773
798
  }
774
799
  if (annotation === undefined) {
775
- throw new Error("No annotation provided for id " + id);
800
+ throw new Error("No annotation provided for id ".concat(id));
776
801
  }
777
802
  this._annotations[id] = annotation;
778
803
  this._size++;
@@ -814,7 +839,7 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
814
839
  }
815
840
  Object.defineProperty(WorkspaceChange.prototype, "edit", {
816
841
  /**
817
- * Returns the underlying [WorkspaceEdit](#WorkspaceEdit) literal
842
+ * Returns the underlying {@link WorkspaceEdit} literal
818
843
  * use to be returned from a workspace edit operation like rename.
819
844
  */
820
845
  get: function get() {
@@ -956,7 +981,7 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
956
981
  })();
957
982
  /**
958
983
  * The TextDocumentIdentifier namespace provides helper functions to work with
959
- * [TextDocumentIdentifier](#TextDocumentIdentifier) literals.
984
+ * {@link TextDocumentIdentifier} literals.
960
985
  */
961
986
  var TextDocumentIdentifier;
962
987
  (function (TextDocumentIdentifier) {
@@ -971,7 +996,7 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
971
996
  }
972
997
  TextDocumentIdentifier.create = create;
973
998
  /**
974
- * Checks whether the given literal conforms to the [TextDocumentIdentifier](#TextDocumentIdentifier) interface.
999
+ * Checks whether the given literal conforms to the {@link TextDocumentIdentifier} interface.
975
1000
  */
976
1001
  function is(value) {
977
1002
  var candidate = value;
@@ -981,14 +1006,14 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
981
1006
  })(TextDocumentIdentifier || (TextDocumentIdentifier = {}));
982
1007
  /**
983
1008
  * The VersionedTextDocumentIdentifier namespace provides helper functions to work with
984
- * [VersionedTextDocumentIdentifier](#VersionedTextDocumentIdentifier) literals.
1009
+ * {@link VersionedTextDocumentIdentifier} literals.
985
1010
  */
986
1011
  var VersionedTextDocumentIdentifier;
987
1012
  (function (VersionedTextDocumentIdentifier) {
988
1013
  /**
989
1014
  * Creates a new VersionedTextDocumentIdentifier literal.
990
1015
  * @param uri The document's uri.
991
- * @param uri The document's text.
1016
+ * @param version The document's version.
992
1017
  */
993
1018
  function create(uri, version) {
994
1019
  return {
@@ -998,7 +1023,7 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
998
1023
  }
999
1024
  VersionedTextDocumentIdentifier.create = create;
1000
1025
  /**
1001
- * Checks whether the given literal conforms to the [VersionedTextDocumentIdentifier](#VersionedTextDocumentIdentifier) interface.
1026
+ * Checks whether the given literal conforms to the {@link VersionedTextDocumentIdentifier} interface.
1002
1027
  */
1003
1028
  function is(value) {
1004
1029
  var candidate = value;
@@ -1008,14 +1033,14 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
1008
1033
  })(VersionedTextDocumentIdentifier || (VersionedTextDocumentIdentifier = {}));
1009
1034
  /**
1010
1035
  * The OptionalVersionedTextDocumentIdentifier namespace provides helper functions to work with
1011
- * [OptionalVersionedTextDocumentIdentifier](#OptionalVersionedTextDocumentIdentifier) literals.
1036
+ * {@link OptionalVersionedTextDocumentIdentifier} literals.
1012
1037
  */
1013
1038
  var OptionalVersionedTextDocumentIdentifier;
1014
1039
  (function (OptionalVersionedTextDocumentIdentifier) {
1015
1040
  /**
1016
1041
  * Creates a new OptionalVersionedTextDocumentIdentifier literal.
1017
1042
  * @param uri The document's uri.
1018
- * @param uri The document's text.
1043
+ * @param version The document's version.
1019
1044
  */
1020
1045
  function create(uri, version) {
1021
1046
  return {
@@ -1025,7 +1050,7 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
1025
1050
  }
1026
1051
  OptionalVersionedTextDocumentIdentifier.create = create;
1027
1052
  /**
1028
- * Checks whether the given literal conforms to the [OptionalVersionedTextDocumentIdentifier](#OptionalVersionedTextDocumentIdentifier) interface.
1053
+ * Checks whether the given literal conforms to the {@link OptionalVersionedTextDocumentIdentifier} interface.
1029
1054
  */
1030
1055
  function is(value) {
1031
1056
  var candidate = value;
@@ -1035,7 +1060,7 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
1035
1060
  })(OptionalVersionedTextDocumentIdentifier || (OptionalVersionedTextDocumentIdentifier = {}));
1036
1061
  /**
1037
1062
  * The TextDocumentItem namespace provides helper functions to work with
1038
- * [TextDocumentItem](#TextDocumentItem) literals.
1063
+ * {@link TextDocumentItem} literals.
1039
1064
  */
1040
1065
  var TextDocumentItem;
1041
1066
  (function (TextDocumentItem) {
@@ -1056,7 +1081,7 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
1056
1081
  }
1057
1082
  TextDocumentItem.create = create;
1058
1083
  /**
1059
- * Checks whether the given literal conforms to the [TextDocumentItem](#TextDocumentItem) interface.
1084
+ * Checks whether the given literal conforms to the {@link TextDocumentItem} interface.
1060
1085
  */
1061
1086
  function is(value) {
1062
1087
  var candidate = value;
@@ -1081,10 +1106,8 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
1081
1106
  * Markdown is supported as a content format
1082
1107
  */
1083
1108
  MarkupKind.Markdown = 'markdown';
1084
- })(exports.MarkupKind || (exports.MarkupKind = {}));
1085
- (function (MarkupKind) {
1086
1109
  /**
1087
- * Checks whether the given value is a value of the [MarkupKind](#MarkupKind) type.
1110
+ * Checks whether the given value is a value of the {@link MarkupKind} type.
1088
1111
  */
1089
1112
  function is(value) {
1090
1113
  var candidate = value;
@@ -1095,7 +1118,7 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
1095
1118
  var MarkupContent;
1096
1119
  (function (MarkupContent) {
1097
1120
  /**
1098
- * Checks whether the given value conforms to the [MarkupContent](#MarkupContent) interface.
1121
+ * Checks whether the given value conforms to the {@link MarkupContent} interface.
1099
1122
  */
1100
1123
  function is(value) {
1101
1124
  var candidate = value;
@@ -1188,7 +1211,7 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
1188
1211
  }
1189
1212
  InsertReplaceEdit.create = create;
1190
1213
  /**
1191
- * Checks whether the given literal conforms to the [InsertReplaceEdit](#InsertReplaceEdit) interface.
1214
+ * Checks whether the given literal conforms to the {@link InsertReplaceEdit} interface.
1192
1215
  */
1193
1216
  function is(value) {
1194
1217
  var candidate = value;
@@ -1223,6 +1246,14 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
1223
1246
  */
1224
1247
  InsertTextMode.adjustIndentation = 2;
1225
1248
  })(InsertTextMode || (InsertTextMode = {}));
1249
+ var CompletionItemLabelDetails;
1250
+ (function (CompletionItemLabelDetails) {
1251
+ function is(value) {
1252
+ var candidate = value;
1253
+ return candidate && (Is.string(candidate.detail) || candidate.detail === undefined) && (Is.string(candidate.description) || candidate.description === undefined);
1254
+ }
1255
+ CompletionItemLabelDetails.is = is;
1256
+ })(CompletionItemLabelDetails || (CompletionItemLabelDetails = {}));
1226
1257
  /**
1227
1258
  * The CompletionItem namespace provides functions to deal with
1228
1259
  * completion items.
@@ -1273,7 +1304,7 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
1273
1304
 
1274
1305
  MarkedString.fromPlainText = fromPlainText;
1275
1306
  /**
1276
- * Checks whether the given value conforms to the [MarkedString](#MarkedString) type.
1307
+ * Checks whether the given value conforms to the {@link MarkedString} type.
1277
1308
  */
1278
1309
  function is(value) {
1279
1310
  var candidate = value;
@@ -1284,7 +1315,7 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
1284
1315
  var Hover;
1285
1316
  (function (Hover) {
1286
1317
  /**
1287
- * Checks whether the given value conforms to the [Hover](#Hover) interface.
1318
+ * Checks whether the given value conforms to the {@link Hover} interface.
1288
1319
  */
1289
1320
  function is(value) {
1290
1321
  var candidate = value;
@@ -1294,7 +1325,7 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
1294
1325
  })(Hover || (Hover = {}));
1295
1326
  /**
1296
1327
  * The ParameterInformation namespace provides helper functions to work with
1297
- * [ParameterInformation](#ParameterInformation) literals.
1328
+ * {@link ParameterInformation} literals.
1298
1329
  */
1299
1330
  var ParameterInformation;
1300
1331
  (function (ParameterInformation) {
@@ -1316,7 +1347,7 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
1316
1347
  })(ParameterInformation || (ParameterInformation = {}));
1317
1348
  /**
1318
1349
  * The SignatureInformation namespace provides helper functions to work with
1319
- * [SignatureInformation](#SignatureInformation) literals.
1350
+ * {@link SignatureInformation} literals.
1320
1351
  */
1321
1352
  var SignatureInformation;
1322
1353
  (function (SignatureInformation) {
@@ -1360,13 +1391,14 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
1360
1391
  })(DocumentHighlightKind || (DocumentHighlightKind = {}));
1361
1392
  /**
1362
1393
  * DocumentHighlight namespace to provide helper functions to work with
1363
- * [DocumentHighlight](#DocumentHighlight) literals.
1394
+ * {@link DocumentHighlight} literals.
1364
1395
  */
1365
1396
  var DocumentHighlight;
1366
1397
  (function (DocumentHighlight) {
1367
1398
  /**
1368
1399
  * Create a DocumentHighlight object.
1369
1400
  * @param range The range the highlight applies to.
1401
+ * @param kind The highlight kind
1370
1402
  */
1371
1403
  function create(range, kind) {
1372
1404
  var result = {
@@ -1413,6 +1445,7 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
1413
1445
  })(SymbolKind || (SymbolKind = {}));
1414
1446
  /**
1415
1447
  * Symbol tags are extra annotations that tweak the rendering of a symbol.
1448
+ *
1416
1449
  * @since 3.16
1417
1450
  */
1418
1451
  var SymbolTag;
@@ -1430,7 +1463,7 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
1430
1463
  * @param name The name of the symbol.
1431
1464
  * @param kind The kind of the symbol.
1432
1465
  * @param range The range of the location of the symbol.
1433
- * @param uri The resource of the location of symbol, defaults to the current document.
1466
+ * @param uri The resource of the location of symbol.
1434
1467
  * @param containerName The name of the symbol containing the symbol.
1435
1468
  */
1436
1469
  function create(name, kind, range, uri, containerName) {
@@ -1449,6 +1482,35 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
1449
1482
  }
1450
1483
  SymbolInformation.create = create;
1451
1484
  })(SymbolInformation || (SymbolInformation = {}));
1485
+ var WorkspaceSymbol;
1486
+ (function (WorkspaceSymbol) {
1487
+ /**
1488
+ * Create a new workspace symbol.
1489
+ *
1490
+ * @param name The name of the symbol.
1491
+ * @param kind The kind of the symbol.
1492
+ * @param uri The resource of the location of the symbol.
1493
+ * @param range An options range of the location.
1494
+ * @returns A WorkspaceSymbol.
1495
+ */
1496
+ function create(name, kind, uri, range) {
1497
+ return range !== undefined ? {
1498
+ name: name,
1499
+ kind: kind,
1500
+ location: {
1501
+ uri: uri,
1502
+ range: range
1503
+ }
1504
+ } : {
1505
+ name: name,
1506
+ kind: kind,
1507
+ location: {
1508
+ uri: uri
1509
+ }
1510
+ };
1511
+ }
1512
+ WorkspaceSymbol.create = create;
1513
+ })(WorkspaceSymbol || (WorkspaceSymbol = {}));
1452
1514
  var DocumentSymbol;
1453
1515
  (function (DocumentSymbol) {
1454
1516
  /**
@@ -1476,7 +1538,7 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
1476
1538
  }
1477
1539
  DocumentSymbol.create = create;
1478
1540
  /**
1479
- * Checks whether the given literal conforms to the [DocumentSymbol](#DocumentSymbol) interface.
1541
+ * Checks whether the given literal conforms to the {@link DocumentSymbol} interface.
1480
1542
  */
1481
1543
  function is(value) {
1482
1544
  var candidate = value;
@@ -1557,31 +1619,53 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
1557
1619
  */
1558
1620
  CodeActionKind.SourceFixAll = 'source.fixAll';
1559
1621
  })(CodeActionKind || (CodeActionKind = {}));
1622
+ /**
1623
+ * The reason why code actions were requested.
1624
+ *
1625
+ * @since 3.17.0
1626
+ */
1627
+ var CodeActionTriggerKind;
1628
+ (function (CodeActionTriggerKind) {
1629
+ /**
1630
+ * Code actions were explicitly requested by the user or by an extension.
1631
+ */
1632
+ CodeActionTriggerKind.Invoked = 1;
1633
+ /**
1634
+ * Code actions were requested automatically.
1635
+ *
1636
+ * This typically happens when current selection in a file changes, but can
1637
+ * also be triggered when file content changes.
1638
+ */
1639
+ CodeActionTriggerKind.Automatic = 2;
1640
+ })(CodeActionTriggerKind || (CodeActionTriggerKind = {}));
1560
1641
  /**
1561
1642
  * The CodeActionContext namespace provides helper functions to work with
1562
- * [CodeActionContext](#CodeActionContext) literals.
1643
+ * {@link CodeActionContext} literals.
1563
1644
  */
1564
1645
  var CodeActionContext;
1565
1646
  (function (CodeActionContext) {
1566
1647
  /**
1567
1648
  * Creates a new CodeActionContext literal.
1568
1649
  */
1569
- function create(diagnostics, only) {
1650
+ function create(diagnostics, only, triggerKind) {
1570
1651
  var result = {
1571
1652
  diagnostics: diagnostics
1572
1653
  };
1573
1654
  if (only !== undefined && only !== null) {
1574
1655
  result.only = only;
1575
1656
  }
1657
+ if (triggerKind !== undefined && triggerKind !== null) {
1658
+ result.triggerKind = triggerKind;
1659
+ }
1576
1660
  return result;
1577
1661
  }
1578
1662
  CodeActionContext.create = create;
1579
1663
  /**
1580
- * Checks whether the given literal conforms to the [CodeActionContext](#CodeActionContext) interface.
1664
+ * Checks whether the given literal conforms to the {@link CodeActionContext} interface.
1581
1665
  */
1582
1666
  function is(value) {
1583
1667
  var candidate = value;
1584
- return Is.defined(candidate) && Is.typedArray(candidate.diagnostics, exports.Diagnostic.is) && (candidate.only === undefined || Is.typedArray(candidate.only, Is.string));
1668
+ return Is.defined(candidate) && Is.typedArray(candidate.diagnostics, exports.Diagnostic.is) && (candidate.only === undefined || Is.typedArray(candidate.only, Is.string)) && (candidate.triggerKind === undefined || candidate.triggerKind === CodeActionTriggerKind.Invoked || candidate.triggerKind === CodeActionTriggerKind.Automatic);
1585
1669
  }
1586
1670
  CodeActionContext.is = is;
1587
1671
  })(CodeActionContext || (CodeActionContext = {}));
@@ -1614,7 +1698,7 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
1614
1698
  })(CodeAction || (CodeAction = {}));
1615
1699
  /**
1616
1700
  * The CodeLens namespace provides helper functions to work with
1617
- * [CodeLens](#CodeLens) literals.
1701
+ * {@link CodeLens} literals.
1618
1702
  */
1619
1703
  var CodeLens;
1620
1704
  (function (CodeLens) {
@@ -1632,7 +1716,7 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
1632
1716
  }
1633
1717
  CodeLens.create = create;
1634
1718
  /**
1635
- * Checks whether the given literal conforms to the [CodeLens](#CodeLens) interface.
1719
+ * Checks whether the given literal conforms to the {@link CodeLens} interface.
1636
1720
  */
1637
1721
  function is(value) {
1638
1722
  var candidate = value;
@@ -1642,7 +1726,7 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
1642
1726
  })(CodeLens || (CodeLens = {}));
1643
1727
  /**
1644
1728
  * The FormattingOptions namespace provides helper functions to work with
1645
- * [FormattingOptions](#FormattingOptions) literals.
1729
+ * {@link FormattingOptions} literals.
1646
1730
  */
1647
1731
  var FormattingOptions;
1648
1732
  (function (FormattingOptions) {
@@ -1657,7 +1741,7 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
1657
1741
  }
1658
1742
  FormattingOptions.create = create;
1659
1743
  /**
1660
- * Checks whether the given literal conforms to the [FormattingOptions](#FormattingOptions) interface.
1744
+ * Checks whether the given literal conforms to the {@link FormattingOptions} interface.
1661
1745
  */
1662
1746
  function is(value) {
1663
1747
  var candidate = value;
@@ -1667,7 +1751,7 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
1667
1751
  })(FormattingOptions || (FormattingOptions = {}));
1668
1752
  /**
1669
1753
  * The DocumentLink namespace provides helper functions to work with
1670
- * [DocumentLink](#DocumentLink) literals.
1754
+ * {@link DocumentLink} literals.
1671
1755
  */
1672
1756
  var DocumentLink;
1673
1757
  (function (DocumentLink) {
@@ -1683,7 +1767,7 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
1683
1767
  }
1684
1768
  DocumentLink.create = create;
1685
1769
  /**
1686
- * Checks whether the given literal conforms to the [DocumentLink](#DocumentLink) interface.
1770
+ * Checks whether the given literal conforms to the {@link DocumentLink} interface.
1687
1771
  */
1688
1772
  function is(value) {
1689
1773
  var candidate = value;
@@ -1711,10 +1795,239 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
1711
1795
  SelectionRange.create = create;
1712
1796
  function is(value) {
1713
1797
  var candidate = value;
1714
- return candidate !== undefined && exports.Range.is(candidate.range) && (candidate.parent === undefined || SelectionRange.is(candidate.parent));
1798
+ return Is.objectLiteral(candidate) && exports.Range.is(candidate.range) && (candidate.parent === undefined || SelectionRange.is(candidate.parent));
1715
1799
  }
1716
1800
  SelectionRange.is = is;
1717
1801
  })(SelectionRange || (SelectionRange = {}));
1802
+ /**
1803
+ * A set of predefined token types. This set is not fixed
1804
+ * an clients can specify additional token types via the
1805
+ * corresponding client capabilities.
1806
+ *
1807
+ * @since 3.16.0
1808
+ */
1809
+ var SemanticTokenTypes;
1810
+ (function (SemanticTokenTypes) {
1811
+ SemanticTokenTypes["namespace"] = "namespace";
1812
+ /**
1813
+ * Represents a generic type. Acts as a fallback for types which can't be mapped to
1814
+ * a specific type like class or enum.
1815
+ */
1816
+ SemanticTokenTypes["type"] = "type";
1817
+ SemanticTokenTypes["class"] = "class";
1818
+ SemanticTokenTypes["enum"] = "enum";
1819
+ SemanticTokenTypes["interface"] = "interface";
1820
+ SemanticTokenTypes["struct"] = "struct";
1821
+ SemanticTokenTypes["typeParameter"] = "typeParameter";
1822
+ SemanticTokenTypes["parameter"] = "parameter";
1823
+ SemanticTokenTypes["variable"] = "variable";
1824
+ SemanticTokenTypes["property"] = "property";
1825
+ SemanticTokenTypes["enumMember"] = "enumMember";
1826
+ SemanticTokenTypes["event"] = "event";
1827
+ SemanticTokenTypes["function"] = "function";
1828
+ SemanticTokenTypes["method"] = "method";
1829
+ SemanticTokenTypes["macro"] = "macro";
1830
+ SemanticTokenTypes["keyword"] = "keyword";
1831
+ SemanticTokenTypes["modifier"] = "modifier";
1832
+ SemanticTokenTypes["comment"] = "comment";
1833
+ SemanticTokenTypes["string"] = "string";
1834
+ SemanticTokenTypes["number"] = "number";
1835
+ SemanticTokenTypes["regexp"] = "regexp";
1836
+ SemanticTokenTypes["operator"] = "operator";
1837
+ /**
1838
+ * @since 3.17.0
1839
+ */
1840
+ SemanticTokenTypes["decorator"] = "decorator";
1841
+ })(SemanticTokenTypes || (SemanticTokenTypes = {}));
1842
+ /**
1843
+ * A set of predefined token modifiers. This set is not fixed
1844
+ * an clients can specify additional token types via the
1845
+ * corresponding client capabilities.
1846
+ *
1847
+ * @since 3.16.0
1848
+ */
1849
+ var SemanticTokenModifiers;
1850
+ (function (SemanticTokenModifiers) {
1851
+ SemanticTokenModifiers["declaration"] = "declaration";
1852
+ SemanticTokenModifiers["definition"] = "definition";
1853
+ SemanticTokenModifiers["readonly"] = "readonly";
1854
+ SemanticTokenModifiers["static"] = "static";
1855
+ SemanticTokenModifiers["deprecated"] = "deprecated";
1856
+ SemanticTokenModifiers["abstract"] = "abstract";
1857
+ SemanticTokenModifiers["async"] = "async";
1858
+ SemanticTokenModifiers["modification"] = "modification";
1859
+ SemanticTokenModifiers["documentation"] = "documentation";
1860
+ SemanticTokenModifiers["defaultLibrary"] = "defaultLibrary";
1861
+ })(SemanticTokenModifiers || (SemanticTokenModifiers = {}));
1862
+ /**
1863
+ * @since 3.16.0
1864
+ */
1865
+ var SemanticTokens;
1866
+ (function (SemanticTokens) {
1867
+ function is(value) {
1868
+ var candidate = value;
1869
+ return Is.objectLiteral(candidate) && (candidate.resultId === undefined || typeof candidate.resultId === 'string') && Array.isArray(candidate.data) && (candidate.data.length === 0 || typeof candidate.data[0] === 'number');
1870
+ }
1871
+ SemanticTokens.is = is;
1872
+ })(SemanticTokens || (SemanticTokens = {}));
1873
+ /**
1874
+ * The InlineValueText namespace provides functions to deal with InlineValueTexts.
1875
+ *
1876
+ * @since 3.17.0
1877
+ */
1878
+ var InlineValueText;
1879
+ (function (InlineValueText) {
1880
+ /**
1881
+ * Creates a new InlineValueText literal.
1882
+ */
1883
+ function create(range, text) {
1884
+ return {
1885
+ range: range,
1886
+ text: text
1887
+ };
1888
+ }
1889
+ InlineValueText.create = create;
1890
+ function is(value) {
1891
+ var candidate = value;
1892
+ return candidate !== undefined && candidate !== null && exports.Range.is(candidate.range) && Is.string(candidate.text);
1893
+ }
1894
+ InlineValueText.is = is;
1895
+ })(InlineValueText || (InlineValueText = {}));
1896
+ /**
1897
+ * The InlineValueVariableLookup namespace provides functions to deal with InlineValueVariableLookups.
1898
+ *
1899
+ * @since 3.17.0
1900
+ */
1901
+ var InlineValueVariableLookup;
1902
+ (function (InlineValueVariableLookup) {
1903
+ /**
1904
+ * Creates a new InlineValueText literal.
1905
+ */
1906
+ function create(range, variableName, caseSensitiveLookup) {
1907
+ return {
1908
+ range: range,
1909
+ variableName: variableName,
1910
+ caseSensitiveLookup: caseSensitiveLookup
1911
+ };
1912
+ }
1913
+ InlineValueVariableLookup.create = create;
1914
+ function is(value) {
1915
+ var candidate = value;
1916
+ return candidate !== undefined && candidate !== null && exports.Range.is(candidate.range) && Is.boolean(candidate.caseSensitiveLookup) && (Is.string(candidate.variableName) || candidate.variableName === undefined);
1917
+ }
1918
+ InlineValueVariableLookup.is = is;
1919
+ })(InlineValueVariableLookup || (InlineValueVariableLookup = {}));
1920
+ /**
1921
+ * The InlineValueEvaluatableExpression namespace provides functions to deal with InlineValueEvaluatableExpression.
1922
+ *
1923
+ * @since 3.17.0
1924
+ */
1925
+ var InlineValueEvaluatableExpression;
1926
+ (function (InlineValueEvaluatableExpression) {
1927
+ /**
1928
+ * Creates a new InlineValueEvaluatableExpression literal.
1929
+ */
1930
+ function create(range, expression) {
1931
+ return {
1932
+ range: range,
1933
+ expression: expression
1934
+ };
1935
+ }
1936
+ InlineValueEvaluatableExpression.create = create;
1937
+ function is(value) {
1938
+ var candidate = value;
1939
+ return candidate !== undefined && candidate !== null && exports.Range.is(candidate.range) && (Is.string(candidate.expression) || candidate.expression === undefined);
1940
+ }
1941
+ InlineValueEvaluatableExpression.is = is;
1942
+ })(InlineValueEvaluatableExpression || (InlineValueEvaluatableExpression = {}));
1943
+ /**
1944
+ * The InlineValueContext namespace provides helper functions to work with
1945
+ * {@link InlineValueContext} literals.
1946
+ *
1947
+ * @since 3.17.0
1948
+ */
1949
+ var InlineValueContext;
1950
+ (function (InlineValueContext) {
1951
+ /**
1952
+ * Creates a new InlineValueContext literal.
1953
+ */
1954
+ function create(frameId, stoppedLocation) {
1955
+ return {
1956
+ frameId: frameId,
1957
+ stoppedLocation: stoppedLocation
1958
+ };
1959
+ }
1960
+ InlineValueContext.create = create;
1961
+ /**
1962
+ * Checks whether the given literal conforms to the {@link InlineValueContext} interface.
1963
+ */
1964
+ function is(value) {
1965
+ var candidate = value;
1966
+ return Is.defined(candidate) && exports.Range.is(value.stoppedLocation);
1967
+ }
1968
+ InlineValueContext.is = is;
1969
+ })(InlineValueContext || (InlineValueContext = {}));
1970
+ /**
1971
+ * Inlay hint kinds.
1972
+ *
1973
+ * @since 3.17.0
1974
+ */
1975
+ var InlayHintKind;
1976
+ (function (InlayHintKind) {
1977
+ /**
1978
+ * An inlay hint that for a type annotation.
1979
+ */
1980
+ InlayHintKind.Type = 1;
1981
+ /**
1982
+ * An inlay hint that is for a parameter.
1983
+ */
1984
+ InlayHintKind.Parameter = 2;
1985
+ function is(value) {
1986
+ return value === 1 || value === 2;
1987
+ }
1988
+ InlayHintKind.is = is;
1989
+ })(InlayHintKind || (InlayHintKind = {}));
1990
+ var InlayHintLabelPart;
1991
+ (function (InlayHintLabelPart) {
1992
+ function create(value) {
1993
+ return {
1994
+ value: value
1995
+ };
1996
+ }
1997
+ InlayHintLabelPart.create = create;
1998
+ function is(value) {
1999
+ var candidate = value;
2000
+ return Is.objectLiteral(candidate) && (candidate.tooltip === undefined || Is.string(candidate.tooltip) || MarkupContent.is(candidate.tooltip)) && (candidate.location === undefined || exports.Location.is(candidate.location)) && (candidate.command === undefined || Command.is(candidate.command));
2001
+ }
2002
+ InlayHintLabelPart.is = is;
2003
+ })(InlayHintLabelPart || (InlayHintLabelPart = {}));
2004
+ var InlayHint;
2005
+ (function (InlayHint) {
2006
+ function create(position, label, kind) {
2007
+ var result = {
2008
+ position: position,
2009
+ label: label
2010
+ };
2011
+ if (kind !== undefined) {
2012
+ result.kind = kind;
2013
+ }
2014
+ return result;
2015
+ }
2016
+ InlayHint.create = create;
2017
+ function is(value) {
2018
+ var candidate = value;
2019
+ return Is.objectLiteral(candidate) && Position.is(candidate.position) && (Is.string(candidate.label) || Is.typedArray(candidate.label, InlayHintLabelPart.is)) && (candidate.kind === undefined || InlayHintKind.is(candidate.kind)) && candidate.textEdits === undefined || Is.typedArray(candidate.textEdits, exports.TextEdit.is) && (candidate.tooltip === undefined || Is.string(candidate.tooltip) || MarkupContent.is(candidate.tooltip)) && (candidate.paddingLeft === undefined || Is.boolean(candidate.paddingLeft)) && (candidate.paddingRight === undefined || Is.boolean(candidate.paddingRight));
2020
+ }
2021
+ InlayHint.is = is;
2022
+ })(InlayHint || (InlayHint = {}));
2023
+ var WorkspaceFolder;
2024
+ (function (WorkspaceFolder) {
2025
+ function is(value) {
2026
+ var candidate = value;
2027
+ return Is.objectLiteral(candidate) && URI.is(candidate.uri) && Is.string(candidate.name);
2028
+ }
2029
+ WorkspaceFolder.is = is;
2030
+ })(WorkspaceFolder || (WorkspaceFolder = {}));
1718
2031
  /**
1719
2032
  * @deprecated Use the text document from the new vscode-languageserver-textdocument package.
1720
2033
  */
@@ -1723,7 +2036,8 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
1723
2036
  /**
1724
2037
  * Creates a new ITextDocument literal from the given uri and content.
1725
2038
  * @param uri The document's uri.
1726
- * @param languageId The document's language Id.
2039
+ * @param languageId The document's language Id.
2040
+ * @param version The document's version.
1727
2041
  * @param content The document's content.
1728
2042
  */
1729
2043
  function create(uri, languageId, version, content) {
@@ -1731,7 +2045,7 @@ define('vs/language/kusto/main-bf573477', ['exports'], (function (exports) { 'us
1731
2045
  }
1732
2046
  TextDocument.create = create;
1733
2047
  /**
1734
- * Checks whether the given literal conforms to the [ITextDocument](#ITextDocument) interface.
2048
+ * Checks whether the given literal conforms to the {@link ITextDocument} interface.
1735
2049
  */
1736
2050
  function is(value) {
1737
2051
  var candidate = value;