@graphql-tools/merge 8.1.2 → 8.1.3-alpha-881b29e4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@graphql-tools/merge",
3
- "version": "8.1.2",
3
+ "version": "8.1.3-alpha-881b29e4.0",
4
4
  "description": "A set of utils for faster development of GraphQL tools",
5
5
  "sideEffects": false,
6
6
  "peerDependencies": {
7
7
  "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0"
8
8
  },
9
9
  "dependencies": {
10
- "@graphql-tools/utils": "^8.2.2",
10
+ "@graphql-tools/utils": "9.0.0-alpha-881b29e4.0",
11
11
  "tslib": "~2.3.0"
12
12
  },
13
13
  "repository": {
package/es5/README.md DELETED
@@ -1,6 +0,0 @@
1
- Check API Reference for more information about this package;
2
- https://www.graphql-tools.com/docs/api/modules/merge
3
-
4
- You can also learn more about Schema Merging in this chapter;
5
- https://www.graphql-tools.com/docs/schema-merging
6
-
@@ -1,57 +0,0 @@
1
- import { GraphQLSchema, GraphQLField, GraphQLInputField, GraphQLObjectType, GraphQLInputObjectType, GraphQLUnionType, GraphQLScalarType, GraphQLArgument, GraphQLEnumType, GraphQLEnumValue, GraphQLInterfaceType } from 'graphql';
2
- export declare type ExtensionsObject = Record<string, any>;
3
- export declare type ObjectTypeExtensions = {
4
- type: 'object';
5
- fields: Record<string, {
6
- extensions: ExtensionsObject;
7
- arguments: Record<string, ExtensionsObject>;
8
- }>;
9
- };
10
- export declare type InputTypeExtensions = {
11
- type: 'input';
12
- fields: Record<string, {
13
- extensions: ExtensionsObject;
14
- }>;
15
- };
16
- export declare type InterfaceTypeExtensions = {
17
- type: 'interface';
18
- fields: Record<string, {
19
- extensions: ExtensionsObject;
20
- arguments: Record<string, ExtensionsObject>;
21
- }>;
22
- };
23
- export declare type UnionTypeExtensions = {
24
- type: 'union';
25
- };
26
- export declare type ScalarTypeExtensions = {
27
- type: 'scalar';
28
- };
29
- export declare type EnumTypeExtensions = {
30
- type: 'enum';
31
- values: Record<string, ExtensionsObject>;
32
- };
33
- export declare type PossibleTypeExtensions = InputTypeExtensions | InterfaceTypeExtensions | ObjectTypeExtensions | UnionTypeExtensions | ScalarTypeExtensions | EnumTypeExtensions;
34
- export declare type SchemaExtensions = {
35
- schemaExtensions: ExtensionsObject;
36
- types: Record<string, {
37
- extensions: ExtensionsObject;
38
- } & PossibleTypeExtensions>;
39
- };
40
- export declare function travelSchemaPossibleExtensions(schema: GraphQLSchema, hooks: {
41
- onSchema: (schema: GraphQLSchema) => any;
42
- onObjectType: (type: GraphQLObjectType) => any;
43
- onObjectField: (type: GraphQLObjectType, field: GraphQLField<any, any>) => any;
44
- onObjectFieldArg: (type: GraphQLObjectType, field: GraphQLField<any, any>, arg: GraphQLArgument) => any;
45
- onInterface: (type: GraphQLInterfaceType) => any;
46
- onInterfaceField: (type: GraphQLInterfaceType, field: GraphQLField<any, any>) => any;
47
- onInterfaceFieldArg: (type: GraphQLInterfaceType, field: GraphQLField<any, any>, arg: GraphQLArgument) => any;
48
- onInputType: (type: GraphQLInputObjectType) => any;
49
- onInputFieldType: (type: GraphQLInputObjectType, field: GraphQLInputField) => any;
50
- onUnion: (type: GraphQLUnionType) => any;
51
- onScalar: (type: GraphQLScalarType) => any;
52
- onEnum: (type: GraphQLEnumType) => any;
53
- onEnumValue: (type: GraphQLEnumType, value: GraphQLEnumValue) => any;
54
- }): void;
55
- export declare function mergeExtensions(extensions: SchemaExtensions[]): SchemaExtensions;
56
- export declare function applyExtensions(schema: GraphQLSchema, extensions: SchemaExtensions): GraphQLSchema;
57
- export declare function extractExtensionsFromSchema(schema: GraphQLSchema): SchemaExtensions;
package/es5/index.d.ts DELETED
@@ -1,3 +0,0 @@
1
- export * from './merge-resolvers';
2
- export * from './typedefs-mergers';
3
- export * from './extensions';