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

@@ -25,6 +25,7 @@ import { AccountsModule } from '../Accounts/Accounts.module';
import { GetCreditNotesService } from './queries/GetCreditNotes.service';
import { DynamicListModule } from '../DynamicListing/DynamicList.module';
import { CreditNotesExportable } from './commands/CreditNotesExportable';
import { CreditNotesImportable } from './commands/CreditNotesImportable';
@Module({
imports: [
@@ -55,6 +56,7 @@ import { CreditNotesExportable } from './commands/CreditNotesExportable';
CreditNoteGLEntries,
CreditNoteGLEntriesSubscriber,
CreditNotesExportable,
CreditNotesImportable,
],
exports: [
CreateCreditNoteService,
@@ -69,6 +71,7 @@ import { CreditNotesExportable } from './commands/CreditNotesExportable';
CreditNoteApplication,
CreditNoteBrandingTemplate,
CreditNotesExportable,
CreditNotesImportable,
],
controllers: [CreditNotesController],
})