Files
klz-cables.com/.pnpm-store/v10/files/dd/5408b9781ef935ec9bf6c1b92034e9ba093afc7756f7f9867ae25cc0d947cb57cae1ccb3174a627956f5bd87f50bce304bd0de798dcb4c7dfb3d2f60a4ecaf
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

25 lines
1.2 KiB
Plaintext

import { Scope, ScopeData } from '../scope';
import { Event } from '../types-hoist/event';
/**
* Applies data from the scope to the event and runs all event processors on it.
*/
export declare function applyScopeDataToEvent(event: Event, data: ScopeData): void;
/** Merge data of two scopes together. */
export declare function mergeScopeData(data: ScopeData, mergeData: ScopeData): void;
/**
* Merges certain scope data. Undefined values will overwrite any existing values.
* Exported only for tests.
*/
export declare function mergeAndOverwriteScopeData<Prop extends 'extra' | 'tags' | 'attributes' | 'user' | 'contexts' | 'sdkProcessingMetadata', Data extends ScopeData>(data: Data, prop: Prop, mergeVal: Data[Prop]): void;
/** Exported only for tests */
export declare function mergeArray<Prop extends 'breadcrumbs' | 'fingerprint'>(event: Event, prop: Prop, mergeVal: ScopeData[Prop]): void;
/**
* Get the scope data for the current scope after merging with the
* global scope and isolation scope.
*
* @param currentScope - The current scope.
* @returns The scope data.
*/
export declare function getCombinedScopeData(isolationScope: Scope | undefined, currentScope: Scope | undefined): ScopeData;
//# sourceMappingURL=scopeData.d.ts.map