inspector/provenance#
Interfaces#
BeliefLine#
Defined in: editor/src/inspector/provenance.ts:17
One actor’s belief in a pair or a MatchClaim, as a provenance entry’s details print it.
Properties#
actor#
readonlyactor:string
Defined in: editor/src/inspector/provenance.ts:19
The actor’s IRI, as written.
belief#
readonlybelief:"true"|"false"|"unlikely"
Defined in: editor/src/inspector/provenance.ts:24
date#
readonlydate:string|null
Defined in: editor/src/inspector/provenance.ts:25
iri#
readonlyiri:string
Defined in: editor/src/inspector/provenance.ts:21
The IRI the actor stands for under the manifest’s context (actorIri), which actors are compared by.
note#
readonlynote:string|null
Defined in: editor/src/inspector/provenance.ts:26
who#
readonlywho:string
Defined in: editor/src/inspector/provenance.ts:23
The actor in words (whoOf of iri).
EntryLine#
Defined in: editor/src/inspector/provenance.ts:51
A provenance entry as its details print it, in the Metadata tab and in
the Matchstamp tab alike: how it was made (paradata), and who believes it.
Who stated it, the service and the basis are IRIs as shown (ShownIri):
the actors in words (whoOf), the others as slugs.
Properties#
basis#
readonlybasis: readonlyShownIri[]
Defined in: editor/src/inspector/provenance.ts:56
beliefs#
readonlybeliefs: readonlyBeliefLine[]
Defined in: editor/src/inspector/provenance.ts:59
date#
readonlydate:string|null
Defined in: editor/src/inspector/provenance.ts:54
match#
readonlymatch:string|null
Defined in: editor/src/inspector/provenance.ts:57
method#
readonlymethod:string|null
Defined in: editor/src/inspector/provenance.ts:52
note#
readonlynote:string|null
Defined in: editor/src/inspector/provenance.ts:58
service#
readonlyservice:ShownIri|null
Defined in: editor/src/inspector/provenance.ts:55
statedBy#
readonlystatedBy: readonlyShownIri[]
Defined in: editor/src/inspector/provenance.ts:53
ParadataRow#
Defined in: editor/src/inspector/provenance.ts:148
One line of a provenance entry’s paradata: which member, its label, and its items as shown.
Properties#
items#
readonlyitems: readonlyShownIri[]
Defined in: editor/src/inspector/provenance.ts:152
One item per value, a list’s in its order; words carry no IRI.
key#
readonlykey:"date"|"method"|"service"|"basis"|"match"|"note"|"statedBy"
Defined in: editor/src/inspector/provenance.ts:149
label#
readonlylabel:string
Defined in: editor/src/inspector/provenance.ts:150
ProvenanceEntry#
Defined in: editor/src/inspector/provenance.ts:34
A provenance entry as lineOf reads it: a statement’s, as the manifest
holds it, or a MatchClaim’s, as the server answers it; the members of
TimeToShare’s provenance record, any of them missing or malformed.
Properties#
basis?#
readonlyoptionalbasis?:unknown
Defined in: editor/src/inspector/provenance.ts:39
beliefs?#
readonlyoptionalbeliefs?:unknown
Defined in: editor/src/inspector/provenance.ts:42
date?#
readonlyoptionaldate?:unknown
Defined in: editor/src/inspector/provenance.ts:36
match?#
readonlyoptionalmatch?:unknown
Defined in: editor/src/inspector/provenance.ts:40
method?#
readonlyoptionalmethod?:unknown
Defined in: editor/src/inspector/provenance.ts:37
note?#
readonlyoptionalnote?:unknown
Defined in: editor/src/inspector/provenance.ts:41
service?#
readonlyoptionalservice?:unknown
Defined in: editor/src/inspector/provenance.ts:38
stated_by?#
readonlyoptionalstated_by?:unknown
Defined in: editor/src/inspector/provenance.ts:35
Functions#
beliefOf()#
beliefOf(
line,user):"true"|"false"|"unlikely"|null
Defined in: editor/src/inspector/provenance.ts:142
The user’s own belief among a line’s beliefs, each actor compared by the
IRI it stands for (BeliefLine.iri) with the user’s IRI (statedBy, an
absolute IRI, which every context expands to itself); null for none.
Parameters#
line#
EntryLine | null
user#
Returns#
"true" | "false" | "unlikely" | null
lineOf()#
lineOf(
entry,user,names):EntryLine
Defined in: editor/src/inspector/provenance.ts:105
The line a provenance entry prints: its paradata, and its beliefs in
their order, every actor and every IRI of stated_by read as the IRI it
stands for under the names’ context (the manifest’s @context,
actorIri) and worded by whoOf; the service and the basis as shown
(shownIri).
Parameters#
entry#
user#
names#
Returns#
paradataRows()#
paradataRows(
line):ParadataRow[]
Defined in: editor/src/inspector/provenance.ts:171
How a pair or a MatchClaim was made, as its details list it: one row per paradata member the entry states, in the order who stated it, method, service, basis, match, note, date. The one paradata reader of both tabs.
Parameters#
line#
Returns#
whoOf()#
whoOf(
iri,user,names?):string
Defined in: editor/src/inspector/provenance.ts:68
Who stated something, in words: the viewer’s own statements by their
name; an ORCID iD by itself; a name TiLiE wrote as a tag decoded; TiLiE’s
own proposals “TiLiE”; any other IRI as shown under names (shownIri),
as written without them.
Parameters#
iri#
string
user#
names?#
Returns#
string