ReviewVariables is an interface representing the variables for the ReviewQuery. It includes optional parameters for querying review data.

interface ReviewVariables {
    asHtml?: boolean;
    id?: number;
    mediaId?: number;
    mediaType?: MediaType;
    sort?: ReviewSort[];
    userId?: number;
}

Properties

asHtml?: boolean

asHtml is a boolean indicating whether to return the result as HTML.

id?: number

id is a number representing the id of the review.

mediaId?: number

mediaId is a number representing the id of the media.

mediaType?: MediaType

mediaType is a string representing the type of the media.

sort?: ReviewSort[]

sort is an array of strings representing the sort order of the review.

userId?: number

userId is a number representing the id of the user.