Comparing version
@@ -6,3 +6,3 @@ import Maybe from '../tsutils/Maybe'; | ||
import { GraphQLError } from '../error/GraphQLError'; | ||
import { locatedError } from '../error/locatedError'; | ||
import { GraphQLFormattedError } from '../error/formatError'; | ||
@@ -60,2 +60,8 @@ import { | ||
export interface FormattedExecutionResult<TData = ExecutionResultDataDefault> { | ||
errors?: ReadonlyArray<GraphQLFormattedError>; | ||
// TS_SPECIFIC: TData. Motivation: https://github.com/graphql/graphql-js/pull/2490#issuecomment-639154229 | ||
data?: TData | null; | ||
} | ||
export type ExecutionArgs = { | ||
@@ -62,0 +68,0 @@ schema: GraphQLSchema; |
@@ -9,4 +9,5 @@ export { pathToArray as responsePathAsArray } from '../jsutils/Path'; | ||
ExecutionResult, | ||
FormattedExecutionResult, | ||
} from './execute'; | ||
export { getDirectiveValues } from './values'; |
@@ -290,2 +290,3 @@ // TypeScript Version: 2.6 | ||
ExecutionResult, | ||
FormattedExecutionResult, | ||
} from './execution'; | ||
@@ -292,0 +293,0 @@ |
{ | ||
"name": "graphql", | ||
"version": "14.6.0", | ||
"version": "14.7.0", | ||
"description": "A Query Language and Runtime which can target any service.", | ||
@@ -28,2 +28,2 @@ "license": "MIT", | ||
} | ||
} | ||
} |
@@ -16,3 +16,3 @@ "use strict"; | ||
*/ | ||
var version = '14.6.0'; | ||
var version = '14.7.0'; | ||
/** | ||
@@ -25,3 +25,3 @@ * An object containing the components of the GraphQL.js version string | ||
major: 14, | ||
minor: 6, | ||
minor: 7, | ||
patch: 0, | ||
@@ -28,0 +28,0 @@ preReleaseTag: null |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1830625
0.03%33007
0.02%