feat: register CashboxExportModule
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
import { Module } from '@nestjs/common';
|
||||
import { TypeOrmModule } from '@nestjs/typeorm';
|
||||
import { MailModule } from 'src/mail/mail.module';
|
||||
import { Team } from 'src/teams/entities/team.entity';
|
||||
import { TeamsModule } from 'src/teams/teams.module';
|
||||
import { CashboxExportSubscription } from './entities/cashbox-export-subscription.entity';
|
||||
import { CashboxExportController } from './cashbox-export.controller';
|
||||
import { CashboxExportService } from './cashbox-export.service';
|
||||
import { CashboxExportSubscriptionService } from './cashbox-export-subscription.service';
|
||||
import { CashboxExportScheduler } from './cashbox-export.scheduler';
|
||||
|
||||
@Module({
|
||||
controllers: [CashboxExportController],
|
||||
providers: [CashboxExportService, CashboxExportSubscriptionService, CashboxExportScheduler],
|
||||
imports: [
|
||||
TypeOrmModule.forFeature([Team, CashboxExportSubscription]),
|
||||
TeamsModule,
|
||||
MailModule,
|
||||
],
|
||||
})
|
||||
export class CashboxExportModule {}
|
||||
Reference in New Issue
Block a user