bruce-models 5.3.9 → 5.4.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 +9 -5
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +9 -5
- package/dist/bruce-models.umd.js.map +1 -1
- package/dist/lib/account/account.js +2 -2
- package/dist/lib/account/account.js.map +1 -1
- package/dist/lib/bruce-models.js +1 -1
- package/dist/lib/entity/entity-attribute.js +4 -0
- package/dist/lib/entity/entity-attribute.js.map +1 -1
- package/dist/lib/user/user.js +2 -2
- package/dist/lib/user/user.js.map +1 -1
- package/dist/types/account/account.d.ts +1 -0
- package/dist/types/bruce-models.d.ts +1 -1
- package/dist/types/entity/entity-attribute.d.ts +3 -1
- package/dist/types/server/database-server.d.ts +2 -2
- package/dist/types/user/user.d.ts +1 -0
- package/package.json +1 -1
package/dist/bruce-models.es5.js
CHANGED
|
@@ -2276,6 +2276,10 @@ var EntityAttribute;
|
|
|
2276
2276
|
EType["Boolean"] = "Boolean";
|
|
2277
2277
|
// String User ID.
|
|
2278
2278
|
EType["User"] = "User";
|
|
2279
|
+
// String Group ID.
|
|
2280
|
+
EType["UserGroup"] = "UserGroup";
|
|
2281
|
+
// String Entity ID.
|
|
2282
|
+
EType["Entity"] = "Entity";
|
|
2279
2283
|
})(EType = EntityAttribute.EType || (EntityAttribute.EType = {}));
|
|
2280
2284
|
/**
|
|
2281
2285
|
* Returns an attribute from a provided hierarchy of attributes.
|
|
@@ -11193,11 +11197,11 @@ var Account;
|
|
|
11193
11197
|
*/
|
|
11194
11198
|
function UpdateAppSettings(params) {
|
|
11195
11199
|
return __awaiter(this, void 0, void 0, function* () {
|
|
11196
|
-
let { api, accountId: id, appId, settings: data, req: reqParams } = params;
|
|
11200
|
+
let { api, accountId: id, appId, settings: data, req: reqParams, override } = params;
|
|
11197
11201
|
if (!api) {
|
|
11198
11202
|
api = ENVIRONMENT.Api().GetGuardianApi();
|
|
11199
11203
|
}
|
|
11200
|
-
const res = yield api.POST(`account/${id}/applicationSettings/${appId}`, data, reqParams);
|
|
11204
|
+
const res = yield api.POST(`account/${id}/applicationSettings/${appId}?Override=${override ? "true" : "false"}`, data, reqParams);
|
|
11201
11205
|
api.Cache.RemoveByStartsWith(Api.ECacheKey.Account + Api.ECacheKey.Id + id);
|
|
11202
11206
|
return {
|
|
11203
11207
|
settings: res
|
|
@@ -12118,7 +12122,7 @@ var User;
|
|
|
12118
12122
|
*/
|
|
12119
12123
|
function UpdateSettings(params) {
|
|
12120
12124
|
return __awaiter(this, void 0, void 0, function* () {
|
|
12121
|
-
let { api, accId, userId, appId, settings, req } = params;
|
|
12125
|
+
let { api, accId, userId, appId, settings, req, override } = params;
|
|
12122
12126
|
if (!userId || !appId) {
|
|
12123
12127
|
throw ("UserId and appId are required.");
|
|
12124
12128
|
}
|
|
@@ -12131,7 +12135,7 @@ var User;
|
|
|
12131
12135
|
ClientAccountID: accId,
|
|
12132
12136
|
UserID: userId
|
|
12133
12137
|
};
|
|
12134
|
-
const prom = api.POST(`user/${userId}/application/${appId}/settings`, postBody, req);
|
|
12138
|
+
const prom = api.POST(`user/${userId}/application/${appId}/settings?Override=${override ? "true" : "false"}`, postBody, req);
|
|
12135
12139
|
api.Cache.Remove(GetSettingsCacheKey(userId, appId));
|
|
12136
12140
|
return prom;
|
|
12137
12141
|
});
|
|
@@ -14737,7 +14741,7 @@ var DataSource;
|
|
|
14737
14741
|
})(DataSource || (DataSource = {}));
|
|
14738
14742
|
|
|
14739
14743
|
// This is updated with the package.json version on build.
|
|
14740
|
-
const VERSION = "5.
|
|
14744
|
+
const VERSION = "5.4.1";
|
|
14741
14745
|
|
|
14742
14746
|
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, DataLabGroup, ImportAssembly, ImportCad, ImportCsv, ImportJson, ImportGeoJson, ImportKml, ImportedFile, ExportBrz, ExportUsd, Markup, Uploader, Plugin, ENVIRONMENT, DataSource };
|
|
14743
14747
|
//# sourceMappingURL=bruce-models.es5.js.map
|