Initial Save
This commit is contained in:
19
node_modules/graphql-tools/dist/stitching/resolvers.d.ts
generated
vendored
Normal file
19
node_modules/graphql-tools/dist/stitching/resolvers.d.ts
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
import { GraphQLSchema, GraphQLObjectType } from 'graphql';
|
||||
import { IResolvers, Operation } from '../Interfaces';
|
||||
import { Transform } from '../transforms/index';
|
||||
export declare type Mapping = {
|
||||
[typeName: string]: {
|
||||
[fieldName: string]: {
|
||||
name: string;
|
||||
operation: Operation;
|
||||
};
|
||||
};
|
||||
};
|
||||
export declare function generateProxyingResolvers(targetSchema: GraphQLSchema, transforms: Array<Transform>, mapping: Mapping): IResolvers;
|
||||
export declare function generateSimpleMapping(targetSchema: GraphQLSchema): Mapping;
|
||||
export declare function generateMappingFromObjectType(type: GraphQLObjectType, operation: Operation): {
|
||||
[fieldName: string]: {
|
||||
name: string;
|
||||
operation: Operation;
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user