@vue-storefront/unified-data-model
0.18.0ri:link
Minor Changesri:link
- ADDED
toContextualizedNormalizers
function which allows to create a set of normalizers which have access to the context of the current request.
0.17.0ri:link
Minor Changesri:link
- 645259e: Changed
billingAddress
to optional inSfOrder
0.16.0ri:link
Minor Changesri:link
- 98c8e77: Add a new field
parentCategoryId
to theSfCategory
.
0.15.1ri:link
Patch Changesri:link
- b41484d: Fix types for SetCartAddressArgs
0.15.0ri:link
Minor Changesri:link
- 8260999: - Update
SearchProducts
method:- remove
categoryHierarchy
,currentCategory
&subCategories
fields - Remove
productCount
field fromSfCategory
- remove
0.14.0ri:link
Minor Changesri:link
- a8c62a1: Define a new
GetCategory
method which allows to get the category and its ancestors by category id.
0.13.0ri:link
Minor Changesri:link
- d3b0594: Introduce the
SfSortBy
interface that defines possible sorting options in the SearchProduct request. Modify thesortBy
options to make it possible to enter the custom options available in API clients.
0.12.0ri:link
Minor Changesri:link
- 95f6af6: Support
cartId
argument in cart methods.
0.11.1ri:link
Patch Changesri:link
- e13c168: Added
quantityLimit
to theSfCartLineItem
0.11.0ri:link
Minor Changesri:link
- 3187ae6: Enhance
SfFacet
data model withtype
property.
0.10.0ri:link
Minor Changesri:link
- 1df82d2c: Enhanced
getCurrencies
method to return current currency value
0.9.0ri:link
Minor Changesri:link
- Changed method args declaration from interfaces to types. This increases the DX on the SDK side, because now in the IDE you can see the internals of the type, and not just the name of the type. Read more here.
0.8.0ri:link
Minor Changesri:link
- Added productId to unified line item
0.7.2ri:link
Patch Changesri:link
- Expose SfFacetItem interface from unified-data-model
0.7.1ri:link
Patch Changesri:link
- Implemented
PlaceOrder
method definition inunified-data-model
0.7.0ri:link
Minor Changesri:link
- Created ChangeCustomerPassword method
0.6.0ri:link
Minor Changesri:link
- Added new entity - SfOrder & SfOrderListItem for representing customer's orders. Also created GetOrders & GetOrderDetails methods for receving those data. Update definition methods for creating API endpoints.
Patch Changesri:link
- Publish
src
directory
0.5.0ri:link
Minor Changesri:link
- Introduce the possibility of overwrite the normalizers in unified extension. Also provide functions for creating unified extension & define normalizers in Middleware configuration.
0.4.0ri:link
Minor Changesri:link
- Changed
SetShippingAddress
to accept a new interfaceSfCreateAddressBody
. Thanks to that we ensure that all required address fields are passed- Created definition for
Customer
methods:CreateCustomerAddress
: allows to set a new address for currently logged in customerUpdateCustomerAddress
: allows to update an existing address belonging to currently logged in customerGetCustomerAddresses
: returns all addresses assigned to currently logged in customerDeleteCustomerAddress
: allows to delete an existing address belonging to currently logged in customer
- Created definition for
0.3.0ri:link
Minor Changesri:link
- Added a
UpdateCustomer
method data model and implemented for unified-data-mocks.
0.2.0ri:link
Minor Changesri:link
- Added a
SfCustomer
model and specification for authenthication methods:type RegisterCustomer = (args: RegisterCustomerArgs): Promise<{ customer: SfCustomer; }>; type LoginCustomer = (args: LoginCustomerArgs): Promise<{ customer: SfCustomer; }>; type GetCustomer = () => Promise<Maybe<SfCustomer>>; type LogoutCustomer = () => Promise<void>;
- Split
GetProducts
method into two methods:GetProducts
which allows to get specific products byids
orskus
- and
SearchProducts
which allows to search for products byfacets
,category
, andsearch
phrase with an option to paginate and sort results
0.1.0ri:link
Minor Changesri:link
- init package