add RoleStorage; add mutations for community
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user