Spaces:
Runtime error
Runtime error
Download src/modules/analytics/analytics.module.ts from eduverse-team/eduverse-backend: direct link, hf CLI and curl.
- Browser
- Download file 1.38 kB
-
https://huggingface.co/spaces/eduverse-team/eduverse-backend/resolve/main/src/modules/analytics/analytics.module.ts
- Command line
-
hf download hf://spaces/eduverse-team/eduverse-backend/src/modules/analytics/analytics.module.ts
-
curl -L -o analytics.module.ts https://huggingface.co/spaces/eduverse-team/eduverse-backend/resolve/main/src/modules/analytics/analytics.module.ts
1.38 kB
| import { Module } from '@nestjs/common'; | |
| import { TypeOrmModule } from '@nestjs/typeorm'; | |
| import { ScheduleModule } from '@nestjs/schedule'; | |
| import { CourseAnalytics } from './entities/course-analytics.entity'; | |
| import { LearningAnalytics } from './entities/learning-analytics.entity'; | |
| import { PerformanceMetrics } from './entities/performance-metrics.entity'; | |
| import { StudentProgress } from './entities/student-progress.entity'; | |
| import { WeakTopicsAnalysis } from './entities/weak-topics-analysis.entity'; | |
| import { ActivityLog } from './entities/activity-log.entity'; | |
| import { AnalyticsService } from './services/analytics.service'; | |
| import { AnalyticsCronService } from './services/analytics-cron.service'; | |
| import { AnalyticsController } from './controllers/analytics.controller'; | |
| import { CourseTA } from '../enrollments/entities/course-ta.entity'; | |
| import { CourseInstructor } from '../enrollments/entities/course-instructor.entity'; | |
| ({ | |
| imports: [ | |
| TypeOrmModule.forFeature([ | |
| CourseAnalytics, | |
| LearningAnalytics, | |
| PerformanceMetrics, | |
| StudentProgress, | |
| WeakTopicsAnalysis, | |
| ActivityLog, | |
| CourseTA, | |
| CourseInstructor, | |
| ]), | |
| ScheduleModule.forRoot(), | |
| ], | |
| controllers: [AnalyticsController], | |
| providers: [AnalyticsService, AnalyticsCronService], | |
| exports: [AnalyticsService], | |
| }) | |
| export class AnalyticsModule {} | |