diff --git a/src/replay/replay.module.ts b/src/replay/replay.module.ts index b5dc7c888da8806ecae546a7dd5aecfcc7f10dae..00638def67675c7fd46775c4fa40c4c1ab2b250b 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 {}