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

Function table

apps/sim/background/cleanup-soft-deletes.test.ts:49–50  ·  view source on GitHub ↗
(cols: string[])

Source from the content-addressed store, hash-verified

47
48vi.mock('@sim/db/schema', () => {
49 const table = (cols: string[]) =>
50 Object.fromEntries(cols.map((c) => [c, `col.${c}`])) as Record<string, string>
51 const wsFileCols = ['id', 'key', 'context', 'workspaceId', 'deletedAt', 'uploadedAt']
52 const softCols = ['id', 'archivedAt', 'deletedAt', 'workspaceId']
53 return {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected