visual-graphql
Version:
A lightweight GraphQL schema visualization tool built with SolidJS
10 lines (8 loc) • 364 B
TypeScript
import { IntrospectionQuery } from '../../../node_modules/graphql';
/**
* Converts a GraphQL SDL (Schema Definition Language) string to an introspection result
*
* @param sdl The GraphQL schema in SDL format
* @returns Introspection result that can be used with GraphQL Voyager
*/
export declare function sdlToIntrospection(sdl: string): IntrospectionQuery;