MCPcopy
hub / github.com/simstudioai/sim / createStarterBlock

Function createStarterBlock

packages/testing/src/factories/block.factory.ts:81–87  ·  view source on GitHub ↗
(options: Omit<BlockFactoryOptions, 'type'> = {})

Source from the content-addressed store, hash-verified

79 * Creates a starter block (workflow entry point).
80 */
81export function createStarterBlock(options: Omit<BlockFactoryOptions, 'type'> = {}): any {
82 return createBlock({
83 ...options,
84 type: 'starter',
85 name: options.name ?? 'Start',
86 })
87}
88
89/**
90 * Creates an agent block (AI agent execution).

Callers 8

createLinearWorkflowFunction · 0.90
createBranchingWorkflowFunction · 0.90
createLoopWorkflowFunction · 0.90
createParallelWorkflowFunction · 0.90
addStarterMethod · 0.90
utils.test.tsFile · 0.90
utils.test.tsFile · 0.90

Calls 1

createBlockFunction · 0.70

Tested by

no test coverage detected