Files
klz-cables.com/.pnpm-store/v10/files/19/a6b7e730ba98741358baaef2d349a6dbf85a6a5af974c88d7996690c45efbcac8cf576920a2f6d5610e59e75d91afb93642b0440d76e0b79a16d41cbd485dc
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

32 lines
965 B
Plaintext

import type { FetchAPIFileUploadOptions } from '../../config/types.js';
import { APIError } from '../../errors/APIError.js';
export type FileShape = {
data: Buffer;
encoding: string;
md5: Buffer | string;
mimetype: string;
mv: (filePath: string, callback: () => void) => Promise<void> | void;
name: string;
size: number;
tempFilePath: string;
truncated: boolean;
};
type FetchAPIFileUploadResponseFile = {
data: Buffer;
mimetype: string;
name: string;
size: number;
tempFilePath?: string;
};
export type FetchAPIFileUploadResponse = {
error?: APIError;
fields: Record<string, string>;
files: Record<string, FetchAPIFileUploadResponseFile>;
};
type FetchAPIFileUpload = (args: {
options?: FetchAPIFileUploadOptions;
request: Request;
}) => Promise<FetchAPIFileUploadResponse>;
export declare const processMultipartFormdata: FetchAPIFileUpload;
export {};
//# sourceMappingURL=index.d.ts.map