info contain slugs only

This commit is contained in:
2022-06-17 16:11:18 +03:00
parent dc2f62d300
commit 50d2845c23
3 changed files with 9 additions and 8 deletions

View File

@@ -7,10 +7,10 @@ type Result {
}
type CurrentUserInfo {
totalUnreadMessages : Int
userSubscribedTopics : [String]!
userSubscribedAuthors : [User]!
userSubscribedCommunities : [String]!
totalUnreadMessages: Int
userSubscribedTopics: [String]!
userSubscribedAuthors: [String]!
userSubscribedCommunities: [String]!
}
type AuthResult {
@@ -135,8 +135,8 @@ type Mutation {
updateCommunity(community: CommunityInput!): Community!
deleteCommunity(id: Int!): Result!
subscribe(subscription : SubscriptionType!, slug: String!): Result!
unsubscribe(subscription : SubscriptionType!, slug: String!): Result!
subscribe(what: SubscriptionType!, slug: String!): Result!
unsubscribe(what: SubscriptionType!, slug: String!): Result!
}
################################### Query