MCPcopy
hub / github.com/CapSoftware/Cap / multipart.ts

File multipart.ts

apps/web/app/api/upload/[...route]/multipart.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { updateIfDefined } from "@cap/database";
2import * as Db from "@cap/database/schema";
3import { serverEnv } from "@cap/env";
4import { userIsPro } from "@cap/utils";

Callers

nothing calls this directly

Calls 15

getMultipartFileKeyFunction · 0.90
makeCurrentUserLayerFunction · 0.90
getSubpathFunction · 0.90
isRawRecorderUploadFunction · 0.90
userIsProFunction · 0.90
updateIfDefinedFunction · 0.90
serverEnvFunction · 0.90
abortMethod · 0.80
updateMethod · 0.80
fetchFunction · 0.50

Tested by

no test coverage detected