ReviewsVariables is an interface representing the variables for the ReviewsQuery. It includes optional id, media id, user id, media type, sort, and as html.

interface ReviewsVariables {
    asHtml?: boolean;
    id?: number;
    mediaId?: number;
    mediaType?: string;
    sort?: string[];
    userId?: number;
}

Properties

asHtml?: boolean

asHtml is a boolean representing 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?: string

mediaType is a string representing the type of the media.

sort?: string[]

sort is an array of strings representing the sort order.

userId?: number

userId is a number representing the id of the user.