all
This commit is contained in:
1 parent
90125aede9
commit
2d6c29a1f3
404 files changed
+126983
-85
No files matched your search
@@ -0,0 +1,16 @@
|
||||
import { Module } from "@nestjs/common";
|
||||
import { PAYMENT_REPOSITORY } from "./interfaces/payment-repository.interface.js";
|
||||
import { PAYMENT_SERVICE } from "./interfaces/payment-service.interface.js";
|
||||
import { PaymentController } from "./payment.controller.js";
|
||||
import { PaymentRepository } from "./payment.repository.js";
|
||||
import { PaymentService } from "./payment.service.js";
|
||||
|
||||
@Module({
|
||||
controllers: [PaymentController],
|
||||
providers: [
|
||||
{ provide: PAYMENT_REPOSITORY, useClass: PaymentRepository },
|
||||
{ provide: PAYMENT_SERVICE, useClass: PaymentService },
|
||||
],
|
||||
exports: [PAYMENT_SERVICE],
|
||||
})
|
||||
export class PaymentModule {}
|
||||
Reference in new issue
Block a user