bitbadgesjs-sdk - v0.27.2
    Preparing search index...

    Interface iMapDoc<T>

    interface iMapDoc<T extends NumberType> {
        _docId: string;
        _id?: string;
        creator: string;
        defaultValue: string;
        inheritManagerFrom: T;
        manager: string;
        mapId: string;
        metadata: iCollectionMetadata;
        permissions: iMapPermissions<T>;
        populatedMetadata?: iMetadata<T>;
        updateCriteria: iMapUpdateCriteria<T>;
        updateHistory: iUpdateHistory<T>[];
        valueOptions: iValueOptions;
        values: { [key: string]: iValueStore };
    }

    Type Parameters

    Hierarchy (View Summary)

    Implemented by

    Index

    Properties

    _docId: string

    A unique stringified document ID

    _id?: string

    A unique document ID (Mongo DB ObjectID)

    creator: string
    defaultValue: string
    inheritManagerFrom: T
    manager: string
    mapId: string
    permissions: iMapPermissions<T>
    populatedMetadata?: iMetadata<T>

    The fetched/populated metadata for the map (if any). This is the actual metadata object with name, image, description, etc.

    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.