feat(guild-messaging): add idempotency-key support for write endpoints

This commit is contained in:
nav
2026-05-12 10:40:00 +00:00
parent 2ec50f3234
commit 670762aa7a
5 changed files with 94 additions and 7 deletions

View File

@@ -3,9 +3,10 @@ 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])],
imports: [TypeOrmModule.forFeature([Channel, Message, IdempotencyRecord])],
controllers: [MessagingController],
})
export class MessagingModule {}