Interface iPointsDoc<T>

interface iPointsDoc<T extends NumberType> {
    _docId: string;
    _id?: string;
    address: string;
    applicationId: string;
    claimSuccessCounts?: { [claimId: string]: number };
    lastCalculatedAt: T;
    pageId: string;
    points: T;
}

Type Parameters

Hierarchy (View Summary, Expand)

Implemented by

Properties

_docId: string

A unique stringified document ID

_id?: string

A unique document ID (Mongo DB ObjectID)

address: string

The address to calculate points for

applicationId: string

The application ID

claimSuccessCounts?: { [claimId: string]: number }

Claim success counts. These were the claim success counts calculated for this points calculation.

lastCalculatedAt: T

The timestamp of when the points were last calculated (milliseconds since epoch)

pageId: string

The page ID

points: T

The points for the address

MMNEPVFCICPMFPCPTTAAATR