mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-18 09:52:20 +00:00
Add Content Release notification type (#15101)
This commit is contained in:
parent
e95f1cf003
commit
67a6e6f8ac
3 changed files with 4 additions and 0 deletions
|
|
@ -271,6 +271,7 @@ export default {
|
|||
'onboarding',
|
||||
'importantAnnouncements',
|
||||
'subscriptionReminders',
|
||||
'contentRelease',
|
||||
]),
|
||||
// list of email-only notifications
|
||||
onlyEmailsIds: Object.freeze([
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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 },
|
||||
|
|
|
|||
Loading…
Reference in a new issue