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

File route.ts

apps/sim/app/api/workspaces/[id]/inbox/senders/route.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { db, mothershipInboxAllowedSender, permissions, user } from '@sim/db'
2import { createLogger } from '@sim/logger'
3import { generateId } from '@sim/utils/id'
4import { and, eq } from 'drizzle-orm'

Callers

nothing calls this directly

Calls 9

createLoggerFunction · 0.90
withRouteHandlerFunction · 0.90
hasWorkspaceInboxAccessFunction · 0.90
getUserEntityPermissionsFunction · 0.90
parseRequestFunction · 0.90
generateIdFunction · 0.90
errorMethod · 0.80
deleteMethod · 0.65
eqFunction · 0.50

Tested by

no test coverage detected