UNPKG

@commitspark/graphql-api

Version:

GraphQL API to store and manage structured data with Git

15 lines (12 loc) 364 B
import { ApolloContext } from '../../client' import { GraphQLNamedType } from 'graphql/type' import { GraphQLFieldResolver } from 'graphql' export interface QueryMutationResolverContext extends ApolloContext { type: GraphQLNamedType } export type QueryMutationResolver<ResultType> = GraphQLFieldResolver< any, ApolloContext, any, Promise<ResultType> >