Skip to content

Interface: TimelineEntry

@roomful/svelte


@roomful/svelte / TimelineEntry

Defined in: packages/core/dist/types.d.ts:1878

A single entry in the shared collaborative history timeline. Every peer’s HistoryEngine.capture and HistoryEngine.transaction appends one of these to a timeline that converges across all peers, so the whole room sees the same ordered activity log.

action: string

Defined in: packages/core/dist/types.d.ts:1896

The action label supplied to capture/transaction (for example 'draw' or 'move-shape').


description: string

Defined in: packages/core/dist/types.d.ts:1905

An optional human-readable description of the entry. Defaults to the action when no explicit description is provided.


id: string

Defined in: packages/core/dist/types.d.ts:1882

Identifies the entry within the room.


peerId: string

Defined in: packages/core/dist/types.d.ts:1886

The id of the peer that produced the entry.


peerName: string

Defined in: packages/core/dist/types.d.ts:1891

The display name of the peer that produced the entry, resolved from presence at capture time. Falls back to the peer id when no name is set.


timestamp: number

Defined in: packages/core/dist/types.d.ts:1900

The epoch-millisecond timestamp when the entry was captured.