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

File route.ts

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

Source from the content-addressed store, hash-verified

1import { db, mothershipInboxTask } from '@sim/db'
2import { and, desc, eq, lt } from 'drizzle-orm'
3import { type NextRequest, NextResponse } from 'next/server'
4import { inboxTasksQuerySchema, inboxWorkspaceParamsSchema } from '@/lib/api/contracts/inbox'

Callers

nothing calls this directly

Calls 6

withRouteHandlerFunction · 0.90
hasWorkspaceInboxAccessFunction · 0.90
getUserEntityPermissionsFunction · 0.90
eqFunction · 0.50
pushMethod · 0.45

Tested by

no test coverage detected