refactor(nestjs): export and import module

This commit is contained in:
Ahmed Bouhuolia
2025-04-09 18:35:17 +02:00
parent d851e5b646
commit ab49113d5a
38 changed files with 2403 additions and 117 deletions

View File

@@ -14,9 +14,11 @@ import { CustomersApplication } from './CustomersApplication.service';
import { DeleteCustomer } from './commands/DeleteCustomer.service';
import { CustomersExportable } from './CustomersExportable';
import { CustomersImportable } from './CustomersImportable';
import { GetCustomers } from './queries/GetCustomers.service';
import { DynamicListModule } from '../DynamicListing/DynamicList.module';
@Module({
imports: [TenancyDatabaseModule],
imports: [TenancyDatabaseModule, DynamicListModule],
controllers: [CustomersController],
providers: [
ActivateCustomer,
@@ -33,7 +35,8 @@ import { CustomersImportable } from './CustomersImportable';
TransformerInjectable,
GetCustomerService,
CustomersExportable,
CustomersImportable
CustomersImportable,
GetCustomers
],
})
export class CustomersModule {}