MCPcopy Create free account
hub / github.com/simstudioai/sim / appendAdditions

Function appendAdditions

apps/sim/app/api/table/[tableId]/import/route.test.ts:142–144  ·  view source on GitHub ↗

Additions array the route passed to importAppendRows (2nd positional arg).

()

Source from the content-addressed store, hash-verified

140
141/** Additions array the route passed to importAppendRows (2nd positional arg). */
142function appendAdditions(): { name: string; type: string }[] {
143 return mockImportAppendRows.mock.calls[0][1] as { name: string; type: string }[]
144}
145
146/** Rows array the route passed to importAppendRows (3rd positional arg). */
147function appendRows(): unknown[] {

Callers 1

route.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected