mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 03:06:31 -05:00
bf30cbcf48
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
20 lines
568 B
TypeScript
20 lines
568 B
TypeScript
/*
|
|
* SPDX-FileCopyrightText: 2022 The HedgeDoc developers (see AUTHORS file)
|
|
*
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
|
|
export const eventModuleConfig = {
|
|
wildcard: false,
|
|
delimiter: '.',
|
|
newListener: false,
|
|
removeListener: false,
|
|
maxListeners: 10,
|
|
verboseMemoryLeak: true,
|
|
ignoreErrors: false,
|
|
};
|
|
|
|
export enum NoteEvent {
|
|
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. **/,
|
|
}
|