@itwin/core-common
Version:
iTwin.js components common to frontend and backend
22 lines • 1.01 kB
TypeScript
/** @packageDocumentation
* @module iModels
*/
/** Describes the types of actions associated with [Txns]($docs/learning/InteractiveEditing.md).
* @public
* @extensions
*/
export declare enum TxnAction {
/** Not currently processing anything. */
None = 0,
/** Processing a commit initiated by a call to [IModelDb.saveChanges]($backend) or [BriefcaseConnection.saveChanges]($frontend). */
Commit = 1,
/** Abandoning the current Txn, e.g., via [IModelDb.abandonChanges]($backend). */
Abandon = 2,
/** Reversing a previously-committed changeset, e.g., via [TxnManager.reverseTxns]($backend) [BriefcaseTxns.reverseTxns]($frontend). */
Reverse = 3,
/** Reinstating a previously reversed changeset, e.g., via [TxnManager.reinstateTxn]($backend) or [BriefcaseTxns.reinstateTxn]($frontend). */
Reinstate = 4,
/** Merging a changeset produced by a different briefcase, e.g., via [BriefcaseDb.pullChanges]($backend). */
Merge = 5
}
//# sourceMappingURL=TxnAction.d.ts.map