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

Function basePayload

apps/sim/lib/table/update-runner.test.ts:62–72  ·  view source on GitHub ↗
(overrides = {})

Source from the content-addressed store, hash-verified

60const cutoff = new Date('2026-06-05T00:00:00Z')
61
62function basePayload(overrides = {}) {
63 return {
64 jobId: 'job_1',
65 tableId: 'tbl_1',
66 workspaceId: 'ws_1',
67 filter: { status: 'old' },
68 data: { flag: true },
69 cutoff,
70 ...overrides,
71 }
72}
73const row = (id: string) => ({ id, data: {} })
74
75describe('runTableUpdate', () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected