import { Module } from "@nestjs/common";
import { TextbooksModule } from "../textbooks/textbooks.module.js";
import { ChaptersModule } from "../chapters/chapters.module.js";
import { KnowledgePointsModule } from "../knowledge-points/knowledge-points.module.js";
import { QuestionsModule } from "../questions/questions.module.js";
import { TextbookGrpcController } from "./textbook.grpc.controller.js";
import { ChapterGrpcController } from "./chapter.grpc.controller.js";
import { KnowledgeGraphGrpcController } from "./knowledge-graph.grpc.controller.js";
import { QuestionGrpcController } from "./question.grpc.controller.js";

@Module({
  imports: [
    TextbooksModule,
    ChaptersModule,
    KnowledgePointsModule,
    QuestionsModule,
  ],
  controllers: [
    TextbookGrpcController,
    ChapterGrpcController,
    KnowledgeGraphGrpcController,
    QuestionGrpcController,
  ],
})
export class GrpcModule {}
