dependencies Legend  Declarations  Module  Bootstrap  Providers  Exports cluster_StudentModule cluster_StudentModule_exports cluster_StudentModule_providers cluster_StudentModule_imports ScheinexamModule ScheinexamModule StudentModule StudentModule ScheinexamModule->StudentModule SheetModule SheetModule SheetModule->StudentModule ShortTestModule ShortTestModule ShortTestModule->StudentModule GradingService GradingService StudentModule->GradingService StudentService StudentService StudentModule->StudentService GradingService GradingService GradingService->StudentModule StudentService StudentService StudentService->StudentModule

File

src/module/student/student.module.ts

import { forwardRef, Module } from '@nestjs/common';
import { ScheinexamModule } from '../scheinexam/scheinexam.module';
import { SheetModule } from '../sheet/sheet.module';
import { ShortTestModule } from '../short-test/short-test.module';
import { TeamModule } from '../team/team.module';
import { TutorialModule } from '../tutorial/tutorial.module';
import { GradingService } from './grading.service';
import { StudentController } from './student.controller';
import { StudentService } from './student.service';
import { GradingController } from './grading.controller';
import { MikroOrmModule } from '@mikro-orm/nestjs';
import { Grading } from '../../database/entities/grading.entity';
import { Student } from '../../database/entities/student.entity';

@Module({
    imports: [
        forwardRef(() => TeamModule),
        forwardRef(() => TutorialModule),
        SheetModule,
        ScheinexamModule,
        ShortTestModule,
        MikroOrmModule.forFeature([Grading, Student]),
    ],
    controllers: [StudentController, GradingController],
    providers: [StudentService, GradingService],
    exports: [StudentService, GradingService],
})
export class StudentModule {}

results matching ""

    No results matching ""