import { Module } from '@nestjs/common';
import { AdminAuthController } from './admin-auth.controller';
import { AdminAuthService } from './admin-auth.service';
import { AdminTokenService } from './admin-token.service';
import { AdminAuditService } from './admin-audit.service';
import { PasswordService } from '../../common/utils/password.service';
import { AdminAuthGuard } from '../../common/guards/admin-auth.guard';
import { AdminRolesGuard } from '../../common/guards/admin-roles.guard';
import { PrismaModule } from '../../infrastructure/database/prisma.module';

@Module({
  imports: [PrismaModule],
  controllers: [AdminAuthController],
  providers: [
    AdminAuthService,
    AdminTokenService,
    AdminAuditService,
    PasswordService,
    AdminAuthGuard,
    AdminRolesGuard,
  ],
  exports: [
    AdminAuthService,
    AdminTokenService,
    AdminAuditService,
    AdminAuthGuard,
    AdminRolesGuard,
  ],
})
export class AdminAuthModule {}
