Changed files graphql query to use a filter argument to look more like other queries.

This commit is contained in:
2018-07-15 15:34:58 +02:00
parent 51489ed901
commit 26d7e36631
5 changed files with 31 additions and 19 deletions
+9
View File
@@ -29,6 +29,15 @@ type File {
url: String
}
# Filter for the files quiery.
input FilesFilter {
# If set, this will limit the results to either public or private files.
public: Boolean
# Limit the MIME types of the files.
mimeTypes: [String!]
}
# Input for editFile mutation
input EditFileInput {
# The file's unique ID