mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-30 02:23: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 {
|
export interface RecentPaymentItem {
|
||||||
id: number;
|
id: number;
|
||||||
user_id: number;
|
user_id: number;
|
||||||
telegram_id: number;
|
telegram_id: number | null;
|
||||||
username?: string;
|
email?: string | null;
|
||||||
|
username?: string | null;
|
||||||
display_name: string;
|
display_name: string;
|
||||||
amount_kopeks: number;
|
amount_kopeks: number;
|
||||||
amount_rubles: number;
|
amount_rubles: number;
|
||||||
type: string;
|
type: string;
|
||||||
type_display: string;
|
type_display: string;
|
||||||
payment_method?: string;
|
payment_method?: string | null;
|
||||||
description?: string;
|
description?: string | null;
|
||||||
created_at: string;
|
created_at: string;
|
||||||
is_completed: boolean;
|
is_completed: boolean;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user