mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2025-11-26 08:34:55 +00:00
refactor: handle kyc journey for customers
This commit is contained in:
@ -1,15 +1,15 @@
|
||||
import { forwardRef, Module } from '@nestjs/common';
|
||||
import { TypeOrmModule } from '@nestjs/typeorm';
|
||||
import { GuardianModule } from '~/guardian/guardian.module';
|
||||
import { UserModule } from '~/user/user.module';
|
||||
import { CustomerController } from './controllers';
|
||||
import { CustomerController, InternalCustomerController } from './controllers';
|
||||
import { Customer } from './entities';
|
||||
import { CustomerNotificationSettings } from './entities/customer-notification-settings.entity';
|
||||
import { CustomerRepository } from './repositories/customer.repository';
|
||||
import { CustomerService } from './services';
|
||||
|
||||
@Module({
|
||||
imports: [TypeOrmModule.forFeature([Customer, CustomerNotificationSettings]), forwardRef(() => UserModule)],
|
||||
controllers: [CustomerController],
|
||||
imports: [TypeOrmModule.forFeature([Customer]), forwardRef(() => UserModule), GuardianModule],
|
||||
controllers: [CustomerController, InternalCustomerController],
|
||||
providers: [CustomerService, CustomerRepository],
|
||||
exports: [CustomerService],
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user