32 lines
584 B
TypeScript
32 lines
584 B
TypeScript
/**
|
|
* Transaction Module
|
|
*
|
|
* Distributed transactions with ACID-like semantics
|
|
*/
|
|
|
|
// Main classes
|
|
export {
|
|
TransactionManager,
|
|
Transaction,
|
|
createTransactionManager,
|
|
} from './transaction-manager.js';
|
|
|
|
// Types
|
|
export type {
|
|
TransactionIsolationLevel,
|
|
TransactionState,
|
|
LockingStrategy,
|
|
TransactionOperationType,
|
|
TransactionOperation,
|
|
TransactionConfig,
|
|
TransactionContext,
|
|
TransactionResult,
|
|
TransactionStats,
|
|
LockInfo,
|
|
ConflictResolutionStrategy,
|
|
ConflictInfo,
|
|
TransactionManagerConfig,
|
|
Savepoint,
|
|
TransactionCallbacks,
|
|
} from './types.js';
|