Spaces:
Runtime error
Runtime error
Download src/modules/schedule/schedule.module.ts from eduverse-team/eduverse-backend: direct link, hf CLI and curl.
- Browser
- Download file 1.72 kB
-
https://huggingface.co/spaces/eduverse-team/eduverse-backend/resolve/main/src/modules/schedule/schedule.module.ts
- Command line
-
hf download hf://spaces/eduverse-team/eduverse-backend/src/modules/schedule/schedule.module.ts
-
curl -L -o schedule.module.ts https://huggingface.co/spaces/eduverse-team/eduverse-backend/resolve/main/src/modules/schedule/schedule.module.ts
1.72 kB
| import { Module } from '@nestjs/common'; | |
| import { TypeOrmModule } from '@nestjs/typeorm'; | |
| import { NotificationsModule } from '../notifications/notifications.module'; | |
| // Entities | |
| import { | |
| ExamSchedule, | |
| CalendarEvent, | |
| CalendarIntegration, | |
| CampusEvent, | |
| CampusEventRegistration, | |
| ScheduleTemplate, | |
| ScheduleTemplateSlot, | |
| } from './entities'; | |
| import { CourseSchedule } from '../courses/entities/course-schedule.entity'; | |
| // Controllers | |
| import { | |
| ScheduleController, | |
| ExamScheduleController, | |
| CalendarEventsController, | |
| CalendarIntegrationsController, | |
| CampusEventsController, | |
| ScheduleTemplatesController, | |
| } from './controllers'; | |
| // Services | |
| import { | |
| ScheduleService, | |
| ExamScheduleService, | |
| CalendarEventsService, | |
| CalendarIntegrationsService, | |
| CampusEventsService, | |
| ScheduleTemplatesService, | |
| } from './services'; | |
| ({ | |
| imports: [ | |
| TypeOrmModule.forFeature([ | |
| ExamSchedule, | |
| CalendarEvent, | |
| CalendarIntegration, | |
| CourseSchedule, | |
| CampusEvent, | |
| CampusEventRegistration, | |
| ScheduleTemplate, | |
| ScheduleTemplateSlot, | |
| ]), | |
| NotificationsModule, | |
| ], | |
| controllers: [ | |
| ScheduleController, | |
| ExamScheduleController, | |
| CalendarEventsController, | |
| CalendarIntegrationsController, | |
| CampusEventsController, | |
| ScheduleTemplatesController, | |
| ], | |
| providers: [ | |
| ScheduleService, | |
| ExamScheduleService, | |
| CalendarEventsService, | |
| CalendarIntegrationsService, | |
| CampusEventsService, | |
| ScheduleTemplatesService, | |
| ], | |
| exports: [ | |
| ScheduleService, | |
| ExamScheduleService, | |
| CalendarEventsService, | |
| CalendarIntegrationsService, | |
| CampusEventsService, | |
| ScheduleTemplatesService, | |
| ], | |
| }) | |
| export class ScheduleModule {} | |