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

File route.ts

apps/sim/app/api/files/public/[token]/content/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 { getPublicFileContentContract } from '@/lib/api/contracts/public-shares'

Callers

nothing calls this directly

Calls 13

createLoggerFunction · 0.90
withRouteHandlerFunction · 0.90
generateRequestIdFunction · 0.90
parseRequestFunction · 0.90
validateDeploymentAuthFunction · 0.90
downloadFileFunction · 0.90
resolveServableDocFunction · 0.90
createFileResponseFunction · 0.90
createErrorResponseFunction · 0.90
infoMethod · 0.80

Tested by

no test coverage detected