Created
May 28, 2018 02:35
-
-
Save jbaxleyiii/1192d15d9ad15baab522bb93826801e2 to your computer and use it in GitHub Desktop.
This file contains 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
import gql from "graphql-tag"; | |
export const UPLOAD_SCHEMA = gql` | |
mutation UploadSchema( | |
$id: ID! | |
$schema: IntrospectionSchemaInput! | |
$tag: String! | |
$gitContext: GitContextInput | |
) { | |
service(id: $id) { | |
uploadSchema(schema: $schema, tag: $tag, gitContext: $gitContext) { | |
code | |
message | |
success | |
tag { | |
tag | |
schema { | |
hash | |
} | |
} | |
} | |
} | |
} | |
`; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment