UNPKG

496 BTypeScriptView Raw
1import { QueryMap, MutationMap, BindingOptions, SubscriptionMap, QueryOrMutation } from './types';
2import { Delegate } from './Delegate';
3export declare class Binding extends Delegate {
4 query: QueryMap;
5 mutation: MutationMap;
6 subscription: SubscriptionMap;
7 constructor({ schema, fragmentReplacements, before, disableCache, }: BindingOptions);
8 buildMethods(): any;
9 buildQueryMethods(operation: QueryOrMutation): QueryMap;
10 buildSubscriptionMethods(): SubscriptionMap;
11}