ScoreDistribution is an interface representing the score distribution of a media. It includes the score and the amount each having their own properties.

interface ScoreDistribution {
    amount: number;
    score: number;
}

Properties

Properties

amount: number

amount is a number representing the amount of the score.

score: number

score is a number representing the score of the media.