(category: BlockCategory)
| 81 | * `hideFromToolbar: true`). |
| 82 | */ |
| 83 | export function getCanonicalBlocksByCategory(category: BlockCategory): BlockConfig[] { |
| 84 | return Object.values(BLOCK_REGISTRY).filter( |
| 85 | (block) => block.category === category && !block.hideFromToolbar |
| 86 | ) |
| 87 | } |
| 88 | |
| 89 | /** All registered block type identifiers. */ |
| 90 | export function getAllBlockTypes(): string[] { |
no outgoing calls
no test coverage detected