RecommendationsVariables is an interface representing the variables for the RecommendationsQuery. It includes optional page, per page, id, media id, media recommendation id, user id, rating, on list, rating greater, rating lesser, sort, and as html.

interface RecommendationsVariables {
    asHtml?: boolean;
    id?: number;
    mediaId?: number;
    mediaRecommendationId?: number;
    onList?: boolean;
    page?: number;
    perPage?: number;
    rating?: number;
    rating_greater?: number;
    rating_lesser?: number;
    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 recommendation.

mediaId?: number

mediaId is a number representing the id of the media.

mediaRecommendationId?: number

mediaRecommendationId is a number representing the id of the media recommendation.

onList?: boolean

onList is a boolean representing whether the recommendation is on the list.

page?: number

page is a number representing the page number.

perPage?: number

perPage is a number representing the number of items per page.

rating?: number

rating is a number representing the rating of the recommendation.

rating_greater?: number

rating_greater is a number representing the minimum rating.

rating_lesser?: number

rating_lesser is a number representing the maximum rating.

sort?: string[]

sort is an array of strings representing the sort order.

userId?: number

userId is a number representing the id of the user.