(outputId: string)
| 133 | * Handles both formats: "blockId" and "blockId_path" or "blockId.path" |
| 134 | */ |
| 135 | export function extractBlockIdFromOutputId(outputId: string): string { |
| 136 | return outputId.includes('_') ? outputId.split('_')[0] : outputId.split('.')[0] |
| 137 | } |
| 138 | |
| 139 | /** |
| 140 | * Extract path from output ID after the block ID |
no outgoing calls
no test coverage detected