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

    Interface iProfileDoc<T>

    interface iProfileDoc<T extends NumberType> {
        _docId: string;
        _id?: string;
        affiliateCode?: string;
        bannerImage?: string;
        bluesky?: string;
        createdAt?: T;
        customLinks?: iCustomLink[];
        discord?: string;
        fetchedProfile?: "full" | "partial";
        github?: string;
        hiddenTokens?: iBatchTokenDetails<T>[];
        latestSignedInChain?: SupportedChain;
        notifications?: iNotificationPreferences<T>;
        profilePicUrl?: string;
        publicSocialConnections?: iSocialConnections<T>;
        readme?: string;
        seenActivity?: T;
        socialConnections?: iSocialConnections<T>;
        solAddress?: string;
        telegram?: string;
        twitter?: string;
        username?: string;
    }

    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)

    affiliateCode?: string

    Affiliate code

    bannerImage?: string

    The banner image URL of the account

    bluesky?: string

    The Bluesky username of the account

    createdAt?: T

    The timestamp of when this account was created (milliseconds since epoch)

    customLinks?: iCustomLink[]

    The custom links of the account

    discord?: string

    The Discord username of the account

    fetchedProfile?: "full" | "partial"

    Whether we have already fetched the profile or not

    github?: string

    The GitHub username of the account

    hiddenTokens?: iBatchTokenDetails<T>[]

    The hidden badges of the account

    latestSignedInChain?: SupportedChain

    The latest chain the user signed in with

    notifications?: iNotificationPreferences<T>

    The notifications of the account

    profilePicUrl?: string

    The profile picture URL of the account

    publicSocialConnections?: iSocialConnections<T>

    Public social connections stored for the account

    readme?: string

    The readme of the account

    seenActivity?: T

    The timestamp of the last activity seen for this account (milliseconds since epoch)

    socialConnections?: iSocialConnections<T>

    Social connections stored for the account

    solAddress?: string

    The Solana address of the profile, if applicable (bc we need it to convert)

    telegram?: string

    The Telegram username of the account

    twitter?: string

    The Twitter username of the account

    username?: string

    The username of the account