Home > @vue-storefront/core > UseWishlistFactoryParams
UseWishlistFactoryParams interface
Signature:
export interface UseWishlistFactoryParams<WISHLIST, WISHLIST_ITEM, PRODUCT, API extends PlatformApi = any> extends FactoryParams<API>
Extends: FactoryParams
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
addItem | (context: Context, params: { currentWishlist: WISHLIST; product: PRODUCT; customQuery?: CustomQuery; }) => Promise<WISHLIST> | ||
clear | (context: Context, params: { currentWishlist: WISHLIST; }) => Promise<WISHLIST> | ||
isInWishlist | (context: Context, params: { currentWishlist: WISHLIST; product: PRODUCT; }) => boolean | ||
load | (context: Context, params: { customQuery?: CustomQuery; }) => Promise<WISHLIST> | ||
removeItem | (context: Context, params: { currentWishlist: WISHLIST; product: WISHLIST_ITEM; customQuery?: CustomQuery; }) => Promise<WISHLIST> |