import { Module } from '@nestjs/common'; import { TypeOrmModule } from '@nestjs/typeorm'; import { ChatController } from './chat.controller'; import { ChatService } from './chat.service'; import { ChatLog } from '../../entities/chat-log.entity'; @Module({ imports: [TypeOrmModule.forFeature([ChatLog])], controllers: [ChatController], providers: [ChatService], exports: [ChatService], }) export class ChatModule {}