@theguild/federation-composition 0.14.2 → 0.14.3-alpha-20250117084523-721250e
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.
|
@@ -24,6 +24,9 @@ exports.federationDirectives = new Set([
|
|
|
24
24
|
'join__enumValue',
|
|
25
25
|
'join__field',
|
|
26
26
|
'inaccessible',
|
|
27
|
+
'authenticated',
|
|
28
|
+
'policy',
|
|
29
|
+
'requiresScopes',
|
|
27
30
|
]);
|
|
28
31
|
const specifiedDirectives = new Set(graphql_1.specifiedDirectives.map(d => d.name));
|
|
29
32
|
function getAdditionalDirectivesToStrip(documentNode) {
|
|
@@ -21,6 +21,9 @@ export const federationDirectives = new Set([
|
|
|
21
21
|
'join__enumValue',
|
|
22
22
|
'join__field',
|
|
23
23
|
'inaccessible',
|
|
24
|
+
'authenticated',
|
|
25
|
+
'policy',
|
|
26
|
+
'requiresScopes',
|
|
24
27
|
]);
|
|
25
28
|
const specifiedDirectives = new Set(specifiedDirectivesArray.map(d => d.name));
|
|
26
29
|
function getAdditionalDirectivesToStrip(documentNode) {
|
package/package.json
CHANGED
|
@@ -182,7 +182,7 @@ export declare function createSubgraphValidationContext(subgraph: {
|
|
|
182
182
|
};
|
|
183
183
|
composedDirectives: Set<string>;
|
|
184
184
|
state: import("../state.js").SubgraphState;
|
|
185
|
-
markSpecAsUsed(specName: "link" | "tag" | "inaccessible" | "
|
|
185
|
+
markSpecAsUsed(specName: "link" | "tag" | "inaccessible" | "authenticated" | "policy" | "requiresScopes"): void;
|
|
186
186
|
visitor(typeNodeInfo: TypeNodeInfo): import("graphql").ASTVisitor;
|
|
187
187
|
};
|
|
188
188
|
isLinkSpecDirective(name: string): boolean;
|
|
@@ -182,7 +182,7 @@ export declare function createSubgraphValidationContext(subgraph: {
|
|
|
182
182
|
};
|
|
183
183
|
composedDirectives: Set<string>;
|
|
184
184
|
state: import("../state.js").SubgraphState;
|
|
185
|
-
markSpecAsUsed(specName: "link" | "tag" | "inaccessible" | "
|
|
185
|
+
markSpecAsUsed(specName: "link" | "tag" | "inaccessible" | "authenticated" | "policy" | "requiresScopes"): void;
|
|
186
186
|
visitor(typeNodeInfo: TypeNodeInfo): import("graphql").ASTVisitor;
|
|
187
187
|
};
|
|
188
188
|
isLinkSpecDirective(name: string): boolean;
|