Interface iActivityDoc<T>

The base document interface for all acitivity types.

interface iActivityDoc<T> {
    _docId: string;
    _id?: string;
    _notificationsHandled?: boolean;
    block: 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.

timestamp: T

The timestamp of the activity.