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

Function getBlocksByCategory

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

Source from the content-addressed store, hash-verified

68
69/** All blocks in a given category. */
70export function getBlocksByCategory(category: BlockCategory): BlockConfig[] {
71 return Object.values(BLOCK_REGISTRY).filter((block) => block.category === category)
72}
73
74/**
75 * The canonical "latest-version, toolbar-visible" set of blocks for a

Callers 1

blocks.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected