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>
23 lines
1,006 B
Text
23 lines
1,006 B
Text
import { Context } from '@opentelemetry/api';
|
|
import { Scope } from '@sentry/core';
|
|
import { CurrentScopes } from '../types';
|
|
/**
|
|
* Try to get the current scopes from the given OTEL context.
|
|
* This requires a Context Manager that was wrapped with getWrappedContextManager.
|
|
*/
|
|
export declare function getScopesFromContext(context: Context): CurrentScopes | undefined;
|
|
/**
|
|
* Set the current scopes on an OTEL context.
|
|
* This will return a forked context with the Propagation Context set.
|
|
*/
|
|
export declare function setScopesOnContext(context: Context, scopes: CurrentScopes): Context;
|
|
/**
|
|
* Set the context on the scope so we can later look it up.
|
|
* We need this to get the context from the scope in the `trace` functions.
|
|
*/
|
|
export declare function setContextOnScope(scope: Scope, context: Context): void;
|
|
/**
|
|
* Get the context related to a scope.
|
|
*/
|
|
export declare function getContextFromScope(scope: Scope): Context | undefined;
|
|
//# sourceMappingURL=contextData.d.ts.map
|