import { Module } from "@nestjs/common";
import { HttpModule } from "@nestjs/axios";
import { ConfigModule } from "@nestjs/config";
import { SporTotoController } from "./spor-toto.controller";
import { SporTotoService } from "./spor-toto.service";
import { TotoFetcherService } from "./services/toto-fetcher.service";
import { TotoCombinatoricsService } from "./services/toto-combinatorics.service";
import { TotoAnalyticsService } from "./services/toto-analytics.service";
import { TotoPredictionService } from "./services/toto-prediction.service";
import { DatabaseModule } from "../../database/database.module";

@Module({
  imports: [DatabaseModule, HttpModule, ConfigModule],
  controllers: [SporTotoController],
  providers: [
    SporTotoService,
    TotoFetcherService,
    TotoCombinatoricsService,
    TotoAnalyticsService,
    TotoPredictionService,
  ],
  exports: [SporTotoService],
})
export class SporTotoModule {}
