import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { BetterChatController } from './betterchat.controller';
import { BetterChatService } from './betterchat.service';
import { BetterChatConfig } from '../../entities/betterchat-config.entity';
import { NatsService } from '../../services/nats.service';

@Module({
  imports: [TypeOrmModule.forFeature([BetterChatConfig])],
  controllers: [BetterChatController],
  providers: [BetterChatService, NatsService],
  exports: [BetterChatService],
})
export class BetterChatModule {}
