@abaplint/core 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.
package/build/abaplint.d.ts
CHANGED
|
@@ -7198,6 +7198,7 @@ declare class View extends AbstractObject {
|
|
|
7198
7198
|
VIEWFIELD: string;
|
|
7199
7199
|
TABNAME: string;
|
|
7200
7200
|
FIELDNAME: string;
|
|
7201
|
+
KEYFLAG: string;
|
|
7201
7202
|
}[] | undefined;
|
|
7202
7203
|
getJoin(): {
|
|
7203
7204
|
LTAB: string;
|
|
@@ -7208,6 +7209,7 @@ declare class View extends AbstractObject {
|
|
|
7208
7209
|
}[] | undefined;
|
|
7209
7210
|
setDirty(): void;
|
|
7210
7211
|
parseType(reg: IRegistry): AbstractType;
|
|
7212
|
+
listKeys(): string[];
|
|
7211
7213
|
getDescription(): string | undefined;
|
|
7212
7214
|
private parseXML;
|
|
7213
7215
|
}
|
|
@@ -226,6 +226,7 @@ class Table extends _abstract_object_1.AbstractObject {
|
|
|
226
226
|
length: length,
|
|
227
227
|
decimals: field.DECIMALS,
|
|
228
228
|
infoText: this.getName() + "-" + field.FIELDNAME,
|
|
229
|
+
description: field.DDTEXT,
|
|
229
230
|
})
|
|
230
231
|
});
|
|
231
232
|
}
|
|
@@ -303,6 +304,7 @@ class Table extends _abstract_object_1.AbstractObject {
|
|
|
303
304
|
GROUPNAME: field.GROUPNAME,
|
|
304
305
|
CHECKTABLE: field.CHECKTABLE,
|
|
305
306
|
REFTYPE: field.REFTYPE,
|
|
307
|
+
DDTEXT: field.DDTEXT,
|
|
306
308
|
});
|
|
307
309
|
}
|
|
308
310
|
}
|
|
@@ -91,6 +91,19 @@ class View extends _abstract_object_1.AbstractObject {
|
|
|
91
91
|
}
|
|
92
92
|
return new Types.StructureType(components, this.getName());
|
|
93
93
|
}
|
|
94
|
+
listKeys() {
|
|
95
|
+
var _a;
|
|
96
|
+
if (this.parsedData === undefined) {
|
|
97
|
+
this.parseXML();
|
|
98
|
+
}
|
|
99
|
+
const ret = [];
|
|
100
|
+
for (const p of ((_a = this.parsedData) === null || _a === void 0 ? void 0 : _a.fields) || []) {
|
|
101
|
+
if (p.KEYFLAG === "X") {
|
|
102
|
+
ret.push(p.FIELDNAME);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
return ret;
|
|
106
|
+
}
|
|
94
107
|
getDescription() {
|
|
95
108
|
var _a;
|
|
96
109
|
if (this.parsedData === undefined) {
|
|
@@ -124,6 +137,7 @@ class View extends _abstract_object_1.AbstractObject {
|
|
|
124
137
|
VIEWFIELD: field.VIEWFIELD,
|
|
125
138
|
TABNAME: field.TABNAME,
|
|
126
139
|
FIELDNAME: field.FIELDNAME,
|
|
140
|
+
KEYFLAG: field.KEYFLAG,
|
|
127
141
|
});
|
|
128
142
|
}
|
|
129
143
|
const join = (_c = parsed.abapGit["asx:abap"]["asx:values"]) === null || _c === void 0 ? void 0 : _c.DD28J_TABLE;
|
package/build/src/registry.js
CHANGED