forked from Frankencoin-ZCHF/frankencoin-api
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathapi.module.ts
More file actions
74 lines (71 loc) · 2.91 KB
/
api.module.ts
File metadata and controls
74 lines (71 loc) · 2.91 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
// CORE IMPORTS
import { Module } from '@nestjs/common';
import { ConfigModule } from '@nestjs/config';
import { ScheduleModule } from '@nestjs/schedule';
// SERVICE IMPORTS
import { ApiService } from 'api.service';
import { ChallengesService } from 'challenges/challenges.service';
import { EcosystemCollateralService } from 'ecosystem/ecosystem.collateral.service';
import { EcosystemDepsService } from 'ecosystem/ecosystem.deps.service';
import { EcosystemMinterService } from 'ecosystem/ecosystem.minter.service';
import { EcosystemStablecoinService } from 'ecosystem/ecosystem.stablecoin.service';
import { PositionsService } from 'positions/positions.service';
import { PricesService } from 'prices/prices.service';
import { SavingsLeadrateService } from 'savings/savings.leadrate.service';
import { SocialMediaService } from 'socialmedia/socialmedia.service';
import { TelegramService } from 'socialmedia/telegram/telegram.service';
import { TwitterService } from 'socialmedia/twitter/twitter.service';
import { StorageService } from 'storage/storage.service';
import { TradesService } from 'trades/trade.service';
// CONTROLLER IMPORTS
import { AnalyticsController } from 'analytics/analytics.controller';
import { AnalyticsService } from 'analytics/analytics.service';
import { BridgeService } from 'bridge/bridge.service';
import { ChallengesController } from 'challenges/challenges.controller';
import { EcosystemCollateralController } from 'ecosystem/ecosystem.collateral.controller';
import { EcosystemDepsController } from 'ecosystem/ecosystem.deps.controller';
import { EcosystemMinterController } from 'ecosystem/ecosystem.minter.controller';
import { EcosystemStablecoinController } from 'ecosystem/ecosystem.stablecoin.controller';
import { FrontendCodeService } from 'frontendcode/frontendcode.service';
import { PositionsController } from 'positions/positions.controller';
import { PricesController } from 'prices/prices.controller';
import { SavingsCoreController } from 'savings/savings.core.controller';
import { SavingsCoreService } from 'savings/savings.core.service';
import { SavingsLeadrateController } from 'savings/savings.leadrate.controller';
// APP MODULE
@Module({
imports: [ConfigModule.forRoot(), ScheduleModule.forRoot()],
controllers: [
PositionsController,
EcosystemMinterController,
EcosystemCollateralController,
EcosystemDepsController,
EcosystemStablecoinController,
SavingsLeadrateController,
SavingsCoreController,
PricesController,
ChallengesController,
AnalyticsController,
],
providers: [
StorageService,
PositionsService,
EcosystemMinterService,
EcosystemCollateralService,
EcosystemDepsService,
EcosystemStablecoinService,
SavingsLeadrateService,
SavingsCoreService,
PricesService,
ChallengesService,
ApiService,
AnalyticsService,
FrontendCodeService,
TradesService,
BridgeService,
SocialMediaService,
TelegramService,
TwitterService,
],
})
export class AppModule {}