@itwin/core-backend 5.11.2 → 5.11.4
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 +11 -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 +15 -15
- package/lib/cjs/IModelDb.js +15 -15
- 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/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 +15 -15
- package/lib/esm/IModelDb.js +15 -15
- 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/package.json +13 -14
package/lib/esm/IModelDb.d.ts
CHANGED
|
@@ -1288,13 +1288,13 @@ export declare namespace IModelDb {
|
|
|
1288
1288
|
* @param props The data for the new model.
|
|
1289
1289
|
* @returns The newly inserted model's Id.
|
|
1290
1290
|
* @throws [[IModelError]] if insertion fails.
|
|
1291
|
-
* @deprecated in 5.9.0 -
|
|
1291
|
+
* @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.
|
|
1292
1292
|
*/
|
|
1293
1293
|
insertModel(props: ModelProps): Id64String;
|
|
1294
1294
|
/** Update an existing model.
|
|
1295
1295
|
* @param props the properties of the model to change
|
|
1296
1296
|
* @throws [[IModelError]] if update fails.
|
|
1297
|
-
* @deprecated in 5.9.0 -
|
|
1297
|
+
* @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.
|
|
1298
1298
|
*/
|
|
1299
1299
|
updateModel(props: UpdateModelOptions): void;
|
|
1300
1300
|
/** Mark the geometry of [[GeometricModel]] as having changed, by recording an indirect change to its GeometryGuid property.
|
|
@@ -1304,14 +1304,14 @@ export declare namespace IModelDb {
|
|
|
1304
1304
|
* Cached [Tile]($frontend)s are only invalidated after the geometry guid of the model changes.
|
|
1305
1305
|
* @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.
|
|
1306
1306
|
* @throws [[IModelError]] if the update fails.
|
|
1307
|
-
* @deprecated in 5.9.0 -
|
|
1307
|
+
* @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.
|
|
1308
1308
|
* @see [[TxnManager.onModelGeometryChanged]] for the event emitted in response to such a change.
|
|
1309
1309
|
*/
|
|
1310
1310
|
updateGeometryGuid(modelId: Id64String): void;
|
|
1311
1311
|
/** Delete one or more existing models.
|
|
1312
1312
|
* @param ids The Ids of the models to be deleted
|
|
1313
1313
|
* @throws [[IModelError]] if deletion fails.
|
|
1314
|
-
* @deprecated in 5.9.0 -
|
|
1314
|
+
* @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.
|
|
1315
1315
|
*/
|
|
1316
1316
|
deleteModel(ids: Id64Arg): void;
|
|
1317
1317
|
/** For each specified [[GeometricModel]], attempts to obtain the union of the volumes of all geometric elements within that model.
|
|
@@ -1404,7 +1404,7 @@ export declare namespace IModelDb {
|
|
|
1404
1404
|
* However when `elProps.federationGuid` is not present or undefined, a new Guid will be generated and stored on the resultant element. But
|
|
1405
1405
|
* the value of `elProps.federationGuid` is *not* updated. Generally, it is best to re-read the element after inserting (e.g. via [[getElementProps]])
|
|
1406
1406
|
* if you intend to continue working with it. That will ensure its values reflect the persistent state.
|
|
1407
|
-
* @deprecated in 5.9.0 -
|
|
1407
|
+
* @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.
|
|
1408
1408
|
*/
|
|
1409
1409
|
insertElement(elProps: ElementProps, options?: InsertElementOptions): Id64String;
|
|
1410
1410
|
/**
|
|
@@ -1417,14 +1417,14 @@ export declare namespace IModelDb {
|
|
|
1417
1417
|
* @note The values of `classFullName` and `model` *may not be changed* by this method. Further, it will permute the `elProps` object by adding or
|
|
1418
1418
|
* overwriting their values to the correct values.
|
|
1419
1419
|
* @throws [[ITwinError]] if update fails.
|
|
1420
|
-
* @deprecated in 5.9.0 -
|
|
1420
|
+
* @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.
|
|
1421
1421
|
*/
|
|
1422
1422
|
updateElement<T extends ElementProps>(elProps: Partial<T>): void;
|
|
1423
1423
|
/** Delete one or more elements from this iModel.
|
|
1424
1424
|
* @param ids The set of Ids of the element(s) to be deleted
|
|
1425
1425
|
* @throws [[ITwinError]]
|
|
1426
1426
|
* @see deleteDefinitionElements
|
|
1427
|
-
* @deprecated in 5.9.0 -
|
|
1427
|
+
* @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.
|
|
1428
1428
|
*/
|
|
1429
1429
|
deleteElement(ids: Id64Arg): void;
|
|
1430
1430
|
/**
|
|
@@ -1433,7 +1433,7 @@ export declare namespace IModelDb {
|
|
|
1433
1433
|
* @param deleteOptions Options for the delete operation.
|
|
1434
1434
|
* @returns A result object containing information about the deletion operation success and the element ids that failed to delete (if any).
|
|
1435
1435
|
* @throws [[ITwinError]] if any of the supplied ids are not well-formed/valid [[Id64String]]s.
|
|
1436
|
-
* @deprecated in 5.1.9 -
|
|
1436
|
+
* @deprecated in 5.1.9 - might be removed in next major version. Use EditTxn.deleteElements instead, within an explicit EditTxn scope (or via withEditTxn). See EditTxn documentation for migration help.
|
|
1437
1437
|
* @beta
|
|
1438
1438
|
*/
|
|
1439
1439
|
deleteElements(ids: Id64Array, deleteOptions?: BulkDeleteElementsArgs): BulkDeleteElementsResult;
|
|
@@ -1445,7 +1445,7 @@ export declare namespace IModelDb {
|
|
|
1445
1445
|
* DefinitionElements rather than calling this method separately for each one. Ids that are not valid DefinitionElements will be ignored.
|
|
1446
1446
|
* @returns An IdSet of the DefinitionElements that are used and were therefore not deleted.
|
|
1447
1447
|
* @see deleteElement
|
|
1448
|
-
* @deprecated in 5.9.0 -
|
|
1448
|
+
* @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.
|
|
1449
1449
|
*/
|
|
1450
1450
|
deleteDefinitionElements(definitionElementIds: Id64Array): Id64Set;
|
|
1451
1451
|
/** Query for the child elements of the specified element.
|
|
@@ -1494,33 +1494,33 @@ export declare namespace IModelDb {
|
|
|
1494
1494
|
* @returns the id of the newly inserted aspect.
|
|
1495
1495
|
* @note Aspect Ids may collide with element Ids, so don't put both in a container like Set or Map
|
|
1496
1496
|
* use [EntityReference]($common) for that instead.
|
|
1497
|
-
* @deprecated in 5.9.0 -
|
|
1497
|
+
* @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.
|
|
1498
1498
|
*/
|
|
1499
1499
|
insertAspect(aspectProps: ElementAspectProps): Id64String;
|
|
1500
1500
|
/** Update an exist ElementAspect within the iModel.
|
|
1501
1501
|
* @param aspectProps The properties to use to update the ElementAspect.
|
|
1502
1502
|
* @throws [[IModelError]] if unable to update the ElementAspect.
|
|
1503
|
-
* @deprecated in 5.9.0 -
|
|
1503
|
+
* @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.
|
|
1504
1504
|
*/
|
|
1505
1505
|
updateAspect(aspectProps: ElementAspectProps): void;
|
|
1506
1506
|
/** Delete one or more ElementAspects from this iModel.
|
|
1507
1507
|
* @param aspectInstanceIds The set of instance Ids of the ElementAspect(s) to be deleted
|
|
1508
1508
|
* @throws [[IModelError]] if unable to delete the ElementAspect.
|
|
1509
|
-
* @deprecated in 5.9.0 -
|
|
1509
|
+
* @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.
|
|
1510
1510
|
*/
|
|
1511
1511
|
deleteAspect(aspectInstanceIds: Id64Arg): void;
|
|
1512
1512
|
/** Change the parent of an element.
|
|
1513
1513
|
* @param props The properties specifying the element to reparent and its new parent.
|
|
1514
1514
|
* @throws [[ITwinError]] if the operation fails.
|
|
1515
1515
|
* @beta
|
|
1516
|
-
* @deprecated in 5.11.0 -
|
|
1516
|
+
* @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.
|
|
1517
1517
|
*/
|
|
1518
1518
|
changeElementParent(props: ChangeElementParentProps): void;
|
|
1519
1519
|
/** Change the model of an element.
|
|
1520
1520
|
* @param props The properties specifying the element to move and its new model.
|
|
1521
1521
|
* @throws [[ITwinError]] if the operation fails.
|
|
1522
1522
|
* @beta
|
|
1523
|
-
* @deprecated in 5.11.0 -
|
|
1523
|
+
* @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.
|
|
1524
1524
|
*/
|
|
1525
1525
|
changeElementModel(props: ChangeElementModelProps): void;
|
|
1526
1526
|
}
|
|
@@ -1543,7 +1543,7 @@ export declare namespace IModelDb {
|
|
|
1543
1543
|
accessLevel?: BlobContainer.RequestAccessLevel;
|
|
1544
1544
|
}): Promise<ViewStore.CloudAccess>;
|
|
1545
1545
|
/**
|
|
1546
|
-
* @beta @deprecated in 5.9.0 -
|
|
1546
|
+
* @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.
|
|
1547
1547
|
*/
|
|
1548
1548
|
saveDefaultViewStore(arg: CloudSqlite.ContainerProps): void;
|
|
1549
1549
|
/** Query for the array of ViewDefinitionProps of the specified class and matching the specified IsPrivate setting.
|
package/lib/esm/IModelDb.js
CHANGED
|
@@ -2151,7 +2151,7 @@ function processSchemaWriteStatus(status) {
|
|
|
2151
2151
|
* @param props The data for the new model.
|
|
2152
2152
|
* @returns The newly inserted model's Id.
|
|
2153
2153
|
* @throws [[IModelError]] if insertion fails.
|
|
2154
|
-
* @deprecated in 5.9.0 -
|
|
2154
|
+
* @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.
|
|
2155
2155
|
*/
|
|
2156
2156
|
insertModel(props) {
|
|
2157
2157
|
return this._iModel[_implicitTxn].insertModel(props);
|
|
@@ -2159,7 +2159,7 @@ function processSchemaWriteStatus(status) {
|
|
|
2159
2159
|
/** Update an existing model.
|
|
2160
2160
|
* @param props the properties of the model to change
|
|
2161
2161
|
* @throws [[IModelError]] if update fails.
|
|
2162
|
-
* @deprecated in 5.9.0 -
|
|
2162
|
+
* @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.
|
|
2163
2163
|
*/
|
|
2164
2164
|
updateModel(props) {
|
|
2165
2165
|
this._iModel[_implicitTxn].updateModel(props);
|
|
@@ -2171,7 +2171,7 @@ function processSchemaWriteStatus(status) {
|
|
|
2171
2171
|
* Cached [Tile]($frontend)s are only invalidated after the geometry guid of the model changes.
|
|
2172
2172
|
* @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.
|
|
2173
2173
|
* @throws [[IModelError]] if the update fails.
|
|
2174
|
-
* @deprecated in 5.9.0 -
|
|
2174
|
+
* @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.
|
|
2175
2175
|
* @see [[TxnManager.onModelGeometryChanged]] for the event emitted in response to such a change.
|
|
2176
2176
|
*/
|
|
2177
2177
|
updateGeometryGuid(modelId) {
|
|
@@ -2180,7 +2180,7 @@ function processSchemaWriteStatus(status) {
|
|
|
2180
2180
|
/** Delete one or more existing models.
|
|
2181
2181
|
* @param ids The Ids of the models to be deleted
|
|
2182
2182
|
* @throws [[IModelError]] if deletion fails.
|
|
2183
|
-
* @deprecated in 5.9.0 -
|
|
2183
|
+
* @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.
|
|
2184
2184
|
*/
|
|
2185
2185
|
deleteModel(ids) {
|
|
2186
2186
|
this._iModel[_implicitTxn].deleteModel(ids);
|
|
@@ -2406,7 +2406,7 @@ function processSchemaWriteStatus(status) {
|
|
|
2406
2406
|
* However when `elProps.federationGuid` is not present or undefined, a new Guid will be generated and stored on the resultant element. But
|
|
2407
2407
|
* the value of `elProps.federationGuid` is *not* updated. Generally, it is best to re-read the element after inserting (e.g. via [[getElementProps]])
|
|
2408
2408
|
* if you intend to continue working with it. That will ensure its values reflect the persistent state.
|
|
2409
|
-
* @deprecated in 5.9.0 -
|
|
2409
|
+
* @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.
|
|
2410
2410
|
*/
|
|
2411
2411
|
insertElement(elProps, options) {
|
|
2412
2412
|
return this._iModel[_implicitTxn].insertElement(elProps, options);
|
|
@@ -2421,7 +2421,7 @@ function processSchemaWriteStatus(status) {
|
|
|
2421
2421
|
* @note The values of `classFullName` and `model` *may not be changed* by this method. Further, it will permute the `elProps` object by adding or
|
|
2422
2422
|
* overwriting their values to the correct values.
|
|
2423
2423
|
* @throws [[ITwinError]] if update fails.
|
|
2424
|
-
* @deprecated in 5.9.0 -
|
|
2424
|
+
* @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.
|
|
2425
2425
|
*/
|
|
2426
2426
|
updateElement(elProps) {
|
|
2427
2427
|
this._iModel[_implicitTxn].updateElement(elProps);
|
|
@@ -2430,7 +2430,7 @@ function processSchemaWriteStatus(status) {
|
|
|
2430
2430
|
* @param ids The set of Ids of the element(s) to be deleted
|
|
2431
2431
|
* @throws [[ITwinError]]
|
|
2432
2432
|
* @see deleteDefinitionElements
|
|
2433
|
-
* @deprecated in 5.9.0 -
|
|
2433
|
+
* @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.
|
|
2434
2434
|
*/
|
|
2435
2435
|
deleteElement(ids) {
|
|
2436
2436
|
this._iModel[_implicitTxn].deleteElement(ids);
|
|
@@ -2441,7 +2441,7 @@ function processSchemaWriteStatus(status) {
|
|
|
2441
2441
|
* @param deleteOptions Options for the delete operation.
|
|
2442
2442
|
* @returns A result object containing information about the deletion operation success and the element ids that failed to delete (if any).
|
|
2443
2443
|
* @throws [[ITwinError]] if any of the supplied ids are not well-formed/valid [[Id64String]]s.
|
|
2444
|
-
* @deprecated in 5.1.9 -
|
|
2444
|
+
* @deprecated in 5.1.9 - might be removed in next major version. Use EditTxn.deleteElements instead, within an explicit EditTxn scope (or via withEditTxn). See EditTxn documentation for migration help.
|
|
2445
2445
|
* @beta
|
|
2446
2446
|
*/
|
|
2447
2447
|
deleteElements(ids, deleteOptions) {
|
|
@@ -2455,7 +2455,7 @@ function processSchemaWriteStatus(status) {
|
|
|
2455
2455
|
* DefinitionElements rather than calling this method separately for each one. Ids that are not valid DefinitionElements will be ignored.
|
|
2456
2456
|
* @returns An IdSet of the DefinitionElements that are used and were therefore not deleted.
|
|
2457
2457
|
* @see deleteElement
|
|
2458
|
-
* @deprecated in 5.9.0 -
|
|
2458
|
+
* @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.
|
|
2459
2459
|
*/
|
|
2460
2460
|
deleteDefinitionElements(definitionElementIds) {
|
|
2461
2461
|
return this._iModel[_implicitTxn].deleteDefinitionElements(definitionElementIds);
|
|
@@ -2649,7 +2649,7 @@ function processSchemaWriteStatus(status) {
|
|
|
2649
2649
|
* @returns the id of the newly inserted aspect.
|
|
2650
2650
|
* @note Aspect Ids may collide with element Ids, so don't put both in a container like Set or Map
|
|
2651
2651
|
* use [EntityReference]($common) for that instead.
|
|
2652
|
-
* @deprecated in 5.9.0 -
|
|
2652
|
+
* @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.
|
|
2653
2653
|
*/
|
|
2654
2654
|
insertAspect(aspectProps) {
|
|
2655
2655
|
return this._iModel[_implicitTxn].insertAspect(aspectProps);
|
|
@@ -2657,7 +2657,7 @@ function processSchemaWriteStatus(status) {
|
|
|
2657
2657
|
/** Update an exist ElementAspect within the iModel.
|
|
2658
2658
|
* @param aspectProps The properties to use to update the ElementAspect.
|
|
2659
2659
|
* @throws [[IModelError]] if unable to update the ElementAspect.
|
|
2660
|
-
* @deprecated in 5.9.0 -
|
|
2660
|
+
* @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.
|
|
2661
2661
|
*/
|
|
2662
2662
|
updateAspect(aspectProps) {
|
|
2663
2663
|
this._iModel[_implicitTxn].updateAspect(aspectProps);
|
|
@@ -2665,7 +2665,7 @@ function processSchemaWriteStatus(status) {
|
|
|
2665
2665
|
/** Delete one or more ElementAspects from this iModel.
|
|
2666
2666
|
* @param aspectInstanceIds The set of instance Ids of the ElementAspect(s) to be deleted
|
|
2667
2667
|
* @throws [[IModelError]] if unable to delete the ElementAspect.
|
|
2668
|
-
* @deprecated in 5.9.0 -
|
|
2668
|
+
* @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.
|
|
2669
2669
|
*/
|
|
2670
2670
|
deleteAspect(aspectInstanceIds) {
|
|
2671
2671
|
this._iModel[_implicitTxn].deleteAspect(aspectInstanceIds);
|
|
@@ -2674,7 +2674,7 @@ function processSchemaWriteStatus(status) {
|
|
|
2674
2674
|
* @param props The properties specifying the element to reparent and its new parent.
|
|
2675
2675
|
* @throws [[ITwinError]] if the operation fails.
|
|
2676
2676
|
* @beta
|
|
2677
|
-
* @deprecated in 5.11.0 -
|
|
2677
|
+
* @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.
|
|
2678
2678
|
*/
|
|
2679
2679
|
changeElementParent(props) {
|
|
2680
2680
|
this._iModel[_implicitTxn].changeElementParent(props);
|
|
@@ -2683,7 +2683,7 @@ function processSchemaWriteStatus(status) {
|
|
|
2683
2683
|
* @param props The properties specifying the element to move and its new model.
|
|
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.changeElementModel instead, within an explicit EditTxn scope (or via withEditTxn). See EditTxn documentation for migration help.
|
|
2687
2687
|
*/
|
|
2688
2688
|
changeElementModel(props) {
|
|
2689
2689
|
this._iModel[_implicitTxn].changeElementModel(props);
|
|
@@ -2730,7 +2730,7 @@ function processSchemaWriteStatus(status) {
|
|
|
2730
2730
|
return this._viewStore;
|
|
2731
2731
|
}
|
|
2732
2732
|
/**
|
|
2733
|
-
* @beta @deprecated in 5.9.0 -
|
|
2733
|
+
* @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.
|
|
2734
2734
|
*/
|
|
2735
2735
|
saveDefaultViewStore(arg) {
|
|
2736
2736
|
this._iModel[_implicitTxn].saveDefaultViewStore(arg);
|