mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-01-22 13:44:47 +00:00
HistoryEntryDto: Add doc comments
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
c38019b0f2
commit
af35cd1bb2
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