MCPcopy
hub / github.com/simstudioai/sim / route.ts

File route.ts

apps/sim/app/api/logs/triggers/route.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { db } from '@sim/db'
2import { workflowExecutionLogs } from '@sim/db/schema'
3import { createLogger } from '@sim/logger'
4import { and, eq, isNotNull, sql } from 'drizzle-orm'

Callers

nothing calls this directly

Calls 9

createLoggerFunction · 0.90
withRouteHandlerFunction · 0.90
generateRequestIdFunction · 0.90
searchParamsToObjectFunction · 0.90
validationErrorResponseFunction · 0.90
checkWorkspaceAccessFunction · 0.90
errorMethod · 0.80
warnMethod · 0.65
eqFunction · 0.50

Tested by

no test coverage detected