platform-bible-utils
    Preparing search index...

    Type Alias UsjFlatTextChapterLocation

    UsjFlatTextChapterLocation: { book: string; chapterNum: number } & (
        UsjMarkerLocation & { offset?: undefined }
        | UsjTextContentLocation
    )

    A book ID, chapter number, and text location or beginning of marker location in USJ space that point to a specific location in USJ. The location in USJ space starts from the start of the chapter specified. This can only represent the beginning of a marker or a location in the USJ document's text content.

    Type declaration

    • book: string

      Book ID indicating which book the document location is in

    • chapterNum: number

      Chapter number indicating which chapter the document location is in

    13 November 2025. This type of location is not generic enough to support all positions we need to be able to represent in USJ space. Use other forms of UsjChapterLocation instead.