import * as Types from '../types.d' ; import { gql } from '@apollo/client' ; import { HumanFieldsFragmentDoc } from './HumanFields' ; import * as Apollo from '@apollo/client' ; const defaultOptions = { } as const ; export type HumanWithNullHeightQueryVariables = Types . Exact < { [ key ] : never ; } > ; export type HumanWithNullHeightQuery = { __typename ? : 'Query' ; human ? : { __typename ? : 'Human' ; name : string ; mass ? : number | null | undefined ; } | null | undefined ; } ; export const HumanWithNullHeightDocument = gql `
  query HumanWithNullHeight {
    human(id: 1004) {
      ...HumanFields
    }
  }
  ${ HumanFieldsFragmentDoc }
` ; param baseOptions example export function useHumanWithNullHeightQuery ( baseOptions ? ) { const options = { ... defaultOptions , ... baseOptions } ; return Apollo . useQuery < HumanWithNullHeightQuery , HumanWithNullHeightQueryVariables > ( HumanWithNullHeightDocument , options ) ; } export function useHumanWithNullHeightLazyQuery ( baseOptions ? ) { const options = { ... defaultOptions , ... baseOptions } ; return Apollo . useLazyQuery < HumanWithNullHeightQuery , HumanWithNullHeightQueryVariables > ( HumanWithNullHeightDocument , options ) ; } export type HumanWithNullHeightQueryHookResult = ReturnType < typeof useHumanWithNullHeightQuery > ; export type HumanWithNullHeightLazyQueryHookResult = ReturnType < typeof useHumanWithNullHeightLazyQuery > ; export type HumanWithNullHeightQueryResult = Apollo . QueryResult < HumanWithNullHeightQuery , HumanWithNullHeightQueryVariables > ;