PrivateAPI: Add history controller

Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
Philip Molares 2021-03-03 15:25:11 +01:00 committed by David Mehren
parent b872694158
commit 29dbf0b657
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3
4 changed files with 225 additions and 2 deletions

View file

@ -0,0 +1,15 @@
/*
* SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
*
* SPDX-License-Identifier: AGPL-3.0-only
*/
import { IsString } from 'class-validator';
export class HistoryEntryCreationDto {
/**
* ID or Alias of the note
*/
@IsString()
note: string;
}