Notifications refactor (#5151
* Ongoing * refactor * test * Add cleanup task * refactor
This commit is contained in:
@@ -165,7 +165,8 @@ export enum NotificationEventType {
|
||||
UpdateDocument = "documents.update",
|
||||
CreateCollection = "collections.create",
|
||||
CreateComment = "comments.create",
|
||||
Mentioned = "comments.mentioned",
|
||||
MentionedInDocument = "documents.mentioned",
|
||||
MentionedInComment = "comments.mentioned",
|
||||
InviteAccepted = "emails.invite_accepted",
|
||||
Onboarding = "emails.onboarding",
|
||||
Features = "emails.features",
|
||||
@@ -191,7 +192,8 @@ export const NotificationEventDefaults = {
|
||||
[NotificationEventType.UpdateDocument]: true,
|
||||
[NotificationEventType.CreateCollection]: false,
|
||||
[NotificationEventType.CreateComment]: true,
|
||||
[NotificationEventType.Mentioned]: true,
|
||||
[NotificationEventType.MentionedInDocument]: true,
|
||||
[NotificationEventType.MentionedInComment]: true,
|
||||
[NotificationEventType.InviteAccepted]: true,
|
||||
[NotificationEventType.Onboarding]: true,
|
||||
[NotificationEventType.Features]: true,
|
||||
|
||||
Reference in New Issue
Block a user