mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-01 20:52:24 -05:00
af35cd1bb2
Signed-off-by: David Mehren <git@herrmehren.de>
23 lines
476 B
TypeScript
23 lines
476 B
TypeScript
/*
|
|
* SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
|
|
*
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
|
|
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;
|
|
}
|