@itwin/core-backend 5.11.0-dev.4 → 5.11.0-dev.6
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/lib/cjs/Element.d.ts +1 -1
- package/lib/cjs/Element.js +1 -1
- package/lib/cjs/Element.js.map +1 -1
- package/lib/cjs/Entity.d.ts +3 -3
- package/lib/cjs/Entity.js +3 -3
- package/lib/cjs/Entity.js.map +1 -1
- package/lib/cjs/Relationship.d.ts +1 -1
- package/lib/cjs/Relationship.js +1 -1
- package/lib/cjs/Relationship.js.map +1 -1
- package/lib/esm/Element.d.ts +1 -1
- package/lib/esm/Element.js +1 -1
- package/lib/esm/Element.js.map +1 -1
- package/lib/esm/Entity.d.ts +3 -3
- package/lib/esm/Entity.js +3 -3
- package/lib/esm/Entity.js.map +1 -1
- package/lib/esm/Relationship.d.ts +1 -1
- package/lib/esm/Relationship.js +1 -1
- package/lib/esm/Relationship.js.map +1 -1
- package/package.json +13 -13
package/lib/cjs/Element.d.ts
CHANGED
|
@@ -408,7 +408,7 @@ export declare class Element extends Entity {
|
|
|
408
408
|
*/
|
|
409
409
|
getClassMetaData(): EntityMetaData | undefined;
|
|
410
410
|
/** Query metadata for this entity class from the iModel's schema. Returns cached metadata if available.
|
|
411
|
-
* @deprecated in 5.10.0. Obtain a `SchemaView` via `iModel.getSchemaView()` and call `view.findClass(element.classFullName)` to retrieve a `SchemaView.Class`. The returned type differs from `EntityClass` and offers a synchronous, snapshot-style API.
|
|
411
|
+
* @deprecated in 5.10.0 - will not be removed until after 2026-09-03. Obtain a `SchemaView` via `iModel.getSchemaView()` and call `view.findClass(element.classFullName)` to retrieve a `SchemaView.Class`. The returned type differs from `EntityClass` and offers a synchronous, snapshot-style API.
|
|
412
412
|
*/
|
|
413
413
|
getMetaData(): Promise<EntityClass>;
|
|
414
414
|
private getAllUserProperties;
|
package/lib/cjs/Element.js
CHANGED
|
@@ -424,7 +424,7 @@ class Element extends Entity_1.Entity {
|
|
|
424
424
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
425
425
|
getClassMetaData() { return this.iModel.classMetaDataRegistry.find(this.classFullName); }
|
|
426
426
|
/** Query metadata for this entity class from the iModel's schema. Returns cached metadata if available.
|
|
427
|
-
* @deprecated in 5.10.0. Obtain a `SchemaView` via `iModel.getSchemaView()` and call `view.findClass(element.classFullName)` to retrieve a `SchemaView.Class`. The returned type differs from `EntityClass` and offers a synchronous, snapshot-style API.
|
|
427
|
+
* @deprecated in 5.10.0 - will not be removed until after 2026-09-03. Obtain a `SchemaView` via `iModel.getSchemaView()` and call `view.findClass(element.classFullName)` to retrieve a `SchemaView.Class`. The returned type differs from `EntityClass` and offers a synchronous, snapshot-style API.
|
|
428
428
|
*/
|
|
429
429
|
async getMetaData() {
|
|
430
430
|
if (this._metadata && ecschema_metadata_1.EntityClass.isEntityClass(this._metadata)) {
|