teableio/teable

View on GitHub
apps/nestjs-backend/src/ws/ws.module.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { Module } from '@nestjs/common';
import { ShareDbModule } from '../share-db/share-db.module';
import { WsGateway } from './ws.gateway';
import { DevWsGateway } from './ws.gateway.dev';
import { WsService } from './ws.service';

@Module({
  imports: [ShareDbModule],
  providers: [WsService, process.env.NODE_ENV === 'production' ? WsGateway : DevWsGateway],
})
export class WsModule {}