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; }