add rateUser

This commit is contained in:
knst-kotov
2022-02-16 15:38:05 +03:00
parent 08c00d950f
commit 411470e5ef
2 changed files with 24 additions and 2 deletions

View File

@@ -132,7 +132,7 @@ type Mutation {
viewShout(slug: String!): Result!
# user profile
# rateUser(value: Int!): Result!
rateUser(slug: String!, value: Int!): Result!
# updateOnlineStatus: Result!
updateProfile(profile: ProfileInput!): Result!
@@ -166,7 +166,6 @@ type Query {
# profile
getCurrentUser: UserResult!
getUsersBySlugs(slugs: [String]!): [User]!
# rateUser(shout: Int): Int!
getUserRoles(slug: String!): [Role]!
userComments(slug: String!, page: Int!, size: Int!): [Comment]!
userSubscriptions(slug: String!): [User]!