feat: @mosaic/coord — migrate from v0, gateway integration (P2-005) (#77)
Co-authored-by: Jason Woltje <jason@diversecanvas.com> Co-committed-by: Jason Woltje <jason@diversecanvas.com>
This commit was merged in pull request #77.
This commit is contained in:
49
apps/gateway/src/coord/coord.dto.ts
Normal file
49
apps/gateway/src/coord/coord.dto.ts
Normal file
@@ -0,0 +1,49 @@
|
||||
export interface CoordMissionStatusDto {
|
||||
mission: {
|
||||
id: string;
|
||||
name: string;
|
||||
status: string;
|
||||
projectPath: string;
|
||||
};
|
||||
milestones: {
|
||||
total: number;
|
||||
completed: number;
|
||||
current?: {
|
||||
id: string;
|
||||
name: string;
|
||||
status: string;
|
||||
};
|
||||
};
|
||||
tasks: {
|
||||
total: number;
|
||||
done: number;
|
||||
inProgress: number;
|
||||
pending: number;
|
||||
blocked: number;
|
||||
cancelled: number;
|
||||
};
|
||||
nextTaskId?: string;
|
||||
activeSession?: {
|
||||
sessionId: string;
|
||||
runtime: string;
|
||||
startedAt: string;
|
||||
};
|
||||
}
|
||||
|
||||
export interface CoordTaskDetailDto {
|
||||
missionId: string;
|
||||
task: {
|
||||
id: string;
|
||||
title: string;
|
||||
status: string;
|
||||
milestone?: string;
|
||||
pr?: string;
|
||||
notes?: string;
|
||||
};
|
||||
isNextTask: boolean;
|
||||
activeSession?: {
|
||||
sessionId: string;
|
||||
runtime: string;
|
||||
startedAt: string;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user