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

    Interface iDynamicDataDoc<Q, T>

    interface iDynamicDataDoc<
        Q extends DynamicDataHandlerType,
        T extends NumberType,
    > {
        _docId: string;
        _id?: string;
        createdAt?: T;
        createdBy: string;
        data: DynamicDataHandlerData<Q>;
        dataSecret: string;
        dynamicDataId: string;
        handlerId: Q;
        label: string;
        lastUpdated?: T;
        managedBy: string;
        publicUseInClaims?: boolean;
    }

    Type Parameters

    Hierarchy (View Summary)

    • Doc
      • iDynamicDataDoc

    Implemented by

    Index

    Properties

    _docId: string

    A unique stringified document ID

    _id?: string

    A unique document ID (Mongo DB ObjectID)

    createdAt?: T

    The time the dynamic data store was created

    createdBy: string

    The creator of the dynamic data store

    The data itself.

    dataSecret: string

    The data secret. Used in cases where you are not signed in as creator. This authenticates the request. Not applicable to public stores

    dynamicDataId: string

    The dynamic data ID. The ID of the store.

    handlerId: Q

    The handler ID. Can also be thought of as the type of dynamic data ("addresses", "email", ...)

    label: string

    The label of the data store

    lastUpdated?: T

    The time the dynamic data store was last updated

    managedBy: string

    The manager of the dynamic data store

    publicUseInClaims?: boolean

    Whether the dynamic data store is public. If true, the data can be accessed without authentication.