transforms.d.ts 541 B

1234567
  1. import { GraphQLSchema } from 'graphql';
  2. import { Request, Transform } from '../Interfaces';
  3. export { Transform };
  4. export declare function applySchemaTransforms(originalSchema: GraphQLSchema, transforms: Array<Transform>): GraphQLSchema;
  5. export declare function applyRequestTransforms(originalRequest: Request, transforms: Array<Transform>): Request;
  6. export declare function applyResultTransforms(originalResult: any, transforms: Array<Transform>): any;
  7. export declare function composeTransforms(...transforms: Array<Transform>): Transform;