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.
@@ -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];
@@ -3200,6 +3205,7 @@ var EntityType;
3200
3205
  EAttributeType["Integer"] = "Integer";
3201
3206
  EAttributeType["Datetime"] = "Datetime";
3202
3207
  EAttributeType["Structure"] = "Structure";
3208
+ EAttributeType["Boolean"] = "Boolean";
3203
3209
  EAttributeType["Geometry"] = "Geometry";
3204
3210
  })(EAttributeType = EntityType.EAttributeType || (EntityType.EAttributeType = {}));
3205
3211
  function Get(api, typeId, reqParams) {