refactor(disputes): align type with backend and derive timeline in page
This commit is contained in:
@@ -120,11 +120,21 @@ export interface Review {
|
||||
export interface Dispute {
|
||||
id: SnowflakeId
|
||||
orderId: SnowflakeId
|
||||
initiatorId?: SnowflakeId
|
||||
initiatorName?: string
|
||||
respondentId?: SnowflakeId
|
||||
reason: string
|
||||
evidence: string[]
|
||||
status: "open" | "reviewing" | "resolved" | "appealed"
|
||||
result?: "full_refund" | "full_payment" | "partial_refund"
|
||||
respondentReason?: string
|
||||
respondentEvidence: string[]
|
||||
appealReason?: string
|
||||
appealedAt?: string
|
||||
resolvedBy?: SnowflakeId
|
||||
resolvedAt?: string
|
||||
createdAt: string
|
||||
updatedAt: string
|
||||
}
|
||||
|
||||
export interface ChatParticipant {
|
||||
|
||||
Reference in New Issue
Block a user