()
| 11 | import type { SerializedBlock, SerializedWorkflow } from '@/serializer/types' |
| 12 | |
| 13 | function createExecutor(): DAGExecutor { |
| 14 | return new DAGExecutor({ |
| 15 | workflow: { |
| 16 | version: '1', |
| 17 | blocks: [], |
| 18 | connections: [], |
| 19 | }, |
| 20 | }) |
| 21 | } |
| 22 | |
| 23 | function createBlock(id: string, metadataId: string): SerializedBlock { |
| 24 | return { |