MCPcopy Index your code
hub / github.com/simstudioai/sim / route.ts

File route.ts

apps/sim/app/api/copilot/chat/resources/route.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 13

createLoggerFunction · 0.90
withRouteHandlerFunction · 0.90
parseRequestFunction · 0.90
createBadRequestResponseFunction · 0.90
createNotFoundResponseFunction · 0.90
joinMethod · 0.80
infoMethod · 0.80
errorMethod · 0.80
setMethod · 0.65

Tested by

no test coverage detected