Files
klz-cables.com/.pnpm-store/v10/files/46/570c0a6483250323883daad25d18a25f37f970c27170d3c7188e0f3deb4f8dc2949d9eabc41079f63722272250a219020bc77139b361c5d5a0292afedd9b13
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

47 lines
1.1 KiB
Plaintext

import { WebFetchHeaders } from './webfetchapi';
/**
* Request data included in an event as sent to Sentry.
*/
export interface RequestEventData {
url?: string;
method?: string;
data?: unknown;
query_string?: QueryParams;
cookies?: Record<string, string>;
env?: Record<string, string>;
headers?: {
[key: string]: string;
};
}
export type QueryParams = string | {
[key: string]: string;
} | Array<[
string,
string
]>;
/**
* Request data that is considered safe for `span.data` on `http.client` spans
* and for `http` breadcrumbs
* See https://develop.sentry.dev/sdk/data-handling/#structuring-data
*/
export type SanitizedRequestData = {
url: string;
'http.method': string;
'http.fragment'?: string;
'http.query'?: string;
};
export interface RequestHookInfo {
headers?: WebFetchHeaders;
}
export interface ResponseHookInfo {
/**
* Headers from the response.
*/
headers?: WebFetchHeaders;
/**
* Error that may have occurred during the request.
*/
error?: unknown;
}
//# sourceMappingURL=request.d.ts.map