Options
All
  • Public
  • Public/Protected
  • All
Menu

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

mixes

JournalEntryData

memberof

documents

param data

Initial data from which to construct the JournalEntry

param context

Construction context options

Hierarchy

Index

Constructors

Methods

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

    Parameters

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

      Returns any

    • migrateData(data: any): any
    • inheritdoc

      Parameters

      • data: any

      Returns any

    • shimData(data: any, options: any): any
    • inheritdoc

      Parameters

      • data: any
      • options: any

      Returns any

    • migrateContentToPages(source: any): any[]
    • Migrate old content and img field to individual pages.

      deprecated

      since v10

      Parameters

      • source: any

        Old source data which will be mutated in-place

      Returns any[]

      Page data that should be added to the document

    Properties

    metadata: any = ...

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