Skip to content

Commit 83392ec

Browse files
committed
add state
1 parent e8d5fe0 commit 83392ec

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

frontend/src/types/crawlState.ts

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,13 @@ export const RUNNING_STATES = [
66
"uploading-wacz",
77
] as const;
88

9-
// Match backend TYPE_WAITING_NOT_PAUSED_STATES in models.py
10-
export const WAITING_NOT_PAUSED_STATES = [
9+
// Match backend TYPE_WAITING_STATES in models.py
10+
export const WAITING_STATES = [
1111
"starting",
1212
"waiting_capacity",
1313
"waiting_org_limit",
14-
] as const;
15-
16-
// Match backend TYPE_PAUSED_STATES in models.py
17-
export const PAUSED_STATES = [
14+
"waiting_dedupe_index",
1815
"paused",
19-
"paused_storage_quota_reached",
20-
"paused_time_quota_reached",
21-
"paused_org_readonly",
22-
] as const;
23-
24-
// Match backend TYPE_WAITING_STATES in models.py
25-
export const WAITING_STATES = [
26-
...WAITING_NOT_PAUSED_STATES,
27-
...PAUSED_STATES,
2816
] as const;
2917

3018
// Match backend TYPE_SUCCESSFUL_STATES in models.py

0 commit comments

Comments
 (0)