apollo-server-types
Advanced tools
Comparing version 0.2.3 to 0.2.4
@@ -32,3 +32,3 @@ import { Request, Response } from 'apollo-server-env'; | ||
export interface GraphQLResponse { | ||
data?: Record<string, any>; | ||
data?: Record<string, any> | null; | ||
errors?: ReadonlyArray<GraphQLFormattedError>; | ||
@@ -67,3 +67,3 @@ extensions?: Record<string, any>; | ||
export declare type GraphQLExecutionResult = { | ||
data?: Record<string, any>; | ||
data?: Record<string, any> | null; | ||
errors?: ReadonlyArray<GraphQLError>; | ||
@@ -70,0 +70,0 @@ extensions?: Record<string, any>; |
{ | ||
"name": "apollo-server-types", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"description": "Apollo Server shared types", | ||
@@ -21,3 +21,3 @@ "main": "dist/index.js", | ||
}, | ||
"gitHead": "92ea402a90bf9817c9b887707abbd77dcf5edcb4" | ||
"gitHead": "a1fbf95fc01739d5cbaa59919149bb85c563fdaa" | ||
} |
@@ -44,3 +44,3 @@ import { Request, Response } from 'apollo-server-env'; | ||
export interface GraphQLResponse { | ||
data?: Record<string, any>; | ||
data?: Record<string, any> | null; | ||
errors?: ReadonlyArray<GraphQLFormattedError>; | ||
@@ -107,5 +107,5 @@ extensions?: Record<string, any>; | ||
export type GraphQLExecutionResult = { | ||
data?: Record<string, any>; | ||
data?: Record<string, any> | null; | ||
errors?: ReadonlyArray<GraphQLError>; | ||
extensions?: Record<string, any>; | ||
}; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11092