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>
44 lines
No EOL
1.5 KiB
Text
44 lines
No EOL
1.5 KiB
Text
import { Exception } from '@opentelemetry/api';
|
|
/**
|
|
* This interface defines a fallback to read a timeOrigin when it is not available on performance.timeOrigin,
|
|
* this happens for example on Safari Mac
|
|
* then the timeOrigin is taken from fetchStart - which is the closest to timeOrigin
|
|
*/
|
|
export interface TimeOriginLegacy {
|
|
timing: {
|
|
fetchStart: number;
|
|
};
|
|
}
|
|
/**
|
|
* This interface defines the params that are be added to the wrapped function
|
|
* using the "shimmer.wrap"
|
|
*/
|
|
export interface ShimWrapped extends Function {
|
|
__wrapped: boolean;
|
|
__unwrap: Function;
|
|
__original: Function;
|
|
}
|
|
/**
|
|
* An instrumentation library consists of the name and optional version
|
|
* used to obtain a tracer or meter from a provider. This metadata is made
|
|
* available on ReadableSpan and MetricRecord for use by the export pipeline.
|
|
* @deprecated Use {@link InstrumentationScope} instead.
|
|
*/
|
|
export interface InstrumentationLibrary {
|
|
readonly name: string;
|
|
readonly version?: string;
|
|
readonly schemaUrl?: string;
|
|
}
|
|
/**
|
|
* An instrumentation scope consists of the name and optional version
|
|
* used to obtain a tracer or meter from a provider. This metadata is made
|
|
* available on ReadableSpan and MetricRecord for use by the export pipeline.
|
|
*/
|
|
export interface InstrumentationScope {
|
|
readonly name: string;
|
|
readonly version?: string;
|
|
readonly schemaUrl?: string;
|
|
}
|
|
/** Defines an error handler function */
|
|
export declare type ErrorHandler = (ex: Exception) => void;
|
|
//# sourceMappingURL=types.d.ts.map |