refactor(nestjs): add importable service to other modules

This commit is contained in:
Ahmed Bouhuolia
2025-04-12 19:26:15 +02:00
parent 51de3631fc
commit 1d53063e09
30 changed files with 1666 additions and 139 deletions

View File

@@ -18,6 +18,7 @@ import { LedgerModule } from '../Ledger/Ledger.module';
import { AccountsModule } from '../Accounts/Accounts.module';
import { BillPaymentsExportable } from './queries/BillPaymentsExportable';
import { GetBillPayments } from '../Bills/queries/GetBillPayments';
import { BillPaymentsImportable } from './commands/BillPaymentsImportable';
@Module({
imports: [LedgerModule, AccountsModule],
@@ -37,9 +38,15 @@ import { GetBillPayments } from '../Bills/queries/GetBillPayments';
BillPaymentGLEntries,
BillPaymentGLEntriesSubscriber,
GetBillPayments,
BillPaymentsExportable
BillPaymentsExportable,
BillPaymentsImportable,
],
exports: [
BillPaymentValidators,
CreateBillPaymentService,
BillPaymentsExportable,
BillPaymentsImportable,
],
exports: [BillPaymentValidators, CreateBillPaymentService],
controllers: [BillPaymentsController],
})
export class BillPaymentsModule {}