mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-14 23:24:46 -04:00
NotesService: Implement updateNoteMetadata
Signed-off-by: David Mehren <git@herrmehren.de> Co-authored-by: Yannick Bungers <git@innay.de>
This commit is contained in:
parent
6541cfda4e
commit
08fd070bcb
2 changed files with 32 additions and 2 deletions
|
@ -34,3 +34,13 @@ export class NoteMetadataDto {
|
|||
@ValidateNested()
|
||||
permissions: NotePermissionsDto;
|
||||
}
|
||||
|
||||
export class NoteMetadataUpdateDto {
|
||||
@IsString()
|
||||
title: string;
|
||||
@IsString()
|
||||
description: string;
|
||||
@IsArray()
|
||||
@IsString({ each: true })
|
||||
tags: string[];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue