Data Models
RewriterAnnotation
RewriterAnnotation
Class Properties
Property | Type | Optional | Description |
---|---|---|---|
annotationId | String | No | Unique identifier for the rewriter annotation, automatically generated. |
from | User | No | The user who created this rewriter annotation. |
color | String | Yes | Color used for the rewriter annotation. |
lastUpdated | Any | Yes | Timestamp when the rewriter annotation was last updated, automatically generated. |
documentParamsId | Number | null | Yes | Unique document params ID, deprecated, use locationId instead. |
documentParams | Location | null | Yes | Document params to identify user on sub document, deprecated, use location instead. |
locationId | Number | null | Yes | Unique location ID generated from provided location. |
location | Location | null | Yes | Set location to identify user on sub document. |
type | String | Yes | Type of annotation. |
rewriterType | String | No | Type of rewriter for the annotation, either ‘generic’ or ‘copywriter’. |
targetTextRange | TargetTextRange | null | Yes | Selected text range of rewriter annotation. |
annotationIndex | Number | Yes | Index of the current annotation in the list of annotations. |
pageInfo | PageInfo | Yes | Information about the page where the annotation is made. |
selectedRewriterOption | String | Yes | Selected rewriter option used in the annotation. |
Was this page helpful?