UNPKG

@graphql-mesh/transform-prune

Version:
9 lines (8 loc) 375 B
import { GraphQLSchema } from 'graphql'; import { MeshTransform, MeshTransformOptions, YamlConfig } from '@graphql-mesh/types'; export default class PruneTransform implements MeshTransform { private options; noWrap: boolean; constructor(options: MeshTransformOptions<YamlConfig.PruneTransformConfig>); transformSchema(schema: GraphQLSchema): GraphQLSchema; }