|
@ -49,10 +49,6 @@ type Query { |
|
|
|
|
|
|
|
|
# Find all distinct tags used in stories |
|
|
# Find all distinct tags used in stories |
|
|
tags: [Tag!]! |
|
|
tags: [Tag!]! |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Find current session |
|
|
|
|
|
session: Session! |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
# The Mutation type represents write entry points into the API. |
|
|
# The Mutation type represents write entry points into the API. |
|
@ -137,13 +133,6 @@ type Mutation { |
|
|
|
|
|
|
|
|
# Remove a chapter |
|
|
# Remove a chapter |
|
|
removeChapter(id: String!): Chapter! |
|
|
removeChapter(id: String!): Chapter! |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Log in |
|
|
|
|
|
login(username: String!, password: String!): Session! |
|
|
|
|
|
|
|
|
|
|
|
# Log out |
|
|
|
|
|
logout(): Session! |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
schema { |
|
|
schema { |
|
|