feat(coord): DB migration — project-scoped missions, multi-tenant RBAC (#149)
Some checks failed
ci/woodpecker/push/ci Pipeline failed
Some checks failed
ci/woodpecker/push/ci Pipeline failed
Co-authored-by: Jason Woltje <jason@diversecanvas.com> Co-committed-by: Jason Woltje <jason@diversecanvas.com>
This commit was merged in pull request #149.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
// ── File-based coord DTOs (legacy file-system backed) ──
|
||||
|
||||
export interface CoordMissionStatusDto {
|
||||
mission: {
|
||||
id: string;
|
||||
@@ -47,3 +49,42 @@ export interface CoordTaskDetailDto {
|
||||
startedAt: string;
|
||||
};
|
||||
}
|
||||
|
||||
// ── DB-backed coord DTOs ──
|
||||
|
||||
export interface CreateDbMissionDto {
|
||||
name: string;
|
||||
description?: string;
|
||||
projectId?: string;
|
||||
phase?: string;
|
||||
milestones?: Record<string, unknown>[];
|
||||
config?: Record<string, unknown>;
|
||||
status?: 'planning' | 'active' | 'paused' | 'completed' | 'failed';
|
||||
}
|
||||
|
||||
export interface UpdateDbMissionDto {
|
||||
name?: string;
|
||||
description?: string;
|
||||
projectId?: string;
|
||||
phase?: string;
|
||||
milestones?: Record<string, unknown>[];
|
||||
config?: Record<string, unknown>;
|
||||
status?: 'planning' | 'active' | 'paused' | 'completed' | 'failed';
|
||||
}
|
||||
|
||||
export interface CreateMissionTaskDto {
|
||||
missionId: string;
|
||||
taskId?: string;
|
||||
status?: 'not-started' | 'in-progress' | 'blocked' | 'done' | 'cancelled';
|
||||
description?: string;
|
||||
notes?: string;
|
||||
pr?: string;
|
||||
}
|
||||
|
||||
export interface UpdateMissionTaskDto {
|
||||
taskId?: string;
|
||||
status?: 'not-started' | 'in-progress' | 'blocked' | 'done' | 'cancelled';
|
||||
description?: string;
|
||||
notes?: string;
|
||||
pr?: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user