Files
cozsweet-frontend-nextjs/src/data/dto/feedback/feedback_submission.ts
T

23 lines
437 B
TypeScript

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[];
}