| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169 |
- /* tslint:disable */
- import { ConcreteRequest } from "relay-runtime";
- import { Show_pokemon$ref } from "./Show_pokemon.graphql";
- export type RelayTestQueryVariables = {
- readonly pokemonID: string;
- };
- export type RelayTestQueryResponse = {
- readonly node: {
- readonly id: string;
- readonly " $fragmentRefs": Show_pokemon$ref;
- } | null;
- };
- export type RelayTestQuery = {
- readonly response: RelayTestQueryResponse;
- readonly variables: RelayTestQueryVariables;
- };
- /*
- query RelayTestQuery(
- $pokemonID: ID!
- ) {
- node(id: $pokemonID) {
- __typename
- id
- ...Show_pokemon
- }
- }
- fragment Show_pokemon on Pokemon {
- iid
- pokedexNumber
- nickname
- createdAt
- updatedAt
- }
- */
- const node: ConcreteRequest = (function(){
- var v0 = [
- {
- "kind": "LocalArgument",
- "name": "pokemonID",
- "type": "ID!",
- "defaultValue": null
- }
- ],
- v1 = [
- {
- "kind": "Variable",
- "name": "id",
- "variableName": "pokemonID"
- }
- ],
- v2 = {
- "kind": "ScalarField",
- "alias": null,
- "name": "id",
- "args": null,
- "storageKey": null
- };
- return {
- "kind": "Request",
- "fragment": {
- "kind": "Fragment",
- "name": "RelayTestQuery",
- "type": "Query",
- "metadata": null,
- "argumentDefinitions": (v0/*: any*/),
- "selections": [
- {
- "kind": "LinkedField",
- "alias": null,
- "name": "node",
- "storageKey": null,
- "args": (v1/*: any*/),
- "concreteType": null,
- "plural": false,
- "selections": [
- (v2/*: any*/),
- {
- "kind": "FragmentSpread",
- "name": "Show_pokemon",
- "args": null
- }
- ]
- }
- ]
- },
- "operation": {
- "kind": "Operation",
- "name": "RelayTestQuery",
- "argumentDefinitions": (v0/*: any*/),
- "selections": [
- {
- "kind": "LinkedField",
- "alias": null,
- "name": "node",
- "storageKey": null,
- "args": (v1/*: any*/),
- "concreteType": null,
- "plural": false,
- "selections": [
- {
- "kind": "ScalarField",
- "alias": null,
- "name": "__typename",
- "args": null,
- "storageKey": null
- },
- (v2/*: any*/),
- {
- "kind": "InlineFragment",
- "type": "Pokemon",
- "selections": [
- {
- "kind": "ScalarField",
- "alias": null,
- "name": "iid",
- "args": null,
- "storageKey": null
- },
- {
- "kind": "ScalarField",
- "alias": null,
- "name": "pokedexNumber",
- "args": null,
- "storageKey": null
- },
- {
- "kind": "ScalarField",
- "alias": null,
- "name": "nickname",
- "args": null,
- "storageKey": null
- },
- {
- "kind": "ScalarField",
- "alias": null,
- "name": "createdAt",
- "args": null,
- "storageKey": null
- },
- {
- "kind": "ScalarField",
- "alias": null,
- "name": "updatedAt",
- "args": null,
- "storageKey": null
- }
- ]
- }
- ]
- }
- ]
- },
- "params": {
- "operationKind": "query",
- "name": "RelayTestQuery",
- "id": null,
- "text": "query RelayTestQuery(\n $pokemonID: ID!\n) {\n node(id: $pokemonID) {\n __typename\n id\n ...Show_pokemon\n }\n}\n\nfragment Show_pokemon on Pokemon {\n iid\n pokedexNumber\n nickname\n createdAt\n updatedAt\n}\n",
- "metadata": {}
- }
- };
- })();
- (node as any).hash = '5cc26eba38e52d446431338efeb125fe';
- export default node;
|