UI for file stuff.
the build was successful

This commit is contained in:
2019-09-15 16:34:16 +02:00
parent c8ced52e1a
commit 5dbed6d632
7 changed files with 73 additions and 16 deletions
+6
View File
@@ -168,6 +168,12 @@ type Mutation {
"Upload a file"
uploadFile(input: FileUploadInput): File!
"Edit a file"
editFile(input: FileEditInput): File!
"Remove a file"
removeFile(input: FileRemoveInput): File!
}
type Subscription {
+1 -1
View File
@@ -27,7 +27,7 @@ type Change {
objects: [ChangeObject!]!
}
union ChangeObject = Character | Channel | Log | Post | Story | Tag | Chapter | Comment
union ChangeObject = Character | Channel | Log | Post | Story | Tag | Chapter | Comment | File
"""
A change key is a key associated with a change, used for filtering
+7 -1
View File
@@ -51,7 +51,7 @@ input FileUploadInput {
}
# Input for editFile mutation
input EditFileInput {
input FileEditInput {
# The file's unique ID
id: String!
@@ -61,4 +61,10 @@ input EditFileInput {
# The file's name
name: String
}
# Input for removeFile mutation
input FileRemoveInput {
# The file's unique ID
id: String!
}