Options
All
  • Public
  • Public/Protected
  • All
Menu

Base class for other entities to inherit from.

Contains base properties that are needed across most other models.

Hierarchy

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • Returns Base

Properties

_id

_id: string

The ID (primary key) of the entity.

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).

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