bruce-models 7.1.7 → 7.1.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 +36 -1
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +36 -1
- package/dist/bruce-models.umd.js.map +1 -1
- package/dist/lib/bruce-models.js +1 -1
- package/dist/lib/entity/entity-type.js +35 -0
- package/dist/lib/entity/entity-type.js.map +1 -1
- package/dist/types/bruce-models.d.ts +1 -1
- package/dist/types/entity/entity-type.d.ts +25 -0
- package/package.json +1 -1
package/dist/bruce-models.es5.js
CHANGED
|
@@ -3547,6 +3547,26 @@ var EntityType;
|
|
|
3547
3547
|
});
|
|
3548
3548
|
}
|
|
3549
3549
|
EntityType.GetSourceDependencies = GetSourceDependencies;
|
|
3550
|
+
/**
|
|
3551
|
+
* Gets dictionary data schema dependency records for an Entity Type.
|
|
3552
|
+
* This calls: GET entityType/{entityType_id}/dictionaryDataSchemaDependencies
|
|
3553
|
+
*/
|
|
3554
|
+
function GetDictionaryDataSchemaDependencies(params) {
|
|
3555
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3556
|
+
let { api, entityTypeId, req } = params;
|
|
3557
|
+
if (!entityTypeId) {
|
|
3558
|
+
throw ("Type ID is required.");
|
|
3559
|
+
}
|
|
3560
|
+
if (!api) {
|
|
3561
|
+
api = ENVIRONMENT.Api().GetBruceApi();
|
|
3562
|
+
}
|
|
3563
|
+
const res = yield api.GET(`entityType/${entityTypeId}/dictionaryDataSchemaDependencies`, Api.PrepReqParams(req));
|
|
3564
|
+
return {
|
|
3565
|
+
dictionaryDataSchemaDependencies: ParseDictionaryDataSchemaDependenciesResponse(res)
|
|
3566
|
+
};
|
|
3567
|
+
});
|
|
3568
|
+
}
|
|
3569
|
+
EntityType.GetDictionaryDataSchemaDependencies = GetDictionaryDataSchemaDependencies;
|
|
3550
3570
|
/**
|
|
3551
3571
|
* Normalizes response from GetSourceDependencies.
|
|
3552
3572
|
* Supports list wrappers and direct array payloads.
|
|
@@ -3562,6 +3582,21 @@ var EntityType;
|
|
|
3562
3582
|
return [];
|
|
3563
3583
|
}
|
|
3564
3584
|
EntityType.ParseSourceDependenciesResponse = ParseSourceDependenciesResponse;
|
|
3585
|
+
/**
|
|
3586
|
+
* Normalizes response from GetDictionaryDataSchemaDependencies.
|
|
3587
|
+
* Supports list wrappers and direct array payloads.
|
|
3588
|
+
*/
|
|
3589
|
+
function ParseDictionaryDataSchemaDependenciesResponse(response) {
|
|
3590
|
+
var _a, _b, _c, _d;
|
|
3591
|
+
const parsed = parseObject(response);
|
|
3592
|
+
const parsedResult = (_a = parseObject(parsed === null || parsed === void 0 ? void 0 : parsed.Result)) !== null && _a !== void 0 ? _a : parsed === null || parsed === void 0 ? void 0 : parsed.Result;
|
|
3593
|
+
const list = (_d = (_c = (_b = parsed === null || parsed === void 0 ? void 0 : parsed.Items) !== null && _b !== void 0 ? _b : parsedResult === null || parsedResult === void 0 ? void 0 : parsedResult.Items) !== null && _c !== void 0 ? _c : parsedResult) !== null && _d !== void 0 ? _d : parsed;
|
|
3594
|
+
if (Array.isArray(list)) {
|
|
3595
|
+
return list;
|
|
3596
|
+
}
|
|
3597
|
+
return [];
|
|
3598
|
+
}
|
|
3599
|
+
EntityType.ParseDictionaryDataSchemaDependenciesResponse = ParseDictionaryDataSchemaDependenciesResponse;
|
|
3565
3600
|
/**
|
|
3566
3601
|
* Normalizes response from ExportOntology.
|
|
3567
3602
|
* Supports both direct response payloads and wrapper shapes.
|
|
@@ -17207,7 +17242,7 @@ var ChangeSet;
|
|
|
17207
17242
|
})(ChangeSet || (ChangeSet = {}));
|
|
17208
17243
|
|
|
17209
17244
|
// This is updated with the package.json version on build.
|
|
17210
|
-
const VERSION = "7.1.
|
|
17245
|
+
const VERSION = "7.1.8";
|
|
17211
17246
|
|
|
17212
17247
|
export { VERSION, Assembly, 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, EntityAttribute, EntityHistoricData, EntityTableView, Comment, ClientFile, ProgramKey, ZoomControl, MenuItem, ProjectViewBookmark, ProjectView, ProjectViewLegacyTile, ProjectViewTile, ProjectViewLegacy, ProjectViewLegacyBookmark, ProjectViewBookmarkGroup, PendingAction, MessageBroker, HostingLocation, Style, Tileset, Permission, Session, UserGroup, User, UserMfaMethod, Account, AccountInvite, AccountFeatures, AccountLimits, AccountTemplate, AccountType, EncryptUtils, MathUtils, ObjectUtils, PathUtils, UrlUtils, DataLab, DataLabGroup, ImportAssembly, ImportCad, ImportCsv, ImportJson, ImportGeoJson, ImportKml, ImportedFile, ExportBrz, ExportUsd, Markup, Uploader, Plugin, ENVIRONMENT, DataSource, Scenario, Tracking, NavigatorChatClient, NavigatorMcpWebSocketClient, ChangeSet };
|
|
17213
17248
|
//# sourceMappingURL=bruce-models.es5.js.map
|