1 | "use strict";
|
2 | var __importDefault = (this && this.__importDefault) || function (mod) {
|
3 | return (mod && mod.__esModule) ? mod : { "default": mod };
|
4 | };
|
5 | Object.defineProperty(exports, "__esModule", { value: true });
|
6 | exports.CHECK_SCHEMA = void 0;
|
7 | const graphql_tag_1 = __importDefault(require("graphql-tag"));
|
8 | exports.CHECK_SCHEMA = graphql_tag_1.default `
|
9 | mutation CheckSchema(
|
10 | $id: ID!
|
11 | $schema: IntrospectionSchemaInput
|
12 | $schemaHash: String
|
13 | $tag: String
|
14 | $gitContext: GitContextInput
|
15 | $historicParameters: HistoricQueryParameters
|
16 | ) {
|
17 | service(id: $id) {
|
18 | checkSchema(
|
19 | proposedSchema: $schema
|
20 | proposedSchemaHash: $schemaHash
|
21 | baseSchemaTag: $tag
|
22 | gitContext: $gitContext
|
23 | historicParameters: $historicParameters
|
24 | ) {
|
25 | targetUrl
|
26 | diffToPrevious {
|
27 | severity
|
28 | affectedClients {
|
29 | __typename
|
30 | }
|
31 | affectedQueries {
|
32 | __typename
|
33 | }
|
34 | numberOfCheckedOperations
|
35 | changes {
|
36 | severity
|
37 | code
|
38 | description
|
39 | }
|
40 | validationConfig {
|
41 | from
|
42 | to
|
43 | queryCountThreshold
|
44 | queryCountThresholdPercentage
|
45 | }
|
46 | }
|
47 | }
|
48 | }
|
49 | }
|
50 | `;
|
51 |
|
\ | No newline at end of file |