view data fixes
This commit is contained in:
16
apps/website/lib/view-data/LeagueWalletViewData.ts
Normal file
16
apps/website/lib/view-data/LeagueWalletViewData.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import { ViewData } from "../contracts/view-data/ViewData";
|
||||
|
||||
|
||||
export interface LeagueWalletTransactionViewData extends ViewData {
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user