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

File route.ts

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

Source from the content-addressed store, hash-verified

1import { db } from '@sim/db'
2import { settings, user } from '@sim/db/schema'
3import { getErrorMessage } from '@sim/utils/errors'
4import { eq } from 'drizzle-orm'

Callers

nothing calls this directly

Calls 10

withRouteHandlerFunction · 0.90
searchParamsToObjectFunction · 0.90
validationErrorResponseFunction · 0.90
getErrorMessageFunction · 0.90
getAuthorizedAdminUserIdFunction · 0.85
isValidEndpointFunction · 0.85
getMothershipUrlFunction · 0.85
textMethod · 0.80
setMethod · 0.65
toStringMethod · 0.45

Tested by

no test coverage detected