SaveRecommendationVariables is an interface that contains the variables that are required to save a recommendation. It includes the media ID, media recommendation ID, and rating.

interface SaveRecommendationVariables {
    asHtml?: boolean;
    mediaId: number;
    mediaRecommendationId: number;
    rating: RecommendationRating;
}

Properties

asHtml?: boolean

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

mediaId: number

mediaId is the ID of the media.

mediaRecommendationId: number

mediaRecommendationId is the ID of the media recommendation.

rating is the rating of the recommendation.