Refactor UI queue state

This commit is contained in:
space-nuko
2023-05-31 17:34:14 -05:00
parent 263d62cb34
commit 3cd623fd20
4 changed files with 252 additions and 126 deletions

View File

@@ -8,6 +8,7 @@ import { get, writable, type Writable } from "svelte/store";
import { v4 as uuidv4 } from "uuid";
import workflowState, { type WorkflowError, type WorkflowExecutionError, type WorkflowInstID, type WorkflowValidationError } from "./workflowState";
import configState from "./configState";
import uiQueueState from "./uiQueueState";
export type QueueEntryStatus = "success" | "validation_failed" | "error" | "interrupted" | "all_cached" | "unknown";