graph2: Added character mutations
the build failed

This commit is contained in:
2018-10-01 22:05:12 +02:00
parent fc488b938d
commit 2317f66920
5 changed files with 175 additions and 0 deletions
+16
View File
@@ -106,6 +106,22 @@ type Mutation {
# Remove a post
removePost(input: PostRemoveInput!): Post!
# Add a new character
addCharacter(input: CharacterAddInput!): Character!
# Add nick to character
addCharacterNick(input: CharacterNickInput!): Character!
# Remove nick from character
removeCharacterNick(input: CharacterNickInput!): Character!
# Edit character
editCharacter(input: CharacterEditInput!): Character!
# Remove a character
removeCharacter(input: CharacterRemoveInput!): Character!
}
# A Date represents a RFC3339 encoded date with up to millisecond precision.
+7
View File
@@ -71,6 +71,7 @@ input CharacterNickInput {
nick: String!
}
# Inpuit for editCharacter mutation
input CharacterEditInput {
# The id for the character to edit
id: String!
@@ -85,3 +86,9 @@ input CharacterEditInput {
description: String
}
# Input for removeCharacter mutation
input CharacterRemoveInput {
# The id for the character to edit
id: String!
}