Spaces:
Sleeping
Sleeping
File size: 1,261 Bytes
1af4e1f fd07338 fbaa73d fd07338 ec7b20a 5e42f3a 1af4e1f a8a7b69 fd07338 fbaa73d ec7b20a 1af4e1f a8a7b69 fd07338 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | import { Module, forwardRef } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Lab } from './entities/lab.entity';
import { LabSubmission } from './entities/lab-submission.entity';
import { LabInstruction } from './entities/lab-instruction.entity';
import { LabAttendance } from './entities/lab-attendance.entity';
import { CourseSection } from '../courses/entities/course-section.entity';
import { CourseEnrollment } from '../enrollments/entities/course-enrollment.entity';
import { LabsService } from './services/labs.service';
import { LabsController } from './controllers/labs.controller';
import { GoogleDriveModule } from '../google-drive/google-drive.module';
import { DriveFile } from '../google-drive/entities/drive-file.entity';
import { GradesModule } from '../grades/grades.module';
import { NotificationsModule } from '../notifications/notifications.module';
@Module({
imports: [
TypeOrmModule.forFeature([Lab, LabSubmission, LabInstruction, LabAttendance, DriveFile, CourseSection, CourseEnrollment]),
GoogleDriveModule,
forwardRef(() => GradesModule),
NotificationsModule,
],
controllers: [LabsController],
providers: [LabsService],
exports: [LabsService],
})
export class LabsModule {}
|