bruce-models 5.2.6 → 5.2.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.
- package/dist/bruce-models.es5.js +13 -4
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +13 -4
- package/dist/bruce-models.umd.js.map +1 -1
- package/dist/lib/bruce-models.js +1 -1
- package/dist/lib/entity/entity.js +12 -3
- package/dist/lib/entity/entity.js.map +1 -1
- package/dist/types/bruce-models.d.ts +1 -1
- package/dist/types/entity/entity.d.ts +2 -0
- package/package.json +1 -1
package/dist/bruce-models.es5.js
CHANGED
|
@@ -3311,7 +3311,7 @@ var Entity;
|
|
|
3311
3311
|
*/
|
|
3312
3312
|
function GetListByIds(params) {
|
|
3313
3313
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3314
|
-
let { api, entityIds, migrated, schemaId, req: reqParams, expandRelations, expandLocation, historicFrom, historicKey, historicTo, historicPoint, expandSources, expandImports } = params;
|
|
3314
|
+
let { api, entityIds, migrated, schemaId, req: reqParams, expandRelations, expandLocation, historicFrom, historicKey, historicTo, historicPoint, expandSources, expandImports, maxSearchTimeSec } = params;
|
|
3315
3315
|
if (!entityIds.length) {
|
|
3316
3316
|
throw ("Entity IDs are required.");
|
|
3317
3317
|
}
|
|
@@ -3377,6 +3377,9 @@ var Entity;
|
|
|
3377
3377
|
if (schemaId) {
|
|
3378
3378
|
urlParams.set("schema", schemaId);
|
|
3379
3379
|
}
|
|
3380
|
+
if (maxSearchTimeSec) {
|
|
3381
|
+
urlParams.set("MaxSearchTimeSec", String(Math.ceil(maxSearchTimeSec)));
|
|
3382
|
+
}
|
|
3380
3383
|
urlParams.set("hasMigrated", String(Boolean(migrated)));
|
|
3381
3384
|
const url = `entities?${urlParams.toString()}`;
|
|
3382
3385
|
const reqs = [];
|
|
@@ -3784,7 +3787,7 @@ var Entity;
|
|
|
3784
3787
|
function GetList(params) {
|
|
3785
3788
|
var _a;
|
|
3786
3789
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3787
|
-
let { api, filter, migrated, schemaId, req: reqParams, viaCdn, viaCdnCacheToken, analysis, expandRelations, expandImports, historicFrom, historicKey, historicTo, historicPoint, expandLocation, expandSources } = params;
|
|
3790
|
+
let { api, filter, migrated, schemaId, req: reqParams, viaCdn, viaCdnCacheToken, analysis, expandRelations, expandImports, historicFrom, historicKey, historicTo, historicPoint, expandLocation, expandSources, maxSearchTimeSec } = params;
|
|
3788
3791
|
if (!api) {
|
|
3789
3792
|
api = ENVIRONMENT.Api().GetBruceApi();
|
|
3790
3793
|
}
|
|
@@ -3804,7 +3807,7 @@ var Entity;
|
|
|
3804
3807
|
};
|
|
3805
3808
|
}
|
|
3806
3809
|
if (filter.bounds) {
|
|
3807
|
-
requestFilter["
|
|
3810
|
+
requestFilter["boundaries"] = {
|
|
3808
3811
|
"intersects": [
|
|
3809
3812
|
filter.bounds.south,
|
|
3810
3813
|
filter.bounds.north,
|
|
@@ -3902,6 +3905,9 @@ var Entity;
|
|
|
3902
3905
|
if (schemaId) {
|
|
3903
3906
|
urlParams.set("schema", schemaId);
|
|
3904
3907
|
}
|
|
3908
|
+
if (maxSearchTimeSec) {
|
|
3909
|
+
urlParams.set("MaxSearchTimeSec", String(Math.ceil(maxSearchTimeSec)));
|
|
3910
|
+
}
|
|
3905
3911
|
urlParams.set("hasMigrated", String(Boolean(migrated)));
|
|
3906
3912
|
let url = analysis ? "entities/summary" : "entities";
|
|
3907
3913
|
// Adding url params here because this will avoid making them encoded.
|
|
@@ -3932,6 +3938,9 @@ var Entity;
|
|
|
3932
3938
|
if (schemaId) {
|
|
3933
3939
|
urlParams.set("schema", schemaId);
|
|
3934
3940
|
}
|
|
3941
|
+
if (maxSearchTimeSec) {
|
|
3942
|
+
urlParams.set("MaxSearchTimeSec", String(Math.ceil(maxSearchTimeSec)));
|
|
3943
|
+
}
|
|
3935
3944
|
urlParams.set("hasMigrated", String(Boolean(migrated)));
|
|
3936
3945
|
let url = analysis ? "entities/summary" : "entities";
|
|
3937
3946
|
// Adding url params here because this will avoid making them encoded.
|
|
@@ -14605,7 +14614,7 @@ var DataSource;
|
|
|
14605
14614
|
})(DataSource || (DataSource = {}));
|
|
14606
14615
|
|
|
14607
14616
|
// This is updated with the package.json version on build.
|
|
14608
|
-
const VERSION = "5.2.
|
|
14617
|
+
const VERSION = "5.2.8";
|
|
14609
14618
|
|
|
14610
14619
|
export { VERSION, 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, EntityTypeVisualSettings, EntityAttribute, EntityHistoricData, EntityTableView, Comment, ClientFile, ProgramKey, ZoomControl, MenuItem, ProjectViewBookmark, ProjectView, ProjectViewLegacyTile, ProjectViewTile, ProjectViewLegacy, ProjectViewLegacyBookmark, PendingAction, MessageBroker, HostingLocation, Style, Tileset, Permission, Session, UserGroup, User, Account, AccountInvite, AccountFeatures, AccountLimits, EncryptUtils, MathUtils, ObjectUtils, PathUtils, UrlUtils, DataLab, ImportAssembly, ImportCad, ImportCsv, ImportJson, ImportGeoJson, ImportKml, ImportedFile, ExportBrz, ExportUsd, Markup, Uploader, Plugin, ENVIRONMENT, DataSource };
|
|
14611
14620
|
//# sourceMappingURL=bruce-models.es5.js.map
|