mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-30 23:05:30 -04:00
PrivateAPI: Add history controller
Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
9e55af1247
commit
7f399735f6
4 changed files with 225 additions and 2 deletions
15
src/history/history-entry-creation.dto.ts
Normal file
15
src/history/history-entry-creation.dto.ts
Normal 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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue