(selectedOutputs: string[], blockId: string)
| 168 | * Check if a set of output IDs contains response format selections for a specific block |
| 169 | */ |
| 170 | export function hasResponseFormatSelection(selectedOutputs: string[], blockId: string): boolean { |
| 171 | return selectedOutputs.some((outputId) => { |
| 172 | const blockIdForOutput = extractBlockIdFromOutputId(outputId) |
| 173 | return blockIdForOutput === blockId && outputId.includes('_') |
| 174 | }) |
| 175 | } |
| 176 | |
| 177 | /** |
| 178 | * Get selected field names for a specific block from output IDs |
nothing calls this directly
no test coverage detected