import { Module } from '@nestjs/common';
import { ChatModule } from '../chat/chat.module.js';
import { ConversationsController } from './conversations.controller.js';

/**
 * Imports {@link ChatModule} solely to inject its exported {@link ChatRuntimeRouter} into
 * {@link ConversationsController}, so the REST write fence reads the same init-time runtime mode the
 * router resolved — one source of truth, no duplicate provider, no global token, no AppModule edit.
 */
@Module({
  imports: [ChatModule],
  controllers: [ConversationsController],
})
export class ConversationsModule {}
