diff options
Diffstat (limited to 'modules/structs/notifications.go')
-rw-r--r-- | modules/structs/notifications.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/structs/notifications.go b/modules/structs/notifications.go index b1e8b7781c..b6c9774a97 100644 --- a/modules/structs/notifications.go +++ b/modules/structs/notifications.go @@ -26,3 +26,8 @@ type NotificationSubject struct { LatestCommentURL string `json:"latest_comment_url"` Type string `json:"type" binding:"In(Issue,Pull,Commit)"` } + +// NotificationCount number of unread notifications +type NotificationCount struct { + New int64 `json:"new"` +} |