commerce icon indicating copy to clipboard operation
commerce copied to clipboard

Define Wishlist schema

Open lfades opened this issue 4 years ago • 0 comments
trafficstars

Our Wishlist type is currently set to any and is defined here: framework/commerce/types/wishlist.ts. Similar to our other core types, we need to have it defined to a shape that can work with any e-commerce provider we throw at it.

Every field defined needs to have docs, we do that using comments, e.g:

/**
 * The wishlist's id.
 */
id: string

lfades avatar Sep 30 '21 17:09 lfades