Created
August 13, 2019 07:38
-
-
Save epalaz/5b6ed354cf92ea9dc6f796172d85a52b to your computer and use it in GitHub Desktop.
Client Mutations
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const UPLOAD_FILE = gql` | |
mutation SingleUpload($file: Upload!) { | |
singleUpload(file: $file) { | |
filename | |
mimetype | |
encoding | |
} | |
} | |
`; | |
const UPLOAD_FILE_STREAM = gql` | |
mutation SingleUploadStream($file: Upload!) { | |
singleUploadStream(file: $file) { | |
filename | |
mimetype | |
encoding | |
} | |
} | |
`; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment