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

Function getLatestBlock

apps/sim/blocks/registry.ts:65–67  ·  view source on GitHub ↗
(baseType: string)

Source from the content-addressed store, hash-verified

63 * receive the latest implementation.
64 */
65export function getLatestBlock(baseType: string): BlockConfig | undefined {
66 return resolveLatest(baseType)?.config
67}
68
69/** All blocks in a given category. */
70export function getBlocksByCategory(category: BlockCategory): BlockConfig[] {

Callers 1

getTriggerOptionsFunction · 0.90

Calls 1

resolveLatestFunction · 0.85

Tested by

no test coverage detected