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>
59 lines
No EOL
2.2 KiB
Text
59 lines
No EOL
2.2 KiB
Text
import type { Integration } from '@sentry/core';
|
|
/**
|
|
* Telemetry configuration.
|
|
*/
|
|
export type TelemetrySettings = {
|
|
/**
|
|
* Enable or disable telemetry. Disabled by default while experimental.
|
|
*/
|
|
isEnabled?: boolean;
|
|
/**
|
|
* Enable or disable input recording. Enabled by default.
|
|
*
|
|
* You might want to disable input recording to avoid recording sensitive
|
|
* information, to reduce data transfers, or to increase performance.
|
|
*/
|
|
recordInputs?: boolean;
|
|
/**
|
|
* Enable or disable output recording. Enabled by default.
|
|
*
|
|
* You might want to disable output recording to avoid recording sensitive
|
|
* information, to reduce data transfers, or to increase performance.
|
|
*/
|
|
recordOutputs?: boolean;
|
|
/**
|
|
* Identifier for this function. Used to group telemetry data by function.
|
|
*/
|
|
functionId?: string;
|
|
/**
|
|
* Additional information to include in the telemetry data.
|
|
*/
|
|
metadata?: Record<string, AttributeValue>;
|
|
};
|
|
/**
|
|
* Attribute values may be any non-nullish primitive value except an object.
|
|
*
|
|
* null or undefined attribute values are invalid and will result in undefined behavior.
|
|
*/
|
|
export declare type AttributeValue = string | number | boolean | Array<null | undefined | string> | Array<null | undefined | number> | Array<null | undefined | boolean>;
|
|
export interface VercelAiOptions {
|
|
/**
|
|
* Enable or disable input recording. Enabled if `sendDefaultPii` is `true`
|
|
* or if you set `isEnabled` to `true` in your ai SDK method telemetry settings
|
|
*/
|
|
recordInputs?: boolean;
|
|
/**
|
|
* Enable or disable output recording. Enabled if `sendDefaultPii` is `true`
|
|
* or if you set `isEnabled` to `true` in your ai SDK method telemetry settings
|
|
*/
|
|
recordOutputs?: boolean;
|
|
/**
|
|
* By default, the instrumentation will register span processors only when the ai package is used.
|
|
* If you want to register the span processors even when the ai package usage cannot be detected, you can set `force` to `true`.
|
|
*/
|
|
force?: boolean;
|
|
}
|
|
export interface VercelAiIntegration extends Integration {
|
|
options: VercelAiOptions;
|
|
}
|
|
//# sourceMappingURL=types.d.ts.map |