bruce-models 7.1.73 → 7.1.74
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 +18 -1
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +18 -1
- package/dist/bruce-models.umd.js.map +1 -1
- package/dist/lib/bruce-models.js +1 -1
- package/dist/lib/entity/ontology.js +17 -0
- package/dist/lib/entity/ontology.js.map +1 -1
- package/dist/types/bruce-models.d.ts +1 -1
- package/dist/types/entity/ontology.d.ts +7 -0
- package/package.json +1 -1
package/dist/bruce-models.es5.js
CHANGED
|
@@ -14300,6 +14300,23 @@ var Ontology;
|
|
|
14300
14300
|
});
|
|
14301
14301
|
}
|
|
14302
14302
|
Ontology.Delete = Delete;
|
|
14303
|
+
function Describe(params) {
|
|
14304
|
+
var _a, _b;
|
|
14305
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
14306
|
+
let { api, ontologyId, req: reqParams } = params;
|
|
14307
|
+
if (ontologyId == null || ontologyId === "") {
|
|
14308
|
+
throw ("Ontology ID is required.");
|
|
14309
|
+
}
|
|
14310
|
+
if (!api) {
|
|
14311
|
+
api = ENVIRONMENT.Api().GetBruceApi();
|
|
14312
|
+
}
|
|
14313
|
+
const res = yield api.POST(`ontology/${ontologyId}/describe`, {}, Api.PrepReqParams(reqParams));
|
|
14314
|
+
return {
|
|
14315
|
+
markdown: typeof res === "string" ? res : (_b = (_a = res === null || res === void 0 ? void 0 : res.markdown) !== null && _a !== void 0 ? _a : res === null || res === void 0 ? void 0 : res.Markdown) !== null && _b !== void 0 ? _b : ""
|
|
14316
|
+
};
|
|
14317
|
+
});
|
|
14318
|
+
}
|
|
14319
|
+
Ontology.Describe = Describe;
|
|
14303
14320
|
function ParseResponse(response) {
|
|
14304
14321
|
var _a, _b, _c, _d, _e, _f;
|
|
14305
14322
|
const parsed = parseObject$5(response);
|
|
@@ -19944,7 +19961,7 @@ var UrlUtils;
|
|
|
19944
19961
|
})(UrlUtils || (UrlUtils = {}));
|
|
19945
19962
|
|
|
19946
19963
|
// This is updated with the package.json version on build.
|
|
19947
|
-
const VERSION = "7.1.
|
|
19964
|
+
const VERSION = "7.1.74";
|
|
19948
19965
|
|
|
19949
19966
|
export { VERSION, Account, AccountAudit, AccountConcept, AccountFeatures, AccountInvite, AccountLimits, AccountTemplate, AccountType, AnnDocument, AbstractApi, Api, ApiGetters, BruceApi, GlobalApi, GuardianApi, Assembly, Calculator, ChangeSet, ClientFile, Bounds, BruceEvent, BruceVariable, CacheControl, Camera, Cartes, Carto, Color, DelayQueue, GeoJson, Geometry, LRUCache, UTC, CustomForm, DashboardView, DataFeed, DataLab, DataLabGroup, DataSource, DataTransform, Comment, Entity, EntityAttachment, EntityAttachmentType, EntityAttribute, EntityComment, EntityCoords, EntityHistoricData, EntityLink, EntityLod, EntityLodCategory, EntityRelation, EntityRelationType, EntitySource, EntityTableView, EntityTag, EntityType, EntityTypeTrigger, Ontology, OntologyDocument, ENVIRONMENT, ExportBrz, ExportUsd, ImportAssembly, ImportCad, ImportCsv, ImportGeoJson, ImportJson, ImportKml, ImportLcc, ImportedFile, Uploader, Markup, UIMarkup, NAVIGATOR_CHAT_EVENT_ENTITY_HIGHLIGHT_APPLIED, NAVIGATOR_CHAT_EVENT_SCENE_CONTEXT_PREFETCHED, NavigatorChatClient, NavigatorMcpWebSocketClient, Plugin, ProgramKey, MenuItem, ProjectView, ProjectViewBookmark, ProjectViewBookmarkGroup, ProjectViewLegacy, ProjectViewLegacyBookmark, ProjectViewLegacyTile, ProjectViewTile, ZoomControl, Scenario, HostingLocation, MessageBroker, PendingAction, RecordChangeFeed, Style, Tileset, Tracking, Permission, Session, User, UserGroup, UserMfaMethod, EncryptUtils, MathUtils, ObjectUtils, PathUtils, UrlUtils };
|
|
19950
19967
|
//# sourceMappingURL=bruce-models.es5.js.map
|