import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { GatherController } from './gather.controller';
import { GatherService } from './gather.service';
import { GatherConfig } from '../../entities/gather-config.entity';
import { NatsService } from '../../services/nats.service';

@Module({
  imports: [TypeOrmModule.forFeature([GatherConfig])],
  controllers: [GatherController],
  providers: [GatherService, NatsService],
  exports: [GatherService],
})
export class GatherModule {}
