ci/woodpecker/push/publish Pipeline failed
Co-authored-by: shaggy <[email protected]>
15 lines
588 B
TypeScript
15 lines
588 B
TypeScript
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 {}
|