1 |
|
2 |
|
3 |
|
4 |
|
5 | import { GraphQLObjectType, GraphQLFieldResolver } from 'graphql';
|
6 | import { Args, GraphQLOperationType } from './types/graphql';
|
7 | import { PreprocessingData } from './types/preprocessing_data';
|
8 | declare type Viewer<TSource, TContext, TArgs> = {
|
9 | type: GraphQLObjectType;
|
10 | resolve: GraphQLFieldResolver<TSource, TContext, TArgs>;
|
11 | args: Args;
|
12 | description: string;
|
13 | };
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 | export declare function createAndLoadViewer<TSource, TContext, TArgs>(queryFields: any, operationType: GraphQLOperationType, data: PreprocessingData<TSource, TContext, TArgs>, includeHttpDetails: boolean): {
|
21 | [key: string]: Viewer<TSource, TContext, TArgs>;
|
22 | };
|
23 | export {};
|