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

File route.ts

apps/sim/app/api/files/download/route.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { createLogger } from '@sim/logger'
2import { type NextRequest, NextResponse } from 'next/server'
3import { fileDownloadContract } from '@/lib/api/contracts/storage-transfer'
4import { getValidationErrorMessage, parseRequest } from '@/lib/api/server'

Callers

nothing calls this directly

Calls 12

createLoggerFunction · 0.90
withRouteHandlerFunction · 0.90
parseRequestFunction · 0.90
createErrorResponseFunction · 0.90
verifyFileAccessFunction · 0.90
hasCloudStorageFunction · 0.90
infoMethod · 0.80
errorMethod · 0.80
warnMethod · 0.65
getBaseUrlFunction · 0.50

Tested by

no test coverage detected