UNPKG

@graphql-mesh/transform-transfer-schema

Version:
16 lines (15 loc) 726 B
import type { GraphQLSchema } from 'graphql'; import type { MeshTransform, MeshTransformOptions, YamlConfig } from '@graphql-mesh/types'; export default class TransferSchemaTransform implements MeshTransform { noWrap: boolean; private additionalFieldsMap; private additionalArgsMap; private additionalFieldsConfig; private additionalArgsConfig; private removalFieldsMap; private removalArgsMap; constructor(options: MeshTransformOptions<YamlConfig.TransferSchemaTransformConfig>); handleAdditions(rulesArray: Set<string>, value: string, config: any): void; matchInSet(rulesSet: Set<string>, value: string): true | undefined; transformSchema(schema: GraphQLSchema): GraphQLSchema; }