refactor
This commit is contained in:
12
apps/api/src/domain/league/dtos/LeagueAdminPermissionsDTO.ts
Normal file
12
apps/api/src/domain/league/dtos/LeagueAdminPermissionsDTO.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { ApiProperty } from '@nestjs/swagger';
|
||||
import { IsBoolean } from 'class-validator';
|
||||
|
||||
export class LeagueAdminPermissionsDTO {
|
||||
@ApiProperty()
|
||||
@IsBoolean()
|
||||
canRemoveMember: boolean;
|
||||
|
||||
@ApiProperty()
|
||||
@IsBoolean()
|
||||
canUpdateRoles: boolean;
|
||||
}
|
||||
Reference in New Issue
Block a user