feat: implement task dependencies with validation and update handling
This commit is contained in:
11
frontend/src/api/generated/model/blockedTaskDetail.ts
Normal file
11
frontend/src/api/generated/model/blockedTaskDetail.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
/**
|
||||
* Generated by orval v8.2.0 🍺
|
||||
* Do not edit manually.
|
||||
* Mission Control API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export interface BlockedTaskDetail {
|
||||
blocked_by_task_ids?: string[];
|
||||
message: string;
|
||||
}
|
||||
11
frontend/src/api/generated/model/blockedTaskError.ts
Normal file
11
frontend/src/api/generated/model/blockedTaskError.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
/**
|
||||
* Generated by orval v8.2.0 🍺
|
||||
* Do not edit manually.
|
||||
* Mission Control API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
import type { BlockedTaskDetail } from "./blockedTaskDetail";
|
||||
|
||||
export interface BlockedTaskError {
|
||||
detail: BlockedTaskDetail;
|
||||
}
|
||||
@@ -29,6 +29,8 @@ export * from "./approvalReadPayload";
|
||||
export * from "./approvalReadRubricScores";
|
||||
export * from "./approvalReadStatus";
|
||||
export * from "./approvalUpdate";
|
||||
export * from "./blockedTaskDetail";
|
||||
export * from "./blockedTaskError";
|
||||
export * from "./boardCreate";
|
||||
export * from "./boardCreateSuccessMetrics";
|
||||
export * from "./boardMemoryCreate";
|
||||
|
||||
@@ -11,13 +11,16 @@ export interface TaskCardRead {
|
||||
approvals_pending_count?: number;
|
||||
assigned_agent_id?: string | null;
|
||||
assignee?: string | null;
|
||||
blocked_by_task_ids?: string[];
|
||||
board_id: string | null;
|
||||
created_at: string;
|
||||
created_by_user_id: string | null;
|
||||
depends_on_task_ids?: string[];
|
||||
description?: string | null;
|
||||
due_at?: string | null;
|
||||
id: string;
|
||||
in_progress_at: string | null;
|
||||
is_blocked?: boolean;
|
||||
priority?: string;
|
||||
status?: TaskCardReadStatus;
|
||||
title: string;
|
||||
|
||||
@@ -9,6 +9,7 @@ import type { TaskCreateStatus } from "./taskCreateStatus";
|
||||
export interface TaskCreate {
|
||||
assigned_agent_id?: string | null;
|
||||
created_by_user_id?: string | null;
|
||||
depends_on_task_ids?: string[];
|
||||
description?: string | null;
|
||||
due_at?: string | null;
|
||||
priority?: string;
|
||||
|
||||
@@ -8,13 +8,16 @@ import type { TaskReadStatus } from "./taskReadStatus";
|
||||
|
||||
export interface TaskRead {
|
||||
assigned_agent_id?: string | null;
|
||||
blocked_by_task_ids?: string[];
|
||||
board_id: string | null;
|
||||
created_at: string;
|
||||
created_by_user_id: string | null;
|
||||
depends_on_task_ids?: string[];
|
||||
description?: string | null;
|
||||
due_at?: string | null;
|
||||
id: string;
|
||||
in_progress_at: string | null;
|
||||
is_blocked?: boolean;
|
||||
priority?: string;
|
||||
status?: TaskReadStatus;
|
||||
title: string;
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
export interface TaskUpdate {
|
||||
assigned_agent_id?: string | null;
|
||||
comment?: string | null;
|
||||
depends_on_task_ids?: string[] | null;
|
||||
description?: string | null;
|
||||
due_at?: string | null;
|
||||
priority?: string | null;
|
||||
|
||||
Reference in New Issue
Block a user