bruce-models 6.4.1 → 6.4.3
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.
- package/dist/bruce-models.es5.js +45 -13
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +45 -13
- package/dist/bruce-models.umd.js.map +1 -1
- package/dist/lib/bruce-models.js +1 -1
- package/dist/lib/entity/entity.js +44 -12
- package/dist/lib/entity/entity.js.map +1 -1
- package/dist/types/account/account-invite.d.ts +1 -2
- package/dist/types/assembly/assembly.d.ts +2 -3
- package/dist/types/bruce-models.d.ts +1 -1
- package/dist/types/client-file/client-file.d.ts +2 -3
- package/dist/types/data-lab/data-lab.d.ts +2 -3
- package/dist/types/entity/entity-comment.d.ts +1 -2
- package/dist/types/entity/entity-type.d.ts +2 -3
- package/dist/types/entity/entity.d.ts +29 -15
- package/dist/types/entity-type-model/comment.d.ts +1 -2
- package/dist/types/plugin/plugin.d.ts +2 -3
- package/dist/types/project/project-view-bookmark.d.ts +2 -3
- package/dist/types/project/project-view-legacy-bookmark.d.ts +2 -3
- package/dist/types/project/project-view.d.ts +2 -3
- package/dist/types/server/pending-action.d.ts +4 -5
- package/dist/types/tileset/tileset.d.ts +3 -4
- package/dist/types/tracking/tracking.d.ts +1 -2
- package/dist/types/user/session.d.ts +1 -2
- package/package.json +1 -1
package/dist/bruce-models.es5.js
CHANGED
|
@@ -3588,6 +3588,11 @@ var EntityHistoricData;
|
|
|
3588
3588
|
*/
|
|
3589
3589
|
var Entity;
|
|
3590
3590
|
(function (Entity) {
|
|
3591
|
+
let EOutlineKind;
|
|
3592
|
+
(function (EOutlineKind) {
|
|
3593
|
+
EOutlineKind["Entity"] = "ENTITY";
|
|
3594
|
+
EOutlineKind["Attribute"] = "ATTRIBUTE";
|
|
3595
|
+
})(EOutlineKind = Entity.EOutlineKind || (Entity.EOutlineKind = {}));
|
|
3591
3596
|
/**
|
|
3592
3597
|
* Returns an entity record for the given entity id.
|
|
3593
3598
|
* @param params
|
|
@@ -3644,7 +3649,7 @@ var Entity;
|
|
|
3644
3649
|
expand += "attachment";
|
|
3645
3650
|
}
|
|
3646
3651
|
if (expand) {
|
|
3647
|
-
urlParams.append("
|
|
3652
|
+
urlParams.append("Expand", expand);
|
|
3648
3653
|
}
|
|
3649
3654
|
if (expandLODs) {
|
|
3650
3655
|
urlParams.append("LODType", "*");
|
|
@@ -4083,7 +4088,7 @@ var Entity;
|
|
|
4083
4088
|
value = checkForValue(["Bruce", "AssemblyWorldPosition"].concat(path.slice(1)));
|
|
4084
4089
|
}
|
|
4085
4090
|
else if (path[0] == "tilesetID") {
|
|
4086
|
-
value = checkForValue(["Bruce", "
|
|
4091
|
+
value = checkForValue(["Bruce", "Tileset.ID"].concat(path.slice(1)));
|
|
4087
4092
|
}
|
|
4088
4093
|
else if (path[0] == "geometryRadius") {
|
|
4089
4094
|
value = checkForValue(["Bruce", "GeometryRadius"].concat(path.slice(1)));
|
|
@@ -4111,7 +4116,7 @@ var Entity;
|
|
|
4111
4116
|
else if (path[1] == "AssemblyWorldPosition") {
|
|
4112
4117
|
value = checkForValue(["worldPosition"].concat(path.slice(2)));
|
|
4113
4118
|
}
|
|
4114
|
-
else if (path[1] == "
|
|
4119
|
+
else if (path[1] == "Tileset.ID") {
|
|
4115
4120
|
value = checkForValue(["tilesetID"].concat(path.slice(2)));
|
|
4116
4121
|
}
|
|
4117
4122
|
else if (path[1] == "GeometryRadius") {
|
|
@@ -4338,17 +4343,33 @@ var Entity;
|
|
|
4338
4343
|
if (body.PageSize) {
|
|
4339
4344
|
urlParams.set("PageSize", String(body.PageSize));
|
|
4340
4345
|
}
|
|
4346
|
+
let expand = "";
|
|
4341
4347
|
if (expandRelations) {
|
|
4342
|
-
|
|
4348
|
+
if (expand.length) {
|
|
4349
|
+
expand += ",";
|
|
4350
|
+
}
|
|
4351
|
+
expand += "Relation";
|
|
4343
4352
|
}
|
|
4344
4353
|
if (expandLocation) {
|
|
4345
|
-
|
|
4354
|
+
if (expand.length) {
|
|
4355
|
+
expand += ",";
|
|
4356
|
+
}
|
|
4357
|
+
expand += "Location";
|
|
4346
4358
|
}
|
|
4347
4359
|
if (expandImports) {
|
|
4348
|
-
|
|
4360
|
+
if (expand.length) {
|
|
4361
|
+
expand += ",";
|
|
4362
|
+
}
|
|
4363
|
+
expand += "Import";
|
|
4349
4364
|
}
|
|
4350
4365
|
if (expandSources) {
|
|
4351
|
-
|
|
4366
|
+
if (expand.length) {
|
|
4367
|
+
expand += ",";
|
|
4368
|
+
}
|
|
4369
|
+
expand += "Source";
|
|
4370
|
+
}
|
|
4371
|
+
if (expand.length) {
|
|
4372
|
+
urlParams.append("Expand", expand);
|
|
4352
4373
|
}
|
|
4353
4374
|
if (historicKey) {
|
|
4354
4375
|
urlParams.set("historicKey", historicKey);
|
|
@@ -4373,8 +4394,6 @@ var Entity;
|
|
|
4373
4394
|
}
|
|
4374
4395
|
urlParams.set("hasMigrated", String(Boolean(migrated)));
|
|
4375
4396
|
let url = analysis ? "entities/summary" : "entities";
|
|
4376
|
-
// Adding url params here because this will avoid making them encoded.
|
|
4377
|
-
// Our API isn't decoding them properly so $expand is not being recognized.
|
|
4378
4397
|
url += "?" + urlParams.toString();
|
|
4379
4398
|
const urlStr = api.ConstructUrl({
|
|
4380
4399
|
cdn: !analysis && viaCdn,
|
|
@@ -4393,14 +4412,27 @@ var Entity;
|
|
|
4393
4412
|
}
|
|
4394
4413
|
else {
|
|
4395
4414
|
const urlParams = new URLSearchParams();
|
|
4415
|
+
let expand = "";
|
|
4396
4416
|
if (expandRelations) {
|
|
4397
|
-
|
|
4417
|
+
if (expand.length) {
|
|
4418
|
+
expand += ",";
|
|
4419
|
+
}
|
|
4420
|
+
expand += "Relation";
|
|
4398
4421
|
}
|
|
4399
4422
|
if (expandLocation) {
|
|
4400
|
-
|
|
4423
|
+
if (expand.length) {
|
|
4424
|
+
expand += ",";
|
|
4425
|
+
}
|
|
4426
|
+
expand += "Location";
|
|
4401
4427
|
}
|
|
4402
4428
|
if (expandImports) {
|
|
4403
|
-
|
|
4429
|
+
if (expand.length) {
|
|
4430
|
+
expand += ",";
|
|
4431
|
+
}
|
|
4432
|
+
expand += "Import";
|
|
4433
|
+
}
|
|
4434
|
+
if (expand.length) {
|
|
4435
|
+
urlParams.append("Expand", expand);
|
|
4404
4436
|
}
|
|
4405
4437
|
if (schemaId) {
|
|
4406
4438
|
urlParams.set("schema", schemaId);
|
|
@@ -15997,7 +16029,7 @@ var Tracking;
|
|
|
15997
16029
|
})(Tracking || (Tracking = {}));
|
|
15998
16030
|
|
|
15999
16031
|
// This is updated with the package.json version on build.
|
|
16000
|
-
const VERSION = "6.4.
|
|
16032
|
+
const VERSION = "6.4.3";
|
|
16001
16033
|
|
|
16002
16034
|
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 };
|
|
16003
16035
|
//# sourceMappingURL=bruce-models.es5.js.map
|