Spaces:
Runtime error
Runtime error
Download src/modules/grades/grades.module.ts from eduverse-team/eduverse-backend: direct link, hf CLI and curl.
- Browser
- Download file 1.39 kB
-
https://huggingface.co/spaces/eduverse-team/eduverse-backend/resolve/main/src/modules/grades/grades.module.ts
- Command line
-
hf download hf://spaces/eduverse-team/eduverse-backend/src/modules/grades/grades.module.ts
-
curl -L -o grades.module.ts https://huggingface.co/spaces/eduverse-team/eduverse-backend/resolve/main/src/modules/grades/grades.module.ts
1.39 kB
| import { Module, forwardRef } from '@nestjs/common'; | |
| import { TypeOrmModule } from '@nestjs/typeorm'; | |
| import { Grade, GradeComponent, Rubric, RubricCriteria, GpaCalculation } from './entities'; | |
| import { GradesService, RubricsService } from './services'; | |
| import { GradesController, RubricsController } from './controllers'; | |
| import { Course } from '../courses/entities/course.entity'; | |
| import { CourseEnrollment } from '../enrollments/entities/course-enrollment.entity'; | |
| import { User } from '../auth/entities/user.entity'; | |
| import { Semester } from '../campus/entities/semester.entity'; | |
| import { Assignment } from '../assignments/entities/assignment.entity'; | |
| import { CoursesModule } from '../courses/courses.module'; | |
| import { EnrollmentsModule } from '../enrollments/enrollments.module'; | |
| import { NotificationsModule } from '../notifications/notifications.module'; | |
| ({ | |
| imports: [ | |
| TypeOrmModule.forFeature([ | |
| Grade, | |
| GradeComponent, | |
| Rubric, | |
| RubricCriteria, | |
| GpaCalculation, | |
| Course, | |
| CourseEnrollment, | |
| User, | |
| Semester, | |
| Assignment, | |
| ]), | |
| forwardRef(() => CoursesModule), | |
| forwardRef(() => EnrollmentsModule), | |
| NotificationsModule, | |
| ], | |
| controllers: [GradesController, RubricsController], | |
| providers: [GradesService, RubricsService], | |
| exports: [GradesService, RubricsService], | |
| }) | |
| export class GradesModule {} | |