import { Module } from "@nestjs/common";
import { RunnerJobsController } from "./runner-jobs.controller";
import { RunnerJobsService } from "./runner-jobs.service";
import { PrismaModule } from "../prisma/prisma.module";
import { BullMqModule } from "../bullmq/bullmq.module";
import { AuthModule } from "../auth/auth.module";
import { WebSocketModule } from "../websocket/websocket.module";

/**
 * Runner Jobs Module
 *
 * Provides CRUD operations for runner jobs and integrates with BullMQ
 * for asynchronous job processing.
 */
@Module({
  imports: [PrismaModule, BullMqModule, AuthModule, WebSocketModule],
  controllers: [RunnerJobsController],
  providers: [RunnerJobsService],
  exports: [RunnerJobsService],
})
export class RunnerJobsModule {}
