platform-bible-utils
    Preparing search index...

    Type Alias LegacyComment

    Represents a single comment/note in a scripture text

    This is the C# Comment type from Paratext.Data.ProjectComments

    type LegacyComment = {
        assignedUser?: string;
        biblicalTermId?: string;
        conflictType?: string;
        contents: string;
        contextAfter?: string;
        contextBefore?: string;
        date: string;
        deleted: boolean;
        extraHeadingInfo?: string;
        hideInTextWindow: boolean;
        id: string;
        language: string;
        replyToUser?: string;
        selectedText?: string;
        shared?: string;
        startPosition: number;
        status?: string;
        tagAdded?: string;
        tagRemoved?: string;
        thread: string;
        type?: string;
        user: string;
        verse?: string;
        verseRef: string;
    }
    Index

    Properties

    assignedUser?: string

    Present in a note when it has been assigned to a particular user

    biblicalTermId?: string

    Present when there is a Biblical Term Id associated with the note

    conflictType?: string

    Type of conflict. Only applicable for conflict notes and it used to give a more specific message when displaying the note.

    contents: string

    InnerXML of the contents of the comment, needs to be rendered with MarkdownRenderer.

    contextAfter?: string

    If SelectedText is not empty, some optional context of the selected text occurs immediately after the selection.

    contextBefore?: string

    If SelectedText is not empty, some optional context of the selected text occurs immediately before the selection.

    date: string

    Date the comment was created (format like 2008-04-10T06:30:00.0000000-07:00)

    deleted: boolean

    True if the comment has been deleted

    extraHeadingInfo?: string

    Additional information for the note header, added for Biblical Term notes.

    hideInTextWindow: boolean

    Present in a comment to hide the note when showing notes in teh Scripture text windows.

    id: string

    Unique id of the comment, unchanged by subsequent editing

    language: string

    Language of note

    replyToUser?: string

    Present in a note when it has been assigned to reply-to a particular user

    selectedText?: string

    Text which was selected in comment, or "" for none

    shared?: string

    Present in a note when it has been marked to be shared in teh Global Consultant Notes

    startPosition: number

    Approximate position where the comment begins. Zero for attached to a verse.

    status?: string

    Can be "todo", "done", or "deleted." Empty string falls back to previous status in thread.

    tagAdded?: string

    Tags added in this note, joined with (',')

    tagRemoved?: string

    Tags removed in this note, joined with (',')

    thread: string

    Guid of the thread of comments

    type?: string

    Type of note. Normal notes have no type (""), but conflicts that are stored as notes have type "conflict."

    user: string

    Name of the user who created this comment

    verse?: string

    Original USFM content of verse

    verseRef: string

    Verse reference in which comment appears