Skip to content
Snippets Groups Projects
Commit 3bfc1a1d authored by L4168's avatar L4168
Browse files

import for mockdata service

parent 94a246a1
No related branches found
No related tags found
3 merge requests!59Development to master,!54Development to testing,!50Mockdata replay
...@@ -3,7 +3,12 @@ import { TypeOrmModule } from '@nestjs/typeorm'; ...@@ -3,7 +3,12 @@ import { TypeOrmModule } from '@nestjs/typeorm';
import { ReplayController } from './replay.controller'; import { ReplayController } from './replay.controller';
import { ReplayService } from './replay.service'; 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 { FactionEntity, GameGroupEntity } from '../faction/faction.entity';
import { UserService } from '../user/user.service'; import { UserService } from '../user/user.service';
import { FactionService } from '../faction/faction.service'; import { FactionService } from '../faction/faction.service';
...@@ -14,6 +19,9 @@ import { ...@@ -14,6 +19,9 @@ import {
MapDrawingEntity, MapDrawingEntity,
MapDrawingHistoryEntity, MapDrawingHistoryEntity,
} from '../draw/coordinate.entity'; } from '../draw/coordinate.entity';
import { ScoreService } from '../score/score.service';
import { ScoreEntity } from '../score/score.entity';
import { NotificationModule } from 'src/notifications/notifications.module';
@Module({ @Module({
imports: [ imports: [
...@@ -26,9 +34,19 @@ import { ...@@ -26,9 +34,19 @@ import {
Game_PersonEntity, Game_PersonEntity,
MapDrawingEntity, MapDrawingEntity,
MapDrawingHistoryEntity, MapDrawingHistoryEntity,
ScoreEntity,
ObjectivePointEntity,
ObjectivePoint_HistoryEntity,
]), ]),
NotificationModule,
], ],
controllers: [ReplayController], controllers: [ReplayController],
providers: [ReplayService, UserService, FactionService, TrackingService], providers: [
ReplayService,
UserService,
FactionService,
TrackingService,
ScoreService,
],
}) })
export class ReplayModule {} export class ReplayModule {}
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