Added addStory, addStoryTag, removeStoryTag, editStory and removeStory mutations

This commit is contained in:
2018-07-08 00:28:52 +02:00
parent 223d9922e9
commit 5895e09f37
3 changed files with 297 additions and 1 deletions
+16
View File
@@ -113,6 +113,22 @@ type Mutation {
removeFile(id: String!): File
# Add a story
addStory(input: StoryAddInput!): Story!
# Add a story tag
addStoryTag(input: StoryTagAddInput!): Story!
# Remove a story tag
removeStoryTag(input: StoryTagRemoveInput!): Story!
# Edit a story
editStory(input: StoryEditInput!): Story!
# Remove a story
removeStory(id: String!): Story!
# Add a chapter to a story
addChapter(input: ChapterAddInput!): Chapter!