(
metadata: ExecutionMetadata,
workflow: any,
input: any,
workflowVariables: unknown,
selectedOutputs: unknown = [],
state?: SerializableExecutionState
)
| 11 | public readonly state?: SerializableExecutionState |
| 12 | |
| 13 | constructor( |
| 14 | metadata: ExecutionMetadata, |
| 15 | workflow: any, |
| 16 | input: any, |
| 17 | workflowVariables: unknown, |
| 18 | selectedOutputs: unknown = [], |
| 19 | state?: SerializableExecutionState |
| 20 | ) { |
| 21 | this.metadata = metadata |
| 22 | this.workflow = workflow |
| 23 | this.input = input |
| 24 | this.workflowVariables = normalizeWorkflowVariables(workflowVariables) |
| 25 | this.selectedOutputs = normalizeStringArray(selectedOutputs) |
| 26 | this.state = state |
| 27 | } |
| 28 | |
| 29 | toJSON(): string { |
| 30 | return JSON.stringify({ |
nothing calls this directly
no test coverage detected