api client refactor
This commit is contained in:
12
apps/website/lib/dtos/LeagueAdminPermissionsDto.ts
Normal file
12
apps/website/lib/dtos/LeagueAdminPermissionsDto.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
/**
|
||||
* League admin permissions transport object
|
||||
* Defines the administrative permissions for a user in a league
|
||||
*/
|
||||
export interface LeagueAdminPermissionsDto {
|
||||
canManageMembers: boolean;
|
||||
canManageRaces: boolean;
|
||||
canManageSettings: boolean;
|
||||
canManageProtests: boolean;
|
||||
isOwner: boolean;
|
||||
isAdmin: boolean;
|
||||
}
|
||||
Reference in New Issue
Block a user