bruce-models 3.8.9 → 3.9.0

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.
@@ -3440,7 +3440,7 @@ var Entity;
3440
3440
  function GetList(params) {
3441
3441
  var _a;
3442
3442
  return __awaiter(this, void 0, void 0, function* () {
3443
- let { api, filter, req: reqParams, viaCdn, viaCdnCacheToken, analysis, expandRelations, historicFrom, historicKey, historicTo } = params;
3443
+ let { api, filter, req: reqParams, viaCdn, viaCdnCacheToken, analysis, expandRelations, historicFrom, historicKey, historicTo, historicPoint } = params;
3444
3444
  if (!api) {
3445
3445
  api = ENVIRONMENT.Api().GetBruceApi();
3446
3446
  }
@@ -3479,7 +3479,8 @@ var Entity;
3479
3479
  PageSize: filter.pageSize,
3480
3480
  historicKey: historicKey,
3481
3481
  historicFrom: historicFrom,
3482
- historicTo: historicTo
3482
+ historicTo: historicTo,
3483
+ historicPoint: historicPoint
3483
3484
  };
3484
3485
  let totalCount;
3485
3486
  let entities = [];
@@ -3529,6 +3530,9 @@ var Entity;
3529
3530
  if (historicTo) {
3530
3531
  urlParams.set("historicTo", historicTo);
3531
3532
  }
3533
+ if (historicPoint) {
3534
+ urlParams.set("historicPoint", historicPoint);
3535
+ }
3532
3536
  const urlStr = url.toString() + "?" + urlParams.toString();
3533
3537
  const data = yield api.get(urlStr, Api.PrepReqParams(reqParams));
3534
3538
  if (!analysis) {
@@ -3706,7 +3710,7 @@ var Entity;
3706
3710
  * @returns
3707
3711
  */
3708
3712
  function GetCacheKey(params) {
3709
- let { entityId, entityTypeId, expandLocation, expandRelations, historicFrom, historicKey, historicTo } = params;
3713
+ let { entityId, entityTypeId, expandLocation, expandRelations, historicFrom, historicKey, historicTo, historicPoint } = params;
3710
3714
  if (!entityTypeId) {
3711
3715
  entityTypeId = "";
3712
3716
  }
@@ -3719,9 +3723,12 @@ var Entity;
3719
3723
  if (!historicTo) {
3720
3724
  historicTo = "";
3721
3725
  }
3726
+ if (!historicPoint) {
3727
+ historicPoint = "";
3728
+ }
3722
3729
  let key = `${Api.ECacheKey.Entity}${Api.ECacheKey.Id}${entityId}${String(entityTypeId)}`;
3723
3730
  key += `${String(Boolean(expandLocation))}${String(Boolean(expandRelations))}`;
3724
- key += `${Api.ECacheKey.EntityHistoricData}${Api.ECacheKey.Id}${historicKey}${historicFrom}${historicTo}`;
3731
+ key += `${Api.ECacheKey.EntityHistoricData}${Api.ECacheKey.Id}${historicKey}-${historicFrom}-${historicTo}-${historicPoint}`;
3725
3732
  return key;
3726
3733
  }
3727
3734
  Entity.GetCacheKey = GetCacheKey;
@@ -11397,7 +11404,7 @@ var DataSource;
11397
11404
  })(DataSource || (DataSource = {}));
11398
11405
 
11399
11406
  // This is updated with the package.json version on build.
11400
- const VERSION = "3.8.9";
11407
+ const VERSION = "3.9.0";
11401
11408
 
11402
11409
  export { VERSION, AnnDocument, CustomForm, AbstractApi, Api, BruceApi, GlobalApi, GuardianApi, ApiGetters, Calculator, Bounds, BruceEvent, CacheControl, Camera, Cartes, Carto, Color, DelayQueue, Geometry, UTC, BruceVariable, LRUCache, EntityAttachmentType, EntityAttachment, EntityComment, EntityLink, EntityLod, EntityLodCategory, EntityRelationType, EntityRelation, EntitySource, EntityTag, EntityType, Entity, EntityCoords, EntityTypeVisualSettings, EntityAttribute, EntityHistoricData, ClientFile, ProgramKey, ZoomControl, MenuItem, ProjectViewBookmark, ProjectView, ProjectViewLegacyTile, ProjectViewTile, ProjectViewLegacy, ProjectViewLegacyBookmark, PendingAction, MessageBroker, HostingLocation, Style, Tileset, Permission, Session, UserGroup, User, Account, AccountInvite, AccountFeatures, EncryptUtils, MathUtils, ObjectUtils, PathUtils, UrlUtils, DataLab, ImportCad, ImportCsv, ImportJson, ImportKml, ImportedFile, Markup, Uploader, Plugin, ENVIRONMENT, DataSource };
11403
11410
  //# sourceMappingURL=bruce-models.es5.js.map