UNPKG

graphql-paper

Version:

A flexible in-memory store based on a GraphQL Schema

4 lines (3 loc) 330 B
import { GraphQLSchema } from 'graphql'; import { DocumentStore, AllowedTransactionCallbackReturnTypes } from '../types'; export declare function convertResultKeysToDocument(schema: GraphQLSchema, store: DocumentStore, result: null | undefined | string | string[] | Record<string, string>): AllowedTransactionCallbackReturnTypes;