AppPokemonIndexQuery.graphql.ts 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. /* tslint:disable */
  2. import {ConcreteRequest} from 'relay-runtime';
  3. type Show_pokemon$ref = any;
  4. export type AppPokemonIndexQueryVariables = {};
  5. export type AppPokemonIndexQueryResponse = {
  6. readonly pokemonConnection: {
  7. readonly edges: ReadonlyArray<{
  8. readonly node: {
  9. readonly id: string;
  10. readonly ' $fragmentRefs': Show_pokemon$ref;
  11. } | null;
  12. } | null> | null;
  13. };
  14. };
  15. export type AppPokemonIndexQuery = {
  16. readonly response: AppPokemonIndexQueryResponse;
  17. readonly variables: AppPokemonIndexQueryVariables;
  18. };
  19. /*
  20. query AppPokemonIndexQuery {
  21. pokemonConnection {
  22. edges {
  23. node {
  24. id
  25. ...Show_pokemon
  26. }
  27. }
  28. }
  29. }
  30. fragment Show_pokemon on Pokemon {
  31. id
  32. iid
  33. nickname
  34. pokedexNumber
  35. }
  36. */
  37. const node: ConcreteRequest = (function() {
  38. const v0 = {
  39. 'kind': 'ScalarField',
  40. 'alias': null,
  41. 'name': 'id',
  42. 'args': null,
  43. 'storageKey': null
  44. };
  45. return {
  46. 'kind': 'Request',
  47. 'fragment': {
  48. 'kind': 'Fragment',
  49. 'name': 'AppPokemonIndexQuery',
  50. 'type': 'Query',
  51. 'metadata': null,
  52. 'argumentDefinitions': [],
  53. 'selections': [
  54. {
  55. 'kind': 'LinkedField',
  56. 'alias': null,
  57. 'name': 'pokemonConnection',
  58. 'storageKey': null,
  59. 'args': null,
  60. 'concreteType': 'PokemonConnection',
  61. 'plural': false,
  62. 'selections': [
  63. {
  64. 'kind': 'LinkedField',
  65. 'alias': null,
  66. 'name': 'edges',
  67. 'storageKey': null,
  68. 'args': null,
  69. 'concreteType': 'PokemonEdge',
  70. 'plural': true,
  71. 'selections': [
  72. {
  73. 'kind': 'LinkedField',
  74. 'alias': null,
  75. 'name': 'node',
  76. 'storageKey': null,
  77. 'args': null,
  78. 'concreteType': 'Pokemon',
  79. 'plural': false,
  80. 'selections': [
  81. (v0/*: any*/),
  82. {
  83. 'kind': 'FragmentSpread',
  84. 'name': 'Show_pokemon',
  85. 'args': null
  86. }
  87. ]
  88. }
  89. ]
  90. }
  91. ]
  92. }
  93. ]
  94. },
  95. 'operation': {
  96. 'kind': 'Operation',
  97. 'name': 'AppPokemonIndexQuery',
  98. 'argumentDefinitions': [],
  99. 'selections': [
  100. {
  101. 'kind': 'LinkedField',
  102. 'alias': null,
  103. 'name': 'pokemonConnection',
  104. 'storageKey': null,
  105. 'args': null,
  106. 'concreteType': 'PokemonConnection',
  107. 'plural': false,
  108. 'selections': [
  109. {
  110. 'kind': 'LinkedField',
  111. 'alias': null,
  112. 'name': 'edges',
  113. 'storageKey': null,
  114. 'args': null,
  115. 'concreteType': 'PokemonEdge',
  116. 'plural': true,
  117. 'selections': [
  118. {
  119. 'kind': 'LinkedField',
  120. 'alias': null,
  121. 'name': 'node',
  122. 'storageKey': null,
  123. 'args': null,
  124. 'concreteType': 'Pokemon',
  125. 'plural': false,
  126. 'selections': [
  127. (v0/*: any*/),
  128. {
  129. 'kind': 'ScalarField',
  130. 'alias': null,
  131. 'name': 'iid',
  132. 'args': null,
  133. 'storageKey': null
  134. },
  135. {
  136. 'kind': 'ScalarField',
  137. 'alias': null,
  138. 'name': 'nickname',
  139. 'args': null,
  140. 'storageKey': null
  141. },
  142. {
  143. 'kind': 'ScalarField',
  144. 'alias': null,
  145. 'name': 'pokedexNumber',
  146. 'args': null,
  147. 'storageKey': null
  148. }
  149. ]
  150. }
  151. ]
  152. }
  153. ]
  154. }
  155. ]
  156. },
  157. 'params': {
  158. 'operationKind': 'query',
  159. 'name': 'AppPokemonIndexQuery',
  160. 'id': null,
  161. 'text': 'query AppPokemonIndexQuery {\n pokemonConnection {\n edges {\n node {\n id\n ...Show_pokemon\n }\n }\n }\n}\n\nfragment Show_pokemon on Pokemon {\n id\n iid\n nickname\n pokedexNumber\n}\n',
  162. 'metadata': {}
  163. }
  164. };
  165. })();
  166. (node as any).hash = 'bd8d28f417b6cf2d9c83547f6107b4a8';
  167. export default node;