@ptkl/sdk - v1.3.4
    Preparing search index...

    Type Alias DocumentCommentPayload

    Payload for creating a document comment

    type DocumentCommentPayload = {
        content: string;
        from?: number;
        path: string;
        to?: number;
        variant?: string;
    }
    Index

    Properties

    content: string

    Comment body

    from?: number

    Comment start position

    path: string

    Target document path

    to?: number

    Comment end position

    variant?: string

    Variant the comment belongs to