From f5f8ae000423af3b9a90098b9ad133b7980ee735 Mon Sep 17 00:00:00 2001 From: Filadelfo Date: Wed, 7 Apr 2021 11:06:18 +0200 Subject: [PATCH 1/4] Feat: Add isGift field for Item graphql type --- graphql/types/Item.graphql | 1 + 1 file changed, 1 insertion(+) diff --git a/graphql/types/Item.graphql b/graphql/types/Item.graphql index d94eee0..b65d2c6 100644 --- a/graphql/types/Item.graphql +++ b/graphql/types/Item.graphql @@ -45,6 +45,7 @@ type Item { uniqueId: String! unitMultiplier: Float priceTags: [PriceTag!]! + isGift: Boolean } type ImageUrls { From 6120b7cbe5e546d403a2200e14d50d142eb3bfed Mon Sep 17 00:00:00 2001 From: Filadelfo Date: Wed, 7 Apr 2021 11:07:20 +0200 Subject: [PATCH 2/4] Docs: Update changelog --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ef5f43a..cc48dc1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Added +- Field `isGift` to `Item` type. + ## [0.57.2] - 2021-04-05 ### Fixed - `subscriptionData` property in the `orderForm` would never be updated. From 0e3f04d910bd435e5ff58eb432ea52c845e8d9ee Mon Sep 17 00:00:00 2001 From: Filadelfo Date: Thu, 8 Apr 2021 14:38:52 +0200 Subject: [PATCH 3/4] Add isGift to typings --- node/typings/global.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/node/typings/global.d.ts b/node/typings/global.d.ts index 14b6a6a..ed6bf0e 100644 --- a/node/typings/global.d.ts +++ b/node/typings/global.d.ts @@ -465,6 +465,7 @@ declare global { at2x: string at3x: string } + isGift: boolean listPrice: number measurementUnit: string name: string From b1d35b6637232bbc9f38e02cce6af80f2729501a Mon Sep 17 00:00:00 2001 From: Fila <38737958+filafb@users.noreply.github.com> Date: Fri, 9 Apr 2021 17:01:37 +0200 Subject: [PATCH 4/4] Feat: Make isGift field non-nullable Co-authored-by: Lucas Cordeiro --- graphql/types/Item.graphql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphql/types/Item.graphql b/graphql/types/Item.graphql index b65d2c6..ede0c27 100644 --- a/graphql/types/Item.graphql +++ b/graphql/types/Item.graphql @@ -45,7 +45,7 @@ type Item { uniqueId: String! unitMultiplier: Float priceTags: [PriceTag!]! - isGift: Boolean + isGift: Boolean! } type ImageUrls {