UNPKG

willwill96-petfinder-graphql

Version:

contains files and utilities to bootstrap a graphql instance wrapping the petfinder api

24 lines (23 loc) 1.2 kB
import { Animal, Animals, Organization, Organizations, QueryAnimalArgs, QueryAnimalsArgs, QueryOrganizationArgs, QueryOrganizationsArgs, QueryTypeBreedsArgs, Type, TypeBreeds, Types } from '../../types/graphql-types'; declare const _default: { Query: { animal: (_: any, args: QueryAnimalArgs, context: any) => Promise<Animal>; animals: (_: any, args: QueryAnimalsArgs, context: any) => Promise<Animals>; organization: (_: any, args: QueryOrganizationArgs, { fetchPetfinderRoute }: { fetchPetfinderRoute: any; }) => Promise<Organization>; organizations: (_: any, args: QueryOrganizationsArgs, { fetchPetfinderRoute }: { fetchPetfinderRoute: any; }) => Promise<Organizations>; type: (_: any, args: any, { fetchPetfinderRoute }: { fetchPetfinderRoute: any; }) => Promise<Type>; types: (_: any, _a: any, { fetchPetfinderRoute }: { fetchPetfinderRoute: any; }) => Promise<Types>; typeBreeds: (_: any, args: QueryTypeBreedsArgs, { fetchPetfinderRoute }: { fetchPetfinderRoute: any; }) => Promise<TypeBreeds>; }; }; export default _default;