mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-02-12 08:41:19 +00:00
HistoryEntryDto: Add doc comments
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
3f16a398d2
commit
3dc223847d
1 changed files with 8 additions and 0 deletions
|
@ -8,8 +8,16 @@ import { IsBoolean, ValidateNested } from 'class-validator';
|
|||
import { NoteMetadataDto } from '../notes/note-metadata.dto';
|
||||
|
||||
export class HistoryEntryDto {
|
||||
/**
|
||||
* Metadata of this note
|
||||
*/
|
||||
@ValidateNested()
|
||||
metadata: NoteMetadataDto;
|
||||
|
||||
/**
|
||||
* True if this note is pinned
|
||||
* @example false
|
||||
*/
|
||||
@IsBoolean()
|
||||
pinStatus: boolean;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue