import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { VerifaydaController } from './verifayda.controller';
import { FaydaCallbackController } from './fayda-callback.controller';
import { VerifaydaService } from './verifayda.service';
import { FaydaVerificationSession } from './entities/fayda-verification-session.entity';

@Module({
  imports: [TypeOrmModule.forFeature([FaydaVerificationSession])],
  controllers: [VerifaydaController, FaydaCallbackController],
  providers: [VerifaydaService],
  exports: [VerifaydaService],
})
export class VerifaydaModule {}
