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

File route.ts

apps/sim/app/api/files/delete/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 { fileDeleteContract } from '@/lib/api/contracts/storage-transfer'

Callers

nothing calls this directly

Calls 15

createLoggerFunction · 0.90
withRouteHandlerFunction · 0.90
parseRequestFunction · 0.90
createErrorResponseFunction · 0.90
inferContextFromKeyFunction · 0.90
verifyKBFileWriteAccessFunction · 0.90
verifyFileAccessFunction · 0.90
hasCloudStorageFunction · 0.90
deleteFileFunction · 0.90
deleteFileMetadataFunction · 0.90

Tested by

no test coverage detected