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

Function makeGroup

apps/sim/lib/table/workflow-columns.test.ts:13–19  ·  view source on GitHub ↗
(overrides: Partial<WorkflowGroup> & { id: string })

Source from the content-addressed store, hash-verified

11import { pickNextEligibleGroupForRow } from '@/lib/table/workflow-columns'
12
13function makeGroup(overrides: Partial<WorkflowGroup> & { id: string }): WorkflowGroup {
14 return {
15 workflowId: `wf-${overrides.id}`,
16 outputs: [{ blockId: 'b1', path: 'out', columnName: `${overrides.id}_out` }],
17 ...overrides,
18 }
19}
20
21function makeTable(groups: WorkflowGroup[]): TableDefinition {
22 return {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected