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
15 lines • 575 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ON_ROLLBACK_EVENT_NAME = exports.ON_COMMIT_EVENT_NAME = exports.storeOption = exports.DEFAUL_MAX_EVENT_LISTENERS = void 0;
exports.DEFAUL_MAX_EVENT_LISTENERS = 100;
/**
* StoreOption is a global option for the transaction module.
*/
exports.storeOption = {
maxEventListeners: exports.DEFAUL_MAX_EVENT_LISTENERS,
};
// on commit event name
exports.ON_COMMIT_EVENT_NAME = 'commit';
// on rollback event name
exports.ON_ROLLBACK_EVENT_NAME = 'rollback';
//# sourceMappingURL=store.js.map