From 3bfc1a1d5499bb399dca9c126851e9d5cb612f29 Mon Sep 17 00:00:00 2001 From: L4168 <L4168@student.jamk.fi> Date: Thu, 18 Jul 2019 14:01:08 +0300 Subject: [PATCH] import for mockdata service --- src/replay/replay.module.ts | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/src/replay/replay.module.ts b/src/replay/replay.module.ts index b5dc7c8..00638de 100644 --- a/src/replay/replay.module.ts +++ b/src/replay/replay.module.ts @@ -3,7 +3,12 @@ import { TypeOrmModule } from '@nestjs/typeorm'; import { ReplayController } from './replay.controller'; import { ReplayService } from './replay.service'; -import { GameEntity, Game_PersonEntity } from '../game/game.entity'; +import { + GameEntity, + Game_PersonEntity, + ObjectivePointEntity, + ObjectivePoint_HistoryEntity, +} from '../game/game.entity'; import { FactionEntity, GameGroupEntity } from '../faction/faction.entity'; import { UserService } from '../user/user.service'; import { FactionService } from '../faction/faction.service'; @@ -14,6 +19,9 @@ import { MapDrawingEntity, MapDrawingHistoryEntity, } from '../draw/coordinate.entity'; +import { ScoreService } from '../score/score.service'; +import { ScoreEntity } from '../score/score.entity'; +import { NotificationModule } from 'src/notifications/notifications.module'; @Module({ imports: [ @@ -26,9 +34,19 @@ import { Game_PersonEntity, MapDrawingEntity, MapDrawingHistoryEntity, + ScoreEntity, + ObjectivePointEntity, + ObjectivePoint_HistoryEntity, ]), + NotificationModule, ], controllers: [ReplayController], - providers: [ReplayService, UserService, FactionService, TrackingService], + providers: [ + ReplayService, + UserService, + FactionService, + TrackingService, + ScoreService, + ], }) export class ReplayModule {} -- GitLab