import { Module } from '@nestjs/common';
import { ConfigModule } from '@nestjs/config';
import { AdB2cModule } from '../../gateways/adb2c/adb2c.module';
import { SendGridModule } from '../../gateways/sendgrid/sendgrid.module';
import { SortCriteriaRepositoryModule } from '../../repositories/sort_criteria/sort_criteria.repository.module';
import { UsersRepositoryModule } from '../../repositories/users/users.repository.module';
import { LicensesRepositoryModule } from '../../repositories/licenses/licenses.repository.module';
import { UsersController } from './users.controller';
import { UsersService } from './users.service';
import { AuthService } from '../auth/auth.service';
import { AccountsRepositoryModule } from '../../repositories/accounts/accounts.repository.module';

@Module({
  imports: [
    AccountsRepositoryModule,
    UsersRepositoryModule,
    LicensesRepositoryModule,
    SortCriteriaRepositoryModule,
    AdB2cModule,
    SendGridModule,
    ConfigModule,
  ],
  controllers: [UsersController],
  providers: [UsersService, AuthService],
})
export class UsersModule {}
