@graphql-box/connection-resolver 5.4.4 → 5.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@graphql-box/connection-resolver",
3
3
  "description": "The GraphQL Box connection resolver module.",
4
- "version": "5.4.4",
4
+ "version": "5.4.5",
5
5
  "author": "Dylan Aubrey",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/badbatch/graphql-box",
package/src/types.ts CHANGED
@@ -52,10 +52,12 @@ export type Connection = {
52
52
  totalCount: number;
53
53
  };
54
54
 
55
- export interface ResourceResponse<Resource extends PlainObject> extends Response {
55
+ export type ResourceResponse<Resource extends PlainObject> = {
56
56
  data?: Resource;
57
57
  errors?: Error[];
58
- }
58
+ headers: Headers;
59
+ status: number;
60
+ };
59
61
 
60
62
  export type ResourceResolver<Resource extends PlainObject> = (args: {
61
63
  page: number;