mirror of
https://github.com/wassname/talk.git
synced 2026-09-09 11:38:08 +08:00
feat: implmentation with Redis
This commit is contained in:
@@ -418,6 +418,12 @@ enum FEATURE_FLAG {
|
||||
"read more of this conversation" in the comment stream.
|
||||
"""
|
||||
READ_MORE_NEW_TAB
|
||||
|
||||
"""
|
||||
VIEWER_COUNT when true will enable the display and tracking of the viewer
|
||||
count.
|
||||
"""
|
||||
VIEWER_COUNT
|
||||
}
|
||||
|
||||
# The moderation mode of the site.
|
||||
@@ -3452,7 +3458,7 @@ type Story {
|
||||
"""
|
||||
viewerCount is the number of viewers active on this Story.
|
||||
"""
|
||||
viewerCount: Int!
|
||||
viewerCount: Int
|
||||
}
|
||||
|
||||
"""
|
||||
@@ -7970,17 +7976,6 @@ type CommentReleasedPayload {
|
||||
comment: Comment!
|
||||
}
|
||||
|
||||
"""
|
||||
LiveStoryViewersUpdatePayload is returned when the viewer count on a story has
|
||||
been updated.
|
||||
"""
|
||||
type LiveStoryViewersUpdatePayload {
|
||||
"""
|
||||
viewerCount is the number of viewers on the selected story.
|
||||
"""
|
||||
viewerCount: Int!
|
||||
}
|
||||
|
||||
type Subscription {
|
||||
"""
|
||||
commentEnteredModerationQueue returns when a Comment enters a ModerationQueue.
|
||||
@@ -8033,9 +8028,4 @@ type Subscription {
|
||||
"""
|
||||
commentFeatured(storyID: ID!): CommentFeaturedPayload!
|
||||
@auth(roles: [MODERATOR, ADMIN])
|
||||
|
||||
"""
|
||||
liveStoryViewersUpdate returns when the number of viewers on a story changes.
|
||||
"""
|
||||
liveStoryViewersUpdate(storyID: ID!): LiveStoryViewersUpdatePayload!
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user