feat: gateway CRUD routes — conversations, projects, missions, tasks (P1-005/006) (#72)
Co-authored-by: Jason Woltje <jason@diversecanvas.com> Co-committed-by: Jason Woltje <jason@diversecanvas.com>
This commit was merged in pull request #72.
This commit is contained in:
24
apps/gateway/src/tasks/tasks.dto.ts
Normal file
24
apps/gateway/src/tasks/tasks.dto.ts
Normal file
@@ -0,0 +1,24 @@
|
||||
export interface CreateTaskDto {
|
||||
title: string;
|
||||
description?: string;
|
||||
status?: 'not-started' | 'in-progress' | 'blocked' | 'done' | 'cancelled';
|
||||
priority?: 'critical' | 'high' | 'medium' | 'low';
|
||||
projectId?: string;
|
||||
missionId?: string;
|
||||
assignee?: string;
|
||||
tags?: string[];
|
||||
dueDate?: string;
|
||||
}
|
||||
|
||||
export interface UpdateTaskDto {
|
||||
title?: string;
|
||||
description?: string | null;
|
||||
status?: 'not-started' | 'in-progress' | 'blocked' | 'done' | 'cancelled';
|
||||
priority?: 'critical' | 'high' | 'medium' | 'low';
|
||||
projectId?: string | null;
|
||||
missionId?: string | null;
|
||||
assignee?: string | null;
|
||||
tags?: string[] | null;
|
||||
dueDate?: string | null;
|
||||
metadata?: Record<string, unknown> | null;
|
||||
}
|
||||
Reference in New Issue
Block a user