MCPcopy Index your code
hub / github.com/simstudioai/sim / getCanonicalBlocksByCategory

Function getCanonicalBlocksByCategory

apps/sim/blocks/registry.ts:83–87  ·  view source on GitHub ↗
(category: BlockCategory)

Source from the content-addressed store, hash-verified

81 * `hideFromToolbar: true`).
82 */
83export 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. */
90export function getAllBlockTypes(): string[] {

Callers 2

buildMatcherFunction · 0.90
ensureBlockCachesFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected