Rocky_Mountain_Vending/.pnpm-store/v10/files/a4/08d2abafbbfda30a6b21a3d2c65a15727d7a3a1bbb50d681efbb58c130d726d17f3f56270a5cf3c2c6d22b8e629838ecadc65087507343b25fc4d5b1720bfe
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

25 lines
No EOL
1.1 KiB
Text

import type { Span as WriteableSpan, SpanKind, Tracer } from '@opentelemetry/api';
import type { BasicTracerProvider, ReadableSpan } from '@opentelemetry/sdk-trace-base';
import type { Scope, Span, StartSpanOptions } from '@sentry/core';
export interface OpenTelemetryClient {
tracer: Tracer;
traceProvider: BasicTracerProvider | undefined;
}
export interface OpenTelemetrySpanContext extends StartSpanOptions {
kind?: SpanKind;
}
/**
* The base `Span` type is basically a `WriteableSpan`.
* There are places where we basically want to allow passing _any_ span,
* so in these cases we type this as `AbstractSpan` which could be either a regular `Span` or a `ReadableSpan`.
* You'll have to make sure to check relevant fields before accessing them.
*
* Note that technically, the `Span` exported from `@opentelemetry/sdk-trace-base` matches this,
* but we cannot be 100% sure that we are actually getting such a span, so this type is more defensive.
*/
export type AbstractSpan = WriteableSpan | ReadableSpan | Span;
export interface CurrentScopes {
scope: Scope;
isolationScope: Scope;
}
//# sourceMappingURL=types.d.ts.map