@abaplint/core 2.113.74 → 2.113.75
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/build/abaplint.d.ts
CHANGED
|
@@ -6967,6 +6967,7 @@ declare class Transaction extends AbstractObject {
|
|
|
6967
6967
|
maxLength: number;
|
|
6968
6968
|
allowNamespace: boolean;
|
|
6969
6969
|
};
|
|
6970
|
+
getCInfo(): string | undefined;
|
|
6970
6971
|
getProgramName(): string | undefined;
|
|
6971
6972
|
getDescription(): string | undefined;
|
|
6972
6973
|
parse(): {
|
|
@@ -16,6 +16,11 @@ class Transaction extends _abstract_object_1.AbstractObject {
|
|
|
16
16
|
allowNamespace: true,
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
|
+
getCInfo() {
|
|
20
|
+
var _a;
|
|
21
|
+
this.parse();
|
|
22
|
+
return (_a = this.parsedXML) === null || _a === void 0 ? void 0 : _a.cinfo;
|
|
23
|
+
}
|
|
19
24
|
getProgramName() {
|
|
20
25
|
var _a;
|
|
21
26
|
this.parse();
|
|
@@ -27,7 +32,7 @@ class Transaction extends _abstract_object_1.AbstractObject {
|
|
|
27
32
|
return (_a = this.parsedXML) === null || _a === void 0 ? void 0 : _a.description;
|
|
28
33
|
}
|
|
29
34
|
parse() {
|
|
30
|
-
var _a, _b;
|
|
35
|
+
var _a, _b, _c;
|
|
31
36
|
if (this.parsedXML) {
|
|
32
37
|
return { updated: false, runtime: 0 };
|
|
33
38
|
}
|
|
@@ -41,6 +46,7 @@ class Transaction extends _abstract_object_1.AbstractObject {
|
|
|
41
46
|
}
|
|
42
47
|
this.parsedXML.description = (_a = parsed.abapGit["asx:abap"]["asx:values"].TSTCT) === null || _a === void 0 ? void 0 : _a.TTEXT;
|
|
43
48
|
this.parsedXML.programName = (_b = parsed.abapGit["asx:abap"]["asx:values"].TSTC) === null || _b === void 0 ? void 0 : _b.PGMNA;
|
|
49
|
+
this.parsedXML.cinfo = (_c = parsed.abapGit["asx:abap"]["asx:values"].TSTC) === null || _c === void 0 ? void 0 : _c.CINFO;
|
|
44
50
|
const end = Date.now();
|
|
45
51
|
return { updated: true, runtime: end - start };
|
|
46
52
|
}
|
package/build/src/registry.js
CHANGED