-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodule.ts
More file actions
29 lines (27 loc) · 934 Bytes
/
module.ts
File metadata and controls
29 lines (27 loc) · 934 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import { DatabaseModule } from '@database/database.module';
import { ProblemService } from '@modules/problem/service';
import { UserService } from '@modules/user/service';
import { HttpModule } from '@nestjs/axios';
import { Module } from '@nestjs/common';
import { ScheduleModule } from '@nestjs/schedule';
import { groupProviders } from '../group/providers';
import { GroupRepository } from '../group/repository';
import { PokerController } from './controller';
import { pokerProviders } from './providers';
import { PokerRepository } from './repository';
import { PokerService } from './service';
@Module({
controllers: [PokerController],
exports: [PokerService],
imports: [DatabaseModule, HttpModule, ScheduleModule.forRoot()],
providers: [
PokerService,
UserService,
...pokerProviders,
PokerRepository,
...groupProviders,
GroupRepository,
ProblemService,
],
})
export class PokerModule {}