@graphql-tools/executor-common
Advanced tools
Comparing version
# @graphql-tools/executor-common | ||
## 0.0.4-rc-054368d248562371bfd189efb51c5c51ed2aa451 | ||
## 0.0.4-rc-835fe1e18ec205107098dfcc26160f90f340c35c | ||
@@ -5,0 +5,0 @@ ### Patch Changes |
@@ -25,3 +25,18 @@ import { ExecutionRequest } from '@graphql-tools/utils'; | ||
declare function serializeExecutionRequest(opts: ExecutionRequestToGraphQLParams): SerializedExecutionRequest; | ||
interface UpstreamErrorExtensions { | ||
code?: string; | ||
serviceName?: string; | ||
request: { | ||
url?: string; | ||
method?: string; | ||
body?: unknown; | ||
}; | ||
response?: { | ||
status?: number; | ||
statusText?: string; | ||
headers?: Record<string, string>; | ||
body?: unknown; | ||
}; | ||
} | ||
export { type SerializedExecutionRequest, defaultPrintFn, serializeExecutionRequest }; | ||
export { type SerializedExecutionRequest, type UpstreamErrorExtensions, defaultPrintFn, serializeExecutionRequest }; |
{ | ||
"name": "@graphql-tools/executor-common", | ||
"version": "0.0.4-rc-054368d248562371bfd189efb51c5c51ed2aa451", | ||
"version": "0.0.4-rc-835fe1e18ec205107098dfcc26160f90f340c35c", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "description": "A set of utils for faster development of GraphQL tools", |
Sorry, the diff of this file is not supported yet
9181
8.25%79
23.44%