forked from StellarSplit/StellarSplit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcurrency.module.ts
More file actions
20 lines (19 loc) · 863 Bytes
/
Copy pathcurrency.module.ts
File metadata and controls
20 lines (19 loc) · 863 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { CurrencyService } from './currency.service';
import { CurrencyController } from './currency.controller';
import { CurrencyRateService } from './currency-rate.service';
import { ConversionService } from './conversion.service';
import { UserCurrencyPreference } from './entities/user-currency-preference.entity';
import { CurrencyRateCache } from './entities/currency-rate-cache.entity';
import { GeoModule } from './geo/geo.module';
@Module({
imports: [
TypeOrmModule.forFeature([UserCurrencyPreference, CurrencyRateCache]),
GeoModule,
],
controllers: [CurrencyController],
providers: [CurrencyService, CurrencyRateService, ConversionService],
exports: [CurrencyService, CurrencyRateService, ConversionService],
})
export class CurrencyModule {}