(type: string)
| 163 | * the integration has no curated skills. |
| 164 | */ |
| 165 | export function getSuggestedSkillsForBlock(type: string): readonly SuggestedSkill[] { |
| 166 | const direct = getBlockMeta(type)?.skills |
| 167 | if (direct && direct.length > 0) return direct |
| 168 | const base = stripVersionSuffix(normalizeType(type)) |
| 169 | return BLOCK_META_REGISTRY[base]?.skills ?? [] |
| 170 | } |
| 171 | |
| 172 | /** |
| 173 | * Raw block registry map keyed by block type. Prefer the typed accessors |
no test coverage detected