@graphql-tools/schema-stitching
Advanced tools
Comparing version 5.0.1-alpha-78275ec.0 to 5.0.1-alpha-7ecf9b1.0
@@ -1,3 +0,3 @@ | ||
export declare const OBJECT_SUBSCHEMA_SYMBOL: string | symbol; | ||
export declare const FIELD_SUBSCHEMA_MAP_SYMBOL: string | symbol; | ||
export declare const ERROR_SYMBOL: string | symbol; | ||
export declare const OBJECT_SUBSCHEMA_SYMBOL: unique symbol; | ||
export declare const FIELD_SUBSCHEMA_MAP_SYMBOL: unique symbol; | ||
export declare const ERROR_SYMBOL: unique symbol; |
@@ -9,2 +9,6 @@ export { addSchemaLevelResolver } from './addSchemaLevelResolver'; | ||
export { extractExtensionDefinitions, filterExtensionDefinitions } from './extensionDefinitions'; | ||
export * from './makeExecutableSchema'; | ||
export { addResolversToSchema } from './addResolversToSchema'; | ||
export { checkForResolveTypeResolver } from './checkForResolveTypeResolver'; | ||
export { extendResolversFromInterfaces } from './extendResolversFromInterfaces'; | ||
export { addErrorLoggingToSchema } from './addErrorLoggingToSchema'; | ||
export { makeExecutableSchema } from './makeExecutableSchema'; |
@@ -1,5 +0,2 @@ | ||
import { GraphQLSchema } from 'graphql'; | ||
import { IExecutableSchemaDefinition, ILogger } from '../Interfaces'; | ||
export declare function makeExecutableSchema<TContext = any>({ typeDefs, resolvers, logger, allowUndefinedInResolve, resolverValidationOptions, directiveResolvers, schemaDirectives, parseOptions, inheritResolversFromInterfaces, }: IExecutableSchemaDefinition<TContext>): GraphQLSchema; | ||
export declare function addCatchUndefinedToSchema(schema: GraphQLSchema): void; | ||
export declare function addErrorLoggingToSchema(schema: GraphQLSchema, logger?: ILogger): void; | ||
import { IExecutableSchemaDefinition } from '../Interfaces'; | ||
export declare function makeExecutableSchema<TContext = any>({ typeDefs, resolvers, logger, allowUndefinedInResolve, resolverValidationOptions, directiveResolvers, schemaDirectives, parseOptions, inheritResolversFromInterfaces, }: IExecutableSchemaDefinition<TContext>): import("graphql").GraphQLSchema; |
export * from './Interfaces'; | ||
export * from './addResolvers'; | ||
export * from './delegate'; | ||
export * from './generate'; | ||
export * from './introspect'; | ||
export * from './links'; | ||
export * from './mock'; | ||
export * from './scalars'; | ||
export * from './stitch'; | ||
export * from './wrap'; | ||
export * from './utils'; |
@@ -1,2 +0,2 @@ | ||
import { GraphQLSchema, GraphQLField, GraphQLInputType, GraphQLType, GraphQLNamedType, GraphQLFieldResolver, GraphQLResolveInfo, GraphQLIsTypeOfFn, GraphQLTypeResolver, GraphQLScalarType, DocumentNode, FieldNode, GraphQLEnumValue, GraphQLEnumType, GraphQLUnionType, GraphQLArgument, GraphQLInputField, GraphQLInputObjectType, GraphQLInterfaceType, GraphQLObjectType, InlineFragmentNode, GraphQLOutputType, SelectionSetNode, GraphQLDirective, GraphQLFieldConfig, FragmentDefinitionNode, SelectionNode, VariableDefinitionNode, OperationDefinitionNode, GraphQLError, ExecutionResult as GraphQLExecutionResult, BuildSchemaOptions } from 'graphql'; | ||
import { GraphQLSchema, GraphQLField, GraphQLInputType, GraphQLNamedType, GraphQLFieldResolver, GraphQLResolveInfo, GraphQLIsTypeOfFn, GraphQLTypeResolver, GraphQLScalarType, DocumentNode, FieldNode, GraphQLEnumValue, GraphQLEnumType, GraphQLUnionType, GraphQLArgument, GraphQLInputField, GraphQLInputObjectType, GraphQLInterfaceType, GraphQLObjectType, InlineFragmentNode, GraphQLOutputType, SelectionSetNode, GraphQLDirective, GraphQLFieldConfig, FragmentDefinitionNode, SelectionNode, VariableDefinitionNode, OperationDefinitionNode, GraphQLError, ExecutionResult as GraphQLExecutionResult, BuildSchemaOptions } from 'graphql'; | ||
import { SchemaVisitor } from './utils/SchemaVisitor'; | ||
@@ -238,15 +238,2 @@ import { SchemaDirectiveVisitor } from './utils/SchemaDirectiveVisitor'; | ||
} | ||
export declare type IMockFn = GraphQLFieldResolver<any, any>; | ||
export interface IMocks { | ||
[key: string]: IMockFn; | ||
} | ||
export declare type IMockTypeFn = (type: GraphQLType, typeName?: string, fieldName?: string) => GraphQLFieldResolver<any, any>; | ||
export interface IMockOptions { | ||
schema?: GraphQLSchema; | ||
mocks?: IMocks; | ||
preserveResolvers?: boolean; | ||
} | ||
export interface IMockServer { | ||
query: (query: string, vars?: Record<string, any>) => Promise<ExecutionResult>; | ||
} | ||
export declare type OnTypeConflict = (left: GraphQLNamedType, right: GraphQLNamedType, info?: { | ||
@@ -253,0 +240,0 @@ left: { |
{ | ||
"name": "@graphql-tools/schema-stitching", | ||
"version": "5.0.1-alpha-78275ec.0", | ||
"version": "5.0.1-alpha-7ecf9b1.0", | ||
"description": "A set of utils for faster development of GraphQL tools", | ||
"peerDependencies": { | ||
"graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0" | ||
"graphql": "^14.0.0 || ^15.0.0" | ||
}, | ||
"dependencies": { | ||
"apollo-link": "1.2.14", | ||
"apollo-upload-client": "13.0.0", | ||
"form-data": "3.0.0", | ||
"cross-fetch": "3.0.4", | ||
"tslib": "1.11.1" | ||
@@ -24,9 +20,5 @@ }, | ||
"devDependencies": { | ||
"@types/deepmerge": "2.2.0", | ||
"@types/graphql-upload": "8.0.3", | ||
"casual": "1.6.2", | ||
"@types/dateformat": "3.0.1", | ||
"dataloader": "2.0.0", | ||
"dateformat": "3.0.3", | ||
"express-graphql": "0.9.0", | ||
"graphql-upload": "10.0.0", | ||
"graphql-scalars": "1.1.2" | ||
@@ -33,0 +25,0 @@ }, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
2
4
0
1395670
106
11717
- Removedapollo-link@1.2.14
- Removedapollo-upload-client@13.0.0
- Removedcross-fetch@3.0.4
- Removedform-data@3.0.0
- Removed@babel/runtime@7.26.0(transitive)
- Removed@wry/equality@0.1.11(transitive)
- Removedapollo-link@1.2.14(transitive)
- Removedapollo-link-http-common@0.2.16(transitive)
- Removedapollo-upload-client@13.0.0(transitive)
- Removedapollo-utilities@1.3.4(transitive)
- Removedasynckit@0.4.0(transitive)
- Removedcombined-stream@1.0.8(transitive)
- Removedcross-fetch@3.0.4(transitive)
- Removeddelayed-stream@1.0.0(transitive)
- Removedextract-files@8.1.0(transitive)
- Removedfast-json-stable-stringify@2.1.0(transitive)
- Removedform-data@3.0.0(transitive)
- Removedmime-db@1.52.0(transitive)
- Removedmime-types@2.1.35(transitive)
- Removednode-fetch@2.6.0(transitive)
- Removedregenerator-runtime@0.14.1(transitive)
- Removedts-invariant@0.4.4(transitive)
- Removedwhatwg-fetch@3.0.0(transitive)
- Removedzen-observable@0.8.15(transitive)
- Removedzen-observable-ts@0.8.21(transitive)