@kusto/monaco-kusto 5.1.5 → 5.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kusto/monaco-kusto",
3
- "version": "5.1.5",
3
+ "version": "5.1.8",
4
4
  "description": "CSL, KQL plugin for the Monaco Editor",
5
5
  "author": {
6
6
  "name": "Microsoft"
@@ -55,7 +55,7 @@
55
55
  },
56
56
  "dependencies": {
57
57
  "@kusto/language-service": "0.0.36",
58
- "@kusto/language-service-next": "0.0.55"
58
+ "@kusto/language-service-next": "0.0.57"
59
59
  },
60
60
  "peerDependencies": {
61
61
  "monaco-editor": "0.33.0"
@@ -7803,7 +7803,7 @@ define('vs/language/kusto/languageService/kustoLanguageService',["require", "exp
7803
7803
  var legend = property.Element$1.Expression.ConstantValue;
7804
7804
  prev[name] = legend;
7805
7805
  break;
7806
- case 'ySplit':
7806
+ case 'ysplit':
7807
7807
  var split = property.Element$1.Expression.ConstantValue;
7808
7808
  prev[name] = split;
7809
7809
  break;
@@ -8133,12 +8133,14 @@ define('vs/language/kusto/languageService/kustoLanguageService',["require", "exp
8133
8133
  return new sym.FunctionSymbol.$ctor16(fn.name, fn.body, KustoLanguageService.toBridgeList(parameters), fn.docstring);
8134
8134
  };
8135
8135
  var createTableSymbol = function (tbl) {
8136
+ var _a;
8136
8137
  var columnSymbols = tbl.columns.map(function (col) { return KustoLanguageService.createColumnSymbol(col); });
8137
- var symbol = new sym.TableSymbol.$ctor3(tbl.name, columnSymbols);
8138
+ var symbol = new sym.TableSymbol.$ctor4(tbl.name, columnSymbols);
8138
8139
  symbol.Description = tbl.docstring;
8139
8140
  switch (tbl.entityType) {
8140
8141
  case 'MaterializedViewTable':
8141
- symbol = new sym.MaterializedViewSymbol(tbl.name, symbol.Columns, null, tbl.docstring);
8142
+ var mvQuery = (_a = tbl.mvQuery) !== null && _a !== void 0 ? _a : null;
8143
+ symbol = new sym.MaterializedViewSymbol.$ctor2(tbl.name, symbol.Columns, mvQuery, tbl.docstring);
8142
8144
  symbol = symbol.WithIsMaterializedView(true);
8143
8145
  break;
8144
8146
  case 'ExternalTable':
@@ -1159,7 +1159,7 @@ var KustoLanguageService = /** @class */ (function () {
1159
1159
  var legend = property.Element$1.Expression.ConstantValue;
1160
1160
  prev[name] = legend;
1161
1161
  break;
1162
- case 'ySplit':
1162
+ case 'ysplit':
1163
1163
  var split = property.Element$1.Expression.ConstantValue;
1164
1164
  prev[name] = split;
1165
1165
  break;
@@ -1489,12 +1489,14 @@ var KustoLanguageService = /** @class */ (function () {
1489
1489
  return new sym.FunctionSymbol.$ctor16(fn.name, fn.body, KustoLanguageService.toBridgeList(parameters), fn.docstring);
1490
1490
  };
1491
1491
  var createTableSymbol = function (tbl) {
1492
+ var _a;
1492
1493
  var columnSymbols = tbl.columns.map(function (col) { return KustoLanguageService.createColumnSymbol(col); });
1493
- var symbol = new sym.TableSymbol.$ctor3(tbl.name, columnSymbols);
1494
+ var symbol = new sym.TableSymbol.$ctor4(tbl.name, columnSymbols);
1494
1495
  symbol.Description = tbl.docstring;
1495
1496
  switch (tbl.entityType) {
1496
1497
  case 'MaterializedViewTable':
1497
- symbol = new sym.MaterializedViewSymbol(tbl.name, symbol.Columns, null, tbl.docstring);
1498
+ var mvQuery = (_a = tbl.mvQuery) !== null && _a !== void 0 ? _a : null;
1499
+ symbol = new sym.MaterializedViewSymbol.$ctor2(tbl.name, symbol.Columns, mvQuery, tbl.docstring);
1498
1500
  symbol = symbol.WithIsMaterializedView(true);
1499
1501
  break;
1500
1502
  case 'ExternalTable':