mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 13:20:31 +00:00
refactor(nestjs): add importable service to other modules
This commit is contained in:
@@ -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 {}
|
||||
|
||||
Reference in New Issue
Block a user