bruce-models 6.3.5 → 6.3.7

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.
Files changed (38) hide show
  1. package/dist/bruce-models.es5.js +8 -2
  2. package/dist/bruce-models.es5.js.map +1 -1
  3. package/dist/bruce-models.umd.js +8 -2
  4. package/dist/bruce-models.umd.js.map +1 -1
  5. package/dist/lib/bruce-models.js +1 -1
  6. package/dist/lib/client-file/client-file.js.map +1 -1
  7. package/dist/lib/common/utc.js +6 -0
  8. package/dist/lib/common/utc.js.map +1 -1
  9. package/dist/lib/data-lab/data-lab.js.map +1 -1
  10. package/dist/lib/entity/entity-type.js.map +1 -1
  11. package/dist/lib/entity/entity.js.map +1 -1
  12. package/dist/lib/plugin/plugin.js.map +1 -1
  13. package/dist/lib/project/menu-item.js +1 -1
  14. package/dist/lib/project/menu-item.js.map +1 -1
  15. package/dist/lib/project/project-view-bookmark.js.map +1 -1
  16. package/dist/lib/project/project-view-legacy-bookmark.js.map +1 -1
  17. package/dist/lib/project/project-view.js.map +1 -1
  18. package/dist/lib/server/pending-action.js.map +1 -1
  19. package/dist/types/account/account-invite.d.ts +1 -1
  20. package/dist/types/assembly/assembly.d.ts +2 -1
  21. package/dist/types/bruce-models.d.ts +1 -1
  22. package/dist/types/client-file/client-file.d.ts +2 -1
  23. package/dist/types/common/utc.d.ts +6 -5
  24. package/dist/types/data-lab/data-lab.d.ts +2 -1
  25. package/dist/types/entity/entity-comment.d.ts +1 -1
  26. package/dist/types/entity/entity-type.d.ts +2 -2
  27. package/dist/types/entity/entity.d.ts +2 -1
  28. package/dist/types/entity-type-model/comment.d.ts +1 -1
  29. package/dist/types/plugin/plugin.d.ts +2 -2
  30. package/dist/types/project/menu-item.d.ts +1 -1
  31. package/dist/types/project/project-view-bookmark.d.ts +2 -1
  32. package/dist/types/project/project-view-legacy-bookmark.d.ts +2 -1
  33. package/dist/types/project/project-view.d.ts +2 -1
  34. package/dist/types/server/pending-action.d.ts +4 -4
  35. package/dist/types/tileset/tileset.d.ts +3 -3
  36. package/dist/types/tracking/tracking.d.ts +1 -1
  37. package/dist/types/user/session.d.ts +1 -1
  38. package/package.json +1 -1
@@ -6016,10 +6016,16 @@ var UTC;
6016
6016
  * @param utc
6017
6017
  */
6018
6018
  function ToString(utc) {
6019
+ if (typeof utc === "string") {
6020
+ return utc;
6021
+ }
6019
6022
  return ToDate(utc).toISOString();
6020
6023
  }
6021
6024
  UTC.ToString = ToString;
6022
6025
  function ToDate(utc) {
6026
+ if (typeof utc === "string") {
6027
+ return new Date(utc);
6028
+ }
6023
6029
  return new Date(Date.UTC(utc.y, utc.m - 1, utc.d, utc.hh, utc.mm, utc.ss, 0));
6024
6030
  }
6025
6031
  UTC.ToDate = ToDate;
@@ -10615,7 +10621,7 @@ var MenuItem;
10615
10621
  EType["Entity"] = "SingleEntity";
10616
10622
  // Renders Cesium OSM Buildings.
10617
10623
  EType["Osm"] = "OSMBuildingsTileset";
10618
- EType["Assembly"] = "ModelTileset";
10624
+ EType["Assembly"] = "Assembly";
10619
10625
  // Renders a Cesium Tileset made from importing an assembly file into Nextspace.
10620
10626
  EType["CadTileset"] = "ModelTileset";
10621
10627
  // Renders legacy Nextspace tilesets.
@@ -15981,7 +15987,7 @@ var Tracking;
15981
15987
  })(Tracking || (Tracking = {}));
15982
15988
 
15983
15989
  // This is updated with the package.json version on build.
15984
- const VERSION = "6.3.5";
15990
+ const VERSION = "6.3.7";
15985
15991
 
15986
15992
  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, 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 };
15987
15993
  //# sourceMappingURL=bruce-models.es5.js.map