apollo-language-server
Version:
A language server for Apollo GraphQL projects
25 lines (23 loc) • 449 B
text/typescript
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
}
}
}
}
}
`;