Skip to content
Document Authoring DA  API Docs v1.20.0
npmGitHub

TransactionReportChangeNEW

TransactionReportChange:

type TransactionReportChange =
| { kind: "revision.created" | "revision.edited" | "revision.accepted" | "revision.rejected" | "revision.withdrawn"; ids: string[] }
| { kind: "comment.threadAdded" | "comment.replied" | "comment.edited" | "comment.resolved" | "comment.unresolved" | "comment.removed"; ids: string[] }
| { kind: "direct"; path: string; hyperlinkTarget?: string };

A document change recorded in a TransactionReport.

Revision and comment kinds summarize their affected IDs. A direct change identifies a canonical DocJSON path that was not attributed to one of those semantic changes. In a review transaction, a direct change means that mutation was applied without tracked-change markup.