@graphql-mesh/types 0.94.6 → 0.95.0-alpha-20230728134005-b647f509c

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.
@@ -2087,6 +2087,22 @@ exports.jsonSchema = {
2087
2087
  "type": "object",
2088
2088
  "title": "HivePlugin",
2089
2089
  "properties": {
2090
+ "enabled": {
2091
+ "anyOf": [
2092
+ {
2093
+ "type": "object",
2094
+ "additionalProperties": true
2095
+ },
2096
+ {
2097
+ "type": "string"
2098
+ },
2099
+ {
2100
+ "type": "array",
2101
+ "additionalItems": true
2102
+ }
2103
+ ],
2104
+ "description": "If this expression is truthy, mocking would be enabled\nYou can use environment variables expression, for example: `process.env.MOCKING_ENABLED != null`"
2105
+ },
2090
2106
  "token": {
2091
2107
  "type": "string",
2092
2108
  "description": "Access Token"
@@ -1978,6 +1978,22 @@
1978
1978
  "type": "object",
1979
1979
  "title": "HivePlugin",
1980
1980
  "properties": {
1981
+ "enabled": {
1982
+ "anyOf": [
1983
+ {
1984
+ "type": "object",
1985
+ "additionalProperties": true
1986
+ },
1987
+ {
1988
+ "type": "string"
1989
+ },
1990
+ {
1991
+ "type": "array",
1992
+ "additionalItems": true
1993
+ }
1994
+ ],
1995
+ "description": "If this expression is truthy, mocking would be enabled\nYou can use environment variables expression, for example: `process.env.MOCKING_ENABLED != null`"
1996
+ },
1981
1997
  "token": {
1982
1998
  "type": "string",
1983
1999
  "description": "Access Token"
@@ -2084,6 +2084,22 @@ export const jsonSchema = {
2084
2084
  "type": "object",
2085
2085
  "title": "HivePlugin",
2086
2086
  "properties": {
2087
+ "enabled": {
2088
+ "anyOf": [
2089
+ {
2090
+ "type": "object",
2091
+ "additionalProperties": true
2092
+ },
2093
+ {
2094
+ "type": "string"
2095
+ },
2096
+ {
2097
+ "type": "array",
2098
+ "additionalItems": true
2099
+ }
2100
+ ],
2101
+ "description": "If this expression is truthy, mocking would be enabled\nYou can use environment variables expression, for example: `process.env.MOCKING_ENABLED != null`"
2102
+ },
2087
2103
  "token": {
2088
2104
  "type": "string",
2089
2105
  "description": "Access Token"
@@ -1978,6 +1978,22 @@
1978
1978
  "type": "object",
1979
1979
  "title": "HivePlugin",
1980
1980
  "properties": {
1981
+ "enabled": {
1982
+ "anyOf": [
1983
+ {
1984
+ "type": "object",
1985
+ "additionalProperties": true
1986
+ },
1987
+ {
1988
+ "type": "string"
1989
+ },
1990
+ {
1991
+ "type": "array",
1992
+ "additionalItems": true
1993
+ }
1994
+ ],
1995
+ "description": "If this expression is truthy, mocking would be enabled\nYou can use environment variables expression, for example: `process.env.MOCKING_ENABLED != null`"
1996
+ },
1981
1997
  "token": {
1982
1998
  "type": "string",
1983
1999
  "description": "Access Token"
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@graphql-mesh/types",
3
- "version": "0.94.6",
3
+ "version": "0.95.0-alpha-20230728134005-b647f509c",
4
4
  "sideEffects": false,
5
5
  "peerDependencies": {
6
- "@graphql-mesh/store": "^0.94.6",
6
+ "@graphql-mesh/store": "0.95.0-alpha-20230728134005-b647f509c",
7
7
  "@graphql-tools/utils": "^9.2.1 || ^10.0.0",
8
8
  "graphql": "*",
9
9
  "tslib": "^2.4.0"
@@ -1661,6 +1661,11 @@ export interface MaskedErrorsPluginConfig {
1661
1661
  errorMessage?: string;
1662
1662
  }
1663
1663
  export interface HivePlugin {
1664
+ /**
1665
+ * If this expression is truthy, mocking would be enabled
1666
+ * You can use environment variables expression, for example: `process.env.MOCKING_ENABLED != null`
1667
+ */
1668
+ enabled?: any;
1664
1669
  /**
1665
1670
  * Access Token
1666
1671
  */
@@ -1661,6 +1661,11 @@ export interface MaskedErrorsPluginConfig {
1661
1661
  errorMessage?: string;
1662
1662
  }
1663
1663
  export interface HivePlugin {
1664
+ /**
1665
+ * If this expression is truthy, mocking would be enabled
1666
+ * You can use environment variables expression, for example: `process.env.MOCKING_ENABLED != null`
1667
+ */
1668
+ enabled?: any;
1664
1669
  /**
1665
1670
  * Access Token
1666
1671
  */