refactor(nestjs): exportable modules

This commit is contained in:
Ahmed Bouhuolia
2025-04-08 22:44:24 +02:00
parent 04c25bd31a
commit e8f1fedf35
21 changed files with 408 additions and 408 deletions

View File

@@ -35,6 +35,7 @@ import { SendPaymentReceivedMailProcessor } from './processors/PaymentReceivedMa
import { BullModule } from '@nestjs/bull';
import { SEND_PAYMENT_RECEIVED_MAIL_QUEUE } from './constants';
import { PaymentsReceivedExportable } from './commands/PaymentsReceivedExportable';
import { PaymentsReceivedImportable } from './commands/PaymentsReceivedImportable';
@Module({
controllers: [PaymentReceivesController],
@@ -60,7 +61,8 @@ import { PaymentsReceivedExportable } from './commands/PaymentsReceivedExportabl
GetPaymentsReceivedService,
SendPaymentReceiveMailNotification,
SendPaymentReceivedMailProcessor,
PaymentsReceivedExportable
PaymentsReceivedExportable,
PaymentsReceivedImportable
],
exports: [
PaymentReceivesApplication,