@abaplint/cli 2.120.98 → 2.120.99

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 +15 -2
  2. package/package.json +2 -2
package/build/cli.js CHANGED
@@ -72176,9 +72176,19 @@ class View extends _abstract_object_1.AbstractObject {
72176
72176
  continue;
72177
72177
  }
72178
72178
  else if (this.parsedData.header.VIEWCLASS === ViewClass.ExternalView) {
72179
+ // for external views TABNAME is the view itself, the types are given directly in the xml
72180
+ let type = Types.VoidType.get("ExternalView");
72181
+ if (field.EXVDATATYPE !== undefined) {
72182
+ type = ddic.textToType({
72183
+ text: field.EXVDATATYPE,
72184
+ length: field.EXVFLENGTH,
72185
+ decimals: field.EXVDECIMALS,
72186
+ infoText: this.getName() + "-" + field.VIEWFIELD,
72187
+ });
72188
+ }
72179
72189
  components.push({
72180
72190
  name: field.VIEWFIELD,
72181
- type: Types.VoidType.get("ExternalView")
72191
+ type: type
72182
72192
  });
72183
72193
  continue;
72184
72194
  }
@@ -72266,6 +72276,9 @@ class View extends _abstract_object_1.AbstractObject {
72266
72276
  TABNAME: field.TABNAME,
72267
72277
  FIELDNAME: field.FIELDNAME,
72268
72278
  KEYFLAG: field.KEYFLAG,
72279
+ EXVDATATYPE: typeof field.EXVDATATYPE === "string" && field.EXVDATATYPE !== "" ? field.EXVDATATYPE : undefined,
72280
+ EXVFLENGTH: typeof field.EXVFLENGTH === "string" ? field.EXVFLENGTH : undefined,
72281
+ EXVDECIMALS: typeof field.EXVDECIMALS === "string" ? field.EXVDECIMALS : undefined,
72269
72282
  });
72270
72283
  }
72271
72284
  const join = (_j = (_h = (_g = parsed === null || parsed === void 0 ? void 0 : parsed.abapGit) === null || _g === void 0 ? void 0 : _g["asx:abap"]) === null || _h === void 0 ? void 0 : _h["asx:values"]) === null || _j === void 0 ? void 0 : _j.DD28J_TABLE;
@@ -73117,7 +73130,7 @@ class Registry {
73117
73130
  }
73118
73131
  static abaplintVersion() {
73119
73132
  // magic, see build script "version.js"
73120
- return "2.120.98";
73133
+ return "2.120.99";
73121
73134
  }
73122
73135
  getDDICReferences() {
73123
73136
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.120.98",
3
+ "version": "2.120.99",
4
4
  "description": "abaplint - Command Line Interface",
5
5
  "funding": "https://github.com/sponsors/larshp",
6
6
  "bin": {
@@ -39,7 +39,7 @@
39
39
  },
40
40
  "homepage": "https://abaplint.org",
41
41
  "devDependencies": {
42
- "@abaplint/core": "^2.120.98",
42
+ "@abaplint/core": "^2.120.99",
43
43
  "@types/chai": "^4.3.20",
44
44
  "@types/minimist": "^1.2.5",
45
45
  "@types/mocha": "^10.0.10",