@graphql-tools/merge 8.3.2 → 8.3.3
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/cjs/extensions.js +3 -1
- package/esm/extensions.js +1 -0
- package/package.json +2 -2
- package/typings/extensions.d.cts +1 -0
- package/typings/extensions.d.ts +1 -0
package/cjs/extensions.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.applyExtensions = exports.mergeExtensions = void 0;
|
|
3
|
+
exports.applyExtensions = exports.mergeExtensions = exports.extractExtensionsFromSchema = void 0;
|
|
4
4
|
const utils_1 = require("@graphql-tools/utils");
|
|
5
|
+
var utils_2 = require("@graphql-tools/utils");
|
|
6
|
+
Object.defineProperty(exports, "extractExtensionsFromSchema", { enumerable: true, get: function () { return utils_2.extractExtensionsFromSchema; } });
|
|
5
7
|
function mergeExtensions(extensions) {
|
|
6
8
|
return (0, utils_1.mergeDeep)(extensions);
|
|
7
9
|
}
|
package/esm/extensions.js
CHANGED
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-tools/merge",
|
|
3
|
-
"version": "8.3.
|
|
3
|
+
"version": "8.3.3",
|
|
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": "8.
|
|
10
|
+
"@graphql-tools/utils": "8.10.0",
|
|
11
11
|
"tslib": "^2.4.0"
|
|
12
12
|
},
|
|
13
13
|
"repository": {
|
package/typings/extensions.d.cts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { GraphQLSchema } from 'graphql';
|
|
2
2
|
import { SchemaExtensions } from '@graphql-tools/utils';
|
|
3
|
+
export { extractExtensionsFromSchema } from '@graphql-tools/utils';
|
|
3
4
|
export declare function mergeExtensions(extensions: SchemaExtensions[]): SchemaExtensions;
|
|
4
5
|
export declare function applyExtensions(schema: GraphQLSchema, extensions: SchemaExtensions): GraphQLSchema;
|
package/typings/extensions.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { GraphQLSchema } from 'graphql';
|
|
2
2
|
import { SchemaExtensions } from '@graphql-tools/utils';
|
|
3
|
+
export { extractExtensionsFromSchema } from '@graphql-tools/utils';
|
|
3
4
|
export declare function mergeExtensions(extensions: SchemaExtensions[]): SchemaExtensions;
|
|
4
5
|
export declare function applyExtensions(schema: GraphQLSchema, extensions: SchemaExtensions): GraphQLSchema;
|