import { Module } from '@nestjs/common';
import { KnowledgeBaseController } from './knowledge-base.controller';
import { KnowledgeBaseService } from './knowledge-base.service';
import { KnowledgeBaseRepository } from './knowledge-base.repository';
import { SystemKnowledgeBaseSeed } from './system-kb.seed';
import { PrismaService } from '../../infrastructure/database/prisma.service';
import { MembershipModule } from '../membership/membership.module';
import { FilesModule } from '../files/files.module';
import { KnowledgeSourceRepository } from '../knowledge-source/knowledge-source.repository';

@Module({
  imports: [MembershipModule, FilesModule],
  controllers: [KnowledgeBaseController],
  providers: [KnowledgeBaseService, KnowledgeBaseRepository, KnowledgeSourceRepository, SystemKnowledgeBaseSeed, PrismaService],
  exports: [KnowledgeBaseService],
})
export class KnowledgeBaseModule {}
