Feature/workflow history (#3432)
Co-authored-by: Shuchang Zheng <wintonzheng0325@gmail.com>
This commit is contained in:
@@ -1,14 +1,24 @@
|
||||
import { create } from "zustand";
|
||||
import { WorkflowVersion } from "@/routes/workflows/hooks/useWorkflowVersionsQuery";
|
||||
|
||||
type WorkflowPanelState = {
|
||||
active: boolean;
|
||||
content: "cacheKeyValues" | "parameters" | "nodeLibrary";
|
||||
content:
|
||||
| "cacheKeyValues"
|
||||
| "parameters"
|
||||
| "nodeLibrary"
|
||||
| "history"
|
||||
| "comparison";
|
||||
data?: {
|
||||
previous?: string | null;
|
||||
next?: string | null;
|
||||
parent?: string;
|
||||
connectingEdgeType?: string;
|
||||
disableLoop?: boolean;
|
||||
// For comparison panel
|
||||
version1?: WorkflowVersion;
|
||||
version2?: WorkflowVersion;
|
||||
showComparison?: boolean;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user