import { Module } from '@nestjs/common'; import { TypeOrmModule } from '@nestjs/typeorm'; import { MessagingController } from './messaging.controller'; import { Channel } from '../entities/channel.entity'; import { Message } from '../entities/message.entity'; import { IdempotencyRecord } from '../entities/idempotency-record.entity'; @Module({ imports: [TypeOrmModule.forFeature([Channel, Message, IdempotencyRecord])], controllers: [MessagingController], }) export class MessagingModule {}