import { Module } from '@nestjs/common';
import { ScheduleModule } from '@nestjs/schedule';
import { DomainModule } from '../domain/domain.module';
import { TransferApplicationService } from './services/transfer-application.service';
import { SagaOrchestratorService } from './services/saga-orchestrator.service';

@Module({
  imports: [DomainModule, ScheduleModule.forRoot()],
  providers: [
    TransferApplicationService,
    SagaOrchestratorService,
  ],
  exports: [
    TransferApplicationService,
    SagaOrchestratorService,
  ],
})
export class ApplicationModule {}
