@pothos/plugin-relay
Advanced tools
Comparing version 3.18.0 to 3.18.1
# Change Log | ||
## 3.18.1 | ||
### Patch Changes | ||
- 84a77af5: Fix incorrect types for relayOptions.default(Connection|Edge)ObjectOptions | ||
## 3.18.0 | ||
@@ -4,0 +10,0 @@ |
@@ -46,10 +46,7 @@ import { GraphQLResolveInfo } from 'graphql'; | ||
}; | ||
defaultConnectionTypeOptions: Partial<Omit<PothosSchemaTypes.ObjectFieldOptions<Types, {}, OutputRef<ConnectionShape<Types, unknown, false, true, true>>, boolean, {}, ConnectionShape<Types, unknown, false, true, true>>, 'args' | 'resolve' | 'type'>>; | ||
defaultEdgeTypeOptions: Partial<Omit<PothosSchemaTypes.ObjectFieldOptions<Types, {}, OutputRef<{ | ||
defaultConnectionTypeOptions: Partial<PothosSchemaTypes.ObjectTypeOptions<Types, ConnectionShape<Types, unknown, false, true, true>>>; | ||
defaultEdgeTypeOptions: Partial<PothosSchemaTypes.ObjectTypeOptions<Types, { | ||
cursor: string; | ||
node: unknown; | ||
}>, boolean, {}, { | ||
cursor: string; | ||
node: unknown; | ||
}>, 'args' | 'resolve' | 'type'>>; | ||
}>>; | ||
}>; | ||
@@ -56,0 +53,0 @@ export interface DefaultEdgesNullability { |
{ | ||
"name": "@pothos/plugin-relay", | ||
"version": "3.18.0", | ||
"version": "3.18.1", | ||
"description": "A Pothos plugin for adding relay style connections, nodes, and cursor based pagination to your GraphQL schema", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -182,26 +182,6 @@ import { GraphQLResolveInfo } from 'graphql'; | ||
defaultConnectionTypeOptions: Partial< | ||
Omit< | ||
PothosSchemaTypes.ObjectFieldOptions< | ||
Types, | ||
{}, | ||
OutputRef<ConnectionShape<Types, unknown, false, true, true>>, | ||
boolean, | ||
{}, | ||
ConnectionShape<Types, unknown, false, true, true> | ||
>, | ||
'args' | 'resolve' | 'type' | ||
> | ||
PothosSchemaTypes.ObjectTypeOptions<Types, ConnectionShape<Types, unknown, false, true, true>> | ||
>; | ||
defaultEdgeTypeOptions: Partial< | ||
Omit< | ||
PothosSchemaTypes.ObjectFieldOptions< | ||
Types, | ||
{}, | ||
OutputRef<{ cursor: string; node: unknown }>, | ||
boolean, | ||
{}, | ||
{ cursor: string; node: unknown } | ||
>, | ||
'args' | 'resolve' | 'type' | ||
> | ||
PothosSchemaTypes.ObjectTypeOptions<Types, { cursor: string; node: unknown }> | ||
>; | ||
@@ -208,0 +188,0 @@ }>; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
360289
4078