Hierarchy

  • BaseMongoEntity
    • ReviewEntity

Implements

Constructors

Properties

comment: string

Review body

customFields?: Record<string, unknown>

Custom fields for the review

isAnonymous: boolean

Was the review created anonymously

isDeleted: boolean

Is the review deleted

Deprecated

This field is superceded by delFlag

rate: number

The score given to the review (1 - 5)

reviewedBy: string

Id of the reviewer (org or user id)

source: "user" | "organization"

Type of the reviewer

subRates?: Record<string, number>

Sub scores for the review (arbitrary keys)

target: "user" | "organization" | "product"

Type of the object being reviewed

targetId: string

Id of the object being reviewed

Generated using TypeDoc