1package introspection
2
3// Query is the query generated by graphiql to determine type information
4const Query = `
5query IntrospectionQuery {
6 __schema {
7 queryType {
8 name
9 }
10 mutationType {
11 name
12 }
13 subscriptionType {
14 name
15 }
16 types {
17 ...FullType
18 }
19 directives {
20 name
21 description
22 locations
23 args {
24 ...InputValue
25 }
26 }
27 }
28}
29
30fragment FullType on __Type {
31 kind
32 name
33 description
34 fields(includeDeprecated: true) {
35 name
36 description
37 args {
38 ...InputValue
39 }
40 type {
41 ...TypeRef
42 }
43 isDeprecated
44 deprecationReason
45 }
46 inputFields {
47 ...InputValue
48 }
49 interfaces {
50 ...TypeRef
51 }
52 enumValues(includeDeprecated: true) {
53 name
54 description
55 isDeprecated
56 deprecationReason
57 }
58 possibleTypes {
59 ...TypeRef
60 }
61}
62
63fragment InputValue on __InputValue {
64 name
65 description
66 type {
67 ...TypeRef
68 }
69 defaultValue
70}
71
72fragment TypeRef on __Type {
73 kind
74 name
75 ofType {
76 kind
77 name
78 ofType {
79 kind
80 name
81 ofType {
82 kind
83 name
84 ofType {
85 kind
86 name
87 ofType {
88 kind
89 name
90 ofType {
91 kind
92 name
93 ofType {
94 kind
95 name
96 }
97 }
98 }
99 }
100 }
101 }
102 }
103}
104`