Files
klz-cables.com/.pnpm-store/v10/files/2c/964cc5b85db15476a8139d60ae719761faa53a495c8503f1bffca193f11f6b1dbb4393c91dfef95736df8cc39aa4ff4e6480c5cd85cf00698b6e5385d14c37
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

50 lines
1.2 KiB
Plaintext

import type { Event, EventHint } from '../event';
import type { Primitive } from '../misc';
import type { 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