import { Module } from '@nestjs/common';
import { AuthModule } from '../auth/auth.module';
import { JobsModule } from '../jobs/jobs.module';
import { PrismaModule } from '../prisma/prisma.module';
import { TemplatesModule } from '../templates/templates.module';
import { CampaignWorkerService } from './campaign-worker.service';
import { CampaignsController } from './campaigns.controller';
import { CampaignsService } from './campaigns.service';

@Module({
  imports: [PrismaModule, AuthModule, JobsModule, TemplatesModule],
  controllers: [CampaignsController],
  providers: [CampaignsService, CampaignWorkerService],
  exports: [CampaignsService],
})
export class CampaignsModule {}
