website refactor
This commit is contained in:
13
apps/website/lib/view-data/leagues/LeagueWalletViewData.ts
Normal file
13
apps/website/lib/view-data/leagues/LeagueWalletViewData.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
export interface LeagueWalletViewData {
|
||||
leagueId: string;
|
||||
balance: number;
|
||||
currency: string;
|
||||
transactions: Array<{
|
||||
id: string;
|
||||
type: 'deposit' | 'withdrawal' | 'sponsorship' | 'prize';
|
||||
amount: number;
|
||||
description: string;
|
||||
createdAt: string;
|
||||
status: 'completed' | 'pending' | 'failed';
|
||||
}>;
|
||||
}
|
||||
Reference in New Issue
Block a user