Files
klz-cables.com/.pnpm-store/v10/files/aa/1a73721e26d0aaed842d8fad314be7079e8c54fc1dcc8a7c7aa7abb514b860a4a17ae501b70193e1e0bea951d1044f6281481acb022e8abb86e19c5ece4fe4
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
663 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.ts.map