@abaplint/core 2.112.12 → 2.112.13
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.
|
@@ -30,8 +30,11 @@ class Table extends _abstract_object_1.AbstractObject {
|
|
|
30
30
|
return "TABL";
|
|
31
31
|
}
|
|
32
32
|
getDescription() {
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
var _a;
|
|
34
|
+
if (this.parsedData === undefined) {
|
|
35
|
+
this.parseXML();
|
|
36
|
+
}
|
|
37
|
+
return (_a = this.parsedData) === null || _a === void 0 ? void 0 : _a.description;
|
|
35
38
|
}
|
|
36
39
|
getAllowedNaming() {
|
|
37
40
|
let length = 30;
|
|
@@ -259,7 +262,7 @@ class Table extends _abstract_object_1.AbstractObject {
|
|
|
259
262
|
}
|
|
260
263
|
///////////////
|
|
261
264
|
parseXML() {
|
|
262
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
265
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
263
266
|
const parsed = super.parseRaw2();
|
|
264
267
|
if (parsed === undefined) {
|
|
265
268
|
return;
|
|
@@ -277,9 +280,10 @@ class Table extends _abstract_object_1.AbstractObject {
|
|
|
277
280
|
}
|
|
278
281
|
// table category
|
|
279
282
|
this.parsedData.tableCategory = (_f = (_e = parsed.abapGit["asx:abap"]["asx:values"]) === null || _e === void 0 ? void 0 : _e.DD02V) === null || _f === void 0 ? void 0 : _f.TABCLASS;
|
|
280
|
-
this.parsedData.
|
|
283
|
+
this.parsedData.description = (_h = (_g = parsed.abapGit["asx:abap"]["asx:values"]) === null || _g === void 0 ? void 0 : _g.DD02V) === null || _h === void 0 ? void 0 : _h.DDTEXT;
|
|
284
|
+
this.parsedData.dataClass = (_k = (_j = parsed.abapGit["asx:abap"]["asx:values"]) === null || _j === void 0 ? void 0 : _j.DD09L) === null || _k === void 0 ? void 0 : _k.TABART;
|
|
281
285
|
// fields
|
|
282
|
-
const fields = (
|
|
286
|
+
const fields = (_l = parsed.abapGit["asx:abap"]["asx:values"]) === null || _l === void 0 ? void 0 : _l.DD03P_TABLE;
|
|
283
287
|
for (const field of (0, xml_utils_1.xmlToArray)(fields === null || fields === void 0 ? void 0 : fields.DD03P)) {
|
|
284
288
|
this.parsedData.fields.push({
|
|
285
289
|
FIELDNAME: field.FIELDNAME,
|
package/build/src/registry.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/core",
|
|
3
|
-
"version": "2.112.
|
|
3
|
+
"version": "2.112.13",
|
|
4
4
|
"description": "abaplint - Core API",
|
|
5
5
|
"main": "build/src/index.js",
|
|
6
6
|
"typings": "build/abaplint.d.ts",
|
|
@@ -53,10 +53,10 @@
|
|
|
53
53
|
"@microsoft/api-extractor": "^7.47.5",
|
|
54
54
|
"@types/chai": "^4.3.17",
|
|
55
55
|
"@types/mocha": "^10.0.7",
|
|
56
|
-
"@types/node": "^22.
|
|
56
|
+
"@types/node": "^22.2.0",
|
|
57
57
|
"chai": "^4.5.0",
|
|
58
58
|
"eslint": "^8.57.0",
|
|
59
|
-
"mocha": "^10.7.
|
|
59
|
+
"mocha": "^10.7.3",
|
|
60
60
|
"c8": "^10.1.2",
|
|
61
61
|
"source-map-support": "^0.5.21",
|
|
62
62
|
"ts-json-schema-generator": "^2.3.0",
|