bruce-models 4.1.8 → 4.1.9
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 +5 -2
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +5 -2
- package/dist/bruce-models.umd.js.map +1 -1
- package/dist/lib/bruce-models.js +1 -1
- package/dist/lib/tileset/tileset.js +4 -1
- package/dist/lib/tileset/tileset.js.map +1 -1
- package/dist/types/bruce-models.d.ts +1 -1
- package/package.json +1 -1
package/dist/bruce-models.es5.js
CHANGED
|
@@ -8957,7 +8957,10 @@ var Tileset;
|
|
|
8957
8957
|
yield api.POST(`ui.tileset/${data.id}`, legacy, Api.PrepReqParams(reqParams));
|
|
8958
8958
|
}
|
|
8959
8959
|
else {
|
|
8960
|
-
|
|
8960
|
+
// We avoid saving again if there are no settings and it is new.
|
|
8961
|
+
if (!isNew || (data.settings && Object.keys(data.settings).length > 0)) {
|
|
8962
|
+
yield api.POST(`tileset/update/${data.id}`, data, Api.PrepReqParams(reqParams));
|
|
8963
|
+
}
|
|
8961
8964
|
}
|
|
8962
8965
|
yield api.Cache.RemoveByStartsWith(Api.ECacheKey.Tileset + Api.ECacheKey.Id + data.id);
|
|
8963
8966
|
yield api.Cache.RemoveByStartsWith(Api.ECacheKey.Tileset);
|
|
@@ -13158,7 +13161,7 @@ var DataSource;
|
|
|
13158
13161
|
})(DataSource || (DataSource = {}));
|
|
13159
13162
|
|
|
13160
13163
|
// This is updated with the package.json version on build.
|
|
13161
|
-
const VERSION = "4.1.
|
|
13164
|
+
const VERSION = "4.1.9";
|
|
13162
13165
|
|
|
13163
13166
|
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, 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, ImportCad, ImportCsv, ImportJson, ImportKml, ImportedFile, Markup, Uploader, Plugin, ENVIRONMENT, DataSource };
|
|
13164
13167
|
//# sourceMappingURL=bruce-models.es5.js.map
|