@graphql-tools/stitching-directives 2.1.1-alpha-5d885fa3.0 → 3.0.0-alpha-8ae2f1b1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/federationToStitchingSDL.d.ts +2 -15
- package/package.json +3 -3
- package/stitchingDirectives.d.ts +3 -2
- package/es5/README.md +0 -7
- package/es5/defaultStitchingDirectiveOptions.d.ts +0 -2
- package/es5/extractVariables.d.ts +0 -7
- package/es5/federationToStitchingSDL.d.ts +0 -15
- package/es5/getSourcePaths.d.ts +0 -3
- package/es5/index.d.ts +0 -3
- package/es5/index.js +0 -1196
- package/es5/index.mjs +0 -1191
- package/es5/package.json +0 -36
- package/es5/parseMergeArgsExpr.d.ts +0 -3
- package/es5/pathsFromSelectionSet.d.ts +0 -2
- package/es5/preparseMergeArgsExpr.d.ts +0 -6
- package/es5/properties.d.ts +0 -5
- package/es5/stitchingDirectives.d.ts +0 -18
- package/es5/stitchingDirectivesTransformer.d.ts +0 -3
- package/es5/stitchingDirectivesValidator.d.ts +0 -3
- package/es5/types.d.ts +0 -35
@@ -1,15 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
computedDirectiveTypeDefs: string;
|
4
|
-
mergeDirectiveTypeDefs: string;
|
5
|
-
canonicalDirectiveTypeDefs: string;
|
6
|
-
stitchingDirectivesTypeDefs: string;
|
7
|
-
allStitchingDirectivesTypeDefs: string;
|
8
|
-
stitchingDirectivesValidator: (schema: import("graphql").GraphQLSchema) => import("graphql").GraphQLSchema;
|
9
|
-
stitchingDirectivesTransformer: (subschemaConfig: import("../../delegate/src").SubschemaConfig<any, any, any, Record<string, any>>) => import("../../delegate/src").SubschemaConfig<any, any, any, Record<string, any>>;
|
10
|
-
keyDirective: import("graphql").GraphQLDirective;
|
11
|
-
computedDirective: import("graphql").GraphQLDirective;
|
12
|
-
mergeDirective: import("graphql").GraphQLDirective;
|
13
|
-
canonicalDirective: import("graphql").GraphQLDirective;
|
14
|
-
allStitchingDirectives: import("graphql").GraphQLDirective[];
|
15
|
-
}): string;
|
1
|
+
import { StitchingDirectivesResult } from './stitchingDirectives';
|
2
|
+
export declare function federationToStitchingSDL(federationSDL: string, stitchingConfig?: StitchingDirectivesResult): string;
|
package/package.json
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
{
|
2
2
|
"name": "@graphql-tools/stitching-directives",
|
3
|
-
"version": "
|
3
|
+
"version": "3.0.0-alpha-8ae2f1b1.0",
|
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"
|
8
8
|
},
|
9
9
|
"dependencies": {
|
10
|
-
"@graphql-tools/delegate": "
|
11
|
-
"@graphql-tools/utils": "
|
10
|
+
"@graphql-tools/delegate": "9.0.0-alpha-8ae2f1b1.0",
|
11
|
+
"@graphql-tools/utils": "9.0.0-alpha-8ae2f1b1.0",
|
12
12
|
"tslib": "~2.3.0"
|
13
13
|
},
|
14
14
|
"repository": {
|
package/stitchingDirectives.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { GraphQLDirective, GraphQLSchema } from 'graphql';
|
2
2
|
import { SubschemaConfig } from '@graphql-tools/delegate';
|
3
3
|
import { StitchingDirectivesOptions } from './types';
|
4
|
-
export
|
4
|
+
export interface StitchingDirectivesResult {
|
5
5
|
keyDirectiveTypeDefs: string;
|
6
6
|
computedDirectiveTypeDefs: string;
|
7
7
|
mergeDirectiveTypeDefs: string;
|
@@ -15,4 +15,5 @@ export declare function stitchingDirectives(options?: StitchingDirectivesOptions
|
|
15
15
|
mergeDirective: GraphQLDirective;
|
16
16
|
canonicalDirective: GraphQLDirective;
|
17
17
|
allStitchingDirectives: Array<GraphQLDirective>;
|
18
|
-
}
|
18
|
+
}
|
19
|
+
export declare function stitchingDirectives(options?: StitchingDirectivesOptions): StitchingDirectivesResult;
|
package/es5/README.md
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
Check API Reference for more information about this package;
|
2
|
-
https://www.graphql-tools.com/docs/api/modules/stitching_directives_src
|
3
|
-
|
4
|
-
You can also learn more about Schema Stitching Directives in this chapter;
|
5
|
-
https://www.graphql-tools.com/docs/stitch-directives-sdl
|
6
|
-
|
7
|
-
|
@@ -1,15 +0,0 @@
|
|
1
|
-
export declare function federationToStitchingSDL(federationSDL: string, stitchingConfig?: {
|
2
|
-
keyDirectiveTypeDefs: string;
|
3
|
-
computedDirectiveTypeDefs: string;
|
4
|
-
mergeDirectiveTypeDefs: string;
|
5
|
-
canonicalDirectiveTypeDefs: string;
|
6
|
-
stitchingDirectivesTypeDefs: string;
|
7
|
-
allStitchingDirectivesTypeDefs: string;
|
8
|
-
stitchingDirectivesValidator: (schema: import("graphql").GraphQLSchema) => import("graphql").GraphQLSchema;
|
9
|
-
stitchingDirectivesTransformer: (subschemaConfig: import("../../delegate/src").SubschemaConfig<any, any, any, Record<string, any>>) => import("../../delegate/src").SubschemaConfig<any, any, any, Record<string, any>>;
|
10
|
-
keyDirective: import("graphql").GraphQLDirective;
|
11
|
-
computedDirective: import("graphql").GraphQLDirective;
|
12
|
-
mergeDirective: import("graphql").GraphQLDirective;
|
13
|
-
canonicalDirective: import("graphql").GraphQLDirective;
|
14
|
-
allStitchingDirectives: import("graphql").GraphQLDirective[];
|
15
|
-
}): string;
|
package/es5/getSourcePaths.d.ts
DELETED
package/es5/index.d.ts
DELETED