topShoutsByView and topShoutsByRating

This commit is contained in:
knst-kotov
2021-08-30 10:41:59 +03:00
parent 862c19ed15
commit def6a59163
4 changed files with 24 additions and 15 deletions

View File

@@ -98,9 +98,10 @@ type Query {
# shoutsByTags(tags: [String]): [Shout]!
# shoutsByTime(time: DateTime): [Shout]!
topShoutsByView(limit: Int): [Shout]!
topShoutsByRating(limit: Int): [Shout]!
# getOnlineUsers: [User!]!
topAuthors: [User]!
topShouts: [Shout]!
}
############################################ Subscription