@graphql-tools/merge 8.3.13-alpha-20221114133606-dae9ff99 → 8.3.13
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 +2 -2
- package/typings/typedefs-mergers/merge-nodes.d.cts +1 -1
- package/typings/typedefs-mergers/merge-nodes.d.ts +1 -1
- package/typings/typedefs-mergers/merge-typedefs.d.cts +1 -1
- package/typings/typedefs-mergers/merge-typedefs.d.ts +1 -1
- package/typings/typedefs-mergers/utils.d.cts +1 -1
- package/typings/typedefs-mergers/utils.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-tools/merge",
|
|
3
|
-
"version": "8.3.13
|
|
3
|
+
"version": "8.3.13",
|
|
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 || ^17.0.0"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@graphql-tools/utils": "9.1.2
|
|
10
|
+
"@graphql-tools/utils": "9.1.2",
|
|
11
11
|
"tslib": "^2.4.0"
|
|
12
12
|
},
|
|
13
13
|
"repository": {
|
|
@@ -2,7 +2,7 @@ import { Config } from './merge-typedefs.cjs';
|
|
|
2
2
|
import { DefinitionNode, SchemaDefinitionNode, SchemaExtensionNode } from 'graphql';
|
|
3
3
|
import { NamedDefinitionNode } from '@graphql-tools/utils';
|
|
4
4
|
export declare const schemaDefSymbol = "SCHEMA_DEF_SYMBOL";
|
|
5
|
-
export
|
|
5
|
+
export type MergedResultMap = Record<string, NamedDefinitionNode> & {
|
|
6
6
|
[schemaDefSymbol]: SchemaDefinitionNode | SchemaExtensionNode;
|
|
7
7
|
};
|
|
8
8
|
export declare function isNamedDefinitionNode(definitionNode: DefinitionNode): definitionNode is NamedDefinitionNode;
|
|
@@ -2,7 +2,7 @@ import { Config } from './merge-typedefs.js';
|
|
|
2
2
|
import { DefinitionNode, SchemaDefinitionNode, SchemaExtensionNode } from 'graphql';
|
|
3
3
|
import { NamedDefinitionNode } from '@graphql-tools/utils';
|
|
4
4
|
export declare const schemaDefSymbol = "SCHEMA_DEF_SYMBOL";
|
|
5
|
-
export
|
|
5
|
+
export type MergedResultMap = Record<string, NamedDefinitionNode> & {
|
|
6
6
|
[schemaDefSymbol]: SchemaDefinitionNode | SchemaExtensionNode;
|
|
7
7
|
};
|
|
8
8
|
export declare function isNamedDefinitionNode(definitionNode: DefinitionNode): definitionNode is NamedDefinitionNode;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DefinitionNode, DocumentNode, ParseOptions } from 'graphql';
|
|
2
2
|
import { CompareFn } from './utils.cjs';
|
|
3
3
|
import { GetDocumentNodeFromSchemaOptions, TypeSource } from '@graphql-tools/utils';
|
|
4
|
-
|
|
4
|
+
type Omit<T, K extends keyof any> = Pick<T, Exclude<keyof T, K>>;
|
|
5
5
|
export interface Config extends ParseOptions, GetDocumentNodeFromSchemaOptions {
|
|
6
6
|
/**
|
|
7
7
|
* Produces `schema { query: ..., mutation: ..., subscription: ... }`
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DefinitionNode, DocumentNode, ParseOptions } from 'graphql';
|
|
2
2
|
import { CompareFn } from './utils.js';
|
|
3
3
|
import { GetDocumentNodeFromSchemaOptions, TypeSource } from '@graphql-tools/utils';
|
|
4
|
-
|
|
4
|
+
type Omit<T, K extends keyof any> = Pick<T, Exclude<keyof T, K>>;
|
|
5
5
|
export interface Config extends ParseOptions, GetDocumentNodeFromSchemaOptions {
|
|
6
6
|
/**
|
|
7
7
|
* Produces `schema { query: ..., mutation: ..., subscription: ... }`
|
|
@@ -11,5 +11,5 @@ export declare enum CompareVal {
|
|
|
11
11
|
A_EQUALS_B = 0,
|
|
12
12
|
A_GREATER_THAN_B = 1
|
|
13
13
|
}
|
|
14
|
-
export
|
|
14
|
+
export type CompareFn<T> = (a: T | undefined, b: T | undefined) => -1 | 0 | 1;
|
|
15
15
|
export declare function defaultStringComparator(a: string | undefined, b: string | undefined): CompareVal;
|
|
@@ -11,5 +11,5 @@ export declare enum CompareVal {
|
|
|
11
11
|
A_EQUALS_B = 0,
|
|
12
12
|
A_GREATER_THAN_B = 1
|
|
13
13
|
}
|
|
14
|
-
export
|
|
14
|
+
export type CompareFn<T> = (a: T | undefined, b: T | undefined) => -1 | 0 | 1;
|
|
15
15
|
export declare function defaultStringComparator(a: string | undefined, b: string | undefined): CompareVal;
|