import { Module } from '@nestjs/common';
import { PrismaModule } from '../../infrastructure/database/prisma.module';
import { LearningSessionModule } from '../learning-session/learning-session.module';
import { LearningActivityModule } from '../learning-activity/learning-activity.module';
import { LearningRecordModule } from '../learning-record/learning-record.module';
import { MaterialReadingProgressModule } from '../material-reading-progress/material-reading-progress.module';
import { ReadingEventController } from './reading-event.controller';
import { ReadingEventProcessorService } from './reading-event-processor.service';
import { ReadingEventService } from './reading-event.service';
import { AdminAuthModule } from '../admin-auth/admin-auth.module';

@Module({
  imports: [PrismaModule, AdminAuthModule, LearningSessionModule, MaterialReadingProgressModule, LearningActivityModule, LearningRecordModule],
  controllers: [ReadingEventController],
  providers: [ReadingEventService, ReadingEventProcessorService],
  exports: [ReadingEventService, ReadingEventProcessorService],
})
export class ReadingEventModule {}
