mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-26 19:53:59 -05:00
Add 'special' property to GroupInfoDto and rename 'id' to 'name'
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
d0c1c93fba
commit
fbd89977cd
1 changed files with 6 additions and 4 deletions
|
@ -17,16 +17,18 @@ export class NotePermissionEntryUpdateDto {
|
||||||
|
|
||||||
export class GroupInfoDto {
|
export class GroupInfoDto {
|
||||||
@IsString()
|
@IsString()
|
||||||
id: string
|
name: string;
|
||||||
@IsString()
|
@IsString()
|
||||||
displayName: string
|
displayName: string;
|
||||||
|
@IsBoolean()
|
||||||
|
special: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export class NoteGroupPermissionEntryDto {
|
export class NoteGroupPermissionEntryDto {
|
||||||
@ValidateNested()
|
@ValidateNested()
|
||||||
group: GroupInfoDto
|
group: GroupInfoDto;
|
||||||
@IsBoolean()
|
@IsBoolean()
|
||||||
canEdit: boolean
|
canEdit: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export class NotePermissionsDto {
|
export class NotePermissionsDto {
|
||||||
|
|
Loading…
Reference in a new issue