@graphql-tools/import 7.1.3-alpha-20251003171749-9570d1f227db8f601dafada74b3eda2d023faf01 → 7.1.3-alpha-20251003210002-311a339b043fcea37a07045b3247f49f82f0cf7e
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 +2 -18
- package/esm/index.js +2 -18
- package/package.json +2 -2
package/cjs/index.js
CHANGED
|
@@ -188,9 +188,11 @@ function importFederatedSchemaLinks(definition, definitionsByName) {
|
|
|
188
188
|
* */
|
|
189
189
|
if (matchesImplementation(federationUrl, 'v2.0')) {
|
|
190
190
|
const federationImports = [
|
|
191
|
+
'@composeDirective',
|
|
191
192
|
'@extends',
|
|
192
193
|
'@external',
|
|
193
194
|
'@inaccessible',
|
|
195
|
+
'@interfaceObject',
|
|
194
196
|
'@key',
|
|
195
197
|
'@override',
|
|
196
198
|
'@provides',
|
|
@@ -198,24 +200,6 @@ function importFederatedSchemaLinks(definition, definitionsByName) {
|
|
|
198
200
|
'@shareable',
|
|
199
201
|
'@tag',
|
|
200
202
|
'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',
|
|
219
203
|
];
|
|
220
204
|
for (const i of federationImports) {
|
|
221
205
|
addDefinition(resolveImportName(federationUrl, i));
|
package/esm/index.js
CHANGED
|
@@ -180,9 +180,11 @@ function importFederatedSchemaLinks(definition, definitionsByName) {
|
|
|
180
180
|
* */
|
|
181
181
|
if (matchesImplementation(federationUrl, 'v2.0')) {
|
|
182
182
|
const federationImports = [
|
|
183
|
+
'@composeDirective',
|
|
183
184
|
'@extends',
|
|
184
185
|
'@external',
|
|
185
186
|
'@inaccessible',
|
|
187
|
+
'@interfaceObject',
|
|
186
188
|
'@key',
|
|
187
189
|
'@override',
|
|
188
190
|
'@provides',
|
|
@@ -190,24 +192,6 @@ function importFederatedSchemaLinks(definition, definitionsByName) {
|
|
|
190
192
|
'@shareable',
|
|
191
193
|
'@tag',
|
|
192
194
|
'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',
|
|
211
195
|
];
|
|
212
196
|
for (const i of federationImports) {
|
|
213
197
|
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-20251003210002-311a339b043fcea37a07045b3247f49f82f0cf7e",
|
|
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-20251003210002-311a339b043fcea37a07045b3247f49f82f0cf7e",
|
|
11
11
|
"@theguild/federation-composition": "^0.20.1",
|
|
12
12
|
"resolve-from": "5.0.0",
|
|
13
13
|
"tslib": "^2.4.0"
|