SaveReviewVariables is an interface that contains the variables that are required to save a review. It includes the review ID, media ID, body, summary, score, and private status.

interface SaveReviewVariables {
    asHtml?: boolean;
    body: string;
    id: number;
    mediaId: number;
    private: boolean;
    score: number;
    summary: string;
}

Properties

asHtml?: boolean

asHtml is a boolean that determines if the review is in HTML format.

body: string

body is the body of the review.

id: number

id is the ID of the review.

mediaId: number

mediaId is the ID of the media.

private: boolean

private is a boolean that determines if the review is private.

score: number

score is the score of the review.

summary: string

summary is the summary of the review.