@graphql-mesh/types 0.104.3 → 0.104.4

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.
@@ -18,13 +18,16 @@ exports.jsonSchema = {
18
18
  "$ref": "#/definitions/LocalforageConfig"
19
19
  },
20
20
  "redis": {
21
- "description": "Any of: RedisConfigSentinel, RedisConfigSingle",
21
+ "description": "Any of: RedisConfigSentinel, RedisConfigSingle, RedisConfigCluster",
22
22
  "anyOf": [
23
23
  {
24
24
  "$ref": "#/definitions/RedisConfigSentinel"
25
25
  },
26
26
  {
27
27
  "$ref": "#/definitions/RedisConfigSingle"
28
+ },
29
+ {
30
+ "$ref": "#/definitions/RedisConfigCluster"
28
31
  }
29
32
  ]
30
33
  }
@@ -90,6 +93,44 @@ exports.jsonSchema = {
90
93
  }
91
94
  }
92
95
  },
96
+ "RedisConfigCluster": {
97
+ "additionalProperties": false,
98
+ "type": "object",
99
+ "title": "RedisConfigCluster",
100
+ "properties": {
101
+ "startupNodes": {
102
+ "type": "array",
103
+ "items": {
104
+ "$ref": "#/definitions/RedisSentinelConfig"
105
+ },
106
+ "additionalItems": false
107
+ },
108
+ "username": {
109
+ "type": "string"
110
+ },
111
+ "password": {
112
+ "type": "string"
113
+ },
114
+ "db": {
115
+ "type": "integer"
116
+ },
117
+ "lazyConnect": {
118
+ "type": "boolean",
119
+ "description": "Flag to indicate lazyConnect value for Redis client.\n\n@default: true"
120
+ },
121
+ "dnsLookupAsIs": {
122
+ "type": "boolean",
123
+ "description": "Needed for TLS connections to Redis Cluster (especially when using AWS Elasticache Clusters with TLS).\n\n@see https://github.com/redis/ioredis?tab=readme-ov-file#special-note-aws-elasticache-clusters-with-tls"
124
+ },
125
+ "tls": {
126
+ "type": "boolean",
127
+ "description": "Enable TLS for Redis Cluster connections. Required for AWS Elasticache Clusters with TLS.\n\n@see https://github.com/redis/ioredis?tab=readme-ov-file#special-note-aws-elasticache-clusters-with-tls"
128
+ }
129
+ },
130
+ "required": [
131
+ "startupNodes"
132
+ ]
133
+ },
93
134
  "RedisConfigSentinel": {
94
135
  "additionalProperties": false,
95
136
  "type": "object",
@@ -15,13 +15,16 @@
15
15
  "$ref": "#/definitions/LocalforageConfig"
16
16
  },
17
17
  "redis": {
18
- "description": "Any of: RedisConfigSentinel, RedisConfigSingle",
18
+ "description": "Any of: RedisConfigSentinel, RedisConfigSingle, RedisConfigCluster",
19
19
  "anyOf": [
20
20
  {
21
21
  "$ref": "#/definitions/RedisConfigSentinel"
22
22
  },
23
23
  {
24
24
  "$ref": "#/definitions/RedisConfigSingle"
25
+ },
26
+ {
27
+ "$ref": "#/definitions/RedisConfigCluster"
25
28
  }
26
29
  ]
27
30
  }
@@ -81,6 +84,42 @@
81
84
  }
82
85
  }
83
86
  },
87
+ "RedisConfigCluster": {
88
+ "additionalProperties": false,
89
+ "type": "object",
90
+ "title": "RedisConfigCluster",
91
+ "properties": {
92
+ "startupNodes": {
93
+ "type": "array",
94
+ "items": {
95
+ "$ref": "#/definitions/RedisSentinelConfig"
96
+ },
97
+ "additionalItems": false
98
+ },
99
+ "username": {
100
+ "type": "string"
101
+ },
102
+ "password": {
103
+ "type": "string"
104
+ },
105
+ "db": {
106
+ "type": "integer"
107
+ },
108
+ "lazyConnect": {
109
+ "type": "boolean",
110
+ "description": "Flag to indicate lazyConnect value for Redis client.\n\n@default: true"
111
+ },
112
+ "dnsLookupAsIs": {
113
+ "type": "boolean",
114
+ "description": "Needed for TLS connections to Redis Cluster (especially when using AWS Elasticache Clusters with TLS).\n\n@see https://github.com/redis/ioredis?tab=readme-ov-file#special-note-aws-elasticache-clusters-with-tls"
115
+ },
116
+ "tls": {
117
+ "type": "boolean",
118
+ "description": "Enable TLS for Redis Cluster connections. Required for AWS Elasticache Clusters with TLS.\n\n@see https://github.com/redis/ioredis?tab=readme-ov-file#special-note-aws-elasticache-clusters-with-tls"
119
+ }
120
+ },
121
+ "required": ["startupNodes"]
122
+ },
84
123
  "RedisConfigSentinel": {
85
124
  "additionalProperties": false,
86
125
  "type": "object",
@@ -15,13 +15,16 @@ export const jsonSchema = {
15
15
  "$ref": "#/definitions/LocalforageConfig"
16
16
  },
17
17
  "redis": {
18
- "description": "Any of: RedisConfigSentinel, RedisConfigSingle",
18
+ "description": "Any of: RedisConfigSentinel, RedisConfigSingle, RedisConfigCluster",
19
19
  "anyOf": [
20
20
  {
21
21
  "$ref": "#/definitions/RedisConfigSentinel"
22
22
  },
23
23
  {
24
24
  "$ref": "#/definitions/RedisConfigSingle"
25
+ },
26
+ {
27
+ "$ref": "#/definitions/RedisConfigCluster"
25
28
  }
26
29
  ]
27
30
  }
@@ -87,6 +90,44 @@ export const jsonSchema = {
87
90
  }
88
91
  }
89
92
  },
93
+ "RedisConfigCluster": {
94
+ "additionalProperties": false,
95
+ "type": "object",
96
+ "title": "RedisConfigCluster",
97
+ "properties": {
98
+ "startupNodes": {
99
+ "type": "array",
100
+ "items": {
101
+ "$ref": "#/definitions/RedisSentinelConfig"
102
+ },
103
+ "additionalItems": false
104
+ },
105
+ "username": {
106
+ "type": "string"
107
+ },
108
+ "password": {
109
+ "type": "string"
110
+ },
111
+ "db": {
112
+ "type": "integer"
113
+ },
114
+ "lazyConnect": {
115
+ "type": "boolean",
116
+ "description": "Flag to indicate lazyConnect value for Redis client.\n\n@default: true"
117
+ },
118
+ "dnsLookupAsIs": {
119
+ "type": "boolean",
120
+ "description": "Needed for TLS connections to Redis Cluster (especially when using AWS Elasticache Clusters with TLS).\n\n@see https://github.com/redis/ioredis?tab=readme-ov-file#special-note-aws-elasticache-clusters-with-tls"
121
+ },
122
+ "tls": {
123
+ "type": "boolean",
124
+ "description": "Enable TLS for Redis Cluster connections. Required for AWS Elasticache Clusters with TLS.\n\n@see https://github.com/redis/ioredis?tab=readme-ov-file#special-note-aws-elasticache-clusters-with-tls"
125
+ }
126
+ },
127
+ "required": [
128
+ "startupNodes"
129
+ ]
130
+ },
90
131
  "RedisConfigSentinel": {
91
132
  "additionalProperties": false,
92
133
  "type": "object",
@@ -15,13 +15,16 @@
15
15
  "$ref": "#/definitions/LocalforageConfig"
16
16
  },
17
17
  "redis": {
18
- "description": "Any of: RedisConfigSentinel, RedisConfigSingle",
18
+ "description": "Any of: RedisConfigSentinel, RedisConfigSingle, RedisConfigCluster",
19
19
  "anyOf": [
20
20
  {
21
21
  "$ref": "#/definitions/RedisConfigSentinel"
22
22
  },
23
23
  {
24
24
  "$ref": "#/definitions/RedisConfigSingle"
25
+ },
26
+ {
27
+ "$ref": "#/definitions/RedisConfigCluster"
25
28
  }
26
29
  ]
27
30
  }
@@ -81,6 +84,42 @@
81
84
  }
82
85
  }
83
86
  },
87
+ "RedisConfigCluster": {
88
+ "additionalProperties": false,
89
+ "type": "object",
90
+ "title": "RedisConfigCluster",
91
+ "properties": {
92
+ "startupNodes": {
93
+ "type": "array",
94
+ "items": {
95
+ "$ref": "#/definitions/RedisSentinelConfig"
96
+ },
97
+ "additionalItems": false
98
+ },
99
+ "username": {
100
+ "type": "string"
101
+ },
102
+ "password": {
103
+ "type": "string"
104
+ },
105
+ "db": {
106
+ "type": "integer"
107
+ },
108
+ "lazyConnect": {
109
+ "type": "boolean",
110
+ "description": "Flag to indicate lazyConnect value for Redis client.\n\n@default: true"
111
+ },
112
+ "dnsLookupAsIs": {
113
+ "type": "boolean",
114
+ "description": "Needed for TLS connections to Redis Cluster (especially when using AWS Elasticache Clusters with TLS).\n\n@see https://github.com/redis/ioredis?tab=readme-ov-file#special-note-aws-elasticache-clusters-with-tls"
115
+ },
116
+ "tls": {
117
+ "type": "boolean",
118
+ "description": "Enable TLS for Redis Cluster connections. Required for AWS Elasticache Clusters with TLS.\n\n@see https://github.com/redis/ioredis?tab=readme-ov-file#special-note-aws-elasticache-clusters-with-tls"
119
+ }
120
+ },
121
+ "required": ["startupNodes"]
122
+ },
84
123
  "RedisConfigSentinel": {
85
124
  "additionalProperties": false,
86
125
  "type": "object",
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@graphql-mesh/types",
3
- "version": "0.104.3",
3
+ "version": "0.104.4",
4
4
  "sideEffects": false,
5
5
  "peerDependencies": {
6
6
  "graphql": "*"
7
7
  },
8
8
  "dependencies": {
9
- "@graphql-mesh/store": "^0.104.3",
9
+ "@graphql-mesh/store": "^0.104.4",
10
10
  "@graphql-tools/batch-delegate": "^9.0.10",
11
11
  "@graphql-tools/delegate": "^10.0.28",
12
12
  "@graphql-tools/utils": "^10.8.0",
@@ -1739,9 +1739,9 @@ export interface Cache {
1739
1739
  file?: FileCacheConfig;
1740
1740
  localforage?: LocalforageConfig;
1741
1741
  /**
1742
- * Any of: RedisConfigSentinel, RedisConfigSingle
1742
+ * Any of: RedisConfigSentinel, RedisConfigSingle, RedisConfigCluster
1743
1743
  */
1744
- redis?: RedisConfigSentinel | RedisConfigSingle;
1744
+ redis?: RedisConfigSentinel | RedisConfigSingle | RedisConfigCluster;
1745
1745
  [k: string]: any;
1746
1746
  }
1747
1747
  export interface CFWorkersKVCacheConfig {
@@ -1814,6 +1814,30 @@ export interface RedisConfigSingle {
1814
1814
  */
1815
1815
  lazyConnect?: boolean;
1816
1816
  }
1817
+ export interface RedisConfigCluster {
1818
+ startupNodes: RedisSentinelConfig[];
1819
+ username?: string;
1820
+ password?: string;
1821
+ db?: number;
1822
+ /**
1823
+ * Flag to indicate lazyConnect value for Redis client.
1824
+ *
1825
+ * @default: true
1826
+ */
1827
+ lazyConnect?: boolean;
1828
+ /**
1829
+ * Needed for TLS connections to Redis Cluster (especially when using AWS Elasticache Clusters with TLS).
1830
+ *
1831
+ * @see https://github.com/redis/ioredis?tab=readme-ov-file#special-note-aws-elasticache-clusters-with-tls
1832
+ */
1833
+ dnsLookupAsIs?: boolean;
1834
+ /**
1835
+ * Enable TLS for Redis Cluster connections. Required for AWS Elasticache Clusters with TLS.
1836
+ *
1837
+ * @see https://github.com/redis/ioredis?tab=readme-ov-file#special-note-aws-elasticache-clusters-with-tls
1838
+ */
1839
+ tls?: boolean;
1840
+ }
1817
1841
  export interface PubSubConfig {
1818
1842
  name: string;
1819
1843
  config?: any;
@@ -1739,9 +1739,9 @@ export interface Cache {
1739
1739
  file?: FileCacheConfig;
1740
1740
  localforage?: LocalforageConfig;
1741
1741
  /**
1742
- * Any of: RedisConfigSentinel, RedisConfigSingle
1742
+ * Any of: RedisConfigSentinel, RedisConfigSingle, RedisConfigCluster
1743
1743
  */
1744
- redis?: RedisConfigSentinel | RedisConfigSingle;
1744
+ redis?: RedisConfigSentinel | RedisConfigSingle | RedisConfigCluster;
1745
1745
  [k: string]: any;
1746
1746
  }
1747
1747
  export interface CFWorkersKVCacheConfig {
@@ -1814,6 +1814,30 @@ export interface RedisConfigSingle {
1814
1814
  */
1815
1815
  lazyConnect?: boolean;
1816
1816
  }
1817
+ export interface RedisConfigCluster {
1818
+ startupNodes: RedisSentinelConfig[];
1819
+ username?: string;
1820
+ password?: string;
1821
+ db?: number;
1822
+ /**
1823
+ * Flag to indicate lazyConnect value for Redis client.
1824
+ *
1825
+ * @default: true
1826
+ */
1827
+ lazyConnect?: boolean;
1828
+ /**
1829
+ * Needed for TLS connections to Redis Cluster (especially when using AWS Elasticache Clusters with TLS).
1830
+ *
1831
+ * @see https://github.com/redis/ioredis?tab=readme-ov-file#special-note-aws-elasticache-clusters-with-tls
1832
+ */
1833
+ dnsLookupAsIs?: boolean;
1834
+ /**
1835
+ * Enable TLS for Redis Cluster connections. Required for AWS Elasticache Clusters with TLS.
1836
+ *
1837
+ * @see https://github.com/redis/ioredis?tab=readme-ov-file#special-note-aws-elasticache-clusters-with-tls
1838
+ */
1839
+ tls?: boolean;
1840
+ }
1817
1841
  export interface PubSubConfig {
1818
1842
  name: string;
1819
1843
  config?: any;