UNPKG

506 BTypeScriptView Raw
1import { GraphQLSchema } from 'graphql';
2import { MeshTransform, YamlConfig, MeshTransformOptions } from '@graphql-mesh/types';
3import { Request, Result } from '@graphql-tools/utils';
4export default class PrefixTransform implements MeshTransform {
5 private transforms;
6 constructor(options: MeshTransformOptions<YamlConfig.PrefixTransformConfig>);
7 transformSchema(schema: GraphQLSchema): GraphQLSchema;
8 transformRequest(request: Request): Request;
9 transformResult(result: Result): any;
10}