Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ehasa-backend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WIMMA Lab 2019
Overflow
ehasa-backend
Commits
87b5bdde
Commit
87b5bdde
authored
5 years ago
by
Samuli Virtapohja
Browse files
Options
Downloads
Patches
Plain Diff
notifications folder audited
parent
89019fe3
No related branches found
No related tags found
2 merge requests
!59
Development to master
,
!58
Development to testing
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/notifications/notifications.gateway.ts
+4
-0
4 additions, 0 deletions
src/notifications/notifications.gateway.ts
src/notifications/notifications.module.ts
+5
-0
5 additions, 0 deletions
src/notifications/notifications.module.ts
with
9 additions
and
0 deletions
src/notifications/notifications.gateway.ts
+
4
−
0
View file @
87b5bdde
...
@@ -16,6 +16,10 @@ import { GameEntity } from '../game/game.entity';
...
@@ -16,6 +16,10 @@ import { GameEntity } from '../game/game.entity';
import
{
NotificationdDTO
}
from
'
./notification.dto
'
;
import
{
NotificationdDTO
}
from
'
./notification.dto
'
;
import
{
ValidationPipe
}
from
'
../shared/validation.pipe
'
;
import
{
ValidationPipe
}
from
'
../shared/validation.pipe
'
;
/*
NotificationGateway contains websocket server and listener for game-info
*/
@
WebSocketGateway
()
@
WebSocketGateway
()
export
class
NotificationGateway
export
class
NotificationGateway
implements
OnGatewayInit
,
OnGatewayConnection
,
OnGatewayDisconnect
{
implements
OnGatewayInit
,
OnGatewayConnection
,
OnGatewayDisconnect
{
...
...
This diff is collapsed.
Click to expand it.
src/notifications/notifications.module.ts
+
5
−
0
View file @
87b5bdde
...
@@ -7,10 +7,15 @@ import { GameEntity } from '../game/game.entity';
...
@@ -7,10 +7,15 @@ import { GameEntity } from '../game/game.entity';
import
{
NotificationsController
}
from
'
./notifications.controller
'
;
import
{
NotificationsController
}
from
'
./notifications.controller
'
;
import
{
NotificationsService
}
from
'
./notifications.service
'
;
import
{
NotificationsService
}
from
'
./notifications.service
'
;
/*
/////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////
/// Notification ///
/// Notification ///
/// - contains everything to do with Notification data. ///
/// - contains everything to do with Notification data. ///
/////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////
*/
@
Module
({
@
Module
({
imports
:
[
TypeOrmModule
.
forFeature
([
NotificationEntity
,
GameEntity
])],
imports
:
[
TypeOrmModule
.
forFeature
([
NotificationEntity
,
GameEntity
])],
providers
:
[
NotificationGateway
,
NotificationsService
],
providers
:
[
NotificationGateway
,
NotificationsService
],
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment