authors_by_slugs

This commit is contained in:
2021-11-25 05:45:22 +03:00
parent 9ab334de71
commit 05e8d57bdc
3 changed files with 15 additions and 4 deletions

View File

@@ -120,8 +120,7 @@ type Query {
getMessages(count: Int = 100, page: Int = 1): [Message!]!
# shouts
getShoutBySlug(slug: String!): Shout!
# NOTE: with .comments: Comments[]
getShoutBySlug(slug: String!): Shout! # NOTE: with .comments: Comments[]
shoutsByTopic(topic: String!, limit: Int!): [Shout]!
shoutsByAuthor(author: String!, limit: Int!): [Shout]!
shoutsByCommunity(community: String!, limit: Int!): [Shout]!
@@ -143,6 +142,9 @@ type Query {
# communities
getCommunity(slug: String): Community!
getCommunities: [Community]!
# my feed
authorsBySlugs(slugs: [String]!): [User]!
}
############################################ Subscription