import { Module } from '@nestjs/common'; import { TypeOrmModule } from '@nestjs/typeorm'; import { LearningPath } from './entities/learning-path.entity'; import { Lesson } from './entities/lesson.entity'; import { LessonProgress } from './entities/lesson-progress.entity'; import { ReviewLog } from './entities/review-log.entity'; import { LearningController } from './learning.controller'; import { LearningService } from './learning.service'; import { ProjectsModule } from '@features/projects/backend/projects.module'; @Module({ imports: [ TypeOrmModule.forFeature([LearningPath, Lesson, LessonProgress, ReviewLog]), ProjectsModule, ], controllers: [LearningController], providers: [LearningService], exports: [LearningService], }) export class LearningModule {}