bruce-models 2.7.7 → 2.7.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 +3 -8
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +3 -8
- package/dist/bruce-models.umd.js.map +1 -1
- package/dist/lib/bruce-models.js +1 -1
- package/dist/lib/tileset/tileset.js +2 -7
- 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
|
@@ -9388,20 +9388,15 @@ var Tileset;
|
|
|
9388
9388
|
return cacheData.data;
|
|
9389
9389
|
}
|
|
9390
9390
|
const prom = new Promise((res, rej) => __awaiter(this, void 0, void 0, function* () {
|
|
9391
|
-
var _a;
|
|
9392
9391
|
try {
|
|
9393
9392
|
// We try find the published record for the tileset.
|
|
9394
9393
|
// If it doesn't exist, then it's not published.
|
|
9395
9394
|
const { published } = yield GetList({
|
|
9396
|
-
accountId:
|
|
9395
|
+
accountId: forAccountId,
|
|
9397
9396
|
api: api,
|
|
9398
9397
|
});
|
|
9399
9398
|
const tileset = published.find(x => x["Tileset.ID"] == tilesetId && x["PublishedBy.ClientAccount.ID"] == sourceAccountId);
|
|
9400
|
-
|
|
9401
|
-
res(false);
|
|
9402
|
-
return;
|
|
9403
|
-
}
|
|
9404
|
-
res(tileset.IsPublic || (((_a = tileset["EnabledFor.ClientAccount.ID"]) === null || _a === void 0 ? void 0 : _a.length) && tileset["EnabledFor.ClientAccount.ID"].includes(forAccountId)));
|
|
9399
|
+
res(tileset != null);
|
|
9405
9400
|
}
|
|
9406
9401
|
catch (e) {
|
|
9407
9402
|
rej(e);
|
|
@@ -12011,7 +12006,7 @@ var DataSource;
|
|
|
12011
12006
|
DataSource.GetList = GetList;
|
|
12012
12007
|
})(DataSource || (DataSource = {}));
|
|
12013
12008
|
|
|
12014
|
-
const VERSION$1 = "2.7.
|
|
12009
|
+
const VERSION$1 = "2.7.9";
|
|
12015
12010
|
|
|
12016
12011
|
export { VERSION$1 as VERSION, AnnDocument, CustomForm, CustomFormContent, AbstractApi, Api, BruceApi, CamApi, IdmApi, 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, EntityGlobe, EntityFilterGetter, BatchedDataGetter, EntityCoords, EntityTypeVisualSettings, EntityAttribute, ClientFile, ProgramKey, ZoomControl, MenuItem, ProjectViewBookmark, ProjectView, ProjectViewLegacyTile, ProjectViewTile, PendingAction, MessageBroker, HostingLocation, Style, Tileset, Permission, Session, UserGroup, User, Account, AccountInvite, EncryptUtils, MathUtils, ObjectUtils, PathUtils, UrlUtils, DataLab, ImportCad, ImportCsv, ImportJson, ImportKml, ImportedFile, Markup, Uploader, Plugin, ENVIRONMENT, DataSource };
|
|
12017
12012
|
//# sourceMappingURL=bruce-models.es5.js.map
|