inspector/claimProvenance#
Functions#
claimEntryLine()#
claimEntryLine(
claim,entry,user,context):EntryLine|null
Defined in: editor/src/inspector/claimProvenance.ts:26
The entry line of the MatchClaim claim, given what the server read of
its provenance (entryOf): the entry’s line (lineOf, its actors under
context, its IRIs shown with the shipped catalogue) once read; null where the table states no entry for it;
while the entry is not read (not yet asked, pending, failed, or without
a server), the beliefs the table states (claim.beliefs, without date
or note) and no paradata.
Parameters#
claim#
entry#
ClaimProvenanceEntry | null | undefined
user#
context#
unknown
Returns#
EntryLine | null
entryOf()#
entryOf(
read,id):ClaimProvenanceEntry|null|undefined
Defined in: editor/src/inspector/claimProvenance.ts:47
The entry read holds for the MatchClaim id: null for one without, undefined for one not asked.
Parameters#
read#
readonly ClaimProvenance[]
id#
string
Returns#
ClaimProvenanceEntry | null | undefined
followedMatch()#
followedMatch(
held,stamp,index):HeldMatch|null
Defined in: editor/src/inspector/claimProvenance.ts:61
The MatchStamp the tab shows once the block’s table was replaced and
index is its shown index: a named MatchStamp stays; a potential one is
the MatchStamp of index holding the first of stamp’s coordinates
(screen order) that index still holds, null when it holds none.
Parameters#
held#
stamp#
index#
AnchorIndex | null
Returns#
HeldMatch | null