Skip to main content

Interface: Main

Defined in: web/lib/api/generated/types/pub/chive/site/citationLink.ts:18

A typed citation from the containing document to another work.

Properties​

$type?​

optional $type: "pub.chive.site.citationLink"

Defined in: web/lib/api/generated/types/pub/chive/site/citationLink.ts:19


context?​

optional context: string

Defined in: web/lib/api/generated/types/pub/chive/site/citationLink.ts:32

Where in the document the citation occurs, or a short quotation of the citing sentence.


relation​

relation: string & object | "reviews" | "cites" | "extends" | "replicates" | "disputes" | "usesDataFrom" | "usesMethodIn"

Defined in: web/lib/api/generated/types/pub/chive/site/citationLink.ts:21

How the document relates to the cited work. Open by design: knownValues names the relations Chive emits, and a consumer meeting an unfamiliar one should treat it as a plain citation rather than discard the link.


target​

target: Target

Defined in: web/lib/api/generated/types/pub/chive/site/citationLink.ts:30