typeorm-transactional-async-callbacks
Version:
A Transactional Method Decorator for typeorm that uses cls-hooked to handle and propagate transactions between different repositories and service methods. Inpired by Spring Trasnactional Annotation and Sequelize CLS
9 lines • 612 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.TYPEORM_DATA_SOURCE_NAME_PREFIX = exports.TYPEORM_DATA_SOURCE_NAME = exports.TYPEORM_ENTITY_MANAGER_NAME = exports.TYPEORM_HOOK_NAME = exports.NAMESPACE_NAME = void 0;
exports.NAMESPACE_NAME = '@transactional/namespace';
exports.TYPEORM_HOOK_NAME = '@transactional/hook';
exports.TYPEORM_ENTITY_MANAGER_NAME = '@transactional/entity-manager';
exports.TYPEORM_DATA_SOURCE_NAME = '@transactional/data-source';
exports.TYPEORM_DATA_SOURCE_NAME_PREFIX = exports.TYPEORM_DATA_SOURCE_NAME + '/';
//# sourceMappingURL=constants.js.map
;