import { DaffProductReview } from '@daffodil/reviews'
interface DaffProductReview {
overallRating: number
ratings: DaffReviewRating[]
productId: string
createdAt: string
customer: DaffProductReviewCustomer
title: string
body: string
}
overallRating number |
---|
The overall rating of the product. |
ratings DaffReviewRating[] |
---|
A list of rating that apply to specific aspects of the product. |
productId string |
---|
The ID of the product that this review targets. |
createdAt string |
---|
The date when this review was submitted in ISO 8601 format. |
customer DaffProductReviewCustomer |
---|
The customer that wrote the review. |
title string |
---|
The title of the review. |
body string |
---|
The full text body of the review. |