UNPKG

@incubrain/client

Version:

A type-safe GraphQL client for Hasura, optimized for Node.js and Nuxt environments with full TypeScript support.

3 lines (2 loc) 220 B
import { GraphQLObjectType, GraphQLSchema } from "graphql"; export declare function generateSelectionSet(type: GraphQLObjectType, schema: GraphQLSchema, depth?: number, maxDepth?: number, visited?: Set<string>): string;