feat(feedback): add problem reporting flow
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
export const FEEDBACK_CATEGORIES = [
|
||||
"problem",
|
||||
"suggestion",
|
||||
"payment",
|
||||
"other",
|
||||
] as const;
|
||||
|
||||
export type FeedbackCategory = (typeof FEEDBACK_CATEGORIES)[number];
|
||||
|
||||
export interface FeedbackContext {
|
||||
appVersion: string;
|
||||
platform: string;
|
||||
browser: string;
|
||||
viewport: string;
|
||||
}
|
||||
|
||||
export interface SubmitFeedbackInput {
|
||||
category: FeedbackCategory;
|
||||
content: string;
|
||||
context: FeedbackContext;
|
||||
images: readonly File[];
|
||||
}
|
||||
Reference in New Issue
Block a user