graphql-paper
Version:
A flexible in-memory store based on a GraphQL Schema
4 lines (3 loc) • 330 B
TypeScript
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;