export type Maybe = T | null; export type InputMaybe = Maybe; export type Exact = { [K in keyof T]: T[K]; }; export type MakeOptional = Omit & { [SubKey in K]?: Maybe; }; export type MakeMaybe = Omit & { [SubKey in K]: Maybe; }; export type MakeEmpty< T extends { [key: string]: unknown }, K extends keyof T > = { [_ in K]?: never }; export type Incremental = | T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never; }; /** All built-in and custom scalars, mapped to their actual values */ export type Scalars = { ID: { input: string; output: string }; String: { input: string; output: string }; Boolean: { input: boolean; output: boolean }; Int: { input: number; output: number }; Float: { input: number; output: number }; }; /** Move a Pokémon can perform with the associated damage and type. */ export type Attack = { __typename: 'Attack'; damage?: Maybe; name?: Maybe; type?: Maybe; }; export type AttacksConnection = { __typename: 'AttacksConnection'; fast?: Maybe>>; special?: Maybe>>; }; /** Requirement that prevents an evolution through regular means of levelling up. */ export type EvolutionRequirement = { __typename: 'EvolutionRequirement'; amount?: Maybe; name?: Maybe; }; export type Pokemon = { __typename: 'Pokemon'; attacks?: Maybe; /** @deprecated And this is the reason why */ classification?: Maybe; evolutionRequirements?: Maybe>>; evolutions?: Maybe>>; /** Likelihood of an attempt to catch a Pokémon to fail. */ fleeRate?: Maybe; height?: Maybe; id: Scalars['ID']['output']; /** Maximum combat power a Pokémon may achieve at max level. */ maxCP?: Maybe; /** Maximum health points a Pokémon may achieve at max level. */ maxHP?: Maybe; name: Scalars['String']['output']; resistant?: Maybe>>; types?: Maybe>>; weaknesses?: Maybe>>; weight?: Maybe; }; export type PokemonDimension = { __typename: 'PokemonDimension'; maximum?: Maybe; minimum?: Maybe; }; /** Elemental property associated with either a Pokémon or one of their moves. */ export type PokemonType = | 'Bug' | 'Dark' | 'Dragon' | 'Electric' | 'Fairy' | 'Fighting' | 'Fire' | 'Flying' | 'Ghost' | 'Grass' | 'Ground' | 'Ice' | 'Normal' | 'Poison' | 'Psychic' | 'Rock' | 'Steel' | 'Water'; export type Query = { __typename: 'Query'; /** Get a single Pokémon by its ID, a three character long identifier padded with zeroes */ pokemon?: Maybe; /** List out all Pokémon, optionally in pages */ pokemons?: Maybe>>; }; export type QueryPokemonArgs = { id: Scalars['ID']['input']; }; export type QueryPokemonsArgs = { limit?: InputMaybe; skip?: InputMaybe; };