mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 17:43:47 +00:00
fix: align RecentPaymentItem types with backend schema
- telegram_id: number → number | null (email-only users) - Add email field - Fix username, payment_method, description nullability
This commit is contained in:
@@ -289,15 +289,16 @@ export interface TopCampaignsResponse {
|
||||
export interface RecentPaymentItem {
|
||||
id: number;
|
||||
user_id: number;
|
||||
telegram_id: number;
|
||||
username?: string;
|
||||
telegram_id: number | null;
|
||||
email?: string | null;
|
||||
username?: string | null;
|
||||
display_name: string;
|
||||
amount_kopeks: number;
|
||||
amount_rubles: number;
|
||||
type: string;
|
||||
type_display: string;
|
||||
payment_method?: string;
|
||||
description?: string;
|
||||
payment_method?: string | null;
|
||||
description?: string | null;
|
||||
created_at: string;
|
||||
is_completed: boolean;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user