(id: string, name: string, type: string, params = {})
| 21 | })) |
| 22 | |
| 23 | function createBlock(id: string, name: string, type: string, params = {}): SerializedBlock { |
| 24 | return { |
| 25 | id, |
| 26 | metadata: { id: type, name }, |
| 27 | position: { x: 0, y: 0 }, |
| 28 | config: { tool: type, params }, |
| 29 | inputs: {}, |
| 30 | outputs: { |
| 31 | result: 'string', |
| 32 | items: 'json', |
| 33 | file: 'file', |
| 34 | }, |
| 35 | enabled: true, |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | function createTestManifest(totalCount = 100_000): LargeArrayManifest { |
| 40 | return { |
no outgoing calls
no test coverage detected