Skip to main content

Interface: HistoryReply

Defined in: historyReply.types.ts:9

What the history endpoint answers: the hash the route serves right now — null before any publish — and its pointer moves, newest first, capped at the last twenty. moves is null exactly when the store implements no history(route), which is a valid adapter rather than an error; total is the uncapped count, so a trimmed list says how much it trimmed.

Properties

current

readonly current: string | null

Defined in: historyReply.types.ts:10


moves

readonly moves: readonly PointerMove[] | null

Defined in: historyReply.types.ts:11


total

readonly total: number

Defined in: historyReply.types.ts:12