Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@graphql-tools/schema-stitching

Package Overview
Dependencies
Maintainers
3
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphql-tools/schema-stitching - npm Package Compare versions

Comparing version 5.0.1-alpha-78275ec.0 to 5.0.1-alpha-7ecf9b1.0

generate/addCatchUndefinedToSchema.d.ts

6

delegate/symbols.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc