import { Module } from '@nestjs/common';
import { PersonaController } from './persona.controller';
import { PersonaService } from './persona.service';
import { FeatureRegistry } from './features/feature.registry';
import { ValueFeatureExtractor } from './features/value.feature';
import { TreatmentChainStatusFeatureExtractor } from './features/treatment-chain-status.feature';
import { RecallRiskFeatureExtractor } from './features/recall-risk.feature';
import { DoNotContactStatusFeatureExtractor } from './features/do-not-contact-status.feature';
import { EntitlementStatusFeatureExtractor } from './features/entitlement-status.feature';

@Module({
  controllers: [PersonaController],
  providers: [
    PersonaService,
    FeatureRegistry,
    ValueFeatureExtractor,
    TreatmentChainStatusFeatureExtractor,
    RecallRiskFeatureExtractor,
    DoNotContactStatusFeatureExtractor,
    EntitlementStatusFeatureExtractor,
  ],
  exports: [PersonaService],
})
export class PersonaModule {}
