hedgedoc/src/history/history-entry.dto.ts

10 lines
243 B
TypeScript
Raw Normal View History

import { IsBoolean, ValidateNested } from 'class-validator';
import { NoteMetadataDto } from '../notes/note-metadata.dto';
export class HistoryEntryDto {
@ValidateNested()
metadata: NoteMetadataDto;
@IsBoolean()
pinStatus: boolean;
}