bruce-models 0.9.7 → 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.
@@ -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];
@@ -3097,6 +3102,7 @@
3097
3102
  EAttributeType["Integer"] = "Integer";
3098
3103
  EAttributeType["Datetime"] = "Datetime";
3099
3104
  EAttributeType["Structure"] = "Structure";
3105
+ EAttributeType["Boolean"] = "Boolean";
3100
3106
  EAttributeType["Geometry"] = "Geometry";
3101
3107
  })(EAttributeType = EntityType.EAttributeType || (EntityType.EAttributeType = {}));
3102
3108
  function Get(api, typeId, reqParams) {