add RoleStorage; add mutations for community

This commit is contained in:
knst-kotov
2021-11-24 18:53:01 +03:00
parent 9ab334de71
commit 2d8dc5c3bd
6 changed files with 52 additions and 19 deletions

View File

@@ -100,6 +100,10 @@ type Mutation {
updateComment(id: Int!, body: String!): CommentResult!
deleteComment(id: Int!): Result!
rateComment(id: Int!, value: Int!): Result!
createCommunity(title: String!, desc: String!): Community!
updateCommunity(id: Int!, title: String!, desc: String!, pic: String!): Community!
deleteCommunity(id: Int!): Result!
}
################################### Query