import { Module } from "@nestjs/common";
import { JobStepsController } from "./job-steps.controller";
import { JobStepsService } from "./job-steps.service";
import { PrismaModule } from "../prisma/prisma.module";
import { AuthModule } from "../auth/auth.module";

/**
 * Job Steps Module
 *
 * Provides granular step tracking within runner jobs.
 * Tracks step status transitions, token usage, and duration.
 */
@Module({
  imports: [PrismaModule, AuthModule],
  controllers: [JobStepsController],
  providers: [JobStepsService],
  exports: [JobStepsService],
})
export class JobStepsModule {}
