RecommendationVariables is an interface representing the variables for the RecommendationQuery. It includes optional parameters for querying recommendation data.

interface RecommendationVariables {
    asHtml?: boolean;
    id?: number;
    mediaId?: number;
    mediaRecommendationId?: number;
    onList?: boolean;
    rating?: number;
    rating_greater?: number;
    rating_lesser?: number;
    sort?: RecommendationSort[];
    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 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 indicating whether the recommendation is on the list.

rating?: number

rating is a number representing the rating of the recommendation.

rating_greater?: number

rating_greater is a number representing the rating greater than the recommendation.

rating_lesser?: number

rating_lesser is a number representing the rating lesser than the recommendation.

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

userId?: number

userId is a number representing the id of the user.