@itwin/core-backend 5.15.0-dev.9 → 5.16.0-dev.3

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.
Files changed (218) hide show
  1. package/CHANGELOG.md +11 -1
  2. package/lib/cjs/BlobContainerService.d.ts +2 -0
  3. package/lib/cjs/BlobContainerService.d.ts.map +1 -1
  4. package/lib/cjs/BlobContainerService.js.map +1 -1
  5. package/lib/cjs/BriefcaseManager.d.ts +2 -1
  6. package/lib/cjs/BriefcaseManager.d.ts.map +1 -1
  7. package/lib/cjs/BriefcaseManager.js +39 -9
  8. package/lib/cjs/BriefcaseManager.js.map +1 -1
  9. package/lib/cjs/ChangeUnifier.d.ts +82 -0
  10. package/lib/cjs/ChangeUnifier.d.ts.map +1 -0
  11. package/lib/cjs/ChangeUnifier.js +163 -0
  12. package/lib/cjs/ChangeUnifier.js.map +1 -0
  13. package/lib/cjs/ChangesetReader.d.ts +21 -2
  14. package/lib/cjs/ChangesetReader.d.ts.map +1 -1
  15. package/lib/cjs/ChangesetReader.js +37 -1
  16. package/lib/cjs/ChangesetReader.js.map +1 -1
  17. package/lib/cjs/CloudSqlite.d.ts +15 -0
  18. package/lib/cjs/CloudSqlite.d.ts.map +1 -1
  19. package/lib/cjs/CloudSqlite.js.map +1 -1
  20. package/lib/cjs/ECDb.d.ts +1 -0
  21. package/lib/cjs/ECDb.d.ts.map +1 -1
  22. package/lib/cjs/ECDb.js +4 -1
  23. package/lib/cjs/ECDb.js.map +1 -1
  24. package/lib/cjs/EditTxn.d.ts +5 -0
  25. package/lib/cjs/EditTxn.d.ts.map +1 -1
  26. package/lib/cjs/EditTxn.js +30 -10
  27. package/lib/cjs/EditTxn.js.map +1 -1
  28. package/lib/cjs/GeoCoordConfig.d.ts +1 -0
  29. package/lib/cjs/GeoCoordConfig.d.ts.map +1 -1
  30. package/lib/cjs/GeoCoordConfig.js +12 -8
  31. package/lib/cjs/GeoCoordConfig.js.map +1 -1
  32. package/lib/cjs/IModelDb.d.ts +19 -6
  33. package/lib/cjs/IModelDb.d.ts.map +1 -1
  34. package/lib/cjs/IModelDb.js +50 -9
  35. package/lib/cjs/IModelDb.js.map +1 -1
  36. package/lib/cjs/NativeHost.d.ts.map +1 -1
  37. package/lib/cjs/NativeHost.js +5 -1
  38. package/lib/cjs/NativeHost.js.map +1 -1
  39. package/lib/cjs/Relationship.d.ts +28 -0
  40. package/lib/cjs/Relationship.d.ts.map +1 -1
  41. package/lib/cjs/Relationship.js +78 -0
  42. package/lib/cjs/Relationship.js.map +1 -1
  43. package/lib/cjs/SchemaSync.d.ts.map +1 -1
  44. package/lib/cjs/SchemaSync.js +1 -0
  45. package/lib/cjs/SchemaSync.js.map +1 -1
  46. package/lib/cjs/TxnManager.d.ts +126 -89
  47. package/lib/cjs/TxnManager.d.ts.map +1 -1
  48. package/lib/cjs/TxnManager.js +114 -76
  49. package/lib/cjs/TxnManager.js.map +1 -1
  50. package/lib/cjs/ViewStateHydrator.d.ts.map +1 -1
  51. package/lib/cjs/ViewStateHydrator.js.map +1 -1
  52. package/lib/cjs/ViewStore.d.ts.map +1 -1
  53. package/lib/cjs/ViewStore.js +62 -19
  54. package/lib/cjs/ViewStore.js.map +1 -1
  55. package/lib/cjs/annotations/LeaderGeometry.d.ts.map +1 -1
  56. package/lib/cjs/annotations/LeaderGeometry.js +3 -0
  57. package/lib/cjs/annotations/LeaderGeometry.js.map +1 -1
  58. package/lib/cjs/core-backend.d.ts +1 -0
  59. package/lib/cjs/core-backend.d.ts.map +1 -1
  60. package/lib/cjs/core-backend.js +1 -0
  61. package/lib/cjs/core-backend.js.map +1 -1
  62. package/lib/cjs/internal/BriefcaseUtils.d.ts +19 -0
  63. package/lib/cjs/internal/BriefcaseUtils.d.ts.map +1 -0
  64. package/lib/cjs/internal/BriefcaseUtils.js +65 -0
  65. package/lib/cjs/internal/BriefcaseUtils.js.map +1 -0
  66. package/lib/cjs/internal/QueryMetadataCache.d.ts +44 -0
  67. package/lib/cjs/internal/QueryMetadataCache.d.ts.map +1 -0
  68. package/lib/cjs/internal/QueryMetadataCache.js +107 -0
  69. package/lib/cjs/internal/QueryMetadataCache.js.map +1 -0
  70. package/lib/cjs/internal/Symbols.d.ts +9 -0
  71. package/lib/cjs/internal/Symbols.d.ts.map +1 -1
  72. package/lib/cjs/internal/Symbols.js +10 -1
  73. package/lib/cjs/internal/Symbols.js.map +1 -1
  74. package/lib/cjs/internal/workspace/WorkspaceImpl.d.ts.map +1 -1
  75. package/lib/cjs/internal/workspace/WorkspaceImpl.js +20 -6
  76. package/lib/cjs/internal/workspace/WorkspaceImpl.js.map +1 -1
  77. package/lib/cjs/rpc-impl/IModelReadRpcImpl.d.ts +6 -6
  78. package/lib/cjs/rpc-impl/IModelReadRpcImpl.d.ts.map +1 -1
  79. package/lib/cjs/rpc-impl/IModelReadRpcImpl.js.map +1 -1
  80. package/lib/cjs/workspace/SettingsEditor.d.ts +4 -3
  81. package/lib/cjs/workspace/SettingsEditor.d.ts.map +1 -1
  82. package/lib/cjs/workspace/SettingsEditor.js +7 -5
  83. package/lib/cjs/workspace/SettingsEditor.js.map +1 -1
  84. package/lib/esm/BlobContainerService.d.ts +2 -0
  85. package/lib/esm/BlobContainerService.d.ts.map +1 -1
  86. package/lib/esm/BlobContainerService.js.map +1 -1
  87. package/lib/esm/BriefcaseManager.d.ts +2 -1
  88. package/lib/esm/BriefcaseManager.d.ts.map +1 -1
  89. package/lib/esm/BriefcaseManager.js +40 -10
  90. package/lib/esm/BriefcaseManager.js.map +1 -1
  91. package/lib/esm/ChangeUnifier.d.ts +82 -0
  92. package/lib/esm/ChangeUnifier.d.ts.map +1 -0
  93. package/lib/esm/ChangeUnifier.js +159 -0
  94. package/lib/esm/ChangeUnifier.js.map +1 -0
  95. package/lib/esm/ChangesetReader.d.ts +21 -2
  96. package/lib/esm/ChangesetReader.d.ts.map +1 -1
  97. package/lib/esm/ChangesetReader.js +38 -2
  98. package/lib/esm/ChangesetReader.js.map +1 -1
  99. package/lib/esm/CloudSqlite.d.ts +15 -0
  100. package/lib/esm/CloudSqlite.d.ts.map +1 -1
  101. package/lib/esm/CloudSqlite.js.map +1 -1
  102. package/lib/esm/ECDb.d.ts +1 -0
  103. package/lib/esm/ECDb.d.ts.map +1 -1
  104. package/lib/esm/ECDb.js +4 -1
  105. package/lib/esm/ECDb.js.map +1 -1
  106. package/lib/esm/EditTxn.d.ts +5 -0
  107. package/lib/esm/EditTxn.d.ts.map +1 -1
  108. package/lib/esm/EditTxn.js +32 -12
  109. package/lib/esm/EditTxn.js.map +1 -1
  110. package/lib/esm/GeoCoordConfig.d.ts +1 -0
  111. package/lib/esm/GeoCoordConfig.d.ts.map +1 -1
  112. package/lib/esm/GeoCoordConfig.js +12 -8
  113. package/lib/esm/GeoCoordConfig.js.map +1 -1
  114. package/lib/esm/IModelDb.d.ts +19 -6
  115. package/lib/esm/IModelDb.d.ts.map +1 -1
  116. package/lib/esm/IModelDb.js +52 -11
  117. package/lib/esm/IModelDb.js.map +1 -1
  118. package/lib/esm/NativeHost.d.ts.map +1 -1
  119. package/lib/esm/NativeHost.js +5 -1
  120. package/lib/esm/NativeHost.js.map +1 -1
  121. package/lib/esm/Relationship.d.ts +28 -0
  122. package/lib/esm/Relationship.d.ts.map +1 -1
  123. package/lib/esm/Relationship.js +78 -0
  124. package/lib/esm/Relationship.js.map +1 -1
  125. package/lib/esm/SchemaSync.d.ts.map +1 -1
  126. package/lib/esm/SchemaSync.js +1 -0
  127. package/lib/esm/SchemaSync.js.map +1 -1
  128. package/lib/esm/TxnManager.d.ts +126 -89
  129. package/lib/esm/TxnManager.d.ts.map +1 -1
  130. package/lib/esm/TxnManager.js +116 -78
  131. package/lib/esm/TxnManager.js.map +1 -1
  132. package/lib/esm/ViewStateHydrator.d.ts.map +1 -1
  133. package/lib/esm/ViewStateHydrator.js.map +1 -1
  134. package/lib/esm/ViewStore.d.ts.map +1 -1
  135. package/lib/esm/ViewStore.js +62 -19
  136. package/lib/esm/ViewStore.js.map +1 -1
  137. package/lib/esm/annotations/LeaderGeometry.d.ts.map +1 -1
  138. package/lib/esm/annotations/LeaderGeometry.js +3 -0
  139. package/lib/esm/annotations/LeaderGeometry.js.map +1 -1
  140. package/lib/esm/core-backend.d.ts +1 -0
  141. package/lib/esm/core-backend.d.ts.map +1 -1
  142. package/lib/esm/core-backend.js +1 -0
  143. package/lib/esm/core-backend.js.map +1 -1
  144. package/lib/esm/internal/BriefcaseUtils.d.ts +19 -0
  145. package/lib/esm/internal/BriefcaseUtils.d.ts.map +1 -0
  146. package/lib/esm/internal/BriefcaseUtils.js +61 -0
  147. package/lib/esm/internal/BriefcaseUtils.js.map +1 -0
  148. package/lib/esm/internal/QueryMetadataCache.d.ts +44 -0
  149. package/lib/esm/internal/QueryMetadataCache.d.ts.map +1 -0
  150. package/lib/esm/internal/QueryMetadataCache.js +103 -0
  151. package/lib/esm/internal/QueryMetadataCache.js.map +1 -0
  152. package/lib/esm/internal/Symbols.d.ts +9 -0
  153. package/lib/esm/internal/Symbols.d.ts.map +1 -1
  154. package/lib/esm/internal/Symbols.js +9 -0
  155. package/lib/esm/internal/Symbols.js.map +1 -1
  156. package/lib/esm/internal/workspace/WorkspaceImpl.d.ts.map +1 -1
  157. package/lib/esm/internal/workspace/WorkspaceImpl.js +20 -6
  158. package/lib/esm/internal/workspace/WorkspaceImpl.js.map +1 -1
  159. package/lib/esm/rpc-impl/IModelReadRpcImpl.d.ts +6 -6
  160. package/lib/esm/rpc-impl/IModelReadRpcImpl.d.ts.map +1 -1
  161. package/lib/esm/rpc-impl/IModelReadRpcImpl.js.map +1 -1
  162. package/lib/esm/test/annotations/LeaderGeometry.test.js +15 -1
  163. package/lib/esm/test/annotations/LeaderGeometry.test.js.map +1 -1
  164. package/lib/esm/test/ecdb/CTE.test.js +21 -0
  165. package/lib/esm/test/ecdb/CTE.test.js.map +1 -1
  166. package/lib/esm/test/ecdb/ConcurrentQuery.test.js +144 -30
  167. package/lib/esm/test/ecdb/ConcurrentQuery.test.js.map +1 -1
  168. package/lib/esm/test/ecdb/QueryMetadataCache.test.d.ts +2 -0
  169. package/lib/esm/test/ecdb/QueryMetadataCache.test.d.ts.map +1 -0
  170. package/lib/esm/test/ecdb/QueryMetadataCache.test.js +630 -0
  171. package/lib/esm/test/ecdb/QueryMetadataCache.test.js.map +1 -0
  172. package/lib/esm/test/element/RelationshipBatchLookup.test.d.ts +2 -0
  173. package/lib/esm/test/element/RelationshipBatchLookup.test.d.ts.map +1 -0
  174. package/lib/esm/test/element/RelationshipBatchLookup.test.js +202 -0
  175. package/lib/esm/test/element/RelationshipBatchLookup.test.js.map +1 -0
  176. package/lib/esm/test/hubaccess/BriefcaseManager.test.js +187 -1
  177. package/lib/esm/test/hubaccess/BriefcaseManager.test.js.map +1 -1
  178. package/lib/esm/test/hubaccess/SchemaImportOrphanColumns.test.d.ts +2 -0
  179. package/lib/esm/test/hubaccess/SchemaImportOrphanColumns.test.d.ts.map +1 -0
  180. package/lib/esm/test/hubaccess/SchemaImportOrphanColumns.test.js +142 -0
  181. package/lib/esm/test/hubaccess/SchemaImportOrphanColumns.test.js.map +1 -0
  182. package/lib/esm/test/imodel/IModelGeolocation.test.js +8 -6
  183. package/lib/esm/test/imodel/IModelGeolocation.test.js.map +1 -1
  184. package/lib/esm/test/imodel/IModelProps.test.d.ts +2 -0
  185. package/lib/esm/test/imodel/IModelProps.test.d.ts.map +1 -0
  186. package/lib/esm/test/imodel/IModelProps.test.js +411 -0
  187. package/lib/esm/test/imodel/IModelProps.test.js.map +1 -0
  188. package/lib/esm/test/schema/SchemaViewPropertyOverrides.test.d.ts +2 -0
  189. package/lib/esm/test/schema/SchemaViewPropertyOverrides.test.d.ts.map +1 -0
  190. package/lib/esm/test/schema/SchemaViewPropertyOverrides.test.js +240 -0
  191. package/lib/esm/test/schema/SchemaViewPropertyOverrides.test.js.map +1 -0
  192. package/lib/esm/test/schema/SchemaViewValidation.test.js +2 -8
  193. package/lib/esm/test/schema/SchemaViewValidation.test.js.map +1 -1
  194. package/lib/esm/test/standalone/BriefcaseManagerDelete.test.d.ts +2 -0
  195. package/lib/esm/test/standalone/BriefcaseManagerDelete.test.d.ts.map +1 -0
  196. package/lib/esm/test/standalone/BriefcaseManagerDelete.test.js +159 -0
  197. package/lib/esm/test/standalone/BriefcaseManagerDelete.test.js.map +1 -0
  198. package/lib/esm/test/standalone/ChangeUnifier.test.d.ts +2 -0
  199. package/lib/esm/test/standalone/ChangeUnifier.test.d.ts.map +1 -0
  200. package/lib/esm/test/standalone/ChangeUnifier.test.js +732 -0
  201. package/lib/esm/test/standalone/ChangeUnifier.test.js.map +1 -0
  202. package/lib/esm/test/standalone/EditTxn.test.js +72 -1
  203. package/lib/esm/test/standalone/EditTxn.test.js.map +1 -1
  204. package/lib/esm/test/standalone/GeoCoordConfig.test.d.ts +2 -0
  205. package/lib/esm/test/standalone/GeoCoordConfig.test.d.ts.map +1 -0
  206. package/lib/esm/test/standalone/GeoCoordConfig.test.js +158 -0
  207. package/lib/esm/test/standalone/GeoCoordConfig.test.js.map +1 -0
  208. package/lib/esm/test/standalone/ViewStoreDb.test.js +53 -0
  209. package/lib/esm/test/standalone/ViewStoreDb.test.js.map +1 -1
  210. package/lib/esm/test/workspace/SettingsContainers.test.d.ts +2 -0
  211. package/lib/esm/test/workspace/SettingsContainers.test.d.ts.map +1 -0
  212. package/lib/esm/test/workspace/SettingsContainers.test.js +95 -0
  213. package/lib/esm/test/workspace/SettingsContainers.test.js.map +1 -0
  214. package/lib/esm/workspace/SettingsEditor.d.ts +4 -3
  215. package/lib/esm/workspace/SettingsEditor.d.ts.map +1 -1
  216. package/lib/esm/workspace/SettingsEditor.js +7 -5
  217. package/lib/esm/workspace/SettingsEditor.js.map +1 -1
  218. package/package.json +18 -18
@@ -1,7 +1,7 @@
1
1
  /** @packageDocumentation
2
2
  * @module iModels
3
3
  */
4
- import { BeEvent, DbConflictResolution, DbResult, Id64String, IModelStatus } from "@itwin/core-bentley";
4
+ import { BeAsyncEvent, BeEvent, DbConflictResolution, DbResult, Id64String, IModelStatus } from "@itwin/core-bentley";
5
5
  import { ChangesetIdWithIndex, ChangesetIndexAndId, ChangesetProps, EntityIdAndClassId, EntityIdAndClassIdIterable, ModelGeometryChangesProps, ModelIdAndGeometryGuid, ReinstateTxnArgs, ReverseTxnArgs, TxnEntityMetadata, TxnProps } from "@itwin/core-common";
6
6
  import { BriefcaseDb } from "./IModelDb";
7
7
  import { RelationshipProps } from "./Relationship";
@@ -81,27 +81,28 @@ export interface ChangeInstanceKey {
81
81
  }
82
82
  /** Strictly for tests. @internal */
83
83
  export declare function setMaxEntitiesPerEvent(max: number): number;
84
- /**
85
- * @alpha
86
- * Transaction modes
84
+ /** The mode in which changes are recorded by the [[TxnManager]].
85
+ * - `"direct"`: changes are made directly by the application. This is the default.
86
+ * - `"indirect"`: changes are recorded as indirect, typically because they are derived from other changes (for example during [[TxnManager.withIndirectTxnMode]]).
87
+ * @beta
87
88
  */
88
89
  export type TxnMode = "direct" | "indirect";
89
90
  /**
90
91
  * Manages the process of merging and rebasing local changes (transactions) in a [[BriefcaseDb]].
91
92
  *
92
93
  * The `RebaseManager` coordinates the rebase of local transactions when pulling and merging changes from other sources,
93
- * such as remote repositories or other users. It provides mechanisms to handle transaction conflicts, register custom conflict
94
- * handlers, and manage the rebase workflow. This includes resuming rebases, invoking user-defined handlers for conflict resolution,
95
- * and tracking the current merge/rebase state.
94
+ * such as remote repositories or other users. It manages the rebase workflow, including resuming or aborting rebases,
95
+ * invoking a custom [[RebaseHandler]] for each rebased transaction, and tracking the current merge/rebase state.
96
96
  *
97
97
  * Key responsibilities:
98
98
  * - Orchestrates the rebase of local transactions after a pull/merge operation.
99
- * - Allows registration and removal of custom conflict handlers to resolve changeset conflicts during rebase.
100
99
  * - Provides methods to check the current merge/rebase state.
101
100
  * - Raises events before and after each transaction is rebased.
102
101
  * - Ensures changes are saved or aborted appropriately based on the outcome of the rebase process.
103
102
  *
104
- * @alpha
103
+ * Obtain the instance for a briefcase via [[TxnManager.rebaser]].
104
+ *
105
+ * @beta
105
106
  */
106
107
  export declare class RebaseManager {
107
108
  private _iModel;
@@ -110,51 +111,51 @@ export declare class RebaseManager {
110
111
  private _aborting;
111
112
  private _disposed;
112
113
  /** Event raised before pull merge process begins.
113
- * @alpha
114
+ * @beta
114
115
  */
115
116
  readonly onPullMergeBegin: BeEvent<(changeset: ChangesetIdWithIndex) => void>;
116
117
  /** Event raised before a rebase operation begins.
117
- * @alpha
118
+ * @beta
118
119
  */
119
120
  readonly onRebaseBegin: BeEvent<(txns: TxnProps[]) => void>;
120
121
  /** Event raised before a transaction is rebased.
121
- * @alpha
122
+ * @beta
122
123
  */
123
124
  readonly onRebaseTxnBegin: BeEvent<(txnProps: TxnProps) => void>;
124
125
  /** Event raised after a transaction is rebased.
125
- * @alpha
126
+ * @beta
126
127
  */
127
128
  readonly onRebaseTxnEnd: BeEvent<(txnProps: TxnProps) => void>;
128
129
  /** Event raised after a rebase operation ends.
129
- * @alpha
130
+ * @beta
130
131
  */
131
132
  readonly onRebaseEnd: BeEvent<(txns: TxnProps[]) => void>;
132
133
  /** Event raised after pull merge process ends.
133
- * @alpha
134
+ * @beta
134
135
  */
135
136
  readonly onPullMergeEnd: BeEvent<(changeset: ChangesetIdWithIndex) => void>;
136
137
  /** Event raised before applying incoming changes.
137
- * @alpha
138
+ * @beta
138
139
  */
139
140
  readonly onApplyIncomingChangesBegin: BeEvent<(changesets: ChangesetProps[]) => void>;
140
141
  /** Event raised after applying incoming changes.
141
- * @alpha
142
+ * @beta
142
143
  */
143
144
  readonly onApplyIncomingChangesEnd: BeEvent<(changes: ChangesetProps[]) => void>;
144
145
  /** Event raised before reversing local changes.
145
- * @alpha
146
+ * @beta
146
147
  */
147
148
  readonly onReverseLocalChangesBegin: BeEvent<() => void>;
148
149
  /** Event raised after reversing local changes.
149
- * @alpha
150
+ * @beta
150
151
  */
151
152
  readonly onReverseLocalChangesEnd: BeEvent<(txns: TxnProps[]) => void>;
152
153
  /** Event raised before downloading changesets.
153
- * @alpha
154
+ * @beta
154
155
  */
155
156
  readonly onDownloadChangesetsBegin: BeEvent<() => void>;
156
157
  /** Event raised after downloading changesets.
157
- * @alpha
158
+ * @beta
158
159
  */
159
160
  readonly onDownloadChangesetsEnd: BeEvent<() => void>;
160
161
  /** @internal */
@@ -181,11 +182,12 @@ export declare class RebaseManager {
181
182
  notifyRebaseTxnBegin(txnProps: TxnProps): void;
182
183
  /** @internal */
183
184
  notifyRebaseTxnEnd(txnProps: TxnProps): void;
185
+ /** @alpha */
184
186
  constructor(_iModel: BriefcaseDb);
185
187
  /** Disposes of this RebaseManager, clearing all event listeners.
186
188
  * Also calls [[RebaseHandler.dispose]] on the registered custom handler, if any.
187
189
  * Subsequent calls are ignored.
188
- * @alpha
190
+ * @beta
189
191
  */
190
192
  dispose(): void;
191
193
  /**
@@ -193,19 +195,22 @@ export declare class RebaseManager {
193
195
  * on top of the latest pulled changes from the remote source.
194
196
  *
195
197
  * This method performs the following steps:
196
- * 1. Begins the rebase process using the native database.
197
- * 2. Iterates through each transaction that needs to be rebased:
198
- * - Retrieves transaction properties.
199
- * - Raises events before and after rebasing each transaction.
200
- * - Optionally reinstates local changes based on the rebase handler.
201
- * - Optionally recomputes transaction data using the rebase handler.
202
- * - Updates the transaction in the native database.
203
- * 3. Ends the rebase process and saves changes if the database is not read-only.
204
- * 4. Drops any restore point associated with the pull-merge operation.
198
+ * 1. Begins the rebase and raises [[RebaseManager.onRebaseBegin]].
199
+ * 2. For each local transaction that needs to be rebased:
200
+ * - Raises [[RebaseManager.onRebaseTxnBegin]].
201
+ * - Reinstates the transaction's local changes, unless the custom [[RebaseHandler]]'s `shouldReinstate` returns `false`.
202
+ * - Calls [[RebaseHandler.recompute]] if a custom handler was set via [[RebaseManager.setCustomHandler]].
203
+ * - Updates the transaction with the resulting changes and raises [[RebaseManager.onRebaseTxnEnd]].
204
+ * 3. Ends the rebase, raises [[RebaseManager.onRebaseEnd]], and saves changes if the iModel is not read-only.
205
+ * 4. Drops the pull/merge restore point, if any, and raises [[RebaseManager.onPullMergeEnd]].
205
206
  *
206
- * If an error occurs during the process, the rebase is aborted and the error is rethrown.
207
+ * If an error occurs, only the changes of the transaction currently being rebased are abandoned and the error is rethrown.
208
+ * The rebase remains in progress: call `resume` again to retry, or [[RebaseManager.abort]] to roll back the pull/merge.
209
+ * If the pull/merge used semantic rebase (see [[IModelHostOptions.useSemanticRebase]]), retrying with `resume` is not supported;
210
+ * use [[RebaseManager.abort]] if [[RebaseManager.canAbort]] returns `true`.
207
211
  *
208
- * @throws {Error} If a transaction cannot be found or if any step in the rebase process fails.
212
+ * @throws Error if a transaction cannot be found or if any step in the rebase process fails.
213
+ * @beta
209
214
  */
210
215
  resume(): Promise<void>;
211
216
  /**
@@ -226,88 +231,95 @@ export declare class RebaseManager {
226
231
  * If an error occurs during the process, the rebase is aborted and the error is rethrown.
227
232
  *
228
233
  * @throws {Error} If a transaction cannot be found or if any step in the rebase process fails.
234
+ * @internal
229
235
  */
230
236
  resumeSemantic(): Promise<void>;
231
237
  /**
232
238
  * Checks if the transaction is a schema change and if it was a noop change during rebase, purges the local folder for that txn
233
239
  * @param txnProps
234
- * @internal
235
240
  */
236
241
  private purgeSchemaFolderForNoopSchemaChange;
237
242
  /**
238
243
  * Reinstantes the semantic changeset data for the given txnProps, both schema as well as data changesets
239
244
  * @param txnProps
240
245
  * @throws IModelError if local folder for transaction does not exist
241
- * @internal
242
246
  */
243
247
  private reinstateSemanticChangeSet;
244
248
  /**
245
249
  * Applies instance patch during rebase
246
250
  * @param instance
247
- * @internal
248
251
  */
249
252
  private applyInstancePatch;
250
253
  /**
251
- * Determines whether the current transaction can be aborted.
254
+ * Determines whether the in-progress pull/merge can be rolled back via [[RebaseManager.abort]].
252
255
  *
253
- * This method checks if a transaction is currently in progress and if a specific restore point,
254
- * identified by `BriefcaseManager.PULL_MERGE_RESTORE_POINT_NAME`, exists in the briefcase manager.
256
+ * A pull/merge can be aborted only while it is in progress (see [[RebaseManager.inProgress]]) and a pull/merge restore point exists.
257
+ * The restore point is created at the start of a pull/merge only if the briefcase has pending local transactions, none of which
258
+ * contain schema changes, and [[IModelHostOptions.disableRestorePointOnPullMerge]] is not set.
255
259
  *
256
- * @returns {boolean} Returns `true` if a transaction is in progress and the required restore point exists; otherwise, returns `false`.
260
+ * @returns `true` if a pull/merge is in progress and its restore point exists; otherwise, `false`.
261
+ * @beta
257
262
  */
258
263
  canAbort(): boolean;
259
264
  /**
260
- * Aborts the current transaction by restoring the iModel to a predefined restore point. This method will
261
- * automatically discard any unsaved changes before performing the restore.
265
+ * Aborts the in-progress pull/merge, restoring the briefcase to the state it was in before the pull began,
266
+ * including its parent changeset and local transactions. Any unsaved changes are discarded first.
262
267
  *
263
- * If a restore point is available (as determined by `canAbort()`), this method restores the iModel
264
- * to the state saved at the restore point named by `BriefcaseManager.PULL_MERGE_RESTORE_POINT_NAME`.
265
- * If no restore point is available, an error is thrown.
268
+ * [[RebaseManager.isAborting]] is `true` while the restore is running.
266
269
  *
267
270
  * @returns A promise that resolves when the restore operation is complete.
268
- * @throws {Error} If there is no restore point to abort to.
271
+ * @throws Error if the pull/merge cannot be aborted (see [[RebaseManager.canAbort]]).
272
+ * @beta
269
273
  */
270
274
  abort(): Promise<void>;
271
275
  /**
272
- * Sets the handler to be invoked for rebase operations.
276
+ * Sets the [[RebaseHandler]] invoked for each local transaction while it is rebased during a pull/merge.
277
+ *
278
+ * Only one handler can be set. Setting a new handler replaces the previous one, logs a warning, and does not call
279
+ * [[RebaseHandler.dispose]] on the replaced handler.
273
280
  *
274
- * @param handler - The {@link RebaseHandler} to handle rebase events.
281
+ * @param handler - The handler that decides whether to reinstate, and how to recompute, each rebased transaction.
282
+ * @beta
275
283
  */
276
284
  setCustomHandler(handler: RebaseHandler): void;
277
285
  /**
278
- * Determines whether rebasing or merging is currently in progress. Same as calling `this.isRebasing || this.isMerging`.
279
- * @returns {boolean} Returns `true` if this rebase manager is currently rebasing or merging changes; otherwise, `false`.
286
+ * Determines whether a pull/merge is currently in progress. Same as `this.isRebasing || this.isMerging`.
287
+ * @returns `true` if the briefcase is currently merging or rebasing changes; otherwise, `false`.
288
+ * @beta
280
289
  */
281
290
  inProgress(): boolean;
282
291
  /**
283
- * Indicates whether the current transaction manager is in the process of aborting a transaction.
292
+ * Indicates whether [[RebaseManager.abort]] is currently rolling back a pull/merge.
284
293
  *
285
- * @returns `true` if the transaction manager is currently aborting; otherwise, `false`.
294
+ * @returns `true` while an abort is in progress; otherwise, `false`.
295
+ * @beta
286
296
  */
287
297
  get isAborting(): boolean;
288
298
  /**
289
- * Indicates whether the current transaction manager is in the "Rebasing" stage.
290
- *
291
- * This property checks the internal native database's merge stage to determine if a rebase operation is in progress.
299
+ * Indicates whether the pull/merge is in the rebasing stage, in which local transactions are being reinstated
300
+ * on top of the incoming changesets.
292
301
  *
293
- * @returns `true` if the transaction manager is currently rebasing; otherwise, `false`.
302
+ * @returns `true` if the briefcase is currently rebasing local changes; otherwise, `false`.
303
+ * @beta
294
304
  */
295
305
  get isRebasing(): boolean;
296
306
  /**
297
- * Indicates whether the current iModel is in the process of merging changes from a pull operation.
307
+ * Indicates whether the pull/merge is in the merging stage, in which incoming changesets are being applied.
298
308
  *
299
- * @returns `true` if the iModel is currently merging changes; otherwise, `false`.
309
+ * @returns `true` if the briefcase is currently merging incoming changes; otherwise, `false`.
310
+ * @beta
300
311
  */
301
312
  get isMerging(): boolean;
302
313
  /**
303
- * Attempts to resolve a changeset conflict by invoking registered conflict handlers in sequence.
314
+ * Attempts to resolve a changeset conflict by invoking the handlers registered via [[RebaseManager.addConflictHandler]].
304
315
  *
305
- * Iterates through the linked list of conflict handlers, passing the provided conflict arguments to each handler.
306
- * If a handler returns a defined resolution, logs the resolution and returns it immediately.
307
- * If no handler resolves the conflict, returns `undefined`.
316
+ * Called during rebase for conflicts not already resolved by the built-in rules. Handlers are invoked from most recently
317
+ * to least recently added; the first handler that returns a resolution wins. If no handler resolves the conflict,
318
+ * returns `undefined` and the default resolution is applied.
308
319
  *
309
320
  * @param args - The arguments describing the changeset conflict to resolve.
310
321
  * @returns The conflict resolution provided by a handler, or `undefined` if no handler resolves the conflict.
322
+ * @internal
311
323
  */
312
324
  onConflict(args: RebaseChangesetConflictArgs): DbConflictResolution | undefined;
313
325
  /**
@@ -321,18 +333,20 @@ export declare class RebaseManager {
321
333
  * @remarks
322
334
  * Conflict handlers are used during changeset rebase operations to resolve conflicts.
323
335
  * Each handler must have a unique `id`. Attempting to register a handler with a duplicate `id` will result in an error.
336
+ * The most recently added handler is invoked first. A handler should return `undefined` to defer to the next handler.
337
+ * A handler must not throw; if it does, the transaction being rebased is aborted.
338
+ * @internal
324
339
  */
325
340
  addConflictHandler(args: {
326
341
  id: string;
327
342
  handler: (args: RebaseChangesetConflictArgs) => DbConflictResolution | undefined;
328
343
  }): void;
329
344
  /**
330
- * Removes a conflict handler from the internal linked list by its identifier.
345
+ * Removes a conflict handler previously registered via [[RebaseManager.addConflictHandler]].
346
+ * If no handler with the given `id` is registered, the method does nothing.
331
347
  *
332
348
  * @param id - The unique identifier of the conflict handler to remove.
333
- *
334
- * If the handler with the specified `id` exists in the list, it will be removed.
335
- * If no handler with the given `id` is found, the method does nothing.
349
+ * @internal
336
350
  */
337
351
  removeConflictHandler(id: string): void;
338
352
  }
@@ -347,7 +361,9 @@ export declare class TxnManager {
347
361
  private _withIndirectChangeRefCounter;
348
362
  /** @internal */
349
363
  get isDisposed(): boolean;
350
- /** @internal */
364
+ /** Manages rebasing local changes onto incoming changesets during pull/merge.
365
+ * @beta
366
+ */
351
367
  readonly rebaser: RebaseManager;
352
368
  /** @internal */
353
369
  constructor(_iModel: BriefcaseDb);
@@ -402,25 +418,25 @@ export declare class TxnManager {
402
418
  _onChangesPulled(changeset: ChangesetIndexAndId): void;
403
419
  private _onRebaseLocalTxnConflict;
404
420
  /**
405
- * @alpha
406
421
  * Retrieves the txn properties for a given txn ID.
407
422
  *
408
423
  * @param id - The unique identifier of the transaction.
409
424
  * @returns The properties of the transaction if found; otherwise, `undefined`.
425
+ * @beta
410
426
  */
411
427
  getTxnProps(id: TxnIdString): TxnProps | undefined;
412
428
  /**
413
- * @alpha
414
- * Iterates over all transactions in the sequence, yielding each transaction's properties.
429
+ * Iterates over all transactions, from first to last, yielding each transaction's properties.
415
430
  *
416
- * @yields {TxnProps} The properties of each transaction in the sequence.
431
+ * @returns A generator yielding the [[TxnProps]] of each transaction.
432
+ * @beta
417
433
  */
418
434
  queryTxns(): Generator<TxnProps>;
419
435
  /**
420
- * @alpha
421
- * Retrieves the properties of the last saved txn via `IModelDb.saveChanges()`, if available.
436
+ * Retrieves the properties of the most recently saved txn (for example via [[EditTxn.saveChanges]]), if any.
422
437
  *
423
438
  * @returns The properties of the last saved txn, or `undefined` if none exist.
439
+ * @beta
424
440
  */
425
441
  getLastSavedTxnProps(): TxnProps | undefined;
426
442
  /** Dependency handlers may call method this to report a validation error.
@@ -489,6 +505,20 @@ export declare class TxnManager {
489
505
  * @see [[BriefcaseDb.pullChanges]].
490
506
  */
491
507
  readonly onChangesPulled: BeEvent<(parentChangeset: ChangesetIndexAndId) => void>;
508
+ /**
509
+ * Event raised before pushing changes to iModelHub. This is the final chance to perform any validation or
510
+ * cancellation before the changes are sent. If a listener throws or returns a promise that rejects, the
511
+ * push operation will be aborted. Listeners are allowed to make additional changes to the iModel if necessary,
512
+ * and those changes will be included in the push (if it proceeds).
513
+ *
514
+ * If the push is happening as part of [[BriefcaseManager.pullMergePush]], and the listener throws or returns
515
+ * a promise that rejects with an [[IModelError]] with an `errorNumber` of [[IModelHubStatus.PullIsRequired]],
516
+ * then another pull will be attempted, following by another pre-push validation attempt. This will continue
517
+ * as necessary up to the retry limit.
518
+ * @see [[BriefcaseDb.pushChanges]].
519
+ * @beta
520
+ */
521
+ readonly onPrePushValidation: BeAsyncEvent<() => Promise<void>>;
492
522
  /** Event raised after changes are pushed to iModelHub.
493
523
  * @see [[BriefcaseDb.pushChanges]].
494
524
  */
@@ -710,48 +740,55 @@ export declare class TxnManager {
710
740
  */
711
741
  getChangeTrackingMemoryUsed(): number;
712
742
  /**
713
- * @alpha
714
743
  * Get the current transaction mode.
715
- * @returns The current transaction mode, either "direct" or "indirect".
744
+ * @returns The current [[TxnMode]], either `"direct"` or `"indirect"`.
745
+ * @beta
716
746
  */
717
747
  getMode(): TxnMode;
718
748
  /**
719
- * @alpha
720
- * Execute a series of changes in an indirect transaction.
749
+ * Synchronously execute a series of changes with the [[TxnMode]] set to `"indirect"`, so they are recorded as indirect changes.
750
+ * Calls may be nested; the mode reverts to `"direct"` when the outermost call returns or throws.
751
+ * This method does not save changes.
721
752
  * @param callback The function containing the changes to make.
753
+ * @beta
722
754
  */
723
755
  withIndirectTxnMode(callback: () => void): void;
724
756
  /**
725
- * @alpha
726
- * Execute a series of changes in an indirect transaction.
757
+ * Asynchronously execute a series of changes with the [[TxnMode]] set to `"indirect"`, so they are recorded as indirect changes.
758
+ * Calls may be nested with each other and with [[TxnManager.withIndirectTxnMode]]; the mode reverts to `"direct"` when the
759
+ * outermost call completes or rejects. While the returned promise is pending, all changes to this iModel, including those made by
760
+ * other concurrent code, are recorded as indirect. This method does not save changes.
727
761
  * @param callback The function containing the changes to make.
762
+ * @beta
728
763
  */
729
764
  withIndirectTxnModeAsync(callback: () => Promise<void>): Promise<void>;
730
765
  }
731
766
  /**
732
- * Interface for handling rebase operations on transactions.
733
- * @alpha
767
+ * Customizes how each local transaction is rebased during a pull/merge. Register it via [[RebaseManager.setCustomHandler]].
768
+ * @beta
734
769
  */
735
770
  export interface RebaseHandler {
736
771
  /**
737
- * Determine whether a transaction should be reinstated during a rebase operation.
738
- * @param txn The transaction to check.
739
- *
740
- * @alpha
772
+ * Determine whether the local changes of a transaction should be reinstated during a rebase operation.
773
+ * Called for each rebased transaction before [[RebaseHandler.recompute]]. If no handler is set, changes are always reinstated.
774
+ * @param txn The transaction being rebased.
775
+ * @returns `true` to reinstate the transaction's original local changes; `false` to discard them.
741
776
  */
742
777
  shouldReinstate(txn: TxnProps): boolean;
743
778
  /**
744
- * Recompute the changes for a given transaction.
745
- * @param txn The transaction to recompute.
779
+ * Recompute the changes for a given transaction. Called for each rebased transaction after its local changes were
780
+ * reinstated or discarded according to [[RebaseHandler.shouldReinstate]]. Changes made to the iModel here are folded into that transaction.
781
+ * Throwing an error abandons the changes of this transaction and fails the pull/merge; see [[RebaseManager.resume]].
782
+ * @param txn The transaction being rebased.
746
783
  *
747
- * @alpha
784
+ * @beta
748
785
  */
749
786
  recompute(txn: TxnProps): Promise<void>;
750
787
  /**
751
788
  * Called when the owning [[RebaseManager]] is disposed (e.g. when the iModel is closed).
752
789
  * Override this method to unsubscribe from events or release resources held by this handler.
753
790
  *
754
- * @alpha
791
+ * @beta
755
792
  */
756
793
  dispose?(): void;
757
794
  }
@@ -1 +1 @@
1
- {"version":3,"file":"TxnManager.d.ts","sourceRoot":"","sources":["../../src/TxnManager.ts"],"names":[],"mappings":"AAIA;;GAEG;AAGH,OAAO,EACG,OAAO,EAAmD,oBAAoB,EAAE,QAAQ,EAAmB,UAAU,EAAE,YAAY,EAC5I,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAoB,oBAAoB,EAAE,mBAAmB,EAAE,cAAc,EAAE,kBAAkB,EAAE,0BAA0B,EAAe,yBAAyB,EAAE,sBAAsB,EAA4D,gBAAgB,EAAE,cAAc,EAAE,iBAAiB,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAE1V,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAGzC,OAAO,EAAgB,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAGjE,OAAO,EAAE,6BAA6B,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAM9G;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC;AAEjC;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC9B,+BAA+B;IAC/B,KAAK,EAAE,OAAO,CAAC;IACf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