UNPKG

@magidoc/rollup-plugin-gql-schema

Version:

A Rollup and ViteJS plugin that allows to parse a GraphQL Schema from a target URL and save it to a target output folder, or to parse it from the disk and convert it to a desired format.

6 lines (5 loc) 190 B
import { type GraphQLSchema } from 'graphql'; export type Parameters = { globPaths: string[]; }; export declare function parseGraphqlSchema(options: Parameters): Promise<GraphQLSchema>;