/** Request of the upload route; see the onRequest hook in main.ts. */ export type UploadRequest = { method: string; routeOptions?: { url?: string }; headers: Record; /** Content-Type as sent by the client (the header itself is rewritten). */ uploadContentType?: string | string[]; body?: unknown; };