All files / src/modules/messaging messaging.module.ts

100% Statements 13/13
100% Branches 0/0
100% Functions 0/0
100% Lines 11/11

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 2511x 11x 11x 11x 11x 11x 11x 11x 11x 11x                           11x  
import { Module } from '@nestjs/common';
import { JwtModule } from '@nestjs/jwt';
import { ConfigModule } from '@nestjs/config';
import { PrismaModule } from '@app/modules/prisma/prisma.module';
import { JwksModule } from '@app/modules/jwks/jwks.module';
import { MessagingGateway } from './messaging.gateway';
import { MessagingController } from './messaging.controller';
import { MessagingService } from './messaging.service';
import { WsJwtGuard } from '@app/common/guards/ws-jwt.guard';
import { NotificationsModule } from '@app/modules/notifications/notifications.module';
 
@Module({
  imports: [
    PrismaModule,
    ConfigModule,
    JwksModule,
    JwtModule.register({}), // Will use global config from AuthModule
    NotificationsModule,
  ],
  controllers: [MessagingController],
  providers: [MessagingGateway, MessagingService, WsJwtGuard],
  exports: [MessagingGateway, MessagingService],
})
export class MessagingModule {}