forked from StellarSplit/StellarSplit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompliance.module.ts
More file actions
39 lines (38 loc) · 1.54 KB
/
Copy pathcompliance.module.ts
File metadata and controls
39 lines (38 loc) · 1.54 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
import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { BullModule } from '@nestjs/bull';
import { ComplianceService } from './compliance.service';
import { ComplianceController } from './compliance.controller';
import { HistoricalRatesService } from './historical-rates.service';
import { ExpenseCategory } from './entities/expense-category.entity';
import { TaxExportRequest } from './entities/tax-export-request.entity';
import { Split } from '../entities/split.entity';
import { CSVExporterService } from './exporters/csv-exporter.service';
import { PDFExporterService } from './exporters/pdf-exporter.service';
import { QBOExporterService } from './exporters/qbo-exporter.service';
import { JSONExporterService } from './exporters/json-exporter.service';
import { OFXExporterService } from './exporters/ofx-exporter.service';
import { ComplianceProcessor } from './compliance.processor';
import { EmailModule } from '../email/email.module';
@Module({
imports: [
TypeOrmModule.forFeature([ExpenseCategory, TaxExportRequest, Split]),
BullModule.registerQueue({
name: 'compliance-export',
}),
EmailModule,
],
controllers: [ComplianceController],
providers: [
ComplianceService,
HistoricalRatesService,
CSVExporterService,
PDFExporterService,
QBOExporterService,
JSONExporterService,
OFXExporterService,
ComplianceProcessor,
],
exports: [ComplianceService],
})
export class ComplianceModule { }