Interface iReviewDoc<T>

interface iReviewDoc<T> {
    _docId: string;
    _id?: string;
    _notificationsHandled?: boolean;
    block: T;
    collectionId?: T;
    from: string;
    review: string;
    reviewedAddress?: string;
    stars: T;
    timestamp: T;

Type Parameters

Hierarchy (view full)

Implemented by


_docId: string

A unique stringified document ID

_id?: string

A unique document ID (Mongo DB ObjectID)

_notificationsHandled?: boolean

Whether or not the notifications have been handled by the indexer or not.

block: T

The block number of the activity.

collectionId?: T

The collection ID of the collection that was reviewed. Only applicable to collection reviews.

from: string

The user who gave the review.

review: string

The review text (max 2048 characters).

reviewedAddress?: string

The Cosmos address of the user who the review is for. Only applicable to user reviews.

stars: T

The number of stars given (1-5).

timestamp: T

The timestamp of the activity.