()
| 23 | |
| 24 | /** All block configs. */ |
| 25 | export function getAllBlocks(): BlockConfig[] { |
| 26 | return Object.values(BLOCK_REGISTRY) |
| 27 | } |
| 28 | |
| 29 | /** Find the block whose `tools.access` contains the given tool id. */ |
| 30 | export function getBlockByToolName(toolName: string): BlockConfig | undefined { |
no outgoing calls
no test coverage detected