Add backend feedback submission and image preview
Some checks failed
CI / verify (push) Has been cancelled

This commit is contained in:
2026-05-08 21:47:45 +08:00
parent b2ac92e0fc
commit 199b44c18c
38 changed files with 1521 additions and 140 deletions

View File

@@ -143,6 +143,39 @@ export type CreateProfileRechargeOrderResponse = {
center: ProfileRechargeCenterResponse;
};
export type ProfileFeedbackStatus = 'open';
export type ProfileFeedbackEvidenceItemInput = {
fileName: string;
contentType: string;
sizeBytes: number;
dataUrl: string;
};
export type SubmitProfileFeedbackRequest = {
description: string;
contactPhone?: string | null;
evidenceItems: ProfileFeedbackEvidenceItemInput[];
};
export type ProfileFeedbackEvidenceItem = {
evidenceId: string;
fileName: string;
contentType: string;
sizeBytes: number;
};
export type ProfileFeedbackSubmission = {
feedbackId: string;
status: ProfileFeedbackStatus;
createdAt: string;
evidenceItems: ProfileFeedbackEvidenceItem[];
};
export type SubmitProfileFeedbackResponse = {
feedback: ProfileFeedbackSubmission;
};
export type ProfileReferralInviteCenterResponse = {
inviteCode: string;
inviteLinkPath: string;