api client refactor
This commit is contained in:
18
apps/website/lib/dtos/LeagueSummaryDto.ts
Normal file
18
apps/website/lib/dtos/LeagueSummaryDto.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* League summary transport object
|
||||
* Contains basic league information for list views
|
||||
*/
|
||||
export interface LeagueSummaryDto {
|
||||
id: string;
|
||||
name: string;
|
||||
description?: string;
|
||||
logoUrl?: string;
|
||||
coverImage?: string;
|
||||
memberCount: number;
|
||||
maxMembers: number;
|
||||
isPublic: boolean;
|
||||
ownerId: string;
|
||||
ownerName?: string;
|
||||
scoringType?: string;
|
||||
status?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user