community input
This commit is contained in:
parent
cefc6dfb5d
commit
b489760617
|
@ -41,6 +41,12 @@ input ProfileInput {
|
|||
userpic: String
|
||||
}
|
||||
|
||||
input CommunityInput {
|
||||
title
|
||||
desc
|
||||
pic
|
||||
}
|
||||
|
||||
type ShoutResult {
|
||||
error: String
|
||||
shout: Shout
|
||||
|
@ -102,7 +108,7 @@ type Mutation {
|
|||
rateComment(id: Int!, value: Int!): Result!
|
||||
|
||||
createCommunity(title: String!, desc: String!): Community!
|
||||
updateCommunity(id: Int!, title: String!, desc: String!, pic: String!): Community!
|
||||
updateCommunity(community: CommunityInput!): Community!
|
||||
deleteCommunity(id: Int!): Result!
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user