Interface: ApiDiscussionToolsCommentForDiff
Defined in: extensions/discussiontools.ts:226
One comment item in a discussiontoolscompare diff: the thread-item shape
(see ApiDiscussionToolsComment) with replies flattened to comment ids
and the heading references appended.
Properties
author?
optionalauthor?:string
Defined in: extensions/discussiontools.ts:243
Who wrote the comment.
headingId?
optionalheadingId?:string
Defined in: extensions/discussiontools.ts:246
Id of the heading the comment sits under.
id?
optionalid?:string
Defined in: extensions/discussiontools.ts:228
Comment id.
level?
optionallevel?:number
Defined in: extensions/discussiontools.ts:234
Rendering level.
replies?
optionalreplies?:string[]
Defined in: extensions/discussiontools.ts:237
Ids of nested replies (shallow serialization).
subscribableHeadingId?
optionalsubscribableHeadingId?:string|null
Defined in: extensions/discussiontools.ts:249
Id of the nearest subscribable heading; null when there is none.
timestamp?
optionaltimestamp?:string
Defined in: extensions/discussiontools.ts:240
When it was signed — the compact id/name timestamp form (YYYYMMDDHHMMSS); comments predating 2022-07 are ISO 8601 instead.
type?
optionaltype?:string
Defined in: extensions/discussiontools.ts:231
Comment type, e.g. comment.