claimEvents#
Interfaces#
ClaimEvents#
Defined in: claimEvents.ts:19
The events on the two sides of a MatchClaim, as the MatchClaim table
states them: each side’s timeline, its event’s ID and name (null where
the event has none); the MatchClaim’s certainty and whether it states
synchrony. A side naming no event holds one of the table’s two reserved
strings as its event ID, NOMATCH_SENTINEL or CHUNK_SENTINEL, and no
name; the table’s checks allow no null event ID and no null synchrony.
Properties#
certainty#
readonlycertainty:number|null
Defined in: claimEvents.ts:27
event_a_id#
readonlyevent_a_id:string
Defined in: claimEvents.ts:22
event_a_name#
readonlyevent_a_name:string|null
Defined in: claimEvents.ts:23
event_b_id#
readonlyevent_b_id:string
Defined in: claimEvents.ts:25
event_b_name#
readonlyevent_b_name:string|null
Defined in: claimEvents.ts:26
id#
readonlyid:string
Defined in: claimEvents.ts:20
is_synchronous#
readonlyis_synchronous:boolean
Defined in: claimEvents.ts:28
timeline_a_id#
readonlytimeline_a_id:string
Defined in: claimEvents.ts:21
timeline_b_id#
readonlytimeline_b_id:string
Defined in: claimEvents.ts:24
Variables#
MALFORMED_EVENTS#
constMALFORMED_EVENTS:"the events answer is not the events of the MatchClaims asked for"="the events answer is not the events of the MatchClaims asked for"
Defined in: claimEvents.ts:32
The message of an events answer that is not of the route’s form.
Functions#
eventsOf()#
eventsOf(
body,asked): readonlyClaimEvents[] |undefined
Defined in: claimEvents.ts:108
The events of the MatchClaims asked that a 2xx body of the events route
holds, or undefined when the body is not of its form: {"claims": [...]} with one entry per ID asked, in that order, each of exactly the
members of ClaimEvents.
Parameters#
body#
unknown
asked#
readonly string[]
Returns#
readonly ClaimEvents[] | undefined
eventsRequest()#
eventsRequest(
claims,manifest,table):Blob
Defined in: claimEvents.ts:38
A request of the events route: the parameters {claims} behind their
length, then the table route’s body for manifest and table.
Parameters#
claims#
readonly string[]
manifest#
string
table#
Blob
Returns#
Blob