Skip to main content

Interface: AnnotationView

Defined in: web/lib/api/generated/types/pub/chive/annotation/listForEprint.ts:69

View of an annotation/comment

Properties​

$type?​

optional $type: "pub.chive.annotation.listForEprint#annotationView"

Defined in: web/lib/api/generated/types/pub/chive/annotation/listForEprint.ts:70


author​

author: AuthorRef

Defined in: web/lib/api/generated/types/pub/chive/annotation/listForEprint.ts:75


body?​

optional body: ($Typed<TextItem> | $Typed<NodeRefItem> | $Typed<WikidataRefItem> | $Typed<FieldRefItem> | $Typed<LatexItem> | $Typed<MentionItem> | $Typed<LinkItem> | $Typed<TagItem> | $Typed<FacetRefItem> | $Typed<EprintRefItem> | $Typed<AnnotationRefItem> | $Typed<AuthorRefItem> | $Typed<CodeBlockItem> | $Typed<HeadingItem> | $Typed<ListItem> | $Typed<BlockquoteItem> | { $type: string; })[]

Defined in: web/lib/api/generated/types/pub/chive/annotation/listForEprint.ts:81

Rich text body items


bodyPlainText?​

optional bodyPlainText: string

Defined in: web/lib/api/generated/types/pub/chive/annotation/listForEprint.ts:101

Plain text body for search/preview


cid​

cid: string

Defined in: web/lib/api/generated/types/pub/chive/annotation/listForEprint.ts:74

Content identifier


content​

content: string

Defined in: web/lib/api/generated/types/pub/chive/annotation/listForEprint.ts:79

Plain text content of the annotation


createdAt​

createdAt: string

Defined in: web/lib/api/generated/types/pub/chive/annotation/listForEprint.ts:122

When the annotation was created


deleted​

deleted: boolean

Defined in: web/lib/api/generated/types/pub/chive/annotation/listForEprint.ts:126

Whether this annotation has been deleted (tombstone for thread preservation)


eprintUri​

eprintUri: string

Defined in: web/lib/api/generated/types/pub/chive/annotation/listForEprint.ts:77

AT-URI of the annotated eprint


indexedAt​

indexedAt: string

Defined in: web/lib/api/generated/types/pub/chive/annotation/listForEprint.ts:124

When the annotation was indexed


motivation​

motivation: string & object | "commenting" | "questioning" | "highlighting" | "replying" | "assessing" | "bookmarking" | "classifying" | "describing" | "editing" | "moderating" | "tagging"

Defined in: web/lib/api/generated/types/pub/chive/annotation/listForEprint.ts:104

W3C Web Annotation motivation


parentAnnotationUri?​

optional parentAnnotationUri: string

Defined in: web/lib/api/generated/types/pub/chive/annotation/listForEprint.ts:118

Parent annotation URI for threaded replies


replyCount​

replyCount: number

Defined in: web/lib/api/generated/types/pub/chive/annotation/listForEprint.ts:120

Number of direct replies


target​

target: TextSpanTarget

Defined in: web/lib/api/generated/types/pub/chive/annotation/listForEprint.ts:102


uri​

uri: string

Defined in: web/lib/api/generated/types/pub/chive/annotation/listForEprint.ts:72

Annotation AT-URI