giraffeql 2.1.1 → 2.1.2

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.
@@ -96,14 +96,15 @@ export interface ScalarDefinition {
96
96
  export declare type ScalarDefinitionFunction = (value: unknown) => unknown;
97
97
  export interface RootResolverFunctionInput {
98
98
  req: Request;
99
+ rootResolver: GiraffeqlRootResolverType;
99
100
  fieldPath: string[];
100
101
  args: any;
101
102
  query?: any;
102
- rootResolver: GiraffeqlRootResolverType;
103
103
  }
104
104
  export declare type RootResolverFunction = (input: RootResolverFunctionInput) => unknown;
105
105
  export interface ResolverFunctionInput {
106
106
  req: Request;
107
+ rootResolver: GiraffeqlRootResolverType;
107
108
  fieldPath: string[];
108
109
  args: any;
109
110
  query: any;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;AA0KA,SAAgB,wBAAwB,CACtC,GAAuD;IAEvD,OAAO,MAAM,IAAI,GAAG,CAAC;AACvB,CAAC;AAJD,4DAIC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;AA2KA,SAAgB,wBAAwB,CACtC,GAAuD;IAEvD,OAAO,MAAM,IAAI,GAAG,CAAC;AACvB,CAAC;AAJD,4DAIC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "giraffeql",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "description": "Methods and APIs for querying backends using JSON",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",