task v2 refactor part 9: ObserverTask -> TaskV2 in frontend code (#1822)

This commit is contained in:
Shuchang Zheng
2025-02-28 00:00:59 -05:00
committed by GitHub
parent 14689b53e4
commit 2849a3dc6c
5 changed files with 12 additions and 13 deletions

View File

@@ -247,7 +247,7 @@ export type WorkflowRunStatusApiResponse = {
downloaded_file_urls: Array<string> | null;
total_steps: number | null;
total_cost: number | null;
task_v2: ObserverTask | null;
task_v2: TaskV2 | null;
workflow_title: string | null;
};
@@ -275,7 +275,7 @@ export type ActionsApiResponse = {
response: string | null;
};
export type ObserverTask = {
export type TaskV2 = {
task_id: string;
status: Status;
workflow_run_id: string | null;