- BrainModule provides Brain instance to all gateway controllers - ConversationsController: CRUD + message listing/creation - ProjectsController: CRUD with owner assignment - MissionsController: CRUD with project association - TasksController: CRUD with project/mission/status filtering - All routes guarded by AuthGuard (BetterAuth session validation) - DTOs at module boundaries per project convention Closes #14, Closes #15 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
16 lines
309 B
TypeScript
16 lines
309 B
TypeScript
export interface CreateConversationDto {
|
|
title?: string;
|
|
projectId?: string;
|
|
}
|
|
|
|
export interface UpdateConversationDto {
|
|
title?: string;
|
|
projectId?: string | null;
|
|
}
|
|
|
|
export interface SendMessageDto {
|
|
role: 'user' | 'assistant' | 'system';
|
|
content: string;
|
|
metadata?: Record<string, unknown>;
|
|
}
|