api client refactor
This commit is contained in:
11
apps/website/lib/dtos/PrizeDto.ts
Normal file
11
apps/website/lib/dtos/PrizeDto.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
/**
|
||||
* Prize data transfer object
|
||||
* Represents a prize in a league
|
||||
*/
|
||||
export interface PrizeDto {
|
||||
id: string;
|
||||
name: string;
|
||||
amount: number;
|
||||
currency: string;
|
||||
position?: number;
|
||||
}
|
||||
Reference in New Issue
Block a user