recent shouts resolve

This commit is contained in:
2021-10-30 22:15:29 +03:00
parent fb01b2cc78
commit b02f23e82b
3 changed files with 21 additions and 12 deletions

View File

@@ -100,7 +100,6 @@ type Query {
# shouts
getShoutBySlug(slug: String!): Shout!
# NOTE: with .comments: Comments[]
recentShouts(limit: Int): [Shout]!
shoutsByTopic(topic: String!, limit: Int!): [Shout]!
shoutsByAuthor(author: String!, limit: Int!): [Shout]!
shoutsByCommunity(community: String!, limit: Int!): [Shout]!
@@ -108,7 +107,8 @@ type Query {
# mainpage
topShoutsByView(limit: Int): [Shout]!
topShoutsByRating(limit: Int): [Shout]!
favoritesShouts(limit: Int): [Shout]!
favoriteShouts(limit: Int): [Shout]!
recentShouts(limit: Int): [Shout]!
topAuthors(limit: Int): [User]!
# topics