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

RevisionSelectorNEW

RevisionSelector:

type RevisionSelector =
| { ids: string[] }
| { author: string }
| { range: TextAnchorInputRange }
| { all: true };

Selects revisions for a collection decision.

Select exact revision IDs, all revisions by one author, revisions whose text anchors intersect a paragraph-local range, or every pending revision. For a range selector, omit the input range to use the whole TextView. Intersection requires an anchor range and the input range to overlap on the same text surface.