(block: TriggerBlockLike, key: string)
| 57 | } |
| 58 | |
| 59 | function readSubBlockValue(block: TriggerBlockLike, key: string): unknown { |
| 60 | const raw = (block.subBlocks as Record<string, unknown> | undefined)?.[key] |
| 61 | if (raw && typeof raw === 'object' && !Array.isArray(raw)) { |
| 62 | return (raw as { value?: unknown }).value |
| 63 | } |
| 64 | return undefined |
| 65 | } |
| 66 | |
| 67 | function mapOutputType(type: string): string { |
| 68 | switch (type) { |
no outgoing calls
no test coverage detected