mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-03 03:58:55 -05:00
10 lines
243 B
TypeScript
10 lines
243 B
TypeScript
|
import { IsBoolean, ValidateNested } from 'class-validator';
|
||
|
import { NoteMetadataDto } from '../notes/note-metadata.dto';
|
||
|
|
||
|
export class HistoryEntryDto {
|
||
|
@ValidateNested()
|
||
|
metadata: NoteMetadataDto;
|
||
|
@IsBoolean()
|
||
|
pinStatus: boolean;
|
||
|
}
|