Application Load

IProductFeedbackStat

The physical TypeScript declaration from the Nuxt starter, with linked types and field comments.

IProductFeedbackStat

Product review count and average rating from the approved reviews of this storefront’s store group, as in the public review list.

app/interfaces/orionplace/products/IProduct.ts
TypeScript
export interface IProductFeedbackStat {
  // Number of approved top-level product reviews left in this storefront’s
  // store group.
  c_feedbacks: number;
  // Average product rating from the approved reviews of this storefront’s store
  // group. Older reviews saved without stars (0) count as reviews but not in
  // the average; 0 without rated reviews.
  avg_raiting: number | string;
}