@veltdev/types
Version: 
Velt is an SDK to add collaborative features to your product within minutes. Example: Comments like Figma, Frame.io, Google docs or sheets, Recording like Loom, Huddles like Slack and much more.
28 lines (27 loc) • 669 B
TypeScript
import { AnchorRecord } from "./anchor-record.data.model";
export declare class TargetTextRange {
    /**
     * Xpath of common Ancestor Container
     */
    commonAncestorContainer?: string;
    /**
     * Full xpath of common Ancestor Container
     */
    commonAncestorContainerFXpath?: string;
    /**
     * Full xpath of common Ancestor Container with class names
     */
    commonAncestorContainerCFXpath?: string;
    /**
     * Anchor of common Ancestor Container
     */
    commonAncestorContainerAnchor?: AnchorRecord;
    /**
     * Selected text
     */
    text?: string;
    /**
     * Occurrence of selected text
     */
    occurrence?: number;
}