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

File route.ts

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

Source from the content-addressed store, hash-verified

1import { createLogger } from '@sim/logger'
2import type { NextRequest } from 'next/server'
3import { NextResponse } from 'next/server'
4import { getInlineWorkspaceFileContract } from '@/lib/api/contracts/workspace-files'

Callers

nothing calls this directly

Calls 8

createLoggerFunction · 0.90
withRouteHandlerFunction · 0.90
parseRequestFunction · 0.90
getUserEntityPermissionsFunction · 0.90
serveInlineImageFunction · 0.90
createErrorResponseFunction · 0.90
errorMethod · 0.80

Tested by

no test coverage detected