Files
klz-cables.com/.pnpm-store/v10/files/4d/17d439e883f67357e1e3343a93d07ff011b669849d35cf52a26cb3624d10b717ba0b7c0b07410a06bce4eb9000173ebb08daf53d22575b0b5058a8d3a3a50b
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

38 lines
1.5 KiB
Plaintext

import type { SentrySpan, WebFetchHeaders, WrappedFunction } from '@sentry/core';
import type { NextApiRequest, NextApiResponse } from 'next';
import type { RequestAsyncStorage } from '../config/templates/requestAsyncStorageShim';
export type ServerComponentContext = {
componentRoute: string;
componentType: 'Page' | 'Layout' | 'Head' | 'Not-found' | 'Loading' | 'Unknown';
headers?: WebFetchHeaders;
};
export type GenerationFunctionContext = {
requestAsyncStorage?: RequestAsyncStorage;
componentRoute: string;
componentType: string;
generationFunctionIdentifier: string;
};
export interface RouteHandlerContext {
method: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'HEAD' | 'OPTIONS';
parameterizedRoute: string;
headers?: WebFetchHeaders;
}
export type VercelCronsConfig = {
path?: string;
schedule?: string;
}[] | undefined;
export type NextApiHandler = {
(req: NextApiRequest, res: NextApiResponse): void | Promise<void> | unknown | Promise<unknown>;
__sentry_route__?: string;
};
export type WrappedNextApiHandler = {
(req: NextApiRequest, res: NextApiResponse): Promise<void> | Promise<unknown>;
__sentry_route__?: string;
__sentry_wrapped__?: boolean;
};
export type AugmentedNextApiResponse = NextApiResponse & {
__sentryTransaction?: SentrySpan;
};
export type ResponseEndMethod = AugmentedNextApiResponse['end'];
export type WrappedResponseEndMethod = AugmentedNextApiResponse['end'] & WrappedFunction;
//# sourceMappingURL=types.d.ts.map