docs: add documentation about events

Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
Philip Molares 2022-09-24 18:52:02 +02:00 committed by David Mehren
parent 297469b49e
commit 5dffe35ea1
2 changed files with 11 additions and 2 deletions

View file

@ -15,6 +15,6 @@ export const eventModuleConfig = {
};
export enum NoteEvent {
PERMISSION_CHANGE = 'note.permission_change',
DELETION = 'note.deletion',
PERMISSION_CHANGE = 'note.permission_change' /** noteId: The id of the [@link Note], which permissions are changed. **/,
DELETION = 'note.deletion' /** noteId: The id of the [@link Note], which is being deleted. **/,
}