getTopic, getAuthor

This commit is contained in:
2022-11-10 09:51:40 +03:00
parent 503d6daa93
commit 1720f00839
3 changed files with 16 additions and 1 deletions

View File

@@ -214,6 +214,7 @@ type Query {
userReactedShouts(slug: String!): [Shout]! # test
getUserRoles(slug: String!): [Role]!
authorsAll: [User]!
getAuthor(slug: String!): User!
# shouts
getShoutBySlug(slug: String!): Shout!
@@ -244,6 +245,7 @@ type Query {
markdownBody(body: String!): String!
# topics
getTopic(slug: String!): Topic!
topicsAll: [Topic]!
topicsRandom(amount: Int): [Topic]!
topicsByCommunity(community: String!): [Topic]!