File uploads, mostly. Also added extra behavior to addCharacter.
the build was successful

This commit is contained in:
2019-08-31 22:46:55 +02:00
parent 8a313b3bb2
commit c8ced52e1a
17 changed files with 175 additions and 25 deletions
+2
View File
@@ -64,6 +64,8 @@ enum ChangeModel {
Story
Tag
Chapter
Comment
File
}
"""
+13 -1
View File
@@ -38,9 +38,21 @@ input FilesFilter {
mimeTypes: [String!]
}
# Input for uploadFile mutation
input FileUploadInput {
"The file name"
name: String!
# Whether the file should be public
public: Boolean!
# The actual file upload
file: Upload!
}
# Input for editFile mutation
input EditFileInput {
# The file's unique ID
# The file's unique ID
id: String!
# Whether the file is publicly listable. Someone with knowledge of the ID