22 lines
535 B
TypeScript
22 lines
535 B
TypeScript
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: LeagueWalletTransactionViewData[];
|
|
}
|