Conditional Block (#4224)
This commit is contained in:
@@ -1,6 +1,13 @@
|
||||
import { create } from "zustand";
|
||||
import { WorkflowVersion } from "@/routes/workflows/hooks/useWorkflowVersionsQuery";
|
||||
|
||||
export type BranchContext = {
|
||||
conditionalNodeId: string;
|
||||
conditionalLabel: string;
|
||||
branchId: string;
|
||||
mergeLabel: string | null;
|
||||
};
|
||||
|
||||
type WorkflowPanelState = {
|
||||
active: boolean;
|
||||
content:
|
||||
@@ -15,6 +22,7 @@ type WorkflowPanelState = {
|
||||
parent?: string;
|
||||
connectingEdgeType?: string;
|
||||
disableLoop?: boolean;
|
||||
branchContext?: BranchContext;
|
||||
// For comparison panel
|
||||
version1?: WorkflowVersion;
|
||||
version2?: WorkflowVersion;
|
||||
|
||||
Reference in New Issue
Block a user