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

Function makeRow

apps/sim/lib/table/workflow-columns.test.ts:35–47  ·  view source on GitHub ↗
(
  executions: Record<string, RowExecutionMetadata>,
  data: Record<string, unknown> = {}
)

Source from the content-addressed store, hash-verified

33}
34
35function makeRow(
36 executions: Record<string, RowExecutionMetadata>,
37 data: Record<string, unknown> = {}
38): TableRow {
39 return {
40 id: 'row1',
41 data: data as TableRow['data'],
42 executions,
43 position: 0,
44 createdAt: new Date(),
45 updatedAt: new Date(),
46 }
47}
48
49/** The dispatcher's "queued marker" pre-stamp: pending with no executionId. */
50function queuedMarker(workflowId: string): RowExecutionMetadata {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected