Options
All
  • Public
  • Public/Protected
  • All
Menu

Entity representing a user.

Hierarchy

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

_id

_id: string

The ID (primary key) of the entity.

emails

emails: EmailRecord[]

The email addresses associated with the user's account.

Optional host

host: string

Host that the entity belongs to.

Because this is a federated system, there are many instances where entities are scoped to a specific instance (rather than globally scoped).

posts

Posts made by the user.

profile

profile: UserProfile

The user's profile.

subscriptions

subscriptions: RemoteReference[]

Communities that the user is subscribed to.

username

username: string

The user's username.

Accessors

created

  • get created(): number
  • set created(created: number): void

id

  • get id(): string
  • set id(id: string): void

modified

  • get modified(): number
  • set modified(modified: number): void

Methods

toJSON

Generated using TypeDoc