Interface iFollowDetailsDoc<T>

interface iFollowDetailsDoc<T> {
    _docId: string;
    _id?: string;
    cosmosAddress: string;
    followers: string[];
    followersCount: T;
    following: string[];
    followingCollectionId: T;
    followingCount: 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)

cosmosAddress: string

The Cosmos address of the user

followers: string[]

The followers of the user

followersCount: T

The number of users that are following the user

following: string[]

The following of the user

followingCollectionId: T

The collection ID of the following collection

followingCount: T

The number of users that the user is following