mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-24 03:57:06 -04:00
feat: add EventEmitterModule to AppModule
Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
35149e8a42
commit
77615f0878
2 changed files with 13 additions and 0 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue