|
|
@@ -0,0 +1,173 @@
|
|
|
+/* tslint:disable */
|
|
|
+
|
|
|
+import { ConcreteRequest } from "relay-runtime";
|
|
|
+import { Show_pokemon$ref } from "./Show_pokemon.graphql";
|
|
|
+export type IndexQueryVariables = {};
|
|
|
+export type IndexQueryResponse = {
|
|
|
+ readonly pokemonConnection: {
|
|
|
+ readonly edges: ReadonlyArray<{
|
|
|
+ readonly node: {
|
|
|
+ readonly id: string;
|
|
|
+ readonly " $fragmentRefs": Show_pokemon$ref;
|
|
|
+ } | null;
|
|
|
+ } | null> | null;
|
|
|
+ };
|
|
|
+};
|
|
|
+export type IndexQuery = {
|
|
|
+ readonly response: IndexQueryResponse;
|
|
|
+ readonly variables: IndexQueryVariables;
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+/*
|
|
|
+query IndexQuery {
|
|
|
+ pokemonConnection {
|
|
|
+ edges {
|
|
|
+ node {
|
|
|
+ id
|
|
|
+ ...Show_pokemon
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+fragment Show_pokemon on Pokemon {
|
|
|
+ id
|
|
|
+ iid
|
|
|
+ nickname
|
|
|
+ pokedexNumber
|
|
|
+}
|
|
|
+*/
|
|
|
+
|
|
|
+const node: ConcreteRequest = (function(){
|
|
|
+var v0 = {
|
|
|
+ "kind": "ScalarField",
|
|
|
+ "alias": null,
|
|
|
+ "name": "id",
|
|
|
+ "args": null,
|
|
|
+ "storageKey": null
|
|
|
+};
|
|
|
+return {
|
|
|
+ "kind": "Request",
|
|
|
+ "fragment": {
|
|
|
+ "kind": "Fragment",
|
|
|
+ "name": "IndexQuery",
|
|
|
+ "type": "Query",
|
|
|
+ "metadata": null,
|
|
|
+ "argumentDefinitions": [],
|
|
|
+ "selections": [
|
|
|
+ {
|
|
|
+ "kind": "LinkedField",
|
|
|
+ "alias": null,
|
|
|
+ "name": "pokemonConnection",
|
|
|
+ "storageKey": null,
|
|
|
+ "args": null,
|
|
|
+ "concreteType": "PokemonConnection",
|
|
|
+ "plural": false,
|
|
|
+ "selections": [
|
|
|
+ {
|
|
|
+ "kind": "LinkedField",
|
|
|
+ "alias": null,
|
|
|
+ "name": "edges",
|
|
|
+ "storageKey": null,
|
|
|
+ "args": null,
|
|
|
+ "concreteType": "PokemonEdge",
|
|
|
+ "plural": true,
|
|
|
+ "selections": [
|
|
|
+ {
|
|
|
+ "kind": "LinkedField",
|
|
|
+ "alias": null,
|
|
|
+ "name": "node",
|
|
|
+ "storageKey": null,
|
|
|
+ "args": null,
|
|
|
+ "concreteType": "Pokemon",
|
|
|
+ "plural": false,
|
|
|
+ "selections": [
|
|
|
+ (v0/*: any*/),
|
|
|
+ {
|
|
|
+ "kind": "FragmentSpread",
|
|
|
+ "name": "Show_pokemon",
|
|
|
+ "args": null
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "operation": {
|
|
|
+ "kind": "Operation",
|
|
|
+ "name": "IndexQuery",
|
|
|
+ "argumentDefinitions": [],
|
|
|
+ "selections": [
|
|
|
+ {
|
|
|
+ "kind": "LinkedField",
|
|
|
+ "alias": null,
|
|
|
+ "name": "pokemonConnection",
|
|
|
+ "storageKey": null,
|
|
|
+ "args": null,
|
|
|
+ "concreteType": "PokemonConnection",
|
|
|
+ "plural": false,
|
|
|
+ "selections": [
|
|
|
+ {
|
|
|
+ "kind": "LinkedField",
|
|
|
+ "alias": null,
|
|
|
+ "name": "edges",
|
|
|
+ "storageKey": null,
|
|
|
+ "args": null,
|
|
|
+ "concreteType": "PokemonEdge",
|
|
|
+ "plural": true,
|
|
|
+ "selections": [
|
|
|
+ {
|
|
|
+ "kind": "LinkedField",
|
|
|
+ "alias": null,
|
|
|
+ "name": "node",
|
|
|
+ "storageKey": null,
|
|
|
+ "args": null,
|
|
|
+ "concreteType": "Pokemon",
|
|
|
+ "plural": false,
|
|
|
+ "selections": [
|
|
|
+ (v0/*: any*/),
|
|
|
+ {
|
|
|
+ "kind": "ScalarField",
|
|
|
+ "alias": null,
|
|
|
+ "name": "iid",
|
|
|
+ "args": null,
|
|
|
+ "storageKey": null
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "kind": "ScalarField",
|
|
|
+ "alias": null,
|
|
|
+ "name": "nickname",
|
|
|
+ "args": null,
|
|
|
+ "storageKey": null
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "kind": "ScalarField",
|
|
|
+ "alias": null,
|
|
|
+ "name": "pokedexNumber",
|
|
|
+ "args": null,
|
|
|
+ "storageKey": null
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "params": {
|
|
|
+ "operationKind": "query",
|
|
|
+ "name": "IndexQuery",
|
|
|
+ "id": null,
|
|
|
+ "text": "query IndexQuery {\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",
|
|
|
+ "metadata": {}
|
|
|
+ }
|
|
|
+};
|
|
|
+})();
|
|
|
+(node as any).hash = 'd0f65678ccc4dbf9f8b745dd0213a802';
|
|
|
+export default node;
|