| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177 |
- /* tslint:disable */
- import { ConcreteRequest } from "relay-runtime";
- export type relayTestQueryVariables = {
- readonly pokemonID: string;
- };
- export type relayTestQueryResponse = {
- readonly node: ({
- readonly id: string;
- readonly iid?: string;
- readonly nickname?: string | null;
- readonly pokedexNumber?: number | null;
- readonly createdAt?: any | null;
- readonly updatedAt?: any | null;
- } & ({
- readonly iid: string;
- readonly nickname: string | null;
- readonly pokedexNumber: number | null;
- readonly createdAt: any | null;
- readonly updatedAt: any | null;
- } | {
- /*This will never be '% other', but we need some
- value in case none of the concrete values match.*/
- readonly __typename: "%other";
- })) | null;
- };
- export type relayTestQuery = {
- readonly response: relayTestQueryResponse;
- readonly variables: relayTestQueryVariables;
- };
- /*
- query relayTestQuery(
- $pokemonID: ID!
- ) {
- node(id: $pokemonID) {
- __typename
- id
- ... on Pokemon {
- iid
- nickname
- pokedexNumber
- 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
- },
- v3 = {
- "kind": "InlineFragment",
- "type": "Pokemon",
- "selections": [
- {
- "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
- },
- {
- "kind": "ScalarField",
- "alias": null,
- "name": "createdAt",
- "args": null,
- "storageKey": null
- },
- {
- "kind": "ScalarField",
- "alias": null,
- "name": "updatedAt",
- "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*/),
- (v3/*: any*/)
- ]
- }
- ]
- },
- "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*/),
- (v3/*: any*/)
- ]
- }
- ]
- },
- "params": {
- "operationKind": "query",
- "name": "relayTestQuery",
- "id": null,
- "text": "query relayTestQuery(\n $pokemonID: ID!\n) {\n node(id: $pokemonID) {\n __typename\n id\n ... on Pokemon {\n iid\n nickname\n pokedexNumber\n createdAt\n updatedAt\n }\n }\n}\n",
- "metadata": {}
- }
- };
- })();
- (node as any).hash = 'e6c54ffb0601f6ba184996353729e284';
- export default node;
|