@graphql-tools/delegate 7.0.10-alpha-eecb550f.0 → 7.0.10

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-tools/delegate",
3
- "version": "7.0.10-alpha-eecb550f.0",
3
+ "version": "7.0.10",
4
4
  "description": "A set of utils for faster development of GraphQL tools",
5
5
  "sideEffects": false,
6
6
  "peerDependencies": {
@@ -9,7 +9,7 @@
9
9
  "dependencies": {
10
10
  "@ardatan/aggregate-error": "0.0.6",
11
11
  "@graphql-tools/batch-execute": "^7.0.0",
12
- "@graphql-tools/schema": "7.1.3-alpha-eecb550f.0",
12
+ "@graphql-tools/schema": "^7.0.0",
13
13
  "@graphql-tools/utils": "^7.1.6",
14
14
  "dataloader": "2.0.0",
15
15
  "is-promise": "4.0.0",
package/types.d.ts CHANGED
@@ -116,10 +116,7 @@ export interface SubschemaConfig<K = any, V = any, C = K> {
116
116
  }
117
117
  export interface MergedTypeConfig<K = any, V = any> extends MergedTypeResolverOptions<K, V> {
118
118
  selectionSet?: string;
119
- fields?: Record<string, {
120
- selectionSet?: string;
121
- canonical?: boolean;
122
- }>;
119
+ fields?: Record<string, MergedFieldConfig>;
123
120
  computedFields?: Record<string, {
124
121
  selectionSet?: string;
125
122
  }>;
@@ -135,6 +132,8 @@ export interface MergedTypeResolverOptions<K = any, V = any> {
135
132
  }
136
133
  export interface MergedFieldConfig {
137
134
  selectionSet?: string;
135
+ computed?: boolean;
136
+ canonical?: boolean;
138
137
  }
139
138
  export declare type MergedTypeResolver = (originalResult: any, context: Record<string, any>, info: GraphQLResolveInfo, subschema: GraphQLSchema | SubschemaConfig, selectionSet: SelectionSetNode, key?: any) => any;
140
139
  export interface StitchingInfo {