import { Module } from '@nestjs/common';
import { ConfigModule } from '@nestjs/config';
import { ApplicationModule } from './application.module';
import { InfrastructureModule } from './infrastructure.module';
import {
  ReferralController,
  TeamStatisticsController,
  InternalTeamStatisticsController,
  InternalReferralChainController,
  InternalPrePlantingStatsController,
  HealthController,
  TeamPrePlantingController,
} from '../api';
import { InternalReferralController } from '../api/controllers/referral.controller';

@Module({
  imports: [ConfigModule, ApplicationModule, InfrastructureModule],
  controllers: [
    ReferralController,
    TeamStatisticsController,
    InternalTeamStatisticsController,
    InternalReferralChainController,
    InternalPrePlantingStatsController,
    HealthController,
    InternalReferralController,
    TeamPrePlantingController,
  ],
})
export class ApiModule {}
