add getShoutComments
This commit is contained in:
@@ -136,10 +136,11 @@ type Query {
|
||||
getMessages(count: Int = 100, page: Int = 1): [Message!]!
|
||||
|
||||
# shouts
|
||||
getShoutBySlug(slug: String!): Shout! # NOTE: with .comments: Comments[]
|
||||
getShoutBySlug(slug: String!): Shout!
|
||||
shoutsByTopic(topic: String!, limit: Int!): [Shout]!
|
||||
shoutsByAuthor(author: String!, limit: Int!): [Shout]!
|
||||
shoutsByCommunity(community: String!, limit: Int!): [Shout]!
|
||||
getShoutComments(shout_id: Int!): [Comment]!
|
||||
|
||||
# mainpage
|
||||
topViewed(limit: Int): [Shout]!
|
||||
|
Reference in New Issue
Block a user