inspector/journal#

Interfaces#

JournalRow#

Defined in: editor/src/inspector/journal.ts:35

One row of the Journal tab.

Properties#

author#

readonly author: string

Defined in: editor/src/inspector/journal.ts:40

children#

readonly children: readonly JournalRow[]

Defined in: editor/src/inspector/journal.ts:47

A session’s entries as rows, newest first; [] for a command.

earlier#

readonly earlier: boolean

Defined in: editor/src/inspector/journal.ts:45

Of the earlier session of the edited element, listed read only.

entry#

readonly entry: Entry

Defined in: editor/src/inspector/journal.ts:37

The entry the row reads; listed once, so it identifies the row.

text#

readonly text: string

Defined in: editor/src/inspector/journal.ts:41

time#

readonly time: string

Defined in: editor/src/inspector/journal.ts:39

HH:MM:SS of the entry’s UTC time.

undone#

readonly undone: boolean

Defined in: editor/src/inspector/journal.ts:43

Undone, every change of it, and not redone yet: listed until a new command replaces it.

Type Aliases#

JournalSource#

JournalSource = Pick<Store, "editing" | "listed" | "sessions">

Defined in: editor/src/inspector/journal.ts:51

What the rows are read from: the store’s editing path and its innermost level.

Functions#

journalRows()#

journalRows(store, view): JournalRow[]

Defined in: editor/src/inspector/journal.ts:188

The Journal tab’s rows for the level the user works on, newest first.

Parameters#

store#

JournalSource

view#

View

Returns#

JournalRow[]