Changed characters graphql query to use the filter format, changed description for files query to match the others'
the build was successful

This commit is contained in:
2018-07-15 17:55:21 +02:00
parent 18e77b8205
commit ba1c1e0a4b
4 changed files with 85 additions and 33 deletions
+18
View File
@@ -22,6 +22,24 @@ type Character {
description: String!
}
# Filter for characters query
input CharactersFilter {
# Filter by character IDs
ids: [String!]
# Filter by nicks
nicks: [String!]
# Filter by names
names: [String!]
# Filter by author
author: String
# Filter by text search matching against the character's description
search: String
}
# Input for adding characters
input CharacterAddInput {
# The primary IRC nick name to recognize this character by