@graphql-mesh/types 0.95.1 → 0.95.2

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.
@@ -540,21 +540,6 @@ exports.jsonSchema = {
540
540
  "httpDetailsExtensions": {
541
541
  "$ref": "#/definitions/HTTPDetailsExtensionsConfig"
542
542
  },
543
- "http2": {
544
- "anyOf": [
545
- {
546
- "type": "object",
547
- "additionalProperties": true
548
- },
549
- {
550
- "type": "string"
551
- },
552
- {
553
- "type": "array",
554
- "additionalItems": true
555
- }
556
- ]
557
- },
558
543
  "liveQuery": {
559
544
  "$ref": "#/definitions/LiveQueryConfig"
560
545
  },
@@ -525,21 +525,6 @@
525
525
  "httpDetailsExtensions": {
526
526
  "$ref": "#/definitions/HTTPDetailsExtensionsConfig"
527
527
  },
528
- "http2": {
529
- "anyOf": [
530
- {
531
- "type": "object",
532
- "additionalProperties": true
533
- },
534
- {
535
- "type": "string"
536
- },
537
- {
538
- "type": "array",
539
- "additionalItems": true
540
- }
541
- ]
542
- },
543
528
  "liveQuery": {
544
529
  "$ref": "#/definitions/LiveQueryConfig"
545
530
  },
@@ -537,21 +537,6 @@ export const jsonSchema = {
537
537
  "httpDetailsExtensions": {
538
538
  "$ref": "#/definitions/HTTPDetailsExtensionsConfig"
539
539
  },
540
- "http2": {
541
- "anyOf": [
542
- {
543
- "type": "object",
544
- "additionalProperties": true
545
- },
546
- {
547
- "type": "string"
548
- },
549
- {
550
- "type": "array",
551
- "additionalItems": true
552
- }
553
- ]
554
- },
555
540
  "liveQuery": {
556
541
  "$ref": "#/definitions/LiveQueryConfig"
557
542
  },
@@ -525,21 +525,6 @@
525
525
  "httpDetailsExtensions": {
526
526
  "$ref": "#/definitions/HTTPDetailsExtensionsConfig"
527
527
  },
528
- "http2": {
529
- "anyOf": [
530
- {
531
- "type": "object",
532
- "additionalProperties": true
533
- },
534
- {
535
- "type": "string"
536
- },
537
- {
538
- "type": "array",
539
- "additionalItems": true
540
- }
541
- ]
542
- },
543
528
  "liveQuery": {
544
529
  "$ref": "#/definitions/LiveQueryConfig"
545
530
  },
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@graphql-mesh/types",
3
- "version": "0.95.1",
3
+ "version": "0.95.2",
4
4
  "sideEffects": false,
5
5
  "peerDependencies": {
6
- "@graphql-mesh/store": "^0.95.1",
6
+ "@graphql-mesh/store": "^0.95.2",
7
7
  "@graphql-tools/utils": "^9.2.1 || ^10.0.0",
8
8
  "graphql": "*",
9
9
  "tslib": "^2.4.0"
@@ -1654,7 +1654,6 @@ export interface Plugin {
1654
1654
  hive?: HivePlugin;
1655
1655
  httpCache?: HTTPCachePlugin;
1656
1656
  httpDetailsExtensions?: HTTPDetailsExtensionsConfig;
1657
- http2?: any;
1658
1657
  liveQuery?: LiveQueryConfig;
1659
1658
  mock?: MockingConfig;
1660
1659
  newrelic?: NewrelicConfig;
@@ -1654,7 +1654,6 @@ export interface Plugin {
1654
1654
  hive?: HivePlugin;
1655
1655
  httpCache?: HTTPCachePlugin;
1656
1656
  httpDetailsExtensions?: HTTPDetailsExtensionsConfig;
1657
- http2?: any;
1658
1657
  liveQuery?: LiveQueryConfig;
1659
1658
  mock?: MockingConfig;
1660
1659
  newrelic?: NewrelicConfig;
@@ -176,8 +176,12 @@ export type InContextSdkMethodCustomSelectionSetParams = {
176
176
  export type InContextSdkMethodInfoParams = {
177
177
  info: GraphQLResolveInfo;
178
178
  };
179
+ export type InContextSdkMethodAutoSelectionSetParams = {
180
+ autoSelectionSetWithDepth: number;
181
+ info?: GraphQLResolveInfo;
182
+ };
179
183
  export type InContextSdkMethodParams<TDefaultReturn, TArgs, TContext, TKey, TReturn> = {
180
184
  root?: any;
181
185
  context: TContext;
182
- } & (InContextSdkMethodCustomSelectionSetParams | InContextSdkMethodInfoParams) & (InContextSdkMethodBatchingParams<TDefaultReturn, TArgs, TKey, TReturn> | InContextSdkMethodRegularParams<TDefaultReturn, TArgs, TReturn>);
186
+ } & (InContextSdkMethodCustomSelectionSetParams | InContextSdkMethodInfoParams | InContextSdkMethodAutoSelectionSetParams) & (InContextSdkMethodBatchingParams<TDefaultReturn, TArgs, TKey, TReturn> | InContextSdkMethodRegularParams<TDefaultReturn, TArgs, TReturn>);
183
187
  export type InContextSdkMethod<TDefaultReturn = any, TArgs = any, TContext = any> = <TKey, TReturn = TDefaultReturn>(params: InContextSdkMethodParams<TDefaultReturn, TArgs, TContext, TKey, TReturn>) => Promise<TReturn>;
@@ -176,8 +176,12 @@ export type InContextSdkMethodCustomSelectionSetParams = {
176
176
  export type InContextSdkMethodInfoParams = {
177
177
  info: GraphQLResolveInfo;
178
178
  };
179
+ export type InContextSdkMethodAutoSelectionSetParams = {
180
+ autoSelectionSetWithDepth: number;
181
+ info?: GraphQLResolveInfo;
182
+ };
179
183
  export type InContextSdkMethodParams<TDefaultReturn, TArgs, TContext, TKey, TReturn> = {
180
184
  root?: any;
181
185
  context: TContext;
182
- } & (InContextSdkMethodCustomSelectionSetParams | InContextSdkMethodInfoParams) & (InContextSdkMethodBatchingParams<TDefaultReturn, TArgs, TKey, TReturn> | InContextSdkMethodRegularParams<TDefaultReturn, TArgs, TReturn>);
186
+ } & (InContextSdkMethodCustomSelectionSetParams | InContextSdkMethodInfoParams | InContextSdkMethodAutoSelectionSetParams) & (InContextSdkMethodBatchingParams<TDefaultReturn, TArgs, TKey, TReturn> | InContextSdkMethodRegularParams<TDefaultReturn, TArgs, TReturn>);
183
187
  export type InContextSdkMethod<TDefaultReturn = any, TArgs = any, TContext = any> = <TKey, TReturn = TDefaultReturn>(params: InContextSdkMethodParams<TDefaultReturn, TArgs, TContext, TKey, TReturn>) => Promise<TReturn>;