From dbcd30679a722d34658bdf1327146b49b6640ef1 Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Mon, 9 Feb 2026 23:06:47 +0000 Subject: [PATCH] Add POI task phases to TaskPhase type union Add 'starting' and 'computing' to TaskPhase so TypeScript accepts the POI phase comparisons in TaskProgressDrawer. --- frontend/src/types/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/types/index.ts b/frontend/src/types/index.ts index e8b17f1..aa2e51b 100644 --- a/frontend/src/types/index.ts +++ b/frontend/src/types/index.ts @@ -59,7 +59,7 @@ export interface TaskStatusResponse { traceback: string | null; } -export type TaskPhase = 'splitting' | 'splitting_complete' | 'fetching' | 'processing' | 'completed'; +export type TaskPhase = 'splitting' | 'splitting_complete' | 'fetching' | 'processing' | 'completed' | 'starting' | 'computing'; export interface TaskResult { progress: number;