UNPKG

@nodeboot/starter-persistence

Version:

Nodeboot starter package for persistence. Supports data access layer auto-configuration providing features like database initialization, consistency check, entity mapping, repository pattern, transactions, paging, migrations, persistence listeners, persis

29 lines 1.1 kB
import { BeansContext } from "@nodeboot/context"; /** * TransactionConfiguration class responsible for setting up transactional support * for the persistence layer using typeorm-transactional library. * * It initializes the transactional context and binds the DataSource * to the transactional data source manager. * * @author Manuel Santos <https://github.com/manusant> */ export declare class TransactionConfiguration { /** * Configures transactional support for the persistence layer. * * Reads transactional options from the persistence properties and * initializes the transactional context accordingly. * * Binds the TypeORM DataSource as the transactional data source. * * Logs configuration details. * * @param {BeansContext} context - Contains the IoC container, logger, and configuration instances. * @returns {void} * * @author Manuel Santos <https://github.com/manusant> */ transactionConfig({ iocContainer, logger, config }: BeansContext): void; } //# sourceMappingURL=TransactionConfiguration.d.ts.map