feat(service): P2.3 Socket.io /message gateway + real SessionVerifier
open_thread (create-or-join) / send_message / read / delivered / typing; HS256 token verified on connect (SessionVerifier reuses AppTokenVerifier pattern); OutboxBus bridge propagates REST/ingest messages to rooms (dedup vs inline emit). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
import { Module } from '@nestjs/common';
|
||||
import { MessageService } from './message.service';
|
||||
import { MessageGateway } from './message.gateway';
|
||||
import { SessionVerifier } from '../platform/session.verifier';
|
||||
import { OutboxModule } from '../outbox/outbox.module';
|
||||
|
||||
@Module({
|
||||
providers: [MessageService],
|
||||
exports: [MessageService],
|
||||
imports: [OutboxModule],
|
||||
providers: [MessageService, MessageGateway, SessionVerifier],
|
||||
exports: [MessageService, SessionVerifier],
|
||||
})
|
||||
export class MessageModule {}
|
||||
|
||||
Reference in New Issue
Block a user