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

File route.ts

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 14

createLoggerFunction · 0.90
withRouteHandlerFunction · 0.90
generateRequestIdFunction · 0.90
checkWorkspaceAccessFunction · 0.90
buildFilterConditionsFunction · 0.90
isZodErrorFunction · 0.90
parseMethod · 0.80
errorMethod · 0.80
warnMethod · 0.65
setMethod · 0.65
getMethod · 0.65

Tested by

no test coverage detected