import { Module } from '@nestjs/common';
import { ScheduleModule } from '@nestjs/schedule';
import { AppController } from './app.controller';
import { AppService } from './app.service';
import { ConfigService } from './config.service';
import { DatasetsService } from './datasets.service';
import { DbService } from './db.service';
import { EventsGateway } from './events.gateway';
import { HandbrakeService } from './handbrake.service';
import { MaintenanceService } from './maintenance.service';
import { TaskQueueService } from './task-queue.service';
import { WatcherService } from './watcher.service';

@Module({
  imports: [ScheduleModule.forRoot()],
  controllers: [AppController],
  providers: [
    AppService,
    DbService,
    WatcherService,
    ConfigService,
    MaintenanceService,
    HandbrakeService,
    DatasetsService,
    EventsGateway,
    TaskQueueService,
  ],
})
export class AppModule {}
