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:
parent
749e99de93
commit
dbcd30679a
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue