File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
client/src/pages/platform/workflow-editor/utils Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change 11import { WorkflowNodeOutput } from '@/shared/middleware/platform/configuration' ;
22import { PropertyAllType } from '@/shared/types' ;
33
4- /**
5- * Gets the output schema from a workflow node output, falling back to variableOutputResponse
6- * when outputResponse is not available. This is important for loop task dispatchers which
7- * provide variable properties (item, index) via variableOutputResponse.
8- *
9- * @param workflowNodeOutput - The workflow node output containing outputResponse and/or variableOutputResponse
10- * @returns The output schema from outputResponse or variableOutputResponse, or undefined if neither exists
11- */
124export default function getOutputSchemaFromWorkflowNodeOutput (
135 workflowNodeOutput : WorkflowNodeOutput | undefined
146) : PropertyAllType | undefined {
You can’t perform that action at this time.
0 commit comments