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

Function makeGroup

apps/sim/lib/table/deps.test.ts:14–20  ·  view source on GitHub ↗
(overrides: Partial<WorkflowGroup> & { id: string })

Source from the content-addressed store, hash-verified

12import type { RowExecutionMetadata, TableRow, WorkflowGroup } from '@/lib/table/types'
13
14function makeGroup(overrides: Partial<WorkflowGroup> & { id: string }): WorkflowGroup {
15 return {
16 workflowId: `wf-${overrides.id}`,
17 outputs: [{ blockId: 'b1', path: 'out', columnName: `${overrides.id}_out` }],
18 ...overrides,
19 }
20}
21
22function makeRow(
23 data: Record<string, unknown> = {},

Callers 1

deps.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected