Add POI task phases to TaskPhase type union

Add 'starting' and 'computing' to TaskPhase so TypeScript accepts
the POI phase comparisons in TaskProgressDrawer.
This commit is contained in:
Viktor Barzin 2026-02-09 23:06:47 +00:00
parent 749e99de93
commit dbcd30679a
No known key found for this signature in database
GPG key ID: 0EB088298288D958

View file

@ -59,7 +59,7 @@ export interface TaskStatusResponse {
traceback: string | null; 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 { export interface TaskResult {
progress: number; progress: number;