@pothos/plugin-relay
Advanced tools
Comparing version 3.6.0 to 3.7.0
# Change Log | ||
## 3.7.0 | ||
### Minor Changes | ||
- c0bdbc1b: Fix type for InputFieldRef.kind | ||
## 3.6.0 | ||
@@ -4,0 +10,0 @@ |
@@ -46,3 +46,3 @@ import { FieldKind, FieldNullability, FieldOptionsFromKind, FieldRef, FieldRequiredness, InputFieldMap, InputFieldRef, InputFieldsFromShape, InputShapeFromFields, InputShapeFromTypeParam, inputShapeKey, InterfaceParam, NormalizeArgs, ObjectFieldsShape, ObjectFieldThunk, ObjectParam, OutputShape, OutputType, ParentShape, Resolver, SchemaTypes, ShapeFromTypeParam } from '@pothos/core'; | ||
}; | ||
globalID: <Req extends boolean>(...args: NormalizeArgs<[options?: GlobalIDInputFieldOptions<Types, Req, Kind>]>) => InputFieldRef<InputShapeFromTypeParam<Types, GlobalIDInputShape, Req>>; | ||
globalID: <Req extends boolean>(...args: NormalizeArgs<[options?: GlobalIDInputFieldOptions<Types, Req, Kind>]>) => InputFieldRef<InputShapeFromTypeParam<Types, GlobalIDInputShape, Req>, Kind>; | ||
globalIDList: <Req extends FieldRequiredness<['ID']>>(...args: NormalizeArgs<[options?: GlobalIDListInputFieldOptions<Types, Req, Kind>]>) => InputFieldRef<InputShapeFromTypeParam<Types, [ | ||
@@ -55,3 +55,3 @@ { | ||
} | ||
], Req>>; | ||
], Req>, Kind>; | ||
} | ||
@@ -58,0 +58,0 @@ interface RootFieldBuilder<Types extends SchemaTypes, ParentShape, Kind extends FieldKind = FieldKind> { |
@@ -46,3 +46,3 @@ import { FieldKind, FieldNullability, FieldOptionsFromKind, FieldRef, FieldRequiredness, InputFieldMap, InputFieldRef, InputFieldsFromShape, InputShapeFromFields, InputShapeFromTypeParam, inputShapeKey, InterfaceParam, NormalizeArgs, ObjectFieldsShape, ObjectFieldThunk, ObjectParam, OutputShape, OutputType, ParentShape, Resolver, SchemaTypes, ShapeFromTypeParam } from '@pothos/core'; | ||
}; | ||
globalID: <Req extends boolean>(...args: NormalizeArgs<[options?: GlobalIDInputFieldOptions<Types, Req, Kind>]>) => InputFieldRef<InputShapeFromTypeParam<Types, GlobalIDInputShape, Req>>; | ||
globalID: <Req extends boolean>(...args: NormalizeArgs<[options?: GlobalIDInputFieldOptions<Types, Req, Kind>]>) => InputFieldRef<InputShapeFromTypeParam<Types, GlobalIDInputShape, Req>, Kind>; | ||
globalIDList: <Req extends FieldRequiredness<['ID']>>(...args: NormalizeArgs<[options?: GlobalIDListInputFieldOptions<Types, Req, Kind>]>) => InputFieldRef<InputShapeFromTypeParam<Types, [ | ||
@@ -55,3 +55,3 @@ { | ||
} | ||
], Req>>; | ||
], Req>, Kind>; | ||
} | ||
@@ -58,0 +58,0 @@ interface RootFieldBuilder<Types extends SchemaTypes, ParentShape, Kind extends FieldKind = FieldKind> { |
{ | ||
"name": "@pothos/plugin-relay", | ||
"version": "3.6.0", | ||
"version": "3.7.0", | ||
"description": "A Pothos plugin for adding relay style connections, nodes, and cursor based pagination to your GraphQL schema", | ||
@@ -38,3 +38,3 @@ "main": "./lib/index.js", | ||
"devDependencies": { | ||
"@pothos/core": "3.3.3", | ||
"@pothos/core": "3.4.0", | ||
"@pothos/test-utils": "1.0.2", | ||
@@ -41,0 +41,0 @@ "graphql": "16.3.0", |
@@ -161,3 +161,3 @@ import { | ||
...args: NormalizeArgs<[options?: GlobalIDInputFieldOptions<Types, Req, Kind>]> | ||
) => InputFieldRef<InputShapeFromTypeParam<Types, GlobalIDInputShape, Req>>; | ||
) => InputFieldRef<InputShapeFromTypeParam<Types, GlobalIDInputShape, Req>, Kind>; | ||
@@ -178,3 +178,4 @@ globalIDList: <Req extends FieldRequiredness<['ID']>>( | ||
Req | ||
> | ||
>, | ||
Kind | ||
>; | ||
@@ -181,0 +182,0 @@ } |
Sorry, the diff of this file is not supported yet
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
323727
3860