@wdprlib/runtime
    Preparing search index...

    Interface RatingState

    interface RatingState {
        aggregate: RatingAggregate | null;
        allowedVotes: readonly RatingVote[];
        canCancel: boolean;
        canVote: boolean;
        currentVote: RatingVote | null;
        label: string;
        ref: RatingRef;
        voteLabels?: Readonly<Partial<Record<RatingVote, string>>>;
    }
    Index

    Properties

    aggregate: RatingAggregate | null
    allowedVotes: readonly RatingVote[]
    canCancel: boolean
    canVote: boolean
    currentVote: RatingVote | null
    label: string
    voteLabels?: Readonly<Partial<Record<RatingVote, string>>>

    Plain-text vote labels. Omitted entries in each complete state use + / Ø / –.