More notification tweaks
This commit is contained in:
parent
bf954adaea
commit
b00263c817
2 changed files with 23 additions and 6 deletions
|
@ -1,3 +1,4 @@
|
|||
from enum import unique
|
||||
from enum import Enum
|
||||
from typing import Any
|
||||
from typing import Dict
|
||||
|
@ -7,12 +8,14 @@ from little_boxes import activitypub as ap
|
|||
_SubQuery = Dict[str, Any]
|
||||
|
||||
|
||||
@unique
|
||||
class Box(Enum):
|
||||
INBOX = "inbox"
|
||||
OUTBOX = "outbox"
|
||||
REPLIES = "replies"
|
||||
|
||||
|
||||
@unique
|
||||
class MetaKey(Enum):
|
||||
NOTIFICATION = "notification"
|
||||
NOTIFICATION_UNREAD = "notification_unread"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue