Interface iPointsDoc<T>

interface iPointsDoc<T> {
    _docId: string;
    _id?: string;
    address: string;
    groupId: string;
    lastCalculatedAt: T;
    pageId: string;
    points: T;
}

Type Parameters

Hierarchy (view full)

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

groupId: string

The group ID

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