@itwin/core-backend 5.12.0 → 5.12.2
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/CHANGELOG.md +13 -1
- package/lib/cjs/Category.d.ts +4 -4
- package/lib/cjs/Category.js.map +1 -1
- package/lib/cjs/CodeSpecs.d.ts +3 -3
- package/lib/cjs/CodeSpecs.js.map +1 -1
- package/lib/cjs/DisplayStyle.d.ts +2 -2
- package/lib/cjs/DisplayStyle.js.map +1 -1
- package/lib/cjs/Element.d.ts +8 -8
- package/lib/cjs/Element.d.ts.map +1 -1
- package/lib/cjs/Element.js +2 -2
- package/lib/cjs/Element.js.map +1 -1
- package/lib/cjs/IModelDb.d.ts +14 -14
- package/lib/cjs/IModelDb.js +14 -14
- package/lib/cjs/IModelDb.js.map +1 -1
- package/lib/cjs/Model.d.ts +5 -5
- package/lib/cjs/Model.d.ts.map +1 -1
- package/lib/cjs/Model.js.map +1 -1
- package/lib/cjs/Texture.d.ts +1 -1
- package/lib/cjs/Texture.js.map +1 -1
- package/lib/cjs/ViewDefinition.d.ts +6 -6
- package/lib/cjs/ViewDefinition.d.ts.map +1 -1
- package/lib/cjs/ViewDefinition.js.map +1 -1
- package/lib/cjs/internal/workspace/WorkspaceImpl.d.ts.map +1 -1
- package/lib/cjs/internal/workspace/WorkspaceImpl.js +7 -2
- package/lib/cjs/internal/workspace/WorkspaceImpl.js.map +1 -1
- package/lib/esm/Category.d.ts +4 -4
- package/lib/esm/Category.js.map +1 -1
- package/lib/esm/CodeSpecs.d.ts +3 -3
- package/lib/esm/CodeSpecs.js.map +1 -1
- package/lib/esm/DisplayStyle.d.ts +2 -2
- package/lib/esm/DisplayStyle.js.map +1 -1
- package/lib/esm/Element.d.ts +8 -8
- package/lib/esm/Element.d.ts.map +1 -1
- package/lib/esm/Element.js +2 -2
- package/lib/esm/Element.js.map +1 -1
- package/lib/esm/IModelDb.d.ts +14 -14
- package/lib/esm/IModelDb.js +14 -14
- package/lib/esm/IModelDb.js.map +1 -1
- package/lib/esm/Model.d.ts +5 -5
- package/lib/esm/Model.d.ts.map +1 -1
- package/lib/esm/Model.js.map +1 -1
- package/lib/esm/Texture.d.ts +1 -1
- package/lib/esm/Texture.js.map +1 -1
- package/lib/esm/ViewDefinition.d.ts +6 -6
- package/lib/esm/ViewDefinition.d.ts.map +1 -1
- package/lib/esm/ViewDefinition.js.map +1 -1
- package/lib/esm/internal/workspace/WorkspaceImpl.d.ts.map +1 -1
- package/lib/esm/internal/workspace/WorkspaceImpl.js +7 -2
- package/lib/esm/internal/workspace/WorkspaceImpl.js.map +1 -1
- package/lib/esm/test/standalone/Workspace.test.js +52 -0
- package/lib/esm/test/standalone/Workspace.test.js.map +1 -1
- package/package.json +14 -14
package/lib/esm/IModelDb.d.ts
CHANGED
|
@@ -1300,13 +1300,13 @@ export declare namespace IModelDb {
|
|
|
1300
1300
|
* @param props The data for the new model.
|
|
1301
1301
|
* @returns The newly inserted model's Id.
|
|
1302
1302
|
* @throws [[IModelError]] if insertion fails.
|
|
1303
|
-
* @deprecated in 5.9.0 -
|
|
1303
|
+
* @deprecated in 5.9.0 - might be removed in next major version. Use EditTxn.insertModel instead, within an explicit EditTxn scope (or via withEditTxn). See EditTxn documentation for migration help.
|
|
1304
1304
|
*/
|
|
1305
1305
|
insertModel(props: ModelProps): Id64String;
|
|
1306
1306
|
/** Update an existing model.
|
|
1307
1307
|
* @param props the properties of the model to change
|
|
1308
1308
|
* @throws [[IModelError]] if update fails.
|
|
1309
|
-
* @deprecated in 5.9.0 -
|
|
1309
|
+
* @deprecated in 5.9.0 - might be removed in next major version. Use EditTxn.updateModel instead, within an explicit EditTxn scope (or via withEditTxn). See EditTxn documentation for migration help.
|
|
1310
1310
|
*/
|
|
1311
1311
|
updateModel(props: UpdateModelOptions): void;
|
|
1312
1312
|
/** Mark the geometry of [[GeometricModel]] as having changed, by recording an indirect change to its GeometryGuid property.
|
|
@@ -1316,14 +1316,14 @@ export declare namespace IModelDb {
|
|
|
1316
1316
|
* Cached [Tile]($frontend)s are only invalidated after the geometry guid of the model changes.
|
|
1317
1317
|
* @note This will throw IModelError with [IModelStatus.VersionTooOld]($core-bentley) if a version of the BisCore schema older than 1.0.11 is present in the iModel.
|
|
1318
1318
|
* @throws [[IModelError]] if the update fails.
|
|
1319
|
-
* @deprecated in 5.9.0 -
|
|
1319
|
+
* @deprecated in 5.9.0 - might be removed in next major version. Use EditTxn.updateGeometryGuid instead, within an explicit EditTxn scope (or via withEditTxn). See EditTxn documentation for migration help.
|
|
1320
1320
|
* @see [[TxnManager.onModelGeometryChanged]] for the event emitted in response to such a change.
|
|
1321
1321
|
*/
|
|
1322
1322
|
updateGeometryGuid(modelId: Id64String): void;
|
|
1323
1323
|
/** Delete one or more existing models.
|
|
1324
1324
|
* @param ids The Ids of the models to be deleted
|
|
1325
1325
|
* @throws [[IModelError]] if deletion fails.
|
|
1326
|
-
* @deprecated in 5.9.0 -
|
|
1326
|
+
* @deprecated in 5.9.0 - might be removed in next major version. Use EditTxn.deleteModel instead, within an explicit EditTxn scope (or via withEditTxn). See EditTxn documentation for migration help.
|
|
1327
1327
|
*/
|
|
1328
1328
|
deleteModel(ids: Id64Arg): void;
|
|
1329
1329
|
/** For each specified [[GeometricModel]], attempts to obtain the union of the volumes of all geometric elements within that model.
|
|
@@ -1416,7 +1416,7 @@ export declare namespace IModelDb {
|
|
|
1416
1416
|
* However when `elProps.federationGuid` is not present or undefined, a new Guid will be generated and stored on the resultant element. But
|
|
1417
1417
|
* the value of `elProps.federationGuid` is *not* updated. Generally, it is best to re-read the element after inserting (e.g. via [[getElementProps]])
|
|
1418
1418
|
* if you intend to continue working with it. That will ensure its values reflect the persistent state.
|
|
1419
|
-
* @deprecated in 5.9.0 -
|
|
1419
|
+
* @deprecated in 5.9.0 - might be removed in next major version. Use EditTxn.insertElement instead, within an explicit EditTxn scope (or via withEditTxn). See EditTxn documentation for migration help.
|
|
1420
1420
|
*/
|
|
1421
1421
|
insertElement(elProps: ElementProps, options?: InsertElementOptions): Id64String;
|
|
1422
1422
|
/**
|
|
@@ -1429,14 +1429,14 @@ export declare namespace IModelDb {
|
|
|
1429
1429
|
* @note The values of `classFullName` and `model` *may not be changed* by this method. Further, it will permute the `elProps` object by adding or
|
|
1430
1430
|
* overwriting their values to the correct values.
|
|
1431
1431
|
* @throws [[ITwinError]] if update fails.
|
|
1432
|
-
* @deprecated in 5.9.0 -
|
|
1432
|
+
* @deprecated in 5.9.0 - might be removed in next major version. Use EditTxn.updateElement instead, within an explicit EditTxn scope (or via withEditTxn). See EditTxn documentation for migration help.
|
|
1433
1433
|
*/
|
|
1434
1434
|
updateElement<T extends ElementProps>(elProps: Partial<T>): void;
|
|
1435
1435
|
/** Delete one or more elements from this iModel.
|
|
1436
1436
|
* @param ids The set of Ids of the element(s) to be deleted
|
|
1437
1437
|
* @throws [[ITwinError]]
|
|
1438
1438
|
* @see deleteDefinitionElements
|
|
1439
|
-
* @deprecated in 5.9.0 -
|
|
1439
|
+
* @deprecated in 5.9.0 - might be removed in next major version. Use EditTxn.deleteElement instead, within an explicit EditTxn scope (or via withEditTxn). See EditTxn documentation for migration help.
|
|
1440
1440
|
*/
|
|
1441
1441
|
deleteElement(ids: Id64Arg): void;
|
|
1442
1442
|
/**
|
|
@@ -1457,7 +1457,7 @@ export declare namespace IModelDb {
|
|
|
1457
1457
|
* DefinitionElements rather than calling this method separately for each one. Ids that are not valid DefinitionElements will be ignored.
|
|
1458
1458
|
* @returns An IdSet of the DefinitionElements that are used and were therefore not deleted.
|
|
1459
1459
|
* @see deleteElement
|
|
1460
|
-
* @deprecated in 5.9.0 -
|
|
1460
|
+
* @deprecated in 5.9.0 - might be removed in next major version. Use EditTxn.deleteDefinitionElements instead, within an explicit EditTxn scope (or via withEditTxn). See EditTxn documentation for migration help.
|
|
1461
1461
|
*/
|
|
1462
1462
|
deleteDefinitionElements(definitionElementIds: Id64Array): Id64Set;
|
|
1463
1463
|
/** Query for the child elements of the specified element.
|
|
@@ -1506,33 +1506,33 @@ export declare namespace IModelDb {
|
|
|
1506
1506
|
* @returns the id of the newly inserted aspect.
|
|
1507
1507
|
* @note Aspect Ids may collide with element Ids, so don't put both in a container like Set or Map
|
|
1508
1508
|
* use [EntityReference]($common) for that instead.
|
|
1509
|
-
* @deprecated in 5.9.0 -
|
|
1509
|
+
* @deprecated in 5.9.0 - might be removed in next major version. Use EditTxn.insertAspect instead, within an explicit EditTxn scope (or via withEditTxn). See EditTxn documentation for migration help.
|
|
1510
1510
|
*/
|
|
1511
1511
|
insertAspect(aspectProps: ElementAspectProps): Id64String;
|
|
1512
1512
|
/** Update an exist ElementAspect within the iModel.
|
|
1513
1513
|
* @param aspectProps The properties to use to update the ElementAspect.
|
|
1514
1514
|
* @throws [[IModelError]] if unable to update the ElementAspect.
|
|
1515
|
-
* @deprecated in 5.9.0 -
|
|
1515
|
+
* @deprecated in 5.9.0 - might be removed in next major version. Use EditTxn.updateAspect instead, within an explicit EditTxn scope (or via withEditTxn). See EditTxn documentation for migration help.
|
|
1516
1516
|
*/
|
|
1517
1517
|
updateAspect(aspectProps: ElementAspectProps): void;
|
|
1518
1518
|
/** Delete one or more ElementAspects from this iModel.
|
|
1519
1519
|
* @param aspectInstanceIds The set of instance Ids of the ElementAspect(s) to be deleted
|
|
1520
1520
|
* @throws [[IModelError]] if unable to delete the ElementAspect.
|
|
1521
|
-
* @deprecated in 5.9.0 -
|
|
1521
|
+
* @deprecated in 5.9.0 - might be removed in next major version. Use EditTxn.deleteAspect instead, within an explicit EditTxn scope (or via withEditTxn). See EditTxn documentation for migration help.
|
|
1522
1522
|
*/
|
|
1523
1523
|
deleteAspect(aspectInstanceIds: Id64Arg): void;
|
|
1524
1524
|
/** Change the parent of an element.
|
|
1525
1525
|
* @param props The properties specifying the element to reparent and its new parent.
|
|
1526
1526
|
* @throws [[ITwinError]] if the operation fails.
|
|
1527
1527
|
* @beta
|
|
1528
|
-
* @deprecated in 5.11.0 -
|
|
1528
|
+
* @deprecated in 5.11.0 - might be removed in next major version. Use EditTxn.changeElementParent instead, within an explicit EditTxn scope (or via withEditTxn). See EditTxn documentation for migration help.
|
|
1529
1529
|
*/
|
|
1530
1530
|
changeElementParent(props: ChangeElementParentProps): void;
|
|
1531
1531
|
/** Change the model of an element.
|
|
1532
1532
|
* @param props The properties specifying the element to move and its new model.
|
|
1533
1533
|
* @throws [[ITwinError]] if the operation fails.
|
|
1534
1534
|
* @beta
|
|
1535
|
-
* @deprecated in 5.11.0 -
|
|
1535
|
+
* @deprecated in 5.11.0 - might be removed in next major version. Use EditTxn.changeElementModel instead, within an explicit EditTxn scope (or via withEditTxn). See EditTxn documentation for migration help.
|
|
1536
1536
|
*/
|
|
1537
1537
|
changeElementModel(props: ChangeElementModelProps): void;
|
|
1538
1538
|
}
|
|
@@ -1555,7 +1555,7 @@ export declare namespace IModelDb {
|
|
|
1555
1555
|
accessLevel?: BlobContainer.RequestAccessLevel;
|
|
1556
1556
|
}): Promise<ViewStore.CloudAccess>;
|
|
1557
1557
|
/**
|
|
1558
|
-
* @beta @deprecated in 5.9.0 -
|
|
1558
|
+
* @beta @deprecated in 5.9.0 - might be removed in next major version. Use EditTxn.saveDefaultViewStore instead, within an explicit EditTxn scope (or via withEditTxn). See EditTxn documentation for migration help.
|
|
1559
1559
|
*/
|
|
1560
1560
|
saveDefaultViewStore(arg: CloudSqlite.ContainerProps): void;
|
|
1561
1561
|
/** Query for the array of ViewDefinitionProps of the specified class and matching the specified IsPrivate setting.
|
package/lib/esm/IModelDb.js
CHANGED
|
@@ -2169,7 +2169,7 @@ function processSchemaWriteStatus(status) {
|
|
|
2169
2169
|
* @param props The data for the new model.
|
|
2170
2170
|
* @returns The newly inserted model's Id.
|
|
2171
2171
|
* @throws [[IModelError]] if insertion fails.
|
|
2172
|
-
* @deprecated in 5.9.0 -
|
|
2172
|
+
* @deprecated in 5.9.0 - might be removed in next major version. Use EditTxn.insertModel instead, within an explicit EditTxn scope (or via withEditTxn). See EditTxn documentation for migration help.
|
|
2173
2173
|
*/
|
|
2174
2174
|
insertModel(props) {
|
|
2175
2175
|
return this._iModel[_implicitTxn].insertModel(props);
|
|
@@ -2177,7 +2177,7 @@ function processSchemaWriteStatus(status) {
|
|
|
2177
2177
|
/** Update an existing model.
|
|
2178
2178
|
* @param props the properties of the model to change
|
|
2179
2179
|
* @throws [[IModelError]] if update fails.
|
|
2180
|
-
* @deprecated in 5.9.0 -
|
|
2180
|
+
* @deprecated in 5.9.0 - might be removed in next major version. Use EditTxn.updateModel instead, within an explicit EditTxn scope (or via withEditTxn). See EditTxn documentation for migration help.
|
|
2181
2181
|
*/
|
|
2182
2182
|
updateModel(props) {
|
|
2183
2183
|
this._iModel[_implicitTxn].updateModel(props);
|
|
@@ -2189,7 +2189,7 @@ function processSchemaWriteStatus(status) {
|
|
|
2189
2189
|
* Cached [Tile]($frontend)s are only invalidated after the geometry guid of the model changes.
|
|
2190
2190
|
* @note This will throw IModelError with [IModelStatus.VersionTooOld]($core-bentley) if a version of the BisCore schema older than 1.0.11 is present in the iModel.
|
|
2191
2191
|
* @throws [[IModelError]] if the update fails.
|
|
2192
|
-
* @deprecated in 5.9.0 -
|
|
2192
|
+
* @deprecated in 5.9.0 - might be removed in next major version. Use EditTxn.updateGeometryGuid instead, within an explicit EditTxn scope (or via withEditTxn). See EditTxn documentation for migration help.
|
|
2193
2193
|
* @see [[TxnManager.onModelGeometryChanged]] for the event emitted in response to such a change.
|
|
2194
2194
|
*/
|
|
2195
2195
|
updateGeometryGuid(modelId) {
|
|
@@ -2198,7 +2198,7 @@ function processSchemaWriteStatus(status) {
|
|
|
2198
2198
|
/** Delete one or more existing models.
|
|
2199
2199
|
* @param ids The Ids of the models to be deleted
|
|
2200
2200
|
* @throws [[IModelError]] if deletion fails.
|
|
2201
|
-
* @deprecated in 5.9.0 -
|
|
2201
|
+
* @deprecated in 5.9.0 - might be removed in next major version. Use EditTxn.deleteModel instead, within an explicit EditTxn scope (or via withEditTxn). See EditTxn documentation for migration help.
|
|
2202
2202
|
*/
|
|
2203
2203
|
deleteModel(ids) {
|
|
2204
2204
|
this._iModel[_implicitTxn].deleteModel(ids);
|
|
@@ -2422,7 +2422,7 @@ function processSchemaWriteStatus(status) {
|
|
|
2422
2422
|
* However when `elProps.federationGuid` is not present or undefined, a new Guid will be generated and stored on the resultant element. But
|
|
2423
2423
|
* the value of `elProps.federationGuid` is *not* updated. Generally, it is best to re-read the element after inserting (e.g. via [[getElementProps]])
|
|
2424
2424
|
* if you intend to continue working with it. That will ensure its values reflect the persistent state.
|
|
2425
|
-
* @deprecated in 5.9.0 -
|
|
2425
|
+
* @deprecated in 5.9.0 - might be removed in next major version. Use EditTxn.insertElement instead, within an explicit EditTxn scope (or via withEditTxn). See EditTxn documentation for migration help.
|
|
2426
2426
|
*/
|
|
2427
2427
|
insertElement(elProps, options) {
|
|
2428
2428
|
return this._iModel[_implicitTxn].insertElement(elProps, options);
|
|
@@ -2437,7 +2437,7 @@ function processSchemaWriteStatus(status) {
|
|
|
2437
2437
|
* @note The values of `classFullName` and `model` *may not be changed* by this method. Further, it will permute the `elProps` object by adding or
|
|
2438
2438
|
* overwriting their values to the correct values.
|
|
2439
2439
|
* @throws [[ITwinError]] if update fails.
|
|
2440
|
-
* @deprecated in 5.9.0 -
|
|
2440
|
+
* @deprecated in 5.9.0 - might be removed in next major version. Use EditTxn.updateElement instead, within an explicit EditTxn scope (or via withEditTxn). See EditTxn documentation for migration help.
|
|
2441
2441
|
*/
|
|
2442
2442
|
updateElement(elProps) {
|
|
2443
2443
|
this._iModel[_implicitTxn].updateElement(elProps);
|
|
@@ -2446,7 +2446,7 @@ function processSchemaWriteStatus(status) {
|
|
|
2446
2446
|
* @param ids The set of Ids of the element(s) to be deleted
|
|
2447
2447
|
* @throws [[ITwinError]]
|
|
2448
2448
|
* @see deleteDefinitionElements
|
|
2449
|
-
* @deprecated in 5.9.0 -
|
|
2449
|
+
* @deprecated in 5.9.0 - might be removed in next major version. Use EditTxn.deleteElement instead, within an explicit EditTxn scope (or via withEditTxn). See EditTxn documentation for migration help.
|
|
2450
2450
|
*/
|
|
2451
2451
|
deleteElement(ids) {
|
|
2452
2452
|
this._iModel[_implicitTxn].deleteElement(ids);
|
|
@@ -2471,7 +2471,7 @@ function processSchemaWriteStatus(status) {
|
|
|
2471
2471
|
* DefinitionElements rather than calling this method separately for each one. Ids that are not valid DefinitionElements will be ignored.
|
|
2472
2472
|
* @returns An IdSet of the DefinitionElements that are used and were therefore not deleted.
|
|
2473
2473
|
* @see deleteElement
|
|
2474
|
-
* @deprecated in 5.9.0 -
|
|
2474
|
+
* @deprecated in 5.9.0 - might be removed in next major version. Use EditTxn.deleteDefinitionElements instead, within an explicit EditTxn scope (or via withEditTxn). See EditTxn documentation for migration help.
|
|
2475
2475
|
*/
|
|
2476
2476
|
deleteDefinitionElements(definitionElementIds) {
|
|
2477
2477
|
return this._iModel[_implicitTxn].deleteDefinitionElements(definitionElementIds);
|
|
@@ -2658,7 +2658,7 @@ function processSchemaWriteStatus(status) {
|
|
|
2658
2658
|
* @returns the id of the newly inserted aspect.
|
|
2659
2659
|
* @note Aspect Ids may collide with element Ids, so don't put both in a container like Set or Map
|
|
2660
2660
|
* use [EntityReference]($common) for that instead.
|
|
2661
|
-
* @deprecated in 5.9.0 -
|
|
2661
|
+
* @deprecated in 5.9.0 - might be removed in next major version. Use EditTxn.insertAspect instead, within an explicit EditTxn scope (or via withEditTxn). See EditTxn documentation for migration help.
|
|
2662
2662
|
*/
|
|
2663
2663
|
insertAspect(aspectProps) {
|
|
2664
2664
|
return this._iModel[_implicitTxn].insertAspect(aspectProps);
|
|
@@ -2666,7 +2666,7 @@ function processSchemaWriteStatus(status) {
|
|
|
2666
2666
|
/** Update an exist ElementAspect within the iModel.
|
|
2667
2667
|
* @param aspectProps The properties to use to update the ElementAspect.
|
|
2668
2668
|
* @throws [[IModelError]] if unable to update the ElementAspect.
|
|
2669
|
-
* @deprecated in 5.9.0 -
|
|
2669
|
+
* @deprecated in 5.9.0 - might be removed in next major version. Use EditTxn.updateAspect instead, within an explicit EditTxn scope (or via withEditTxn). See EditTxn documentation for migration help.
|
|
2670
2670
|
*/
|
|
2671
2671
|
updateAspect(aspectProps) {
|
|
2672
2672
|
this._iModel[_implicitTxn].updateAspect(aspectProps);
|
|
@@ -2674,7 +2674,7 @@ function processSchemaWriteStatus(status) {
|
|
|
2674
2674
|
/** Delete one or more ElementAspects from this iModel.
|
|
2675
2675
|
* @param aspectInstanceIds The set of instance Ids of the ElementAspect(s) to be deleted
|
|
2676
2676
|
* @throws [[IModelError]] if unable to delete the ElementAspect.
|
|
2677
|
-
* @deprecated in 5.9.0 -
|
|
2677
|
+
* @deprecated in 5.9.0 - might be removed in next major version. Use EditTxn.deleteAspect instead, within an explicit EditTxn scope (or via withEditTxn). See EditTxn documentation for migration help.
|
|
2678
2678
|
*/
|
|
2679
2679
|
deleteAspect(aspectInstanceIds) {
|
|
2680
2680
|
this._iModel[_implicitTxn].deleteAspect(aspectInstanceIds);
|
|
@@ -2683,7 +2683,7 @@ function processSchemaWriteStatus(status) {
|
|
|
2683
2683
|
* @param props The properties specifying the element to reparent and its new parent.
|
|
2684
2684
|
* @throws [[ITwinError]] if the operation fails.
|
|
2685
2685
|
* @beta
|
|
2686
|
-
* @deprecated in 5.11.0 -
|
|
2686
|
+
* @deprecated in 5.11.0 - might be removed in next major version. Use EditTxn.changeElementParent instead, within an explicit EditTxn scope (or via withEditTxn). See EditTxn documentation for migration help.
|
|
2687
2687
|
*/
|
|
2688
2688
|
changeElementParent(props) {
|
|
2689
2689
|
this._iModel[_implicitTxn].changeElementParent(props);
|
|
@@ -2692,7 +2692,7 @@ function processSchemaWriteStatus(status) {
|
|
|
2692
2692
|
* @param props The properties specifying the element to move and its new model.
|
|
2693
2693
|
* @throws [[ITwinError]] if the operation fails.
|
|
2694
2694
|
* @beta
|
|
2695
|
-
* @deprecated in 5.11.0 -
|
|
2695
|
+
* @deprecated in 5.11.0 - might be removed in next major version. Use EditTxn.changeElementModel instead, within an explicit EditTxn scope (or via withEditTxn). See EditTxn documentation for migration help.
|
|
2696
2696
|
*/
|
|
2697
2697
|
changeElementModel(props) {
|
|
2698
2698
|
this._iModel[_implicitTxn].changeElementModel(props);
|
|
@@ -2739,7 +2739,7 @@ function processSchemaWriteStatus(status) {
|
|
|
2739
2739
|
return this._viewStore;
|
|
2740
2740
|
}
|
|
2741
2741
|
/**
|
|
2742
|
-
* @beta @deprecated in 5.9.0 -
|
|
2742
|
+
* @beta @deprecated in 5.9.0 - might be removed in next major version. Use EditTxn.saveDefaultViewStore instead, within an explicit EditTxn scope (or via withEditTxn). See EditTxn documentation for migration help.
|
|
2743
2743
|
*/
|
|
2744
2744
|
saveDefaultViewStore(arg) {
|
|
2745
2745
|
this._iModel[_implicitTxn].saveDefaultViewStore(arg);
|