return subscribed shout comments in CurrentUserInfo

This commit is contained in:
knst-kotov
2022-06-29 14:32:56 +03:00
parent 34aeb95ef3
commit 3f7d9c527b
4 changed files with 20 additions and 29 deletions

View File

@@ -7,10 +7,11 @@ type Result {
}
type CurrentUserInfo {
totalUnreadMessages: Int
userSubscribedTopics: [String]!
userSubscribedAuthors: [String]!
userSubscribedCommunities: [String]!
totalUnreadMessages: Int
userSubscribedTopics: [String]!
userSubscribedAuthors: [String]!
userSubscribedCommunities: [String]!
userSubscribedShoutComments: [String]!
}
type AuthResult {
@@ -206,7 +207,6 @@ type Query {
getCommunity(slug: String): Community!
getCommunities: [Community]!
shoutCommentsSubscribed(slug: String!, page: Int!, size: Int!): [Shout]!
shoutsReviewed(page: Int!, size: Int!): [Shout]!
recentCommented(page: Int!, size: Int!): [Shout]!
}