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>
20 lines
459 B
Text
20 lines
459 B
Text
export declare const eventNameErrorFeedback = "NEXT_ERROR_FEEDBACK";
|
|
export type EventErrorFeedback = {
|
|
errorCode: string;
|
|
wasHelpful: boolean;
|
|
};
|
|
/**
|
|
* Records telemetry for error feedback.
|
|
*
|
|
* @example
|
|
* ```ts
|
|
* telemetry.record(eventErrorFeedback({
|
|
* errorCode: 'E1',
|
|
* wasHelpful: true
|
|
* }))
|
|
* ```
|
|
*/
|
|
export declare function eventErrorFeedback(event: EventErrorFeedback): {
|
|
eventName: string;
|
|
payload: EventErrorFeedback;
|
|
};
|