mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-27 00:52:50 +00:00
37 lines
1.3 KiB
TypeScript
37 lines
1.3 KiB
TypeScript
import { Module } from '@nestjs/common';
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
|
|
import { User } from '@tria-plc/iamapi-common/entities/iam/user/user.entity';
|
|
import { UserVerification } from '@tria-plc/iamapi-common/entities/iam/user/user-verification.entity';
|
|
|
|
import { ExternalProfile } from '../companies/entities/external-profile.entity';
|
|
import { OtpModule } from '../otp/otp.module';
|
|
import { CheckAvailabilityController } from './check-availability.controller';
|
|
import { CheckAvailabilityService } from './check-availability.service';
|
|
import { CustomerResetController } from './customer-reset.controller';
|
|
import { CustomerResetService } from './customer-reset.service';
|
|
import { ForgotPasswordController } from './forgot-password.controller';
|
|
import { ForgotPasswordService } from './forgot-password.service';
|
|
import { FreightMeController } from './freight-me.controller';
|
|
import { FreightMeService } from './freight-me.service';
|
|
|
|
@Module({
|
|
imports: [
|
|
TypeOrmModule.forFeature([User, UserVerification, ExternalProfile]),
|
|
OtpModule,
|
|
],
|
|
controllers: [
|
|
FreightMeController,
|
|
CheckAvailabilityController,
|
|
ForgotPasswordController,
|
|
CustomerResetController,
|
|
],
|
|
providers: [
|
|
FreightMeService,
|
|
CheckAvailabilityService,
|
|
ForgotPasswordService,
|
|
CustomerResetService,
|
|
],
|
|
})
|
|
export class FreightAuthModule {}
|