Skip to main content

Interface: Main

Defined in: web/lib/api/generated/types/pub/chive/review/comment.ts:18

Indexable

[k: string]: unknown

Properties

$type

$type: "pub.chive.review.comment"

Defined in: web/lib/api/generated/types/pub/chive/review/comment.ts:19


body

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

Defined in: web/lib/api/generated/types/pub/chive/review/comment.ts:23

Rich review body with formatting and references


createdAt

createdAt: string

Defined in: web/lib/api/generated/types/pub/chive/review/comment.ts:55


eprintUri

eprintUri: string

Defined in: web/lib/api/generated/types/pub/chive/review/comment.ts:21

Reviewed eprint URI


motivationFallback?

optional motivationFallback: string & object | "commenting" | "highlighting" | "questioning" | "replying" | "linking"

Defined in: web/lib/api/generated/types/pub/chive/review/comment.ts:46

Fallback motivation if motivationUri not available


motivationUri?

optional motivationUri: string

Defined in: web/lib/api/generated/types/pub/chive/review/comment.ts:44

AT-URI of motivation type node (subkind=motivation)


parentComment?

optional parentComment: string

Defined in: web/lib/api/generated/types/pub/chive/review/comment.ts:54

Parent comment for threading


target?

optional target: TextSpanTarget

Defined in: web/lib/api/generated/types/pub/chive/review/comment.ts:42