bruce-models 6.7.5 → 6.7.6

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.
@@ -11172,6 +11172,10 @@ var ProjectView;
11172
11172
  if (!api) {
11173
11173
  api = ENVIRONMENT.Api().GetBruceApi();
11174
11174
  }
11175
+ // Same thing but keeps cache keys consistent.
11176
+ if (expand === true) {
11177
+ expand = "*";
11178
+ }
11175
11179
  const key = GetCacheKey(viewId, bookmarkId, expand);
11176
11180
  const cache = api.GetCacheItem(key, reqParams);
11177
11181
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
@@ -11183,8 +11187,14 @@ var ProjectView;
11183
11187
  if (viewId) {
11184
11188
  url += viewId;
11185
11189
  }
11186
- else if (bookmarkId) {
11190
+ let added = false;
11191
+ if (bookmarkId) {
11187
11192
  url += "?SlideID=" + encodeURIComponent(bookmarkId);
11193
+ added = true;
11194
+ }
11195
+ if (expand) {
11196
+ url += (added ? "&" : "?") + "Expand=" + encodeURIComponent(expand);
11197
+ added = true;
11188
11198
  }
11189
11199
  const data = yield api.GET(url, Api.PrepReqParams(reqParams));
11190
11200
  res({
@@ -16442,7 +16452,7 @@ var Tracking;
16442
16452
  })(Tracking || (Tracking = {}));
16443
16453
 
16444
16454
  // This is updated with the package.json version on build.
16445
- const VERSION = "6.7.5";
16455
+ const VERSION = "6.7.6";
16446
16456
 
16447
16457
  export { VERSION, Assembly, AnnDocument, CustomForm, AbstractApi, Api, BruceApi, GlobalApi, GuardianApi, ApiGetters, Calculator, Bounds, BruceEvent, CacheControl, Camera, Cartes, Carto, Color, DelayQueue, Geometry, UTC, BruceVariable, LRUCache, GeoJson, EntityAttachmentType, EntityAttachment, EntityComment, EntityLink, EntityLod, EntityLodCategory, EntityRelationType, EntityRelation, EntitySource, EntityTag, EntityType, Entity, EntityCoords, EntityAttribute, EntityHistoricData, EntityTableView, Comment, ClientFile, ProgramKey, ZoomControl, MenuItem, ProjectViewBookmark, ProjectView, ProjectViewLegacyTile, ProjectViewTile, ProjectViewLegacy, ProjectViewLegacyBookmark, ProjectViewBookmarkGroup, PendingAction, MessageBroker, HostingLocation, Style, Tileset, Permission, Session, UserGroup, User, UserMfaMethod, Account, AccountInvite, AccountFeatures, AccountLimits, AccountTemplate, AccountType, EncryptUtils, MathUtils, ObjectUtils, PathUtils, UrlUtils, DataLab, DataLabGroup, ImportAssembly, ImportCad, ImportCsv, ImportJson, ImportGeoJson, ImportKml, ImportedFile, ExportBrz, ExportUsd, Markup, Uploader, Plugin, ENVIRONMENT, DataSource, Scenario, Tracking };
16448
16458
  //# sourceMappingURL=bruce-models.es5.js.map