UNPKG

2.06 kBJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3const graphql_tag_1 = require("graphql-tag");
4exports.SCHEMA_QUERY = graphql_tag_1.default `
5 query GetSchemaByTag($id: ID!, $tag: String!) {
6 service(id: $id) {
7 schema(tag: $tag) {
8 hash
9 __schema: introspection {
10 queryType {
11 name
12 }
13 mutationType {
14 name
15 }
16 subscriptionType {
17 name
18 }
19 types {
20 ...IntrospectionFullType
21 }
22 directives {
23 name
24 description
25 locations
26 args {
27 ...IntrospectionInputValue
28 }
29 }
30 }
31 }
32 }
33 }
34
35 fragment IntrospectionFullType on IntrospectionType {
36 kind
37 name
38 description
39 fields {
40 name
41 description
42 args {
43 ...IntrospectionInputValue
44 }
45 type {
46 ...IntrospectionTypeRef
47 }
48 isDeprecated
49 deprecationReason
50 }
51 inputFields {
52 ...IntrospectionInputValue
53 }
54 interfaces {
55 ...IntrospectionTypeRef
56 }
57 enumValues(includeDeprecated: true) {
58 name
59 description
60 isDeprecated
61 depreactionReason
62 }
63 possibleTypes {
64 ...IntrospectionTypeRef
65 }
66 }
67
68 fragment IntrospectionInputValue on IntrospectionInputValue {
69 name
70 description
71 type {
72 ...IntrospectionTypeRef
73 }
74 defaultValue
75 }
76
77 fragment IntrospectionTypeRef on IntrospectionType {
78 kind
79 name
80 ofType {
81 kind
82 name
83 ofType {
84 kind
85 name
86 ofType {
87 kind
88 name
89 ofType {
90 kind
91 name
92 ofType {
93 kind
94 name
95 ofType {
96 kind
97 name
98 ofType {
99 kind
100 name
101 }
102 }
103 }
104 }
105 }
106 }
107 }
108 }
109`;
110//# sourceMappingURL=schema.js.map
\No newline at end of file