UNPKG

@graphql-mesh/transform-cache

Version:
14 lines (13 loc) 524 B
import { GraphQLSchema } from 'graphql'; import { MeshTransform, MeshTransformOptions, YamlConfig } from '@graphql-mesh/types'; export default class CacheTransform implements MeshTransform { private options; noWrap: boolean; private readonly shouldWaitLocal; constructor(options: MeshTransformOptions<YamlConfig.CacheTransformConfig[]>); transformSchema(schema: GraphQLSchema): GraphQLSchema; private shouldWait; private setShouldWait; private cleanupShouldWait; private waitAndReturn; }