(output: any)
| 57 | } |
| 58 | |
| 59 | const shouldSkipEntry = (output: any): boolean => { |
| 60 | if (typeof output !== 'object' || !output) { |
| 61 | return false |
| 62 | } |
| 63 | |
| 64 | if ('stream' in output && 'executionData' in output) { |
| 65 | return true |
| 66 | } |
| 67 | |
| 68 | if ('stream' in output && 'execution' in output) { |
| 69 | return true |
| 70 | } |
| 71 | |
| 72 | return false |
| 73 | } |
| 74 | |
| 75 | const getBlockExecutionKey = (blockId: string, executionId?: string): string => |
| 76 | `${executionId ?? 'no-execution'}:${blockId}` |