/**
 * WebSocket 模块
 * 包含 MeetingWebSocketGateway、MeetingAuthGuard、WsExceptionFilter
 */

import { Module, forwardRef } from '@nestjs/common';
import { MeetingWebSocketGateway } from './meeting.websocket';
import { MeetingAuthGuard } from './meeting-auth.guard';
import { WsExceptionFilter } from '@/common/filters/ws-exception.filter';
import { LoggerService } from '@/plugins/logger/logger.service';
import { MeetingModule } from '../meeting/meeting.module';
import { MeetingRedisService } from './meeting-redis.service';

@Module({
  providers: [MeetingWebSocketGateway, MeetingAuthGuard, WsExceptionFilter, LoggerService, MeetingRedisService],
  imports: [forwardRef(() => MeetingModule)],
  exports: [MeetingWebSocketGateway, MeetingRedisService],
})
export class WebsocketModule {}
