mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-04-14 19:47:03 +00:00
add new notifications types
This commit is contained in:
parent
b0a21e116a
commit
de93b47493
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