platform-bible-utils
    Preparing search index...

    Interface UsjTextContentLocation

    A JSONPath query to a specific point in a text content string in a MarkerObject.content array.

    interface UsjTextContentLocation {
        jsonPath: ContentJsonPath;
        offset: number;
    }
    Index

    Properties

    Properties

    jsonPath: ContentJsonPath

    JSON path to the text content string the location is pointing to. The offset applies to this text string.

    offset: number

    The character index in the text content string where this location is pointing. The location is at this offset within the text content string. At the string's length it is the character after the text when that character has no other location (see UsjDocumentLocation).

    offset means an index into a text content string only: jsonPath names that string, never the marker object or Usj containing it.