Options
All
  • Public
  • Public/Protected
  • All
Menu

Entity representing a community.

Hierarchy

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

_id

_id: string

The ID (primary key) of the entity.

admins

admins: RemoteReference[]

Administrators of the community.

description

description: string

Description of the community.

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: Ref<Post, undefined | string>[]

Posts belonging to the community.

title

title: string

Title of the community.

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