EventLogEntry
interfaceA logged event entry in the event log.
Each entry captures a single
STORE_EVENT message received from the hub,
including the event descriptor, resulting patches, and the snapshot version
after the event was applied. The useEventLog hook collects these
entries in chronological order.Properties
| Name | Type | Description |
|---|---|---|
committed | boolean | Whether the event was committed to the store. |
event | { channel: string; id: string; payload: unknown; truncated?: boolean; type: string } | The event descriptor (channel, type, payload). |
patches | JsonPatch[] | JSON Patch operations produced by the event. |
reason? | "vetoed" | "deduped" | "cascade" | Why the event did not commit, when it did not. |
snapshotVersion | number | Store snapshot version after this event was applied. |
storeId | string | Identifier of the store that emitted the event. |
timestamp | string | ISO-8601 timestamp of the event. |
vetoedBy? | string | Which middleware vetoed, when one did and it had a name. |