@graphql-mesh/types 0.94.2 → 0.94.3-alpha-20230707084354-da97d469a
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/cjs/config-schema.js +5 -0
- package/cjs/config-schema.json +5 -0
- package/esm/config-schema.js +5 -0
- package/esm/config-schema.json +5 -0
- package/package.json +2 -2
- package/typings/config.d.cts +9 -0
- package/typings/config.d.ts +9 -0
package/cjs/config-schema.js
CHANGED
|
@@ -872,6 +872,11 @@ exports.jsonSchema = {
|
|
|
872
872
|
type: 'boolean',
|
|
873
873
|
description: 'Enable/Disable automatic query batching',
|
|
874
874
|
},
|
|
875
|
+
connectionParams: {
|
|
876
|
+
type: 'object',
|
|
877
|
+
properties: {},
|
|
878
|
+
description: 'JSON object representing the `connectionParams` from a WebSocket connection to add to the runtime of the API calls only for operation during runtime.\nMore information about the WebSocket `connectionParams`:\n - When using `subscriptionsProtocol=WS` (graphql-ws): https://github.com/enisdenjo/graphql-ws/blob/master/docs/interfaces/client.ClientOptions.md#connectionparams\n - When using `subscriptionsProtocol=LEGACY_WS` (subscriptions-transport-ws): https://github.com/apollographql/subscriptions-transport-ws/blob/51270cc7dbaf09c7b9aa67368f1de58148c7d334/README.md#subscriptionclient',
|
|
879
|
+
},
|
|
875
880
|
},
|
|
876
881
|
required: ['endpoint'],
|
|
877
882
|
},
|
package/cjs/config-schema.json
CHANGED
|
@@ -868,6 +868,11 @@
|
|
|
868
868
|
"batch": {
|
|
869
869
|
"type": "boolean",
|
|
870
870
|
"description": "Enable/Disable automatic query batching"
|
|
871
|
+
},
|
|
872
|
+
"connectionParams": {
|
|
873
|
+
"type": "object",
|
|
874
|
+
"properties": {},
|
|
875
|
+
"description": "JSON object representing the `connectionParams` from a WebSocket connection to add to the runtime of the API calls only for operation during runtime.\nMore information about the WebSocket `connectionParams`:\n - When using `subscriptionsProtocol=WS` (graphql-ws): https://github.com/enisdenjo/graphql-ws/blob/master/docs/interfaces/client.ClientOptions.md#connectionparams\n - When using `subscriptionsProtocol=LEGACY_WS` (subscriptions-transport-ws): https://github.com/apollographql/subscriptions-transport-ws/blob/51270cc7dbaf09c7b9aa67368f1de58148c7d334/README.md#subscriptionclient"
|
|
871
876
|
}
|
|
872
877
|
},
|
|
873
878
|
"required": ["endpoint"]
|
package/esm/config-schema.js
CHANGED
|
@@ -869,6 +869,11 @@ export const jsonSchema = {
|
|
|
869
869
|
type: 'boolean',
|
|
870
870
|
description: 'Enable/Disable automatic query batching',
|
|
871
871
|
},
|
|
872
|
+
connectionParams: {
|
|
873
|
+
type: 'object',
|
|
874
|
+
properties: {},
|
|
875
|
+
description: 'JSON object representing the `connectionParams` from a WebSocket connection to add to the runtime of the API calls only for operation during runtime.\nMore information about the WebSocket `connectionParams`:\n - When using `subscriptionsProtocol=WS` (graphql-ws): https://github.com/enisdenjo/graphql-ws/blob/master/docs/interfaces/client.ClientOptions.md#connectionparams\n - When using `subscriptionsProtocol=LEGACY_WS` (subscriptions-transport-ws): https://github.com/apollographql/subscriptions-transport-ws/blob/51270cc7dbaf09c7b9aa67368f1de58148c7d334/README.md#subscriptionclient',
|
|
876
|
+
},
|
|
872
877
|
},
|
|
873
878
|
required: ['endpoint'],
|
|
874
879
|
},
|
package/esm/config-schema.json
CHANGED
|
@@ -868,6 +868,11 @@
|
|
|
868
868
|
"batch": {
|
|
869
869
|
"type": "boolean",
|
|
870
870
|
"description": "Enable/Disable automatic query batching"
|
|
871
|
+
},
|
|
872
|
+
"connectionParams": {
|
|
873
|
+
"type": "object",
|
|
874
|
+
"properties": {},
|
|
875
|
+
"description": "JSON object representing the `connectionParams` from a WebSocket connection to add to the runtime of the API calls only for operation during runtime.\nMore information about the WebSocket `connectionParams`:\n - When using `subscriptionsProtocol=WS` (graphql-ws): https://github.com/enisdenjo/graphql-ws/blob/master/docs/interfaces/client.ClientOptions.md#connectionparams\n - When using `subscriptionsProtocol=LEGACY_WS` (subscriptions-transport-ws): https://github.com/apollographql/subscriptions-transport-ws/blob/51270cc7dbaf09c7b9aa67368f1de58148c7d334/README.md#subscriptionclient"
|
|
871
876
|
}
|
|
872
877
|
},
|
|
873
878
|
"required": ["endpoint"]
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-mesh/types",
|
|
3
|
-
"version": "0.94.
|
|
3
|
+
"version": "0.94.3-alpha-20230707084354-da97d469a",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"peerDependencies": {
|
|
6
|
-
"@graphql-mesh/store": "
|
|
6
|
+
"@graphql-mesh/store": "0.94.3-alpha-20230707084354-da97d469a",
|
|
7
7
|
"@graphql-tools/utils": "^9.2.1 || ^10.0.0",
|
|
8
8
|
"graphql": "*",
|
|
9
9
|
"tslib": "^2.4.0"
|
package/typings/config.d.cts
CHANGED
|
@@ -239,6 +239,15 @@ export interface GraphQLHandlerHTTPConfiguration {
|
|
|
239
239
|
* Enable/Disable automatic query batching
|
|
240
240
|
*/
|
|
241
241
|
batch?: boolean;
|
|
242
|
+
/**
|
|
243
|
+
* JSON object representing the `connectionParams` from a WebSocket connection to add to the runtime of the API calls only for operation during runtime.
|
|
244
|
+
* More information about the WebSocket `connectionParams`:
|
|
245
|
+
* - When using `subscriptionsProtocol=WS` (graphql-ws): https://github.com/enisdenjo/graphql-ws/blob/master/docs/interfaces/client.ClientOptions.md#connectionparams
|
|
246
|
+
* - When using `subscriptionsProtocol=LEGACY_WS` (subscriptions-transport-ws): https://github.com/apollographql/subscriptions-transport-ws/blob/51270cc7dbaf09c7b9aa67368f1de58148c7d334/README.md#subscriptionclient
|
|
247
|
+
*/
|
|
248
|
+
connectionParams?: {
|
|
249
|
+
[k: string]: any;
|
|
250
|
+
};
|
|
242
251
|
}
|
|
243
252
|
export interface GraphQLHandlerCodeFirstConfiguration {
|
|
244
253
|
/**
|
package/typings/config.d.ts
CHANGED
|
@@ -239,6 +239,15 @@ export interface GraphQLHandlerHTTPConfiguration {
|
|
|
239
239
|
* Enable/Disable automatic query batching
|
|
240
240
|
*/
|
|
241
241
|
batch?: boolean;
|
|
242
|
+
/**
|
|
243
|
+
* JSON object representing the `connectionParams` from a WebSocket connection to add to the runtime of the API calls only for operation during runtime.
|
|
244
|
+
* More information about the WebSocket `connectionParams`:
|
|
245
|
+
* - When using `subscriptionsProtocol=WS` (graphql-ws): https://github.com/enisdenjo/graphql-ws/blob/master/docs/interfaces/client.ClientOptions.md#connectionparams
|
|
246
|
+
* - When using `subscriptionsProtocol=LEGACY_WS` (subscriptions-transport-ws): https://github.com/apollographql/subscriptions-transport-ws/blob/51270cc7dbaf09c7b9aa67368f1de58148c7d334/README.md#subscriptionclient
|
|
247
|
+
*/
|
|
248
|
+
connectionParams?: {
|
|
249
|
+
[k: string]: any;
|
|
250
|
+
};
|
|
242
251
|
}
|
|
243
252
|
export interface GraphQLHandlerCodeFirstConfiguration {
|
|
244
253
|
/**
|