UNPKG

457 BTypeScriptView Raw
1import { GetMeshSourceOptions, KeyValueCache, MeshHandler, YamlConfig } from '@graphql-mesh/types';
2import { GraphQLSchema } from 'graphql';
3export default class ThriftHandler implements MeshHandler {
4 config: YamlConfig.ThriftHandler;
5 cache: KeyValueCache;
6 constructor({ config, cache }: GetMeshSourceOptions<YamlConfig.ThriftHandler>);
7 getMeshSource(): Promise<{
8 schema: GraphQLSchema;
9 contextVariables: string[];
10 }>;
11}