import { Module } from '@nestjs/common';
import { DomainModule } from './domain.module';
import { InfrastructureModule } from './infrastructure.module';
import {
  ReferralService,
  TeamStatisticsService,
  UserRegisteredHandler,
  PlantingCreatedHandler,
  ContractSigningHandler,
} from '../application';

@Module({
  imports: [DomainModule, InfrastructureModule],
  providers: [
    ReferralService,
    TeamStatisticsService,
    UserRegisteredHandler,
    PlantingCreatedHandler,
    ContractSigningHandler,
  ],
  exports: [ReferralService, TeamStatisticsService],
})
export class ApplicationModule {}
