bruce-models 3.9.0 → 3.9.1
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 +16 -3
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +16 -3
- package/dist/bruce-models.umd.js.map +1 -1
- package/dist/lib/bruce-models.js +1 -1
- package/dist/lib/entity/entity.js +15 -2
- 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 +1 -0
- package/package.json +1 -1
package/dist/bruce-models.es5.js
CHANGED
|
@@ -3055,7 +3055,7 @@ var Entity;
|
|
|
3055
3055
|
*/
|
|
3056
3056
|
function Get(params) {
|
|
3057
3057
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3058
|
-
let { api, entityId, req: reqParams, expandLocation, expandRelations, entityTypeId, historicFrom, historicKey, historicTo } = params;
|
|
3058
|
+
let { api, entityId, req: reqParams, expandLocation, expandRelations, entityTypeId, historicFrom, historicKey, historicTo, historicPoint } = params;
|
|
3059
3059
|
if (!entityId) {
|
|
3060
3060
|
throw ("Entity ID is required.");
|
|
3061
3061
|
}
|
|
@@ -3069,7 +3069,8 @@ var Entity;
|
|
|
3069
3069
|
expandRelations,
|
|
3070
3070
|
historicFrom,
|
|
3071
3071
|
historicKey,
|
|
3072
|
-
historicTo
|
|
3072
|
+
historicTo,
|
|
3073
|
+
historicPoint
|
|
3073
3074
|
});
|
|
3074
3075
|
const cache = api.GetCacheItem(key, reqParams);
|
|
3075
3076
|
if (cache === null || cache === void 0 ? void 0 : cache.found) {
|
|
@@ -3087,6 +3088,18 @@ var Entity;
|
|
|
3087
3088
|
if (entityTypeId) {
|
|
3088
3089
|
urlParams.append("BruceEntityType", entityTypeId);
|
|
3089
3090
|
}
|
|
3091
|
+
if (historicKey) {
|
|
3092
|
+
urlParams.set("historicKey", historicKey);
|
|
3093
|
+
}
|
|
3094
|
+
if (historicFrom) {
|
|
3095
|
+
urlParams.set("historicFrom", historicFrom);
|
|
3096
|
+
}
|
|
3097
|
+
if (historicTo) {
|
|
3098
|
+
urlParams.set("historicTo", historicTo);
|
|
3099
|
+
}
|
|
3100
|
+
if (historicPoint) {
|
|
3101
|
+
urlParams.set("historicPoint", historicPoint);
|
|
3102
|
+
}
|
|
3090
3103
|
const data = yield api.GET(`entity/${entityId}?${urlParams.toString()}`, Api.PrepReqParams(reqParams));
|
|
3091
3104
|
res({
|
|
3092
3105
|
entity: data
|
|
@@ -11404,7 +11417,7 @@ var DataSource;
|
|
|
11404
11417
|
})(DataSource || (DataSource = {}));
|
|
11405
11418
|
|
|
11406
11419
|
// This is updated with the package.json version on build.
|
|
11407
|
-
const VERSION = "3.9.
|
|
11420
|
+
const VERSION = "3.9.1";
|
|
11408
11421
|
|
|
11409
11422
|
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 };
|
|
11410
11423
|
//# sourceMappingURL=bruce-models.es5.js.map
|