Home > @vue-storefront/core > UseReviewFactoryParams
UseReviewFactoryParams interface
Signature:
export interface UseReviewFactoryParams<REVIEW, REVIEWS_SEARCH_PARAMS, REVIEW_ADD_PARAMS, API extends PlatformApi = any> extends FactoryParams<API>
Extends: FactoryParams
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| addReview | (context: Context, params: REVIEW_ADD_PARAMS & { customQuery?: CustomQuery; }) => Promise<REVIEW> | ||
| searchReviews | (context: Context, params: REVIEWS_SEARCH_PARAMS & { customQuery?: CustomQuery; }) => Promise<REVIEW> |