UNPKG

nestjs-transaction

Version:

A library that extracts and provides only some of the functions of the 'typeorm-transactional' npm module that are needed to operate in the Nestjs + TypeORM environment

9 lines (8 loc) 573 B
export { Transactional, TransactionalEventListeners } from './decorators'; export { Propagation, PropagationType, IsolationLevel, IsolationLevelType } from './enums'; export { runInTransaction, wrapInTransaction, runOnTransactionCommit, runOnTransactionRollback, } from './transactions'; export { TransactionalError } from './errors'; export { TransactionModule } from './module'; export { TestTransactionModule } from './mocks'; export { getTestQueryRunnerToken, TYPEORM_DEFAULT_DATA_SOURCE_NAME } from './common'; export { TransactionEventListener } from './interfaces';