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

Function makeRow

apps/sim/lib/table/deps.test.ts:22–34  ·  view source on GitHub ↗
(
  data: Record<string, unknown> = {},
  executions: Record<string, RowExecutionMetadata> = {}
)

Source from the content-addressed store, hash-verified

20}
21
22function makeRow(
23 data: Record<string, unknown> = {},
24 executions: Record<string, RowExecutionMetadata> = {}
25): TableRow {
26 return {
27 id: 'row1',
28 data: data as TableRow['data'],
29 executions,
30 position: 0,
31 createdAt: new Date(),
32 updatedAt: new Date(),
33 }
34}
35
36describe('areGroupDepsSatisfied — checkbox dependency', () => {
37 const group = makeGroup({ id: 'g1', dependencies: { columns: ['flag'] } })

Callers 1

deps.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected