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 throughDocAuthDocument.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.