Rocky_Mountain_Vending/.pnpm-store/v10/files/9f/85dc7d3e94ca69e5884bee30bea2f77452e31330c19b139388a44dccae51cfb36d91c559f30850fd241143aa07f889ba2d25dfda454390f44b872de6b238f3
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

56 lines
2.5 KiB
Text

import { Client } from '../client';
import { CaptureContext, ScopeContext } from '../scope';
import { Scope } from '../scope';
import { Event, EventHint } from '../types-hoist/event';
import { ClientOptions } from '../types-hoist/options';
import { StackParser } from '../types-hoist/stacktrace';
/**
* This type makes sure that we get either a CaptureContext, OR an EventHint.
* It does not allow mixing them, which could lead to unexpected outcomes, e.g. this is disallowed:
* { user: { id: '123' }, mechanism: { handled: false } }
*/
export type ExclusiveEventHintOrCaptureContext = (CaptureContext & Partial<{
[key in keyof EventHint]: never;
}>) | (EventHint & Partial<{
[key in keyof ScopeContext]: never;
}>);
/**
* Adds common information to events.
*
* The information includes release and environment from `options`,
* breadcrumbs and context (extra, tags and user) from the scope.
*
* Information that is already present in the event is never overwritten. For
* nested objects, such as the context, keys are merged.
*
* @param event The original event.
* @param hint May contain additional information about the original exception.
* @param scope A scope containing event metadata.
* @returns A new event with more information.
* @hidden
*/
export declare function prepareEvent(options: ClientOptions, event: Event, hint: EventHint, scope?: Scope, client?: Client, isolationScope?: Scope): PromiseLike<Event | null>;
/**
* Enhances event using the client configuration.
* It takes care of all "static" values like environment, release and `dist`,
* as well as truncating overly long values.
*
* Only exported for tests.
*
* @param event event instance to be enhanced
*/
export declare function applyClientOptions(event: Event, options: ClientOptions): void;
/**
* Puts debug IDs into the stack frames of an error event.
*/
export declare function applyDebugIds(event: Event, stackParser: StackParser): void;
/**
* Moves debug IDs from the stack frames of an error event into the debug_meta field.
*/
export declare function applyDebugMeta(event: Event): void;
/**
* Parse either an `EventHint` directly, or convert a `CaptureContext` to an `EventHint`.
* This is used to allow to update method signatures that used to accept a `CaptureContext` but should now accept an `EventHint`.
*/
export declare function parseEventHintOrCaptureContext(hint: ExclusiveEventHintOrCaptureContext | undefined): EventHint | undefined;
//# sourceMappingURL=prepareEvent.d.ts.map