import { Global, Module } from "@nestjs/common";
import { PrismaService } from "./prisma.service.js";
import { TransactionService } from "./services/transaction.service.js";
import { DistributedTransactionService } from "./services/distributed-transaction.service.js";

@Global()
@Module({
  providers: [PrismaService, TransactionService, DistributedTransactionService],
  exports: [PrismaService, TransactionService, DistributedTransactionService],
})
export class PrismaModule {}
