Comparing version 1.1.0-next.17 to 1.1.0-next.18
@@ -126,3 +126,3 @@ import { GraphQLFieldResolver, GraphQLResolveInfo } from 'graphql'; | ||
} | ||
export declare type NodeValue<TypeName extends string = any, FieldName extends string = any> = ResultValue<EdgeTypeLookup<TypeName, FieldName>, 'node'>; | ||
export declare type NodeValue<TypeName extends string = any, FieldName extends string = any> = SourceValue<EdgeTypeLookup<TypeName, FieldName>>['node']; | ||
export declare type ConnectionFieldConfig<TypeName extends string = any, FieldName extends string = any> = { | ||
@@ -129,0 +129,0 @@ type: GetGen<'allOutputTypes', string> | AllNexusNamedOutputTypeDefs; |
@@ -126,3 +126,3 @@ import { GraphQLFieldResolver, GraphQLResolveInfo } from 'graphql'; | ||
} | ||
export declare type NodeValue<TypeName extends string = any, FieldName extends string = any> = ResultValue<EdgeTypeLookup<TypeName, FieldName>, 'node'>; | ||
export declare type NodeValue<TypeName extends string = any, FieldName extends string = any> = SourceValue<EdgeTypeLookup<TypeName, FieldName>>['node']; | ||
export declare type ConnectionFieldConfig<TypeName extends string = any, FieldName extends string = any> = { | ||
@@ -129,0 +129,0 @@ type: GetGen<'allOutputTypes', string> | AllNexusNamedOutputTypeDefs; |
{ | ||
"name": "nexus", | ||
"version": "1.1.0-next.17", | ||
"version": "1.1.0-next.18", | ||
"description": "Scalable, strongly typed GraphQL schema development", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -159,6 +159,5 @@ import { defaultFieldResolver, GraphQLFieldResolver, GraphQLResolveInfo } from 'graphql' | ||
// Extract the node value from the connection for a given field. | ||
export type NodeValue<TypeName extends string = any, FieldName extends string = any> = ResultValue< | ||
EdgeTypeLookup<TypeName, FieldName>, | ||
'node' | ||
> | ||
export type NodeValue<TypeName extends string = any, FieldName extends string = any> = SourceValue< | ||
EdgeTypeLookup<TypeName, FieldName> | ||
>['node'] | ||
@@ -165,0 +164,0 @@ export type ConnectionFieldConfig<TypeName extends string = any, FieldName extends string = any> = { |
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
2060525
32293