mirror of
https://github.com/vercel/commerce.git
synced 2025-09-07 16:30:17 +00:00
Added actions and more stuff to the wishlist page
This commit is contained in:
@@ -4,9 +4,13 @@ import { BigcommerceConfig, getConfig } from '..'
|
||||
import getAllProducts, { ProductEdge } from './get-all-products'
|
||||
|
||||
export type Wishlist = Omit<definitions['wishlist_Full'], 'items'> & {
|
||||
items?: (NonNullable<definitions['wishlist_Full']['items']>[0] & {
|
||||
product?: ProductEdge['node']
|
||||
})[]
|
||||
items?: WishlistItem[]
|
||||
}
|
||||
|
||||
export type WishlistItem = NonNullable<
|
||||
definitions['wishlist_Full']['items']
|
||||
>[0] & {
|
||||
product?: ProductEdge['node']
|
||||
}
|
||||
|
||||
export type GetCustomerWishlistResult<
|
||||
|
Reference in New Issue
Block a user