shoutsByTopic, shoutsByAuthor and shoutsByCommunity pagination

This commit is contained in:
knst-kotov
2022-01-08 12:04:45 +03:00
parent 47364e37f4
commit bce71a6be8
2 changed files with 12 additions and 9 deletions

View File

@@ -154,9 +154,9 @@ type Query {
# shouts
getShoutBySlug(slug: String!): Shout!
shoutsByTopic(topic: String!, limit: Int!): [Shout]!
shoutsByAuthor(author: String!, limit: Int!): [Shout]!
shoutsByCommunity(community: String!, limit: Int!): [Shout]!
shoutsByTopic(topic: String!, page: Int!, size: Int!): [Shout]!
shoutsByAuthor(author: String!, page: Int!, size: Int!): [Shout]!
shoutsByCommunity(community: String!, page: Int!, size: Int!): [Shout]!
getShoutComments(slug: String!): [Comment]!
# mainpage