Type that represents an entry in an EventLog

Base interface that clients will typically implement multiple times. Each concrete implementation will define its own data properties that need to be serialized into the event log.

Properties defined here are common metadata which require special handling by any EventLog implementation.

All data properties are immutable once an entry has been added to the log. Metadata properties (apart from type) may change over time.

interface LogEntry {
    history?: string;
    pending?: string;
    snapshot?: string;
    type: string;
}

Hierarchy (View Summary)

Properties

history?: string

Stores a reference to an external history of the event log up to and including the previous entry

pending?: string

Indicates that a background workflow is pending

snapshot?: string

Stores a reference to a snapshot of the complete log up to and including this entry

type: string

Used as a discriminated union tag by implementations