@graphql-tools/executor-common
Advanced tools
Comparing version
# @graphql-tools/executor-common | ||
## 0.0.4-alpha-6d72982cc3a42a5bc39f228519fb37e13b07001f | ||
## 0.0.4-alpha-97aa61c442facee49ab18af23145184fd1cb236c | ||
@@ -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-alpha-6d72982cc3a42a5bc39f228519fb37e13b07001f", | ||
"version": "0.0.4-alpha-97aa61c442facee49ab18af23145184fd1cb236c", | ||
"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
9187
8.25%79
23.44%