import { Module } from '@nestjs/common';
import { VerifaydaController } from './verifayda.controller';
import { VerifaydaService } from './verifayda.service';
import { PrismaModule } from '../../common/prisma.module';
import { AuthModule } from '../auth/auth.module';

@Module({
  // AuthModule re-exports JwtModule, giving us JwtService (same secret/expiry
  // config as /auth/login) to mint tokens for the LOGIN flow.
  imports: [PrismaModule, AuthModule],
  controllers: [VerifaydaController],
  providers: [VerifaydaService],
  exports: [VerifaydaService],
})
export class VerifaydaModule {}
