ProductReview
interface ProductReview {
content: string;
createdAt: Date;
helpfulVotes: number;
id: string;
rating: 1 | 2 | 3 | 4 | 5;
title: string;
userId: string;
userName: string;
verifiedPurchase: boolean;
}Source: Product.ts:128
Product review interface
Properties
content: string
Review content
createdAt: Date
Review creation date
helpfulVotes: number
Helpful votes count
id: string
Review identifier
rating: 1 | 2 | 3 | 4 | 5
Rating from 1 to 5
title: string
Review title
userId: string
Reviewer's user ID
userName: string
Reviewer's display name
verifiedPurchase: boolean
Whether the review is verified purchase