mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-29 02:46:25 +02:00
refactor: remove read tracking from mentions (prep for notification center)
This commit is contained in:
parent
25eb240539
commit
80e19a52cb
11 changed files with 7 additions and 227 deletions
|
|
@ -115,7 +115,6 @@ class MentionResponse(BaseModel):
|
|||
"""Schema for a mention notification."""
|
||||
|
||||
id: int
|
||||
read: bool
|
||||
created_at: datetime
|
||||
comment: MentionCommentResponse
|
||||
context: MentionContextResponse
|
||||
|
|
@ -127,4 +126,4 @@ class MentionListResponse(BaseModel):
|
|||
"""Response for listing user's mentions."""
|
||||
|
||||
mentions: list[MentionResponse]
|
||||
unread_count: int
|
||||
total_count: int
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue