Files
klz-cables.com/.pnpm-store/v10/files/c0/8c330aad98aa9eec03e52051483da301329958702bf6e622648732d3a65186b36a6ecf0778214d9b44970f8381397ecb171b7597b52d30a30483fb5ea426a6
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

39 lines
1.4 KiB
Plaintext

import type { Integration, IntegrationFn } from '@sentry/core';
import type { CanvasManagerInterface, CanvasManagerOptions } from '@sentry-internal/replay';
interface SnapshotOptions {
skipRequestAnimationFrame?: boolean;
}
interface ReplayCanvasIntegration extends Integration {
snapshot: (canvasElement?: HTMLCanvasElement, options?: SnapshotOptions) => Promise<void>;
}
interface ReplayCanvasOptions {
enableManualSnapshot?: boolean;
maxCanvasSize?: [width: number, height: number];
quality: 'low' | 'medium' | 'high';
}
type GetCanvasManager = (options: CanvasManagerOptions) => CanvasManagerInterface;
export interface ReplayCanvasIntegrationOptions {
enableManualSnapshot?: boolean;
maxCanvasSize?: number;
recordCanvas: true;
getCanvasManager: GetCanvasManager;
sampling: {
canvas: number;
};
dataURLOptions: {
type: string;
quality: number;
};
}
/** Exported only for type safe tests. */
export declare const _replayCanvasIntegration: (options?: Partial<ReplayCanvasOptions>) => {
name: string;
getOptions(): ReplayCanvasIntegrationOptions;
snapshot(canvasElement?: HTMLCanvasElement, options?: SnapshotOptions): Promise<void>;
};
/**
* Add this in addition to `replayIntegration()` to enable canvas recording.
*/
export declare const replayCanvasIntegration: IntegrationFn<ReplayCanvasIntegration>;
export {};
//# sourceMappingURL=canvas.d.ts.map