@envelop/apollo-federation 3.0.0-alpha-d0d0776.0 → 3.0.0-alpha-5b6bfa8.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/README.md +10 -10
- package/cjs/index.js +70 -0
- package/cjs/new-cache-policy.js +35 -0
- package/cjs/package.json +1 -0
- package/{index.mjs → esm/index.js} +11 -41
- package/esm/new-cache-policy.js +31 -0
- package/package.json +25 -16
- package/{index.d.ts → typings/index.d.ts} +0 -0
- package/{newCachePolicy.d.ts → typings/new-cache-policy.d.ts} +0 -0
- package/index.js +0 -100
package/README.md
CHANGED
|
@@ -11,27 +11,27 @@ yarn add @envelop/apollo-federation
|
|
|
11
11
|
## Usage Example
|
|
12
12
|
|
|
13
13
|
```ts
|
|
14
|
-
import { envelop } from '@envelop/core'
|
|
15
|
-
import { ApolloGateway } from '@apollo/gateway'
|
|
16
|
-
import { useApolloFederation } from '@envelop/apollo-federation'
|
|
14
|
+
import { envelop } from '@envelop/core'
|
|
15
|
+
import { ApolloGateway } from '@apollo/gateway'
|
|
16
|
+
import { useApolloFederation } from '@envelop/apollo-federation'
|
|
17
17
|
|
|
18
18
|
// Initialize the gateway
|
|
19
19
|
const gateway = new ApolloGateway({
|
|
20
20
|
serviceList: [
|
|
21
21
|
{ name: 'accounts', url: 'http://localhost:4001' },
|
|
22
|
-
{ name: 'products', url: 'http://localhost:4002' }
|
|
22
|
+
{ name: 'products', url: 'http://localhost:4002' }
|
|
23
23
|
// ...additional subgraphs...
|
|
24
|
-
]
|
|
25
|
-
})
|
|
24
|
+
]
|
|
25
|
+
})
|
|
26
26
|
|
|
27
27
|
// Make sure all services are loaded
|
|
28
|
-
await gateway.load()
|
|
28
|
+
await gateway.load()
|
|
29
29
|
|
|
30
30
|
// Then pass it to the plugin configuration
|
|
31
31
|
const getEnveloped = envelop({
|
|
32
32
|
plugins: [
|
|
33
33
|
// ... other plugins ...
|
|
34
|
-
useApolloFederation({ gateway })
|
|
35
|
-
]
|
|
36
|
-
})
|
|
34
|
+
useApolloFederation({ gateway })
|
|
35
|
+
]
|
|
36
|
+
})
|
|
37
37
|
```
|
package/cjs/index.js
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.useApolloFederation = void 0;
|
|
4
|
+
const graphql_1 = require("@graphql-tools/graphql");
|
|
5
|
+
const apollo_server_caching_1 = require("apollo-server-caching");
|
|
6
|
+
const new_cache_policy_js_1 = require("./new-cache-policy.js");
|
|
7
|
+
const compat_1 = require("@graphql-tools/compat");
|
|
8
|
+
const useApolloFederation = (options) => {
|
|
9
|
+
const { gateway, cache = new apollo_server_caching_1.InMemoryLRUCache(), logger = console, metrics = Object.create(null), overallCachePolicy = (0, new_cache_policy_js_1.newCachePolicy)(), } = options;
|
|
10
|
+
let schemaHash;
|
|
11
|
+
const documentSourceMap = new WeakMap();
|
|
12
|
+
return {
|
|
13
|
+
onPluginInit({ setSchema }) {
|
|
14
|
+
if (gateway.schema) {
|
|
15
|
+
setSchema(gateway.schema);
|
|
16
|
+
}
|
|
17
|
+
else {
|
|
18
|
+
logger.warn(`ApolloGateway doesn't have the schema loaded. Please make sure ApolloGateway is loaded with .load() method. Otherwise this plugin might not work consistently, especially if you are using ApolloServer.`);
|
|
19
|
+
gateway.load();
|
|
20
|
+
}
|
|
21
|
+
gateway.onSchemaLoadOrUpdate(({ apiSchema, coreSupergraphSdl = (0, graphql_1.printSchema)(apiSchema) }) => {
|
|
22
|
+
setSchema(apiSchema);
|
|
23
|
+
schemaHash = (coreSupergraphSdl || (0, graphql_1.printSchema)(apiSchema));
|
|
24
|
+
});
|
|
25
|
+
},
|
|
26
|
+
onParse({ params: { source } }) {
|
|
27
|
+
const key = source instanceof graphql_1.Source ? source.body : source;
|
|
28
|
+
return ({ result }) => {
|
|
29
|
+
if (!result || result instanceof Error)
|
|
30
|
+
return;
|
|
31
|
+
documentSourceMap.set(result, key);
|
|
32
|
+
};
|
|
33
|
+
},
|
|
34
|
+
onExecute({ args, setExecuteFn }) {
|
|
35
|
+
var _a;
|
|
36
|
+
let documentStr = documentSourceMap.get(args.document);
|
|
37
|
+
if (documentStr == null) {
|
|
38
|
+
documentStr = (0, graphql_1.print)(args.document);
|
|
39
|
+
documentSourceMap.set(args.document, documentStr);
|
|
40
|
+
}
|
|
41
|
+
const operation = (0, graphql_1.getOperationAST)(args.document, (_a = args.operationName) !== null && _a !== void 0 ? _a : undefined);
|
|
42
|
+
if (!operation) {
|
|
43
|
+
throw new Error(`Operation ${args.operationName || ''} cannot be found in ${documentStr}`);
|
|
44
|
+
}
|
|
45
|
+
setExecuteFn(function federationExecutor() {
|
|
46
|
+
var _a, _b, _c;
|
|
47
|
+
return gateway.executor({
|
|
48
|
+
document: args.document,
|
|
49
|
+
request: {
|
|
50
|
+
query: documentStr,
|
|
51
|
+
operationName: (_a = args.operationName) !== null && _a !== void 0 ? _a : undefined,
|
|
52
|
+
variables: (_b = args.variableValues) !== null && _b !== void 0 ? _b : undefined,
|
|
53
|
+
},
|
|
54
|
+
overallCachePolicy,
|
|
55
|
+
operationName: (_c = args.operationName) !== null && _c !== void 0 ? _c : null,
|
|
56
|
+
cache,
|
|
57
|
+
context: args.contextValue,
|
|
58
|
+
queryHash: documentStr,
|
|
59
|
+
logger,
|
|
60
|
+
metrics,
|
|
61
|
+
source: documentStr,
|
|
62
|
+
operation,
|
|
63
|
+
schema: (0, compat_1.compatSchema)(args.schema),
|
|
64
|
+
schemaHash,
|
|
65
|
+
});
|
|
66
|
+
});
|
|
67
|
+
},
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
exports.useApolloFederation = useApolloFederation;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.newCachePolicy = void 0;
|
|
4
|
+
// Taken from https://github.com/apollographql/apollo-server/blob/main/packages/apollo-server-core/src/cachePolicy.ts
|
|
5
|
+
const apollo_server_types_1 = require("apollo-server-types");
|
|
6
|
+
function newCachePolicy() {
|
|
7
|
+
return {
|
|
8
|
+
maxAge: undefined,
|
|
9
|
+
scope: undefined,
|
|
10
|
+
restrict(hint) {
|
|
11
|
+
if (hint.maxAge !== undefined && (this.maxAge === undefined || hint.maxAge < this.maxAge)) {
|
|
12
|
+
this.maxAge = hint.maxAge;
|
|
13
|
+
}
|
|
14
|
+
if (hint.scope !== undefined && this.scope !== apollo_server_types_1.CacheScope.Private) {
|
|
15
|
+
this.scope = hint.scope;
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
replace(hint) {
|
|
19
|
+
if (hint.maxAge !== undefined) {
|
|
20
|
+
this.maxAge = hint.maxAge;
|
|
21
|
+
}
|
|
22
|
+
if (hint.scope !== undefined) {
|
|
23
|
+
this.scope = hint.scope;
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
policyIfCacheable() {
|
|
27
|
+
var _a;
|
|
28
|
+
if (this.maxAge === undefined || this.maxAge === 0) {
|
|
29
|
+
return null;
|
|
30
|
+
}
|
|
31
|
+
return { maxAge: this.maxAge, scope: (_a = this.scope) !== null && _a !== void 0 ? _a : apollo_server_types_1.CacheScope.Public };
|
|
32
|
+
},
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
exports.newCachePolicy = newCachePolicy;
|
package/cjs/package.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"type":"commonjs"}
|
|
@@ -1,38 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { getOperationAST, print, printSchema, Source } from '@graphql-tools/graphql';
|
|
2
2
|
import { InMemoryLRUCache } from 'apollo-server-caching';
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
function newCachePolicy() {
|
|
7
|
-
return {
|
|
8
|
-
maxAge: undefined,
|
|
9
|
-
scope: undefined,
|
|
10
|
-
restrict(hint) {
|
|
11
|
-
if (hint.maxAge !== undefined && (this.maxAge === undefined || hint.maxAge < this.maxAge)) {
|
|
12
|
-
this.maxAge = hint.maxAge;
|
|
13
|
-
}
|
|
14
|
-
if (hint.scope !== undefined && this.scope !== CacheScope.Private) {
|
|
15
|
-
this.scope = hint.scope;
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
replace(hint) {
|
|
19
|
-
if (hint.maxAge !== undefined) {
|
|
20
|
-
this.maxAge = hint.maxAge;
|
|
21
|
-
}
|
|
22
|
-
if (hint.scope !== undefined) {
|
|
23
|
-
this.scope = hint.scope;
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
policyIfCacheable() {
|
|
27
|
-
if (this.maxAge === undefined || this.maxAge === 0) {
|
|
28
|
-
return null;
|
|
29
|
-
}
|
|
30
|
-
return { maxAge: this.maxAge, scope: this.scope ?? CacheScope.Public };
|
|
31
|
-
},
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
const useApolloFederation = (options) => {
|
|
3
|
+
import { newCachePolicy } from './new-cache-policy.js';
|
|
4
|
+
import { compatSchema } from '@graphql-tools/compat';
|
|
5
|
+
export const useApolloFederation = (options) => {
|
|
36
6
|
const { gateway, cache = new InMemoryLRUCache(), logger = console, metrics = Object.create(null), overallCachePolicy = newCachePolicy(), } = options;
|
|
37
7
|
let schemaHash;
|
|
38
8
|
const documentSourceMap = new WeakMap();
|
|
@@ -59,25 +29,27 @@ const useApolloFederation = (options) => {
|
|
|
59
29
|
};
|
|
60
30
|
},
|
|
61
31
|
onExecute({ args, setExecuteFn }) {
|
|
32
|
+
var _a;
|
|
62
33
|
let documentStr = documentSourceMap.get(args.document);
|
|
63
34
|
if (documentStr == null) {
|
|
64
35
|
documentStr = print(args.document);
|
|
65
36
|
documentSourceMap.set(args.document, documentStr);
|
|
66
37
|
}
|
|
67
|
-
const operation = getOperationAST(args.document, args.operationName
|
|
38
|
+
const operation = getOperationAST(args.document, (_a = args.operationName) !== null && _a !== void 0 ? _a : undefined);
|
|
68
39
|
if (!operation) {
|
|
69
40
|
throw new Error(`Operation ${args.operationName || ''} cannot be found in ${documentStr}`);
|
|
70
41
|
}
|
|
71
42
|
setExecuteFn(function federationExecutor() {
|
|
43
|
+
var _a, _b, _c;
|
|
72
44
|
return gateway.executor({
|
|
73
45
|
document: args.document,
|
|
74
46
|
request: {
|
|
75
47
|
query: documentStr,
|
|
76
|
-
operationName: args.operationName
|
|
77
|
-
variables: args.variableValues
|
|
48
|
+
operationName: (_a = args.operationName) !== null && _a !== void 0 ? _a : undefined,
|
|
49
|
+
variables: (_b = args.variableValues) !== null && _b !== void 0 ? _b : undefined,
|
|
78
50
|
},
|
|
79
51
|
overallCachePolicy,
|
|
80
|
-
operationName: args.operationName
|
|
52
|
+
operationName: (_c = args.operationName) !== null && _c !== void 0 ? _c : null,
|
|
81
53
|
cache,
|
|
82
54
|
context: args.contextValue,
|
|
83
55
|
queryHash: documentStr,
|
|
@@ -85,12 +57,10 @@ const useApolloFederation = (options) => {
|
|
|
85
57
|
metrics,
|
|
86
58
|
source: documentStr,
|
|
87
59
|
operation,
|
|
88
|
-
schema: args.schema,
|
|
60
|
+
schema: compatSchema(args.schema),
|
|
89
61
|
schemaHash,
|
|
90
62
|
});
|
|
91
63
|
});
|
|
92
64
|
},
|
|
93
65
|
};
|
|
94
66
|
};
|
|
95
|
-
|
|
96
|
-
export { useApolloFederation };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// Taken from https://github.com/apollographql/apollo-server/blob/main/packages/apollo-server-core/src/cachePolicy.ts
|
|
2
|
+
import { CacheScope } from 'apollo-server-types';
|
|
3
|
+
export function newCachePolicy() {
|
|
4
|
+
return {
|
|
5
|
+
maxAge: undefined,
|
|
6
|
+
scope: undefined,
|
|
7
|
+
restrict(hint) {
|
|
8
|
+
if (hint.maxAge !== undefined && (this.maxAge === undefined || hint.maxAge < this.maxAge)) {
|
|
9
|
+
this.maxAge = hint.maxAge;
|
|
10
|
+
}
|
|
11
|
+
if (hint.scope !== undefined && this.scope !== CacheScope.Private) {
|
|
12
|
+
this.scope = hint.scope;
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
replace(hint) {
|
|
16
|
+
if (hint.maxAge !== undefined) {
|
|
17
|
+
this.maxAge = hint.maxAge;
|
|
18
|
+
}
|
|
19
|
+
if (hint.scope !== undefined) {
|
|
20
|
+
this.scope = hint.scope;
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
policyIfCacheable() {
|
|
24
|
+
var _a;
|
|
25
|
+
if (this.maxAge === undefined || this.maxAge === 0) {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
return { maxAge: this.maxAge, scope: (_a = this.scope) !== null && _a !== void 0 ? _a : CacheScope.Public };
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@envelop/apollo-federation",
|
|
3
|
-
"version": "3.0.0-alpha-
|
|
3
|
+
"version": "3.0.0-alpha-5b6bfa8.0",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@apollo/gateway": "^0.41.0 || ^0.42.0 || ^0.43.0",
|
|
7
|
-
"@envelop/core": "3.0.0-alpha-
|
|
8
|
-
"graphql": "
|
|
7
|
+
"@envelop/core": "3.0.0-alpha-5b6bfa8.0",
|
|
8
|
+
"@graphql-tools/graphql": "0.1.0-alpha-33fb2950.0"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"apollo-server-caching": "^3.1.0",
|
|
@@ -18,33 +18,42 @@
|
|
|
18
18
|
},
|
|
19
19
|
"author": "Arda TANRIKULU <ardatanrikulu@gmail.com>",
|
|
20
20
|
"license": "MIT",
|
|
21
|
-
"main": "index.js",
|
|
22
|
-
"module": "index.
|
|
23
|
-
"typings": "index.d.ts",
|
|
21
|
+
"main": "cjs/index.js",
|
|
22
|
+
"module": "esm/index.js",
|
|
23
|
+
"typings": "typings/index.d.ts",
|
|
24
24
|
"typescript": {
|
|
25
|
-
"definition": "index.d.ts"
|
|
25
|
+
"definition": "typings/index.d.ts"
|
|
26
26
|
},
|
|
27
|
+
"type": "module",
|
|
27
28
|
"exports": {
|
|
28
29
|
".": {
|
|
29
30
|
"require": {
|
|
30
|
-
"
|
|
31
|
-
"
|
|
31
|
+
"types": "./typings/index.d.ts",
|
|
32
|
+
"default": "./cjs/index.js"
|
|
32
33
|
},
|
|
33
34
|
"import": {
|
|
34
|
-
"
|
|
35
|
-
"
|
|
35
|
+
"types": "./typings/index.d.ts",
|
|
36
|
+
"default": "./esm/index.js"
|
|
37
|
+
},
|
|
38
|
+
"default": {
|
|
39
|
+
"types": "./typings/index.d.ts",
|
|
40
|
+
"default": "./esm/index.js"
|
|
36
41
|
}
|
|
37
42
|
},
|
|
38
43
|
"./*": {
|
|
39
44
|
"require": {
|
|
40
|
-
"
|
|
41
|
-
"
|
|
45
|
+
"types": "./typings/*.d.ts",
|
|
46
|
+
"default": "./cjs/*.js"
|
|
42
47
|
},
|
|
43
48
|
"import": {
|
|
44
|
-
"
|
|
45
|
-
"
|
|
49
|
+
"types": "./typings/*.d.ts",
|
|
50
|
+
"default": "./esm/*.js"
|
|
51
|
+
},
|
|
52
|
+
"default": {
|
|
53
|
+
"types": "./typings/*.d.ts",
|
|
54
|
+
"default": "./esm/*.js"
|
|
46
55
|
}
|
|
47
56
|
},
|
|
48
57
|
"./package.json": "./package.json"
|
|
49
58
|
}
|
|
50
|
-
}
|
|
59
|
+
}
|
|
File without changes
|
|
File without changes
|
package/index.js
DELETED
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const graphql = require('graphql');
|
|
6
|
-
const apolloServerCaching = require('apollo-server-caching');
|
|
7
|
-
const apolloServerTypes = require('apollo-server-types');
|
|
8
|
-
|
|
9
|
-
// Taken from https://github.com/apollographql/apollo-server/blob/main/packages/apollo-server-core/src/cachePolicy.ts
|
|
10
|
-
function newCachePolicy() {
|
|
11
|
-
return {
|
|
12
|
-
maxAge: undefined,
|
|
13
|
-
scope: undefined,
|
|
14
|
-
restrict(hint) {
|
|
15
|
-
if (hint.maxAge !== undefined && (this.maxAge === undefined || hint.maxAge < this.maxAge)) {
|
|
16
|
-
this.maxAge = hint.maxAge;
|
|
17
|
-
}
|
|
18
|
-
if (hint.scope !== undefined && this.scope !== apolloServerTypes.CacheScope.Private) {
|
|
19
|
-
this.scope = hint.scope;
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
replace(hint) {
|
|
23
|
-
if (hint.maxAge !== undefined) {
|
|
24
|
-
this.maxAge = hint.maxAge;
|
|
25
|
-
}
|
|
26
|
-
if (hint.scope !== undefined) {
|
|
27
|
-
this.scope = hint.scope;
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
policyIfCacheable() {
|
|
31
|
-
if (this.maxAge === undefined || this.maxAge === 0) {
|
|
32
|
-
return null;
|
|
33
|
-
}
|
|
34
|
-
return { maxAge: this.maxAge, scope: this.scope ?? apolloServerTypes.CacheScope.Public };
|
|
35
|
-
},
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
const useApolloFederation = (options) => {
|
|
40
|
-
const { gateway, cache = new apolloServerCaching.InMemoryLRUCache(), logger = console, metrics = Object.create(null), overallCachePolicy = newCachePolicy(), } = options;
|
|
41
|
-
let schemaHash;
|
|
42
|
-
const documentSourceMap = new WeakMap();
|
|
43
|
-
return {
|
|
44
|
-
onPluginInit({ setSchema }) {
|
|
45
|
-
if (gateway.schema) {
|
|
46
|
-
setSchema(gateway.schema);
|
|
47
|
-
}
|
|
48
|
-
else {
|
|
49
|
-
logger.warn(`ApolloGateway doesn't have the schema loaded. Please make sure ApolloGateway is loaded with .load() method. Otherwise this plugin might not work consistently, especially if you are using ApolloServer.`);
|
|
50
|
-
gateway.load();
|
|
51
|
-
}
|
|
52
|
-
gateway.onSchemaLoadOrUpdate(({ apiSchema, coreSupergraphSdl = graphql.printSchema(apiSchema) }) => {
|
|
53
|
-
setSchema(apiSchema);
|
|
54
|
-
schemaHash = (coreSupergraphSdl || graphql.printSchema(apiSchema));
|
|
55
|
-
});
|
|
56
|
-
},
|
|
57
|
-
onParse({ params: { source } }) {
|
|
58
|
-
const key = source instanceof graphql.Source ? source.body : source;
|
|
59
|
-
return ({ result }) => {
|
|
60
|
-
if (!result || result instanceof Error)
|
|
61
|
-
return;
|
|
62
|
-
documentSourceMap.set(result, key);
|
|
63
|
-
};
|
|
64
|
-
},
|
|
65
|
-
onExecute({ args, setExecuteFn }) {
|
|
66
|
-
let documentStr = documentSourceMap.get(args.document);
|
|
67
|
-
if (documentStr == null) {
|
|
68
|
-
documentStr = graphql.print(args.document);
|
|
69
|
-
documentSourceMap.set(args.document, documentStr);
|
|
70
|
-
}
|
|
71
|
-
const operation = graphql.getOperationAST(args.document, args.operationName ?? undefined);
|
|
72
|
-
if (!operation) {
|
|
73
|
-
throw new Error(`Operation ${args.operationName || ''} cannot be found in ${documentStr}`);
|
|
74
|
-
}
|
|
75
|
-
setExecuteFn(function federationExecutor() {
|
|
76
|
-
return gateway.executor({
|
|
77
|
-
document: args.document,
|
|
78
|
-
request: {
|
|
79
|
-
query: documentStr,
|
|
80
|
-
operationName: args.operationName ?? undefined,
|
|
81
|
-
variables: args.variableValues ?? undefined,
|
|
82
|
-
},
|
|
83
|
-
overallCachePolicy,
|
|
84
|
-
operationName: args.operationName ?? null,
|
|
85
|
-
cache,
|
|
86
|
-
context: args.contextValue,
|
|
87
|
-
queryHash: documentStr,
|
|
88
|
-
logger,
|
|
89
|
-
metrics,
|
|
90
|
-
source: documentStr,
|
|
91
|
-
operation,
|
|
92
|
-
schema: args.schema,
|
|
93
|
-
schemaHash,
|
|
94
|
-
});
|
|
95
|
-
});
|
|
96
|
-
},
|
|
97
|
-
};
|
|
98
|
-
};
|
|
99
|
-
|
|
100
|
-
exports.useApolloFederation = useApolloFederation;
|