From dade10f688efbeac961b364c34278e8224b1bad2 Mon Sep 17 00:00:00 2001 From: Viktor Date: Sun, 5 Jan 2025 16:17:59 +0200 Subject: [PATCH] FIX: elasticsearch-plugin: missing inStock field in docs --- docs/docs/reference/core-plugins/elasticsearch-plugin/index.md | 1 - packages/elasticsearch-plugin/src/plugin.ts | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/reference/core-plugins/elasticsearch-plugin/index.md b/docs/docs/reference/core-plugins/elasticsearch-plugin/index.md index 3e0c86782c..a088454ce6 100644 --- a/docs/docs/reference/core-plugins/elasticsearch-plugin/index.md +++ b/docs/docs/reference/core-plugins/elasticsearch-plugin/index.md @@ -75,7 +75,6 @@ type PriceRangeBucket { extend input SearchInput { priceRange: PriceRangeInput priceRangeWithTax: PriceRangeInput - inStock: Boolean } input PriceRangeInput { diff --git a/packages/elasticsearch-plugin/src/plugin.ts b/packages/elasticsearch-plugin/src/plugin.ts index a56c6f460e..610e95ed24 100644 --- a/packages/elasticsearch-plugin/src/plugin.ts +++ b/packages/elasticsearch-plugin/src/plugin.ts @@ -119,6 +119,7 @@ function getCustomResolvers(options: ElasticsearchRuntimeOptions) { * extend input SearchInput { * priceRange: PriceRangeInput * priceRangeWithTax: PriceRangeInput + * inStock: Boolean * } * * input PriceRangeInput {