bruce-cesium 5.6.7 → 5.6.8

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.
@@ -9863,7 +9863,6 @@
9863
9863
  const { entity } = await BModels.Entity.Get({
9864
9864
  api: this.api,
9865
9865
  entityId: this.rego.entityId,
9866
- entityTypeId: this.rego.entityTypeId,
9867
9866
  scenario: ((_c = this.rego.outline) === null || _c === void 0 ? void 0 : _c.length) ? (_d = this.rego.outline.find(x => !!x.Scenario)) === null || _d === void 0 ? void 0 : _d.Scenario : null,
9868
9867
  schemaId: this.rego.schema,
9869
9868
  migrated: true
@@ -13049,15 +13048,15 @@
13049
13048
  }
13050
13049
  // If an Entity is not from the allowed Entity Type, but has a source matching it, then it's allowed.
13051
13050
  // Therefor we will add it to the allowedTypeIDs list.
13052
- if (!((_b = entity.Bruce["Sources"]) === null || _b === void 0 ? void 0 : _b.length)) {
13051
+ if (!((_b = entity.Bruce["Outline"]) === null || _b === void 0 ? void 0 : _b.length)) {
13053
13052
  continue;
13054
13053
  }
13055
- const sources = entity.Bruce["Sources"];
13056
- for (const source of sources) {
13057
- if (!source["EntityType.Source.ID"]) {
13054
+ const outlineItems = entity.Bruce["Outline"];
13055
+ for (const item of outlineItems) {
13056
+ if (!item["EntityType.Source.ID"]) {
13058
13057
  continue;
13059
13058
  }
13060
- const sRecord = sourceLookup.get(source["EntityType.Source.ID"]);
13059
+ const sRecord = sourceLookup.get(item["EntityType.Source.ID"]);
13061
13060
  if (!sRecord) {
13062
13061
  continue;
13063
13062
  }
@@ -31858,7 +31857,7 @@
31858
31857
  }
31859
31858
  }
31860
31859
 
31861
- const VERSION = "5.6.7";
31860
+ const VERSION = "5.6.8";
31862
31861
 
31863
31862
  exports.VERSION = VERSION;
31864
31863
  exports.isOutlineChanged = isOutlineChanged;