api client refactor
This commit is contained in:
11
apps/website/lib/dtos/CreateLeagueInputDto.ts
Normal file
11
apps/website/lib/dtos/CreateLeagueInputDto.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
/**
|
||||
* Create league input transport object
|
||||
* Input data for creating a new league
|
||||
*/
|
||||
export interface CreateLeagueInputDto {
|
||||
name: string;
|
||||
description?: string;
|
||||
isPublic: boolean;
|
||||
maxMembers: number;
|
||||
ownerId: string;
|
||||
}
|
||||
Reference in New Issue
Block a user