@graphql-tools/wrap
Advanced tools
Comparing version 5.0.1-alpha-bdd506c.0 to 5.0.1-alpha-cf46456.0
{ | ||
"name": "@graphql-tools/wrap", | ||
"version": "5.0.1-alpha-bdd506c.0", | ||
"version": "5.0.1-alpha-cf46456.0", | ||
"description": "A set of utils for faster development of GraphQL tools", | ||
@@ -9,5 +9,5 @@ "peerDependencies": { | ||
"dependencies": { | ||
"@graphql-tools/delegate": "5.0.1-alpha-bdd506c.0", | ||
"@graphql-tools/schema": "5.0.1-alpha-bdd506c.0", | ||
"@graphql-tools/utils": "5.0.1-alpha-bdd506c.0", | ||
"@graphql-tools/delegate": "5.0.1-alpha-cf46456.0", | ||
"@graphql-tools/schema": "5.0.1-alpha-cf46456.0", | ||
"@graphql-tools/utils": "5.0.1-alpha-cf46456.0", | ||
"tslib": "1.11.1" | ||
@@ -14,0 +14,0 @@ }, |
import { GraphQLSchema } from 'graphql'; | ||
import { Transform, Request, FieldTransformer, FieldNodeTransformer } from '@graphql-tools/utils'; | ||
import { Transform, Request } from '@graphql-tools/utils'; | ||
import { FieldTransformer, FieldNodeTransformer } from '../types'; | ||
export default class TransformCompositeFields implements Transform { | ||
@@ -4,0 +5,0 @@ private readonly fieldTransformer; |
import { GraphQLSchema } from 'graphql'; | ||
import { Transform, Request, FieldTransformer, FieldNodeTransformer } from '@graphql-tools/utils'; | ||
import { Transform, Request } from '@graphql-tools/utils'; | ||
import { FieldTransformer, FieldNodeTransformer } from '../types'; | ||
export default class TransformInterfaceFields implements Transform { | ||
@@ -4,0 +5,0 @@ private readonly interfaceFieldTransformer; |
import { GraphQLSchema } from 'graphql'; | ||
import { Transform, Request, FieldTransformer, FieldNodeTransformer } from '@graphql-tools/utils'; | ||
import { Transform, Request } from '@graphql-tools/utils'; | ||
import { FieldTransformer, FieldNodeTransformer } from '../types'; | ||
export default class TransformObjectFields implements Transform { | ||
@@ -4,0 +5,0 @@ private readonly objectFieldTransformer; |
import { GraphQLSchema } from 'graphql'; | ||
import { Transform, Request, FieldNodeTransformer, RootFieldTransformer } from '@graphql-tools/utils'; | ||
import { Transform, Request } from '@graphql-tools/utils'; | ||
import { RootFieldTransformer, FieldNodeTransformer } from '../types'; | ||
export default class TransformRootFields implements Transform { | ||
@@ -4,0 +5,0 @@ private readonly transformer; |
@@ -1,2 +0,2 @@ | ||
import { GraphQLSchema, GraphQLFieldResolver, BuildSchemaOptions } from 'graphql'; | ||
import { GraphQLSchema, GraphQLFieldResolver, BuildSchemaOptions, GraphQLField, GraphQLFieldConfig, FieldNode, FragmentDefinitionNode, SelectionNode } from 'graphql'; | ||
import { Executor, Subscriber } from '@graphql-tools/delegate'; | ||
@@ -10,1 +10,8 @@ export interface IMakeRemoteExecutableSchemaOptions { | ||
} | ||
export interface RenamedFieldConfig { | ||
name: string; | ||
field?: GraphQLFieldConfig<any, any>; | ||
} | ||
export declare type FieldTransformer = (typeName: string, fieldName: string, field: GraphQLField<any, any>) => GraphQLFieldConfig<any, any> | RenamedFieldConfig | null | undefined; | ||
export declare type RootFieldTransformer = (operation: 'Query' | 'Mutation' | 'Subscription', fieldName: string, field: GraphQLField<any, any>) => GraphQLFieldConfig<any, any> | RenamedFieldConfig | null | undefined; | ||
export declare type FieldNodeTransformer = (typeName: string, fieldName: string, fieldNode: FieldNode, fragments: Record<string, FragmentDefinitionNode>) => SelectionNode | Array<SelectionNode>; |
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
249780
2237
+ Added@graphql-tools/delegate@5.0.1-alpha-cf46456.0(transitive)
+ Added@graphql-tools/schema@5.0.1-alpha-cf46456.0(transitive)
+ Added@graphql-tools/utils@5.0.1-alpha-cf46456.0(transitive)
- Removed@graphql-tools/delegate@5.0.1-alpha-bdd506c.0(transitive)
- Removed@graphql-tools/schema@5.0.1-alpha-bdd506c.0(transitive)
- Removed@graphql-tools/utils@5.0.1-alpha-bdd506c.0(transitive)