Rocky_Mountain_Vending/.pnpm-store/v10/files/77/8dffbe015523bd51771a985b80edd65db83fd665936d082194ca7d0a112c5841f24ff6b36c5a8d3cf2656e1f28b04a2e8ae4cdecf522a910b33653d407e75e
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

50 lines
1.3 KiB
Text

import { Event, EventHint } from '../event';
import { Primitive } from '../misc';
import { User } from '../user';
/**
* Crash report feedback object
*/
export interface UserFeedback {
event_id: string;
email: User['email'];
name: string;
comments: string;
}
interface FeedbackContext extends Record<string, unknown> {
message: string;
contact_email?: string;
name?: string;
replay_id?: string;
url?: string;
associated_event_id?: string;
source?: string;
}
/**
* NOTE: These types are still considered Alpha and subject to change.
* @hidden
*/
export interface FeedbackEvent extends Event {
type: 'feedback';
contexts: Event['contexts'] & {
feedback: FeedbackContext;
};
}
export interface SendFeedbackParams {
message: string;
name?: string;
email?: string;
url?: string;
source?: string;
associatedEventId?: string;
/**
* Set an object that will be merged sent as tags data with the event.
*/
tags?: {
[key: string]: Primitive;
};
}
export type SendFeedback = (params: SendFeedbackParams, hint?: EventHint & {
includeReplay?: boolean;
}) => Promise<string>;
export {};
//# sourceMappingURL=sendFeedback.d.ts.map