view data fixes
This commit is contained in:
18
apps/website/lib/view-data/PrizeViewData.ts
Normal file
18
apps/website/lib/view-data/PrizeViewData.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* ViewData for Prize
|
||||
* This is the JSON-serializable input for the Template.
|
||||
*/
|
||||
export interface PrizeViewData {
|
||||
id: string;
|
||||
leagueId: string;
|
||||
seasonId: string;
|
||||
position: number;
|
||||
name: string;
|
||||
amount: number;
|
||||
type: string;
|
||||
description?: string;
|
||||
awarded: boolean;
|
||||
awardedTo?: string;
|
||||
awardedAt?: string;
|
||||
createdAt: string;
|
||||
}
|
||||
Reference in New Issue
Block a user