From af35cd1bb2f654eb8aae7997479dbc0a9a73a092 Mon Sep 17 00:00:00 2001 From: David Mehren Date: Mon, 25 Jan 2021 22:45:52 +0100 Subject: [PATCH] HistoryEntryDto: Add doc comments Signed-off-by: David Mehren --- src/history/history-entry.dto.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/history/history-entry.dto.ts b/src/history/history-entry.dto.ts index 32e9c6e45..b990c92e4 100644 --- a/src/history/history-entry.dto.ts +++ b/src/history/history-entry.dto.ts @@ -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; }