Skip to content
Snippets Groups Projects
Commit 87b5bdde authored by Samuli Virtapohja's avatar Samuli Virtapohja
Browse files

notifications folder audited

parent 89019fe3
No related branches found
No related tags found
2 merge requests!59Development to master,!58Development to testing
......@@ -16,6 +16,10 @@ import { GameEntity } from '../game/game.entity';
import { NotificationdDTO } from './notification.dto';
import { ValidationPipe } from '../shared/validation.pipe';
/*
NotificationGateway contains websocket server and listener for game-info
*/
@WebSocketGateway()
export class NotificationGateway
implements OnGatewayInit, OnGatewayConnection, OnGatewayDisconnect {
......
......@@ -7,10 +7,15 @@ import { GameEntity } from '../game/game.entity';
import { NotificationsController } from './notifications.controller';
import { NotificationsService } from './notifications.service';
/*
/////////////////////////////////////////////////////////////////////
/// Notification ///
/// - contains everything to do with Notification data. ///
/////////////////////////////////////////////////////////////////////
*/
@Module({
imports: [TypeOrmModule.forFeature([NotificationEntity, GameEntity])],
providers: [NotificationGateway, NotificationsService],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment