export type WorkflowNodeDto = Readonly<{ id: string; kind: string; name?: string; type: string; role?: string; icon?: string; parentNodeId?: string; retryPolicySummary?: string; hasNodeErrorHandler?: boolean; continueWhenEmptyOutput?: boolean; declaredOutputPorts?: ReadonlyArray; declaredInputPorts?: ReadonlyArray; triggerKind?: "live" | "test"; description?: string; referencedWorkflowId?: string; inspectorSummary?: ReadonlyArray>; }>; export type WorkflowEdgeDto = Readonly<{ from: Readonly<{ nodeId: string; output: string }>; to: Readonly<{ nodeId: string; input: string }>; }>; export type WorkflowDto = Readonly<{ id: string; name: string; active: boolean; nodes: ReadonlyArray; edges: ReadonlyArray; hasWorkflowErrorHandler?: boolean; }>; export type WorkflowSummary = Readonly<{ id: string; name: string; active: boolean; discoveryPathSegments: readonly string[]; }>;