@graphql-tools/import 7.1.3-alpha-20251002211330-d8a6219b71671be7c4dcc1c2561a3abe66c973eb → 7.1.3-alpha-20251003171749-9570d1f227db8f601dafada74b3eda2d023faf01
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/index.js +18 -2
- package/esm/index.js +18 -2
- package/package.json +2 -2
package/cjs/index.js
CHANGED
|
@@ -188,11 +188,9 @@ function importFederatedSchemaLinks(definition, definitionsByName) {
|
|
|
188
188
|
* */
|
|
189
189
|
if (matchesImplementation(federationUrl, 'v2.0')) {
|
|
190
190
|
const federationImports = [
|
|
191
|
-
'@composeDirective',
|
|
192
191
|
'@extends',
|
|
193
192
|
'@external',
|
|
194
193
|
'@inaccessible',
|
|
195
|
-
'@interfaceObject',
|
|
196
194
|
'@key',
|
|
197
195
|
'@override',
|
|
198
196
|
'@provides',
|
|
@@ -200,6 +198,24 @@ function importFederatedSchemaLinks(definition, definitionsByName) {
|
|
|
200
198
|
'@shareable',
|
|
201
199
|
'@tag',
|
|
202
200
|
'FieldSet',
|
|
201
|
+
/** v2.1 */
|
|
202
|
+
'@composeDirective',
|
|
203
|
+
/** v2.3 */
|
|
204
|
+
'@interfaceObject',
|
|
205
|
+
/** v2.5 */
|
|
206
|
+
'@authenticated',
|
|
207
|
+
'@requiresScopes',
|
|
208
|
+
/** v2.6 */
|
|
209
|
+
'@policy',
|
|
210
|
+
/** v2.8 */
|
|
211
|
+
'@context',
|
|
212
|
+
'@fromContext',
|
|
213
|
+
/** v2.9 */
|
|
214
|
+
'@cost',
|
|
215
|
+
'@listSize',
|
|
216
|
+
/** v2.10 */
|
|
217
|
+
'@connect',
|
|
218
|
+
'@source',
|
|
203
219
|
];
|
|
204
220
|
for (const i of federationImports) {
|
|
205
221
|
addDefinition(resolveImportName(federationUrl, i));
|
package/esm/index.js
CHANGED
|
@@ -180,11 +180,9 @@ function importFederatedSchemaLinks(definition, definitionsByName) {
|
|
|
180
180
|
* */
|
|
181
181
|
if (matchesImplementation(federationUrl, 'v2.0')) {
|
|
182
182
|
const federationImports = [
|
|
183
|
-
'@composeDirective',
|
|
184
183
|
'@extends',
|
|
185
184
|
'@external',
|
|
186
185
|
'@inaccessible',
|
|
187
|
-
'@interfaceObject',
|
|
188
186
|
'@key',
|
|
189
187
|
'@override',
|
|
190
188
|
'@provides',
|
|
@@ -192,6 +190,24 @@ function importFederatedSchemaLinks(definition, definitionsByName) {
|
|
|
192
190
|
'@shareable',
|
|
193
191
|
'@tag',
|
|
194
192
|
'FieldSet',
|
|
193
|
+
/** v2.1 */
|
|
194
|
+
'@composeDirective',
|
|
195
|
+
/** v2.3 */
|
|
196
|
+
'@interfaceObject',
|
|
197
|
+
/** v2.5 */
|
|
198
|
+
'@authenticated',
|
|
199
|
+
'@requiresScopes',
|
|
200
|
+
/** v2.6 */
|
|
201
|
+
'@policy',
|
|
202
|
+
/** v2.8 */
|
|
203
|
+
'@context',
|
|
204
|
+
'@fromContext',
|
|
205
|
+
/** v2.9 */
|
|
206
|
+
'@cost',
|
|
207
|
+
'@listSize',
|
|
208
|
+
/** v2.10 */
|
|
209
|
+
'@connect',
|
|
210
|
+
'@source',
|
|
195
211
|
];
|
|
196
212
|
for (const i of federationImports) {
|
|
197
213
|
addDefinition(resolveImportName(federationUrl, i));
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-tools/import",
|
|
3
|
-
"version": "7.1.3-alpha-
|
|
3
|
+
"version": "7.1.3-alpha-20251003171749-9570d1f227db8f601dafada74b3eda2d023faf01",
|
|
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": "10.10.0-alpha-
|
|
10
|
+
"@graphql-tools/utils": "10.10.0-alpha-20251003171749-9570d1f227db8f601dafada74b3eda2d023faf01",
|
|
11
11
|
"@theguild/federation-composition": "^0.20.1",
|
|
12
12
|
"resolve-from": "5.0.0",
|
|
13
13
|
"tslib": "^2.4.0"
|