@deep/nest-kit
    Preparing search index...

    Class BiblesService

    Index

    Constructors

    Methods

    • Parameters

      Returns void

    • Parameters

      Returns void

    • Decode book id and return bible and book ids

      Parameters

      Returns { bible: string; book: string }

      • bible and book ids
    • Decode chapter id and return bible, book and chapter ids

      Parameters

      Returns { bible: string; book: string; chapter: string }

      • bible, book and chapter id
    • Get bible book by id

      Parameters

      • id: string

        bible book id in format "BIBLE:BOOK"

      Returns Promise<MaybeNull<BibleBook>>

      • bible book
    • Fetch bibles list

      Parameters

      • bibleId: string

        bible id in format "BIBLE" (e.g. "KJV")

      Returns Promise<BibleBook[]>

      • bibles books list
    • Get bible book chapters list

      Parameters

      • bibleBookId: string

        bible book id in format "BIBLE:BOOK"

      Returns Promise<BibleChapter[]>

      • bible chapters
    • Parameters

      • id: string

      Returns Promise<MaybeNull<Bible>>

    • Get bible verse by id

      Parameters

      • id: string

        verse id in format "BIBLE:BOOK:CHAPTER:VERSE"

      Returns Promise<null | BibleVerse>

      • bible verse