From 378557ff5aefa6c881272e165e4e8f1e3ca25e23 Mon Sep 17 00:00:00 2001 From: RodrigoTadeuF Date: Wed, 10 May 2023 14:33:45 -0300 Subject: [PATCH 1/3] Adding the General Values simulation field to the product query --- graphql/types/Product.graphql | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/graphql/types/Product.graphql b/graphql/types/Product.graphql index eb7c340..9b9e0e5 100644 --- a/graphql/types/Product.graphql +++ b/graphql/types/Product.graphql @@ -318,6 +318,11 @@ type Teaser { name: String conditions: TeaserCondition effects: TeaserEffects + generalValues: [GeneralValueTeaser] +} + +type GeneralValueTeaser { + value: [String] } type TeaserCondition { From 7caeb07340e0a0f71a93a4fc7dbb755b7ed83b19 Mon Sep 17 00:00:00 2001 From: RodrigoTadeuF Date: Wed, 10 May 2023 14:39:11 -0300 Subject: [PATCH 2/3] added changelog information --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3efcc57..0a9323e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +### Added +- `generalValues` to `product` query. + ## [0.52.0] - 2023-04-25 ### Added From 1157de67f334272676343492bc8c10806fa8752e Mon Sep 17 00:00:00 2001 From: RodrigoTadeuF Date: Thu, 11 May 2023 15:28:49 -0300 Subject: [PATCH 3/3] added the general values to the query --- graphql/types/Product.graphql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/graphql/types/Product.graphql b/graphql/types/Product.graphql index 9b9e0e5..8481633 100644 --- a/graphql/types/Product.graphql +++ b/graphql/types/Product.graphql @@ -322,7 +322,8 @@ type Teaser { } type GeneralValueTeaser { - value: [String] + key: String + value: String } type TeaserCondition {