Files
klz-cables.com/.pnpm-store/v10/files/41/d4e618c28c6831dd97a417afd2b2b1cdd3aee1e4f4b0106a3882563b5dd65785950a9b8d991082e12c895ffc004a556c418ec29c54b1614fbc39f60e96c027
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

16 lines
664 B
Plaintext

//#region src/types/request.d.ts
type HttpMethod = 'GET' | 'SEARCH' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
interface RequestOptions {
path: string;
method?: HttpMethod;
params?: Record<string, any>;
headers?: Record<string, string>;
body?: string | FormData;
onRequest?: RequestTransformer;
onResponse?: ResponseTransformer;
}
type RequestTransformer = (options: RequestInit) => RequestInit | Promise<RequestInit>;
type ResponseTransformer<Output = any> = (data: any, request: RequestInit) => Output | Promise<Output>;
//#endregion
export { HttpMethod, RequestOptions, RequestTransformer, ResponseTransformer };
//# sourceMappingURL=request.d.cts.map