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.
@@ -1574,6 +1574,11 @@ var Entity;
1574
1574
  }
1575
1575
  Entity.SetValue = SetValue;
1576
1576
  function GetValue(data, path) {
1577
+ var _a;
1578
+ // Backwards compatibility.
1579
+ if (path.length == 1 && path[0] == "ID") {
1580
+ return (_a = data.Bruce) === null || _a === void 0 ? void 0 : _a.ID;
1581
+ }
1577
1582
  let curData = data;
1578
1583
  for (let i = 0; i < path.length; i++) {
1579
1584
  const step = path[i];