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

Function getCurrentIds

apps/sim/scripts/check-block-registry.ts:83–89  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

81}
82
83function getCurrentIds(): IdMap {
84 const map: IdMap = {}
85 for (const block of getAllBlocks()) {
86 map[block.type] = new Set(block.subBlocks.map((sb) => sb.id))
87 }
88 return map
89}
90
91type PreviousIdsResult =
92 | { kind: 'skip'; reason: string }

Callers 1

checkSubblockIdStabilityFunction · 0.85

Calls 1

getAllBlocksFunction · 0.90

Tested by

no test coverage detected