UNPKG

shyft

Version:

Model driven GraphQL API framework

26 lines (25 loc) 584 B
import { GraphQLScalarType, GraphQLType } from 'graphql'; export declare type DataOutputField = { description: string; type: GraphQLType; resolve?: Function; }; export declare type WrappedDataOutputField = { [fieldName: string]: DataOutputField; }; export declare type InputFields = { clientMutationId?: { type: GraphQLScalarType; }; data?: any; }; export declare type OutputFields = { clientMutationId?: { type: GraphQLScalarType; }; result?: any; }; export declare type ConnectionNode = { cursor?: any; node?: any; };