feat: add EventEmitterModule to AppModule

Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
Philip Molares 2022-09-22 22:08:23 +02:00 committed by David Mehren
parent 35149e8a42
commit 77615f0878
2 changed files with 13 additions and 0 deletions

View file

@ -4,6 +4,16 @@
* 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',
DELETION = 'note.deletion',