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

File route.ts

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 12

createLoggerFunction · 0.90
withRouteHandlerFunction · 0.90
parseRequestFunction · 0.90
getUserEntityPermissionsFunction · 0.90
getErrorMessageFunction · 0.90
hasCloudStorageFunction · 0.90
checkStorageQuotaFunction · 0.90
generateWorkspaceFileKeyFunction · 0.90
infoMethod · 0.80
warnMethod · 0.65

Tested by

no test coverage detected