Group notification types by feature
This commit is contained in:
parent
6a5323c6e7
commit
26a1f75e91
1 changed files with 12 additions and 1 deletions
|
@ -9,16 +9,27 @@ from . import Status, User, UserFollowRequest
|
||||||
class Notification(BookWyrmModel):
|
class Notification(BookWyrmModel):
|
||||||
"""you've been tagged, liked, followed, etc"""
|
"""you've been tagged, liked, followed, etc"""
|
||||||
|
|
||||||
|
# Status interactions
|
||||||
FAVORITE = "FAVORITE"
|
FAVORITE = "FAVORITE"
|
||||||
|
BOOST = "BOOST"
|
||||||
REPLY = "REPLY"
|
REPLY = "REPLY"
|
||||||
MENTION = "MENTION"
|
MENTION = "MENTION"
|
||||||
TAG = "TAG"
|
TAG = "TAG"
|
||||||
|
|
||||||
|
# Relationships
|
||||||
FOLLOW = "FOLLOW"
|
FOLLOW = "FOLLOW"
|
||||||
FOLLOW_REQUEST = "FOLLOW_REQUEST"
|
FOLLOW_REQUEST = "FOLLOW_REQUEST"
|
||||||
BOOST = "BOOST"
|
|
||||||
|
# Imports
|
||||||
IMPORT = "IMPORT"
|
IMPORT = "IMPORT"
|
||||||
|
|
||||||
|
# List activity
|
||||||
ADD = "ADD"
|
ADD = "ADD"
|
||||||
|
|
||||||
|
# Admin
|
||||||
REPORT = "REPORT"
|
REPORT = "REPORT"
|
||||||
|
|
||||||
|
# Groups
|
||||||
INVITE = "INVITE"
|
INVITE = "INVITE"
|
||||||
ACCEPT = "ACCEPT"
|
ACCEPT = "ACCEPT"
|
||||||
JOIN = "JOIN"
|
JOIN = "JOIN"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue