Add 'special' property to GroupInfoDto and rename 'id' to 'name'

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2020-07-27 22:38:46 +02:00
parent aa462674bc
commit a5ffbb6e7f
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3

View file

@ -17,16 +17,18 @@ export class NotePermissionEntryUpdateDto {
export class GroupInfoDto {
@IsString()
id: string
name: string;
@IsString()
displayName: string
displayName: string;
@IsBoolean()
special: boolean;
}
export class NoteGroupPermissionEntryDto {
@ValidateNested()
group: GroupInfoDto
group: GroupInfoDto;
@IsBoolean()
canEdit: boolean
canEdit: boolean;
}
export class NotePermissionsDto {