A User on the platform

interface User {
    address: null | Address;
    age: null | Age;
    chatProfiles: null;
    chatsCount: number;
    createdAt: Date;
    deleted: boolean;
    gender: null | Gender;
    heartsCount: number;
    id: string;
    moderationStatus: ModerationStatus;
    pin: null | string;
    postsCount: number;
    profileUpdatedAt: Date;
    quidsCount: number;
    ratedChatsCount: number;
    rating: number;
    repliesCount: number;
    replyHeadersCount: number;
    seeded: boolean;
    unreadNotificationsCount: string;
    updatedAt: Date;
    username: string;
    voteDownCount: number;
    voteUpCount: number;
}

Properties

address: null | Address

The Address of the user, if set.

age: null | Age

The age of the user, if set. TODO: Observed type null, check if string

chatProfiles: null

TODO: Find an example of this being used

chatsCount: number

The number of Chats the User has been in

createdAt: Date

The creation date of the User

Example

Observed: 2023-03-26T19:27:48.081Z
deleted: boolean

Probably if the User is deleted TODO: Check this

gender: null | Gender

The gender of the user, if set. TODO: Observed type null, check if string

heartsCount: number

The number of hearts the User has made TODO: Check if this is the number received

id: string

The unique id of the User

moderationStatus: ModerationStatus

The current moderation status of the User.

pin: null | string

The PIN of the user, if set. TODO: Observed type null, check if string

postsCount: number

The number of Posts the User has created

profileUpdatedAt: Date

The time of the last profile change for the User

Example

Observed: 2023-07-20T03:18:16.762Z
quidsCount: number

The number of quids the User has

ratedChatsCount: number

The number of Chats the User has been rated in

rating: number

The overall rating of the User

repliesCount: number

The number of replies the User has made TODO: Check if this is the number received

replyHeadersCount: number

The number of hearts on replies the User has made TODO: Check if this is the number received

seeded: boolean

TODO: Check this

unreadNotificationsCount: string

The number of unread notifications the User has

Example

This is a leak of data only the account owner should have access to
updatedAt: Date

The time of the last change to the User

Example

Observed: 2024-02-22T12:04:15.320Z
username: string

The display name of the User

voteDownCount: number

The number of down votes the User has received

voteUpCount: number

The number of up votes the User has received

Generated using TypeDoc