Options
All
  • Public
  • Public/Protected
  • All
Menu

The Document definition for an Adventure. Defines the DataSchema and common behaviors for an Adventure which are shared between both client and server.

mixes

AdventureData

memberof

documents

param data

Initial data from which to construct the Actor

param context

Construction context options

Hierarchy

Index

Constructors

Accessors

  • get thumbnail(): string
  • Provide a thumbnail image path used to represent the Adventure document.

    Returns string

  • get contentFields(): any
  • An array of the fields which provide imported content from the Adventure.

    Returns any

Properties

metadata: any = ...

Default metadata which applies to each instance of this Document type.

Methods

  • fromSource(source: any, options?: {}): any
  • inheritdoc

    Parameters

    • source: any
    • options: {} = {}

      Returns any

    • migrateData(data: any): any
    • inheritdoc

      Parameters

      • data: any

      Returns any