@graphql-mesh/types 0.93.1 → 0.93.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.
@@ -522,7 +522,19 @@ exports.jsonSchema = {
522
522
  $ref: '#/definitions/HTTPDetailsExtensionsConfig',
523
523
  },
524
524
  http2: {
525
- $ref: '#/definitions/Http2Plugin',
525
+ anyOf: [
526
+ {
527
+ type: 'object',
528
+ additionalProperties: true,
529
+ },
530
+ {
531
+ type: 'string',
532
+ },
533
+ {
534
+ type: 'array',
535
+ additionalItems: true,
536
+ },
537
+ ],
526
538
  },
527
539
  liveQuery: {
528
540
  $ref: '#/definitions/LiveQueryConfig',
@@ -2165,20 +2177,6 @@ exports.jsonSchema = {
2165
2177
  },
2166
2178
  },
2167
2179
  },
2168
- Http2Plugin: {
2169
- additionalProperties: false,
2170
- type: 'object',
2171
- title: 'Http2Plugin',
2172
- properties: {
2173
- origins: {
2174
- type: 'array',
2175
- items: {
2176
- type: 'string',
2177
- },
2178
- additionalItems: false,
2179
- },
2180
- },
2181
- },
2182
2180
  LiveQueryConfig: {
2183
2181
  additionalProperties: false,
2184
2182
  type: 'object',
@@ -519,7 +519,19 @@
519
519
  "$ref": "#/definitions/HTTPDetailsExtensionsConfig"
520
520
  },
521
521
  "http2": {
522
- "$ref": "#/definitions/Http2Plugin"
522
+ "anyOf": [
523
+ {
524
+ "type": "object",
525
+ "additionalProperties": true
526
+ },
527
+ {
528
+ "type": "string"
529
+ },
530
+ {
531
+ "type": "array",
532
+ "additionalItems": true
533
+ }
534
+ ]
523
535
  },
524
536
  "liveQuery": {
525
537
  "$ref": "#/definitions/LiveQueryConfig"
@@ -2162,20 +2174,6 @@
2162
2174
  }
2163
2175
  }
2164
2176
  },
2165
- "Http2Plugin": {
2166
- "additionalProperties": false,
2167
- "type": "object",
2168
- "title": "Http2Plugin",
2169
- "properties": {
2170
- "origins": {
2171
- "type": "array",
2172
- "items": {
2173
- "type": "string"
2174
- },
2175
- "additionalItems": false
2176
- }
2177
- }
2178
- },
2179
2177
  "LiveQueryConfig": {
2180
2178
  "additionalProperties": false,
2181
2179
  "type": "object",
@@ -519,7 +519,19 @@ export const jsonSchema = {
519
519
  $ref: '#/definitions/HTTPDetailsExtensionsConfig',
520
520
  },
521
521
  http2: {
522
- $ref: '#/definitions/Http2Plugin',
522
+ anyOf: [
523
+ {
524
+ type: 'object',
525
+ additionalProperties: true,
526
+ },
527
+ {
528
+ type: 'string',
529
+ },
530
+ {
531
+ type: 'array',
532
+ additionalItems: true,
533
+ },
534
+ ],
523
535
  },
524
536
  liveQuery: {
525
537
  $ref: '#/definitions/LiveQueryConfig',
@@ -2162,20 +2174,6 @@ export const jsonSchema = {
2162
2174
  },
2163
2175
  },
2164
2176
  },
2165
- Http2Plugin: {
2166
- additionalProperties: false,
2167
- type: 'object',
2168
- title: 'Http2Plugin',
2169
- properties: {
2170
- origins: {
2171
- type: 'array',
2172
- items: {
2173
- type: 'string',
2174
- },
2175
- additionalItems: false,
2176
- },
2177
- },
2178
- },
2179
2177
  LiveQueryConfig: {
2180
2178
  additionalProperties: false,
2181
2179
  type: 'object',
@@ -519,7 +519,19 @@
519
519
  "$ref": "#/definitions/HTTPDetailsExtensionsConfig"
520
520
  },
521
521
  "http2": {
522
- "$ref": "#/definitions/Http2Plugin"
522
+ "anyOf": [
523
+ {
524
+ "type": "object",
525
+ "additionalProperties": true
526
+ },
527
+ {
528
+ "type": "string"
529
+ },
530
+ {
531
+ "type": "array",
532
+ "additionalItems": true
533
+ }
534
+ ]
523
535
  },
524
536
  "liveQuery": {
525
537
  "$ref": "#/definitions/LiveQueryConfig"
@@ -2162,20 +2174,6 @@
2162
2174
  }
2163
2175
  }
2164
2176
  },
2165
- "Http2Plugin": {
2166
- "additionalProperties": false,
2167
- "type": "object",
2168
- "title": "Http2Plugin",
2169
- "properties": {
2170
- "origins": {
2171
- "type": "array",
2172
- "items": {
2173
- "type": "string"
2174
- },
2175
- "additionalItems": false
2176
- }
2177
- }
2178
- },
2179
2177
  "LiveQueryConfig": {
2180
2178
  "additionalProperties": false,
2181
2179
  "type": "object",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-mesh/types",
3
- "version": "0.93.1",
3
+ "version": "0.93.2",
4
4
  "sideEffects": false,
5
5
  "peerDependencies": {
6
6
  "@graphql-mesh/store": "^0.93.1",
@@ -1589,7 +1589,7 @@ export interface Plugin {
1589
1589
  hive?: HivePlugin;
1590
1590
  httpCache?: HTTPCachePlugin;
1591
1591
  httpDetailsExtensions?: HTTPDetailsExtensionsConfig;
1592
- http2?: Http2Plugin;
1592
+ http2?: any;
1593
1593
  liveQuery?: LiveQueryConfig;
1594
1594
  mock?: MockingConfig;
1595
1595
  newrelic?: NewrelicConfig;
@@ -1752,9 +1752,6 @@ export interface URLPatternObj {
1752
1752
  export interface HTTPDetailsExtensionsConfig {
1753
1753
  if?: any;
1754
1754
  }
1755
- export interface Http2Plugin {
1756
- origins?: string[];
1757
- }
1758
1755
  export interface LiveQueryConfig {
1759
1756
  /**
1760
1757
  * Invalidate a query or queries when a specific operation is done without an error
@@ -1589,7 +1589,7 @@ export interface Plugin {
1589
1589
  hive?: HivePlugin;
1590
1590
  httpCache?: HTTPCachePlugin;
1591
1591
  httpDetailsExtensions?: HTTPDetailsExtensionsConfig;
1592
- http2?: Http2Plugin;
1592
+ http2?: any;
1593
1593
  liveQuery?: LiveQueryConfig;
1594
1594
  mock?: MockingConfig;
1595
1595
  newrelic?: NewrelicConfig;
@@ -1752,9 +1752,6 @@ export interface URLPatternObj {
1752
1752
  export interface HTTPDetailsExtensionsConfig {
1753
1753
  if?: any;
1754
1754
  }
1755
- export interface Http2Plugin {
1756
- origins?: string[];
1757
- }
1758
1755
  export interface LiveQueryConfig {
1759
1756
  /**
1760
1757
  * Invalidate a query or queries when a specific operation is done without an error