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
14 lines
535 B
Plaintext
14 lines
535 B
Plaintext
import type { FetchAPIFileUploadOptions } from '../../config/types.js';
|
|
type Handler = (options: FetchAPIFileUploadOptions, fieldname: string, filename: string) => {
|
|
cleanup: () => void;
|
|
complete: () => Buffer;
|
|
dataHandler: (data: Buffer) => void;
|
|
getFilePath: () => string;
|
|
getFileSize: () => number;
|
|
getHash: () => string;
|
|
getWritePromise: () => Promise<boolean>;
|
|
};
|
|
export declare const tempFileHandler: Handler;
|
|
export declare const memHandler: Handler;
|
|
export {};
|
|
//# sourceMappingURL=handlers.d.ts.map |