UNPKG

nestjs-typeorm-transactions

Version:

A NestJS module to make transaction management easier across different services

9 lines (8 loc) 338 B
import { DataSource } from 'typeorm'; export declare const DEFAULT_DATASOURCE_NAME = "default"; /** Stores all data sources */ export declare class DataSourceStorage { private static readonly dataSourceStore; static getDataSource(name?: string): DataSource; static setDataSource(name: string, dataSource: DataSource): void; }