Files
stack/apps/gateway/src/conversations/conversations.dto.ts
Jason Woltje 8b8315e9be feat: gateway CRUD routes for conversations, projects, missions, tasks (P1-005, P1-006)
- 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>
2026-03-12 21:40:35 -05:00

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>;
}