Added add/edit/remove mutations for Chapter
the build was successful

This commit is contained in:
2018-07-07 17:45:24 +02:00
parent a0cb8d7fa8
commit a7113d5efe
3 changed files with 187 additions and 2 deletions
+10
View File
@@ -113,6 +113,16 @@ type Mutation {
removeFile(id: String!): File
# Add a chapter to a story
addChapter(input: ChapterAddInput!): Chapter!
# Edit a chapter
editChapter(input: ChapterEditInput!): Chapter!
# Remove a chapter
removeChapter(id: String!): Chapter!
# Log in
login(username: String!, password: String!): Session!