feat: register CashboxExportModule
This commit is contained in:
@@ -24,6 +24,7 @@ import { LoggingModule } from './database/logging/logging.module';
|
||||
import { TranslateModule } from './translate/translate.module';
|
||||
import { PenaltyModule } from './penalty/penalty.module';
|
||||
import { RecurringTransactionsModule } from './recurring-transactions/recurring-transactions.module';
|
||||
import { CashboxExportModule } from './cashbox-export/cashbox-export.module';
|
||||
|
||||
@Module({
|
||||
imports: [
|
||||
@@ -59,6 +60,7 @@ import { RecurringTransactionsModule } from './recurring-transactions/recurring-
|
||||
TranslateModule,
|
||||
PenaltyModule,
|
||||
RecurringTransactionsModule,
|
||||
CashboxExportModule,
|
||||
],
|
||||
providers: [],
|
||||
})
|
||||
|
||||
@@ -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 {}
|
||||
@@ -31,6 +31,8 @@ export type LOGEVENT =
|
||||
| 'recurring_transaction_update'
|
||||
| 'recurring_transaction_delete'
|
||||
| 'recurring_transaction_run'
|
||||
| 'cashbox_export_download'
|
||||
| 'cashbox_export_subscription_update'
|
||||
| 'cashbox_export_subscription_run'
|
||||
| 'cashbox_export_subscription_run_fail';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user