Interface iMapDoc<T>

interface iMapDoc<T> {
    _docId: string;
    _id?: string;
    creator: string;
    defaultValue: string;
    inheritManagerTimelineFrom: T;
    managerTimeline: iManagerTimeline<T>[];
    mapId: string;
    metadata?: iMetadata<T>;
    metadataTimeline: iMapMetadataTimeline<T>[];
    permissions: iMapPermissions<T>;
    updateCriteria: iMapUpdateCriteria<T>;
    updateHistory: iUpdateHistory<T>[];
    valueOptions: iValueOptions;
    values: {
        [key: string]: iValueStore;
    };
}

Type Parameters

Hierarchy (view full)

Implemented by

Properties

_docId: string

A unique stringified document ID

_id?: string

A unique document ID (Mongo DB ObjectID)

creator: string
defaultValue: string
inheritManagerTimelineFrom: T
managerTimeline: iManagerTimeline<T>[]
mapId: string
metadata?: iMetadata<T>

The fetched metadata for the map (if any).

metadataTimeline: iMapMetadataTimeline<T>[]
permissions: iMapPermissions<T>
updateCriteria: iMapUpdateCriteria<T>
updateHistory: iUpdateHistory<T>[]

The update history for the map. Maps are maintained through blockchain transactions.

valueOptions: iValueOptions
values: {
    [key: string]: iValueStore;
}

The (key, value) pairs for the maps that are set.