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

45 lines
1.2 KiB
Plaintext

import { Context, Span, SpanOptions } from '@opentelemetry/api';
type V5SpanCallback<R> = (span?: Span, context?: Context) => R;
type V5ExtendedSpanOptions = SpanOptions & {
name: string;
internal?: boolean;
middleware?: boolean;
active?: boolean;
context?: Context;
};
type EngineSpanEvent = {
span: boolean;
spans: V5EngineSpan[];
};
type V5EngineSpanKind = 'client' | 'internal';
type V5EngineSpan = {
span: boolean;
name: string;
trace_id: string;
span_id: string;
parent_span_id: string;
start_time: [
number,
number
];
end_time: [
number,
number
];
attributes?: Record<string, string>;
links?: {
trace_id: string;
span_id: string;
}[];
kind: V5EngineSpanKind;
};
export interface PrismaV5TracingHelper {
isEnabled(): boolean;
getTraceParent(context?: Context): string;
createEngineSpan(engineSpanEvent: EngineSpanEvent): void;
getActiveContext(): Context | undefined;
runInChildSpan<R>(nameOrOptions: string | V5ExtendedSpanOptions, callback: V5SpanCallback<R>): R;
}
export {};
//# sourceMappingURL=v5-tracing-helper.d.ts.map