website refactor
This commit is contained in:
@@ -1,13 +1,21 @@
|
||||
export interface LeagueWalletTransactionViewData {
|
||||
id: string;
|
||||
type: 'deposit' | 'withdrawal' | 'sponsorship' | 'prize';
|
||||
amount: number;
|
||||
formattedAmount: string;
|
||||
amountColor: string;
|
||||
description: string;
|
||||
createdAt: string;
|
||||
formattedDate: string;
|
||||
status: 'completed' | 'pending' | 'failed';
|
||||
statusColor: string;
|
||||
typeColor: string;
|
||||
}
|
||||
|
||||
export interface LeagueWalletViewData {
|
||||
leagueId: string;
|
||||
balance: number;
|
||||
formattedBalance: string;
|
||||
currency: string;
|
||||
transactions: Array<{
|
||||
id: string;
|
||||
type: 'deposit' | 'withdrawal' | 'sponsorship' | 'prize';
|
||||
amount: number;
|
||||
description: string;
|
||||
createdAt: string;
|
||||
status: 'completed' | 'pending' | 'failed';
|
||||
}>;
|
||||
}
|
||||
transactions: LeagueWalletTransactionViewData[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user