import gql from "graphql-tag"; export const CHECK_SCHEMA = gql` mutation CheckSchema( $id: ID! $schema: IntrospectionSchemaInput! $tag: String $gitContext: GitContextInput $historicParameters: HistoricQueryParameters $frontend: String ) { service(id: $id) { checkSchema( proposedSchema: $schema baseSchemaTag: $tag gitContext: $gitContext historicParameters: $historicParameters frontend: $frontend ) { targetUrl diffToPrevious { type affectedClients { __typename } affectedQueries { __typename } numberOfCheckedOperations changes { type code description } validationConfig { from to queryCountThreshold queryCountThresholdPercentage } } } } } `;