DocAuthDocumentEventsNEW
DocAuthDocumentEvents:
{}Events emitted by a DocAuthDocument.
Lifecycle events are emitted after a transaction commits and are batched by event kind, with at most one emission of each kind per transaction. A revision that disappears without an explicit accept, reject, or withdraw intent does not emit a revision lifecycle event.
Properties
Section titled “Properties”revision.created
Section titled “revision.created”revision.created:
RevisionEventPayload
Fired when one or more tracked-change revisions are created.
revision.edited
Section titled “revision.edited”revision.edited:
RevisionEventPayload
Fired when one or more existing tracked-change revisions are edited.
revision.accepted
Section titled “revision.accepted”revision.accepted:
RevisionEventPayload
Fired when one or more tracked-change revisions are accepted.
revision.rejected
Section titled “revision.rejected”revision.rejected:
RevisionEventPayload
Fired when one or more tracked-change revisions are rejected.
revision.withdrawn
Section titled “revision.withdrawn”revision.withdrawn:
RevisionEventPayload
Fired when one or more tracked-change revisions are withdrawn.
comment.threadAdded
Section titled “comment.threadAdded”comment.threadAdded:
CommentEventPayload
Fired when one or more comment threads are added.
comment.replied
Section titled “comment.replied”comment.replied:
CommentEventPayload
Fired when one or more replies are added to comment threads.
comment.edited
Section titled “comment.edited”comment.edited:
CommentEventPayload
Fired when the text of one or more comments or replies is edited.
comment.resolved
Section titled “comment.resolved”comment.resolved:
CommentEventPayload
Fired when one or more comment threads are resolved.
comment.unresolved
Section titled “comment.unresolved”comment.unresolved:
CommentEventPayload
Fired when one or more comment threads are marked unresolved.
comment.removed
Section titled “comment.removed”comment.removed:
CommentEventPayload&object
Fired when one or more comments are removed.
reason is removed for an explicit removal and anchor-deleted when the comment
disappears because its document anchor was deleted. Removing a thread also treats its
removed replies as explicit removals. If one transaction mixes explicit removals and
anchor-deleted comments, the event fires once per reason, each carrying its own ids.
Type Declaration
Section titled “Type Declaration”reason
Section titled “reason”reason:
"removed"|"anchor-deleted"
content.change
Section titled “content.change”content.change:
void
Fired after every committed transaction following document initialization.