This model implements the possibility of adding a diary entry into a journal and keeping track of the list of the diary entries

Hierarchy (view full)

Constructors

Properties

channelManager: default
onUpdated: OEvent<((timeOfEarliestChange: Date) => void)> = ...
state: StateMachine<"Uninitialised" | "Initialised", "shutdown" | "init">
channelId: "diary" = 'diary'

Methods

  • Parameters

    • diaryEntry: string
    • Optionalowner: SHA256IdHash<Person>

    Returns Promise<void>

  • Initialize this instance

    This must be done after the one instance was initialized.

    Returns Promise<void>