mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-08 21:38:43 +00:00
add new notifications types
This commit is contained in:
parent
1ce09aeb34
commit
ec7c25de9f
1 changed files with 7 additions and 0 deletions
|
|
@ -14,6 +14,7 @@ const NOTIFICATION_TYPES = [
|
|||
'CRON',
|
||||
'GROUP_TASK_APPROVAL',
|
||||
'GROUP_TASK_APPROVED',
|
||||
'GROUP_TASK_NEEDS_WORK',
|
||||
'LOGIN_INCENTIVE',
|
||||
'GROUP_INVITE_ACCEPTED',
|
||||
'SCORED_TASK',
|
||||
|
|
@ -22,6 +23,12 @@ const NOTIFICATION_TYPES = [
|
|||
'GUILD_JOINED_ACHIEVEMENT',
|
||||
'CHALLENGE_JOINED_ACHIEVEMENT',
|
||||
'INVITED_FRIEND_ACHIEVEMENT',
|
||||
'CARD_RECEIVED',
|
||||
'NEW_MYSTERY_ITEMS',
|
||||
'UNALLOCATED_STATS_POINTS',
|
||||
'NEW_INBOX_MESSAGE',
|
||||
'NEW_STUFF',
|
||||
'NEW_CHAT_MESSAGE',
|
||||
];
|
||||
|
||||
const Schema = mongoose.Schema;
|
||||
|
|
|
|||
Loading…
Reference in a new issue