import { DaffProductPageReviewsFacade } from '@daffodil/reviews/state'
@Injectable()
class DaffProductPageReviewsFacade<<T extends DaffProductReview = DaffProductReview>> implements DaffProductPageReviewsFacadeInterface {
loading$: Observable<boolean>
errors$: Observable<DaffStateError[]>
productReviews$: Observable<T[]>
dispatch(action: Action<string>): void
}
Observable<boolean>
Default | – |
---|---|
Description | Whether the product reviews are loading. |
Observable<DaffStateError[]>
Default | – |
---|---|
Description | Product page review errors. |
Observable<T[]>
Default | – |
---|---|
Description | The reviews for the current product page. |
void
Parameter | action: Action |
---|---|
Description |