relayTestQuery.graphql.ts 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. /* tslint:disable */
  2. import { ConcreteRequest } from "relay-runtime";
  3. export type relayTestQueryVariables = {};
  4. export type relayTestQueryResponse = {
  5. readonly manyPokemon: ReadonlyArray<{
  6. readonly id: string;
  7. readonly iid: string;
  8. readonly nickname: string | null;
  9. }>;
  10. };
  11. export type relayTestQuery = {
  12. readonly response: relayTestQueryResponse;
  13. readonly variables: relayTestQueryVariables;
  14. };
  15. /*
  16. query relayTestQuery {
  17. manyPokemon {
  18. id
  19. iid
  20. nickname
  21. }
  22. }
  23. */
  24. const node: ConcreteRequest = (function(){
  25. var v0 = [
  26. {
  27. "kind": "LinkedField",
  28. "alias": null,
  29. "name": "manyPokemon",
  30. "storageKey": null,
  31. "args": null,
  32. "concreteType": "Pokemon",
  33. "plural": true,
  34. "selections": [
  35. {
  36. "kind": "ScalarField",
  37. "alias": null,
  38. "name": "id",
  39. "args": null,
  40. "storageKey": null
  41. },
  42. {
  43. "kind": "ScalarField",
  44. "alias": null,
  45. "name": "iid",
  46. "args": null,
  47. "storageKey": null
  48. },
  49. {
  50. "kind": "ScalarField",
  51. "alias": null,
  52. "name": "nickname",
  53. "args": null,
  54. "storageKey": null
  55. }
  56. ]
  57. }
  58. ];
  59. return {
  60. "kind": "Request",
  61. "fragment": {
  62. "kind": "Fragment",
  63. "name": "relayTestQuery",
  64. "type": "Query",
  65. "metadata": null,
  66. "argumentDefinitions": [],
  67. "selections": (v0/*: any*/)
  68. },
  69. "operation": {
  70. "kind": "Operation",
  71. "name": "relayTestQuery",
  72. "argumentDefinitions": [],
  73. "selections": (v0/*: any*/)
  74. },
  75. "params": {
  76. "operationKind": "query",
  77. "name": "relayTestQuery",
  78. "id": null,
  79. "text": "query relayTestQuery {\n manyPokemon {\n id\n iid\n nickname\n }\n}\n",
  80. "metadata": {}
  81. }
  82. };
  83. })();
  84. (node as any).hash = '5eed67aa0a2af74dfb92fe2656178710';
  85. export default node;