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#

readonly actor: string

Defined in: editor/src/inspector/provenance.ts:19

The actor’s IRI, as written.

belief#

readonly belief: "true" | "false" | "unlikely"

Defined in: editor/src/inspector/provenance.ts:24

date#

readonly date: string | null

Defined in: editor/src/inspector/provenance.ts:25

iri#

readonly iri: 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#

readonly note: string | null

Defined in: editor/src/inspector/provenance.ts:26

who#

readonly who: 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#

readonly basis: readonly ShownIri[]

Defined in: editor/src/inspector/provenance.ts:56

beliefs#

readonly beliefs: readonly BeliefLine[]

Defined in: editor/src/inspector/provenance.ts:59

date#

readonly date: string | null

Defined in: editor/src/inspector/provenance.ts:54

match#

readonly match: string | null

Defined in: editor/src/inspector/provenance.ts:57

method#

readonly method: string | null

Defined in: editor/src/inspector/provenance.ts:52

note#

readonly note: string | null

Defined in: editor/src/inspector/provenance.ts:58

service#

readonly service: ShownIri | null

Defined in: editor/src/inspector/provenance.ts:55

statedBy#

readonly statedBy: readonly ShownIri[]

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#

readonly items: readonly ShownIri[]

Defined in: editor/src/inspector/provenance.ts:152

One item per value, a list’s in its order; words carry no IRI.

key#

readonly key: "date" | "method" | "service" | "basis" | "match" | "note" | "statedBy"

Defined in: editor/src/inspector/provenance.ts:149

label#

readonly label: 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?#

readonly optional basis?: unknown

Defined in: editor/src/inspector/provenance.ts:39

beliefs?#

readonly optional beliefs?: unknown

Defined in: editor/src/inspector/provenance.ts:42

date?#

readonly optional date?: unknown

Defined in: editor/src/inspector/provenance.ts:36

match?#

readonly optional match?: unknown

Defined in: editor/src/inspector/provenance.ts:40

method?#

readonly optional method?: unknown

Defined in: editor/src/inspector/provenance.ts:37

note?#

readonly optional note?: unknown

Defined in: editor/src/inspector/provenance.ts:41

service?#

readonly optional service?: unknown

Defined in: editor/src/inspector/provenance.ts:38

stated_by?#

readonly optional stated_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#

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#

ProvenanceEntry

user#

User

names#

IriNames

Returns#

EntryLine


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#

EntryLine

Returns#

ParadataRow[]


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#

User

names?#

IriNames

Returns#

string