@vtex/order-items
Advanced tools
Comparing version 0.6.0 to 0.6.1
@@ -10,2 +10,8 @@ # Changelog | ||
## [0.6.1] - 2021-04-27 | ||
### Changed | ||
- Fields `id`, `quantity`, `seller` and `inputValues` of `AseemblyOptionsInput` to optional. | ||
- Fields `price`, `seller`, `sellingPrice`, and `unitMultiplier` of `Item` to optional. | ||
- Field `coupon` of `MarketingData` to optional. | ||
## [0.6.0] - 2021-04-26 | ||
@@ -12,0 +18,0 @@ ### Added |
/*! | ||
* @vtex/order-items v0.6.0 | ||
* @vtex/order-items v0.6.1 | ||
* (c) VTEX | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @vtex/order-items v0.6.0 | ||
* @vtex/order-items v0.6.1 | ||
* (c) VTEX | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
{ | ||
"name": "@vtex/order-items", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"description": "", | ||
@@ -14,2 +14,3 @@ "cdn": "dist/index.umd.js", | ||
"build": "rollup --config ./rollup.config.js", | ||
"dev": "rollup --watch --config ./rollup.config.js", | ||
"prepublishOnly": "yarn clean; yarn build", | ||
@@ -16,0 +17,0 @@ "clean": "rm -rf dist types" |
import type { OrderForm as BaseOrderForm } from '@vtex/order-manager' | ||
export interface AssemblyOptionInput { | ||
id: Maybe<string> | ||
quantity: Maybe<number> | ||
id?: Maybe<string> | ||
quantity?: Maybe<number> | ||
assemblyId: string | ||
seller: Maybe<string> | ||
inputValues: Maybe<Record<string, string>> | ||
seller?: Maybe<string> | ||
inputValues?: Maybe<Record<string, string>> | ||
options?: Maybe<AssemblyOptionInput[]> | ||
@@ -47,7 +47,7 @@ } | ||
options?: Maybe<Array<Maybe<AssemblyOptionInput>>> | ||
price: Maybe<number> | ||
price?: Maybe<number> | ||
quantity: number | ||
seller: Maybe<string> | ||
sellingPrice: Maybe<number> | ||
unitMultiplier: Maybe<number> | ||
seller?: Maybe<string> | ||
sellingPrice?: Maybe<number> | ||
unitMultiplier?: Maybe<number> | ||
uniqueId: string | ||
@@ -59,3 +59,3 @@ index?: number | ||
export interface MarketingData { | ||
coupon: Maybe<string> | ||
coupon?: Maybe<string> | ||
} | ||
@@ -80,3 +80,2 @@ | ||
parentAssemblyBinding?: Maybe<string> | ||
options?: Maybe<Array<Maybe<AssemblyOptionInput>>> | ||
price: number | ||
@@ -83,0 +82,0 @@ productCategories?: Maybe<any> |
import type { OrderForm as BaseOrderForm } from '@vtex/order-manager'; | ||
export interface AssemblyOptionInput { | ||
id: Maybe<string>; | ||
quantity: Maybe<number>; | ||
id?: Maybe<string>; | ||
quantity?: Maybe<number>; | ||
assemblyId: string; | ||
seller: Maybe<string>; | ||
inputValues: Maybe<Record<string, string>>; | ||
seller?: Maybe<string>; | ||
inputValues?: Maybe<Record<string, string>>; | ||
options?: Maybe<AssemblyOptionInput[]>; | ||
@@ -42,7 +42,7 @@ } | ||
options?: Maybe<Array<Maybe<AssemblyOptionInput>>>; | ||
price: Maybe<number>; | ||
price?: Maybe<number>; | ||
quantity: number; | ||
seller: Maybe<string>; | ||
sellingPrice: Maybe<number>; | ||
unitMultiplier: Maybe<number>; | ||
seller?: Maybe<string>; | ||
sellingPrice?: Maybe<number>; | ||
unitMultiplier?: Maybe<number>; | ||
uniqueId: string; | ||
@@ -53,3 +53,3 @@ index?: number; | ||
export interface MarketingData { | ||
coupon: Maybe<string>; | ||
coupon?: Maybe<string>; | ||
} | ||
@@ -72,3 +72,2 @@ declare type Maybe<T> = null | undefined | T; | ||
parentAssemblyBinding?: Maybe<string>; | ||
options?: Maybe<Array<Maybe<AssemblyOptionInput>>>; | ||
price: number; | ||
@@ -75,0 +74,0 @@ productCategories?: Maybe<any>; |
Sorry, the diff of this file is not supported yet
259523
3137