@abaplint/cli 2.113.25 → 2.113.26

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.
Files changed (2) hide show
  1. package/build/cli.js +17 -1
  2. package/package.json +2 -2
package/build/cli.js CHANGED
@@ -51464,6 +51464,7 @@ class Table extends _abstract_object_1.AbstractObject {
51464
51464
  length: length,
51465
51465
  decimals: field.DECIMALS,
51466
51466
  infoText: this.getName() + "-" + field.FIELDNAME,
51467
+ description: field.DDTEXT,
51467
51468
  })
51468
51469
  });
51469
51470
  }
@@ -51541,6 +51542,7 @@ class Table extends _abstract_object_1.AbstractObject {
51541
51542
  GROUPNAME: field.GROUPNAME,
51542
51543
  CHECKTABLE: field.CHECKTABLE,
51543
51544
  REFTYPE: field.REFTYPE,
51545
+ DDTEXT: field.DDTEXT,
51544
51546
  });
51545
51547
  }
51546
51548
  }
@@ -52050,6 +52052,19 @@ class View extends _abstract_object_1.AbstractObject {
52050
52052
  }
52051
52053
  return new Types.StructureType(components, this.getName());
52052
52054
  }
52055
+ listKeys() {
52056
+ var _a;
52057
+ if (this.parsedData === undefined) {
52058
+ this.parseXML();
52059
+ }
52060
+ const ret = [];
52061
+ for (const p of ((_a = this.parsedData) === null || _a === void 0 ? void 0 : _a.fields) || []) {
52062
+ if (p.KEYFLAG === "X") {
52063
+ ret.push(p.FIELDNAME);
52064
+ }
52065
+ }
52066
+ return ret;
52067
+ }
52053
52068
  getDescription() {
52054
52069
  var _a;
52055
52070
  if (this.parsedData === undefined) {
@@ -52083,6 +52098,7 @@ class View extends _abstract_object_1.AbstractObject {
52083
52098
  VIEWFIELD: field.VIEWFIELD,
52084
52099
  TABNAME: field.TABNAME,
52085
52100
  FIELDNAME: field.FIELDNAME,
52101
+ KEYFLAG: field.KEYFLAG,
52086
52102
  });
52087
52103
  }
52088
52104
  const join = (_c = parsed.abapGit["asx:abap"]["asx:values"]) === null || _c === void 0 ? void 0 : _c.DD28J_TABLE;
@@ -52821,7 +52837,7 @@ class Registry {
52821
52837
  }
52822
52838
  static abaplintVersion() {
52823
52839
  // magic, see build script "version.sh"
52824
- return "2.113.25";
52840
+ return "2.113.26";
52825
52841
  }
52826
52842
  getDDICReferences() {
52827
52843
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.113.25",
3
+ "version": "2.113.26",
4
4
  "description": "abaplint - Command Line Interface",
5
5
  "funding": "https://github.com/sponsors/larshp",
6
6
  "bin": {
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "homepage": "https://abaplint.org",
40
40
  "devDependencies": {
41
- "@abaplint/core": "^2.113.25",
41
+ "@abaplint/core": "^2.113.26",
42
42
  "@types/chai": "^4.3.20",
43
43
  "@types/glob": "^8.1.0",
44
44
  "@types/minimist": "^1.2.5",