life-manager/codebase/features/learning/backend/learning.module.ts
2026-03-17 19:58:02 -07:00

20 lines
785 B
TypeScript

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 {}