bruce-models 0.9.8 → 0.9.9
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/dist/bruce-models.umd.js
CHANGED
|
@@ -1545,6 +1545,11 @@
|
|
|
1545
1545
|
}
|
|
1546
1546
|
Entity.SetValue = SetValue;
|
|
1547
1547
|
function GetValue(data, path) {
|
|
1548
|
+
var _a;
|
|
1549
|
+
// Backwards compatibility.
|
|
1550
|
+
if (path.length == 1 && path[0] == "ID") {
|
|
1551
|
+
return (_a = data.Bruce) === null || _a === void 0 ? void 0 : _a.ID;
|
|
1552
|
+
}
|
|
1548
1553
|
let curData = data;
|
|
1549
1554
|
for (let i = 0; i < path.length; i++) {
|
|
1550
1555
|
const step = path[i];
|