( blockType: string, normalizedInputFormat: InputFormatField[] )
| 213 | } |
| 214 | |
| 215 | function shouldClearBaseOutputs( |
| 216 | blockType: string, |
| 217 | normalizedInputFormat: InputFormatField[] |
| 218 | ): boolean { |
| 219 | if (blockType === TRIGGER_TYPES.API || blockType === TRIGGER_TYPES.INPUT) { |
| 220 | return true |
| 221 | } |
| 222 | |
| 223 | if (blockType === TRIGGER_TYPES.GENERIC_WEBHOOK && normalizedInputFormat.length > 0) { |
| 224 | return true |
| 225 | } |
| 226 | |
| 227 | return false |
| 228 | } |
| 229 | |
| 230 | function applyInputFormatToOutputs( |
| 231 | blockType: string, |
no outgoing calls
no test coverage detected