Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
1
import
{ db } from
'@sim/db'
2
import
{ settings, user } from
'@sim/db/schema'
3
import
{ getErrorMessage } from
'@sim/utils/errors'
4
import
{ eq } from
'drizzle-orm'
Callers
nothing calls this directly
Calls
10
withRouteHandler
Function · 0.90
searchParamsToObject
Function · 0.90
validationErrorResponse
Function · 0.90
getErrorMessage
Function · 0.90
getAuthorizedAdminUserId
Function · 0.85
isValidEndpoint
Function · 0.85
getMothershipUrl
Function · 0.85
text
Method · 0.80
set
Method · 0.65
toString
Method · 0.45
Tested by
no test coverage detected