api client refactor
This commit is contained in:
13
apps/website/lib/dtos/LeagueAdminDto.ts
Normal file
13
apps/website/lib/dtos/LeagueAdminDto.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import type { LeagueMemberDto } from './LeagueMemberDto';
|
||||
import type { LeagueJoinRequestDto } from './LeagueJoinRequestDto';
|
||||
import type { LeagueConfigFormModelDto } from './LeagueConfigFormModelDto';
|
||||
|
||||
/**
|
||||
* League admin transport object
|
||||
* Contains all data needed for league administration
|
||||
*/
|
||||
export interface LeagueAdminDto {
|
||||
config: LeagueConfigFormModelDto;
|
||||
members: LeagueMemberDto[];
|
||||
joinRequests: LeagueJoinRequestDto[];
|
||||
}
|
||||
Reference in New Issue
Block a user