Add Content Release notification type (#15101)

This commit is contained in:
Phillip Thelen 2024-02-06 21:06:44 +01:00 committed by GitHub
parent e95f1cf003
commit 67a6e6f8ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 0 deletions

View file

@ -271,6 +271,7 @@ export default {
'onboarding',
'importantAnnouncements',
'subscriptionReminders',
'contentRelease',
]),
// list of email-only notifications
onlyEmailsIds: Object.freeze([

View file

@ -134,6 +134,7 @@
"weeklyRecaps": "Summaries of your account activity in the past week (Note: this is currently disabled due to performance issues, but we hope to have this back up and sending e-mails again soon!)",
"onboarding": "Guidance with setting up your Habitica account",
"majorUpdates": "Important announcements",
"contentRelease": "Content releases + Events",
"subscriptionReminders": "Subscriptions Reminders",
"questStarted": "Your Quest has Begun",
"invitedQuest": "Invited to Quest",

View file

@ -576,6 +576,7 @@ export const UserSchema = new Schema({
onboarding: { $type: Boolean, default: true },
majorUpdates: { $type: Boolean, default: true },
subscriptionReminders: { $type: Boolean, default: true },
contentRelease: { $type: Boolean, default: true },
},
pushNotifications: {
unsubscribeFromAll: { $type: Boolean, default: false },
@ -592,6 +593,7 @@ export const UserSchema = new Schema({
mentionJoinedGuild: { $type: Boolean, default: true },
mentionUnjoinedGuild: { $type: Boolean, default: true },
partyActivity: { $type: Boolean, default: true },
contentRelease: { $type: Boolean, default: true },
},
suppressModals: {
levelUp: { $type: Boolean, default: false },