@graphql-mesh/types 0.97.3 → 0.97.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.
- package/cjs/config-schema.js +36 -8
- package/cjs/config-schema.json +36 -8
- package/esm/config-schema.js +36 -8
- package/esm/config-schema.json +36 -8
- package/package.json +2 -2
- package/typings/config.d.cts +5 -2
- package/typings/config.d.ts +5 -2
package/cjs/config-schema.js
CHANGED
|
@@ -2110,20 +2110,15 @@ exports.jsonSchema = {
|
|
|
2110
2110
|
"title": "HivePlugin",
|
|
2111
2111
|
"properties": {
|
|
2112
2112
|
"enabled": {
|
|
2113
|
+
"description": "If this expression is truthy, mocking would be enabled\nYou can use environment variables expression, for example: `process.env.MOCKING_ENABLED != null` (Any of: Boolean, String)",
|
|
2113
2114
|
"anyOf": [
|
|
2114
2115
|
{
|
|
2115
|
-
"type": "
|
|
2116
|
-
"additionalProperties": true
|
|
2116
|
+
"type": "boolean"
|
|
2117
2117
|
},
|
|
2118
2118
|
{
|
|
2119
2119
|
"type": "string"
|
|
2120
|
-
},
|
|
2121
|
-
{
|
|
2122
|
-
"type": "array",
|
|
2123
|
-
"additionalItems": true
|
|
2124
2120
|
}
|
|
2125
|
-
]
|
|
2126
|
-
"description": "If this expression is truthy, mocking would be enabled\nYou can use environment variables expression, for example: `process.env.MOCKING_ENABLED != null`"
|
|
2121
|
+
]
|
|
2127
2122
|
},
|
|
2128
2123
|
"token": {
|
|
2129
2124
|
"type": "string",
|
|
@@ -2155,6 +2150,24 @@ exports.jsonSchema = {
|
|
|
2155
2150
|
"type": "object",
|
|
2156
2151
|
"title": "HiveAgentOptions",
|
|
2157
2152
|
"properties": {
|
|
2153
|
+
"name": {
|
|
2154
|
+
"type": "string"
|
|
2155
|
+
},
|
|
2156
|
+
"logger": {
|
|
2157
|
+
"anyOf": [
|
|
2158
|
+
{
|
|
2159
|
+
"type": "object",
|
|
2160
|
+
"additionalProperties": true
|
|
2161
|
+
},
|
|
2162
|
+
{
|
|
2163
|
+
"type": "string"
|
|
2164
|
+
},
|
|
2165
|
+
{
|
|
2166
|
+
"type": "array",
|
|
2167
|
+
"additionalItems": true
|
|
2168
|
+
}
|
|
2169
|
+
]
|
|
2170
|
+
},
|
|
2158
2171
|
"timeout": {
|
|
2159
2172
|
"type": "integer",
|
|
2160
2173
|
"description": "30s by default"
|
|
@@ -2209,6 +2222,21 @@ exports.jsonSchema = {
|
|
|
2209
2222
|
"processVariables": {
|
|
2210
2223
|
"type": "boolean",
|
|
2211
2224
|
"description": "(Experimental) Enables collecting Input fields usage based on the variables passed to the operation.\nDefault: false"
|
|
2225
|
+
},
|
|
2226
|
+
"sampler": {
|
|
2227
|
+
"anyOf": [
|
|
2228
|
+
{
|
|
2229
|
+
"type": "object",
|
|
2230
|
+
"additionalProperties": true
|
|
2231
|
+
},
|
|
2232
|
+
{
|
|
2233
|
+
"type": "string"
|
|
2234
|
+
},
|
|
2235
|
+
{
|
|
2236
|
+
"type": "array",
|
|
2237
|
+
"additionalItems": true
|
|
2238
|
+
}
|
|
2239
|
+
]
|
|
2212
2240
|
}
|
|
2213
2241
|
}
|
|
2214
2242
|
},
|
package/cjs/config-schema.json
CHANGED
|
@@ -2001,20 +2001,15 @@
|
|
|
2001
2001
|
"title": "HivePlugin",
|
|
2002
2002
|
"properties": {
|
|
2003
2003
|
"enabled": {
|
|
2004
|
+
"description": "If this expression is truthy, mocking would be enabled\nYou can use environment variables expression, for example: `process.env.MOCKING_ENABLED != null` (Any of: Boolean, String)",
|
|
2004
2005
|
"anyOf": [
|
|
2005
2006
|
{
|
|
2006
|
-
"type": "
|
|
2007
|
-
"additionalProperties": true
|
|
2007
|
+
"type": "boolean"
|
|
2008
2008
|
},
|
|
2009
2009
|
{
|
|
2010
2010
|
"type": "string"
|
|
2011
|
-
},
|
|
2012
|
-
{
|
|
2013
|
-
"type": "array",
|
|
2014
|
-
"additionalItems": true
|
|
2015
2011
|
}
|
|
2016
|
-
]
|
|
2017
|
-
"description": "If this expression is truthy, mocking would be enabled\nYou can use environment variables expression, for example: `process.env.MOCKING_ENABLED != null`"
|
|
2012
|
+
]
|
|
2018
2013
|
},
|
|
2019
2014
|
"token": {
|
|
2020
2015
|
"type": "string",
|
|
@@ -2044,6 +2039,24 @@
|
|
|
2044
2039
|
"type": "object",
|
|
2045
2040
|
"title": "HiveAgentOptions",
|
|
2046
2041
|
"properties": {
|
|
2042
|
+
"name": {
|
|
2043
|
+
"type": "string"
|
|
2044
|
+
},
|
|
2045
|
+
"logger": {
|
|
2046
|
+
"anyOf": [
|
|
2047
|
+
{
|
|
2048
|
+
"type": "object",
|
|
2049
|
+
"additionalProperties": true
|
|
2050
|
+
},
|
|
2051
|
+
{
|
|
2052
|
+
"type": "string"
|
|
2053
|
+
},
|
|
2054
|
+
{
|
|
2055
|
+
"type": "array",
|
|
2056
|
+
"additionalItems": true
|
|
2057
|
+
}
|
|
2058
|
+
]
|
|
2059
|
+
},
|
|
2047
2060
|
"timeout": {
|
|
2048
2061
|
"type": "integer",
|
|
2049
2062
|
"description": "30s by default"
|
|
@@ -2098,6 +2111,21 @@
|
|
|
2098
2111
|
"processVariables": {
|
|
2099
2112
|
"type": "boolean",
|
|
2100
2113
|
"description": "(Experimental) Enables collecting Input fields usage based on the variables passed to the operation.\nDefault: false"
|
|
2114
|
+
},
|
|
2115
|
+
"sampler": {
|
|
2116
|
+
"anyOf": [
|
|
2117
|
+
{
|
|
2118
|
+
"type": "object",
|
|
2119
|
+
"additionalProperties": true
|
|
2120
|
+
},
|
|
2121
|
+
{
|
|
2122
|
+
"type": "string"
|
|
2123
|
+
},
|
|
2124
|
+
{
|
|
2125
|
+
"type": "array",
|
|
2126
|
+
"additionalItems": true
|
|
2127
|
+
}
|
|
2128
|
+
]
|
|
2101
2129
|
}
|
|
2102
2130
|
}
|
|
2103
2131
|
},
|
package/esm/config-schema.js
CHANGED
|
@@ -2107,20 +2107,15 @@ export const jsonSchema = {
|
|
|
2107
2107
|
"title": "HivePlugin",
|
|
2108
2108
|
"properties": {
|
|
2109
2109
|
"enabled": {
|
|
2110
|
+
"description": "If this expression is truthy, mocking would be enabled\nYou can use environment variables expression, for example: `process.env.MOCKING_ENABLED != null` (Any of: Boolean, String)",
|
|
2110
2111
|
"anyOf": [
|
|
2111
2112
|
{
|
|
2112
|
-
"type": "
|
|
2113
|
-
"additionalProperties": true
|
|
2113
|
+
"type": "boolean"
|
|
2114
2114
|
},
|
|
2115
2115
|
{
|
|
2116
2116
|
"type": "string"
|
|
2117
|
-
},
|
|
2118
|
-
{
|
|
2119
|
-
"type": "array",
|
|
2120
|
-
"additionalItems": true
|
|
2121
2117
|
}
|
|
2122
|
-
]
|
|
2123
|
-
"description": "If this expression is truthy, mocking would be enabled\nYou can use environment variables expression, for example: `process.env.MOCKING_ENABLED != null`"
|
|
2118
|
+
]
|
|
2124
2119
|
},
|
|
2125
2120
|
"token": {
|
|
2126
2121
|
"type": "string",
|
|
@@ -2152,6 +2147,24 @@ export const jsonSchema = {
|
|
|
2152
2147
|
"type": "object",
|
|
2153
2148
|
"title": "HiveAgentOptions",
|
|
2154
2149
|
"properties": {
|
|
2150
|
+
"name": {
|
|
2151
|
+
"type": "string"
|
|
2152
|
+
},
|
|
2153
|
+
"logger": {
|
|
2154
|
+
"anyOf": [
|
|
2155
|
+
{
|
|
2156
|
+
"type": "object",
|
|
2157
|
+
"additionalProperties": true
|
|
2158
|
+
},
|
|
2159
|
+
{
|
|
2160
|
+
"type": "string"
|
|
2161
|
+
},
|
|
2162
|
+
{
|
|
2163
|
+
"type": "array",
|
|
2164
|
+
"additionalItems": true
|
|
2165
|
+
}
|
|
2166
|
+
]
|
|
2167
|
+
},
|
|
2155
2168
|
"timeout": {
|
|
2156
2169
|
"type": "integer",
|
|
2157
2170
|
"description": "30s by default"
|
|
@@ -2206,6 +2219,21 @@ export const jsonSchema = {
|
|
|
2206
2219
|
"processVariables": {
|
|
2207
2220
|
"type": "boolean",
|
|
2208
2221
|
"description": "(Experimental) Enables collecting Input fields usage based on the variables passed to the operation.\nDefault: false"
|
|
2222
|
+
},
|
|
2223
|
+
"sampler": {
|
|
2224
|
+
"anyOf": [
|
|
2225
|
+
{
|
|
2226
|
+
"type": "object",
|
|
2227
|
+
"additionalProperties": true
|
|
2228
|
+
},
|
|
2229
|
+
{
|
|
2230
|
+
"type": "string"
|
|
2231
|
+
},
|
|
2232
|
+
{
|
|
2233
|
+
"type": "array",
|
|
2234
|
+
"additionalItems": true
|
|
2235
|
+
}
|
|
2236
|
+
]
|
|
2209
2237
|
}
|
|
2210
2238
|
}
|
|
2211
2239
|
},
|
package/esm/config-schema.json
CHANGED
|
@@ -2001,20 +2001,15 @@
|
|
|
2001
2001
|
"title": "HivePlugin",
|
|
2002
2002
|
"properties": {
|
|
2003
2003
|
"enabled": {
|
|
2004
|
+
"description": "If this expression is truthy, mocking would be enabled\nYou can use environment variables expression, for example: `process.env.MOCKING_ENABLED != null` (Any of: Boolean, String)",
|
|
2004
2005
|
"anyOf": [
|
|
2005
2006
|
{
|
|
2006
|
-
"type": "
|
|
2007
|
-
"additionalProperties": true
|
|
2007
|
+
"type": "boolean"
|
|
2008
2008
|
},
|
|
2009
2009
|
{
|
|
2010
2010
|
"type": "string"
|
|
2011
|
-
},
|
|
2012
|
-
{
|
|
2013
|
-
"type": "array",
|
|
2014
|
-
"additionalItems": true
|
|
2015
2011
|
}
|
|
2016
|
-
]
|
|
2017
|
-
"description": "If this expression is truthy, mocking would be enabled\nYou can use environment variables expression, for example: `process.env.MOCKING_ENABLED != null`"
|
|
2012
|
+
]
|
|
2018
2013
|
},
|
|
2019
2014
|
"token": {
|
|
2020
2015
|
"type": "string",
|
|
@@ -2044,6 +2039,24 @@
|
|
|
2044
2039
|
"type": "object",
|
|
2045
2040
|
"title": "HiveAgentOptions",
|
|
2046
2041
|
"properties": {
|
|
2042
|
+
"name": {
|
|
2043
|
+
"type": "string"
|
|
2044
|
+
},
|
|
2045
|
+
"logger": {
|
|
2046
|
+
"anyOf": [
|
|
2047
|
+
{
|
|
2048
|
+
"type": "object",
|
|
2049
|
+
"additionalProperties": true
|
|
2050
|
+
},
|
|
2051
|
+
{
|
|
2052
|
+
"type": "string"
|
|
2053
|
+
},
|
|
2054
|
+
{
|
|
2055
|
+
"type": "array",
|
|
2056
|
+
"additionalItems": true
|
|
2057
|
+
}
|
|
2058
|
+
]
|
|
2059
|
+
},
|
|
2047
2060
|
"timeout": {
|
|
2048
2061
|
"type": "integer",
|
|
2049
2062
|
"description": "30s by default"
|
|
@@ -2098,6 +2111,21 @@
|
|
|
2098
2111
|
"processVariables": {
|
|
2099
2112
|
"type": "boolean",
|
|
2100
2113
|
"description": "(Experimental) Enables collecting Input fields usage based on the variables passed to the operation.\nDefault: false"
|
|
2114
|
+
},
|
|
2115
|
+
"sampler": {
|
|
2116
|
+
"anyOf": [
|
|
2117
|
+
{
|
|
2118
|
+
"type": "object",
|
|
2119
|
+
"additionalProperties": true
|
|
2120
|
+
},
|
|
2121
|
+
{
|
|
2122
|
+
"type": "string"
|
|
2123
|
+
},
|
|
2124
|
+
{
|
|
2125
|
+
"type": "array",
|
|
2126
|
+
"additionalItems": true
|
|
2127
|
+
}
|
|
2128
|
+
]
|
|
2101
2129
|
}
|
|
2102
2130
|
}
|
|
2103
2131
|
},
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-mesh/types",
|
|
3
|
-
"version": "0.97.
|
|
3
|
+
"version": "0.97.4",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"peerDependencies": {
|
|
6
|
-
"@graphql-mesh/store": "^0.97.
|
|
6
|
+
"@graphql-mesh/store": "^0.97.4",
|
|
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
|
@@ -1716,9 +1716,9 @@ export interface MaskedErrorsPluginConfig {
|
|
|
1716
1716
|
export interface HivePlugin {
|
|
1717
1717
|
/**
|
|
1718
1718
|
* If this expression is truthy, mocking would be enabled
|
|
1719
|
-
* You can use environment variables expression, for example: `process.env.MOCKING_ENABLED != null`
|
|
1719
|
+
* You can use environment variables expression, for example: `process.env.MOCKING_ENABLED != null` (Any of: Boolean, String)
|
|
1720
1720
|
*/
|
|
1721
|
-
enabled?:
|
|
1721
|
+
enabled?: boolean | string;
|
|
1722
1722
|
/**
|
|
1723
1723
|
* Access Token
|
|
1724
1724
|
*/
|
|
@@ -1732,6 +1732,8 @@ export interface HivePlugin {
|
|
|
1732
1732
|
* Agent Options
|
|
1733
1733
|
*/
|
|
1734
1734
|
export interface HiveAgentOptions {
|
|
1735
|
+
name?: string;
|
|
1736
|
+
logger?: any;
|
|
1735
1737
|
/**
|
|
1736
1738
|
* 30s by default
|
|
1737
1739
|
*/
|
|
@@ -1786,6 +1788,7 @@ export interface HiveUsageOptions {
|
|
|
1786
1788
|
* Default: false
|
|
1787
1789
|
*/
|
|
1788
1790
|
processVariables?: boolean;
|
|
1791
|
+
sampler?: any;
|
|
1789
1792
|
}
|
|
1790
1793
|
/**
|
|
1791
1794
|
* Extract client info from GraphQL Context
|
package/typings/config.d.ts
CHANGED
|
@@ -1716,9 +1716,9 @@ export interface MaskedErrorsPluginConfig {
|
|
|
1716
1716
|
export interface HivePlugin {
|
|
1717
1717
|
/**
|
|
1718
1718
|
* If this expression is truthy, mocking would be enabled
|
|
1719
|
-
* You can use environment variables expression, for example: `process.env.MOCKING_ENABLED != null`
|
|
1719
|
+
* You can use environment variables expression, for example: `process.env.MOCKING_ENABLED != null` (Any of: Boolean, String)
|
|
1720
1720
|
*/
|
|
1721
|
-
enabled?:
|
|
1721
|
+
enabled?: boolean | string;
|
|
1722
1722
|
/**
|
|
1723
1723
|
* Access Token
|
|
1724
1724
|
*/
|
|
@@ -1732,6 +1732,8 @@ export interface HivePlugin {
|
|
|
1732
1732
|
* Agent Options
|
|
1733
1733
|
*/
|
|
1734
1734
|
export interface HiveAgentOptions {
|
|
1735
|
+
name?: string;
|
|
1736
|
+
logger?: any;
|
|
1735
1737
|
/**
|
|
1736
1738
|
* 30s by default
|
|
1737
1739
|
*/
|
|
@@ -1786,6 +1788,7 @@ export interface HiveUsageOptions {
|
|
|
1786
1788
|
* Default: false
|
|
1787
1789
|
*/
|
|
1788
1790
|
processVariables?: boolean;
|
|
1791
|
+
sampler?: any;
|
|
1789
1792
|
}
|
|
1790
1793
|
/**
|
|
1791
1794
|
* Extract client info from GraphQL Context
|