// otp.module.ts import { Module } from "@nestjs/common"; import { TypeOrmModule } from "@nestjs/typeorm"; import { OtpVerification } from "./otp.entity"; import { OtpController } from "./otp.controller"; import { OtpService } from "./otp.service"; import { OtpRepository } from "./otp.repository"; import { NotificationsModule } from "../notifications/notifications.module"; @Module({ imports: [ TypeOrmModule.forFeature([ OtpVerification, ]), NotificationsModule, ], controllers: [OtpController], providers: [ OtpService, OtpRepository, ], exports: [ OtpRepository, OtpService, ], }) export class OtpModule {}