@graphql-mesh/types 0.97.2 → 0.97.3

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.
@@ -2803,8 +2803,15 @@ exports.jsonSchema = {
2803
2803
  "type": "boolean"
2804
2804
  },
2805
2805
  "endpoint": {
2806
- "type": "string",
2807
- "description": "The path to the metrics endpoint\ndefault: `/metrics`"
2806
+ "description": "The path to the metrics endpoint\ndefault: `/metrics` (Any of: Boolean, String)",
2807
+ "anyOf": [
2808
+ {
2809
+ "type": "boolean"
2810
+ },
2811
+ {
2812
+ "type": "string"
2813
+ }
2814
+ ]
2808
2815
  }
2809
2816
  }
2810
2817
  },
@@ -2678,8 +2678,15 @@
2678
2678
  "type": "boolean"
2679
2679
  },
2680
2680
  "endpoint": {
2681
- "type": "string",
2682
- "description": "The path to the metrics endpoint\ndefault: `/metrics`"
2681
+ "description": "The path to the metrics endpoint\ndefault: `/metrics` (Any of: Boolean, String)",
2682
+ "anyOf": [
2683
+ {
2684
+ "type": "boolean"
2685
+ },
2686
+ {
2687
+ "type": "string"
2688
+ }
2689
+ ]
2683
2690
  }
2684
2691
  }
2685
2692
  },
@@ -2800,8 +2800,15 @@ export const jsonSchema = {
2800
2800
  "type": "boolean"
2801
2801
  },
2802
2802
  "endpoint": {
2803
- "type": "string",
2804
- "description": "The path to the metrics endpoint\ndefault: `/metrics`"
2803
+ "description": "The path to the metrics endpoint\ndefault: `/metrics` (Any of: Boolean, String)",
2804
+ "anyOf": [
2805
+ {
2806
+ "type": "boolean"
2807
+ },
2808
+ {
2809
+ "type": "string"
2810
+ }
2811
+ ]
2805
2812
  }
2806
2813
  }
2807
2814
  },
@@ -2678,8 +2678,15 @@
2678
2678
  "type": "boolean"
2679
2679
  },
2680
2680
  "endpoint": {
2681
- "type": "string",
2682
- "description": "The path to the metrics endpoint\ndefault: `/metrics`"
2681
+ "description": "The path to the metrics endpoint\ndefault: `/metrics` (Any of: Boolean, String)",
2682
+ "anyOf": [
2683
+ {
2684
+ "type": "boolean"
2685
+ },
2686
+ {
2687
+ "type": "string"
2688
+ }
2689
+ ]
2683
2690
  }
2684
2691
  }
2685
2692
  },
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@graphql-mesh/types",
3
- "version": "0.97.2",
3
+ "version": "0.97.3",
4
4
  "sideEffects": false,
5
5
  "peerDependencies": {
6
- "@graphql-mesh/store": "^0.97.2",
6
+ "@graphql-mesh/store": "^0.97.3",
7
7
  "@graphql-tools/utils": "^9.2.1 || ^10.0.0",
8
8
  "graphql": "*",
9
9
  "tslib": "^2.4.0"
@@ -2084,9 +2084,9 @@ export interface PrometheusConfig {
2084
2084
  httpResponseHeaders?: boolean;
2085
2085
  /**
2086
2086
  * The path to the metrics endpoint
2087
- * default: `/metrics`
2087
+ * default: `/metrics` (Any of: Boolean, String)
2088
2088
  */
2089
- endpoint?: string;
2089
+ endpoint?: boolean | string;
2090
2090
  }
2091
2091
  /**
2092
2092
  * RateLimit plugin
@@ -2084,9 +2084,9 @@ export interface PrometheusConfig {
2084
2084
  httpResponseHeaders?: boolean;
2085
2085
  /**
2086
2086
  * The path to the metrics endpoint
2087
- * default: `/metrics`
2087
+ * default: `/metrics` (Any of: Boolean, String)
2088
2088
  */
2089
- endpoint?: string;
2089
+ endpoint?: boolean | string;
2090
2090
  }
2091
2091
  /**
2092
2092
  * RateLimit plugin