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

DocumentEventOriginNEW

DocumentEventOrigin:

type DocumentEventOrigin =
| "user"
| "programmatic"
| "history"
| "remote";

Identifies the source of the transaction that produced a document event.

  • user — an interactive editor operation.
  • programmatic — a change made through DocAuthDocument.transaction.
  • history — an undo or redo operation.
  • remote — reserved for changes received from a remote collaborator. Current collaboration transports do not set this origin yet.