|
|
@@ -1,32 +1,34 @@
|
|
|
-/**
|
|
|
- * @flow
|
|
|
- * @relayHash 15295653110344d1defec51df1d8340a
|
|
|
- */
|
|
|
+/* tslint:disable */
|
|
|
|
|
|
-/* eslint-disable */
|
|
|
-
|
|
|
-'use strict';
|
|
|
+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;
|
|
|
+};
|
|
|
|
|
|
-/*::
|
|
|
-import type { ConcreteRequest } from 'relay-runtime';
|
|
|
-export type relayTestQueryVariables = {|
|
|
|
- pokemonID: string
|
|
|
-|};
|
|
|
-export type relayTestQueryResponse = {|
|
|
|
- +node: ?{|
|
|
|
- +id: string,
|
|
|
- +iid?: string,
|
|
|
- +nickname?: ?string,
|
|
|
- +pokedexNumber?: ?number,
|
|
|
- +createdAt?: ?any,
|
|
|
- +updatedAt?: ?any,
|
|
|
- |}
|
|
|
-|};
|
|
|
-export type relayTestQuery = {|
|
|
|
- variables: relayTestQueryVariables,
|
|
|
- response: relayTestQueryResponse,
|
|
|
-|};
|
|
|
-*/
|
|
|
|
|
|
|
|
|
/*
|
|
|
@@ -47,7 +49,7 @@ query relayTestQuery(
|
|
|
}
|
|
|
*/
|
|
|
|
|
|
-const node/*: ConcreteRequest*/ = (function(){
|
|
|
+const node: ConcreteRequest = (function(){
|
|
|
var v0 = [
|
|
|
{
|
|
|
"kind": "LocalArgument",
|
|
|
@@ -171,6 +173,5 @@ return {
|
|
|
}
|
|
|
};
|
|
|
})();
|
|
|
-// prettier-ignore
|
|
|
-(node/*: any*/).hash = 'e6c54ffb0601f6ba184996353729e284';
|
|
|
-module.exports = node;
|
|
|
+(node as any).hash = 'e6c54ffb0601f6ba184996353729e284';
|
|
|
+export default node;
|