UNPKG

scriptures-byu-edu-http-client

Version:

TypeScript SDK for querying the BYU Scripture Citation Index API (for Bun)

53 lines (51 loc) 1.78 kB
var __create = Object.create; var __getProtoOf = Object.getPrototypeOf; var __defProp = Object.defineProperty; var __getOwnPropNames = Object.getOwnPropertyNames; var __hasOwnProp = Object.prototype.hasOwnProperty; var __toESM = (mod, isNodeMode, target) => { target = mod != null ? __create(__getProtoOf(mod)) : {}; const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target; for (let key of __getOwnPropNames(mod)) if (!__hasOwnProp.call(to, key)) __defProp(to, key, { get: () => mod[key], enumerable: true }); return to; }; var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports); var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true, configurable: true, set: (newValue) => all[name] = () => newValue }); }; // src/types/index.ts var TalkSourceFlag; ((TalkSourceFlag2) => { TalkSourceFlag2["GeneralConference"] = "g"; TalkSourceFlag2["JournalOfDiscourses"] = "j"; TalkSourceFlag2["TeachingsOfJosephSmith"] = "t"; })(TalkSourceFlag ||= {}); var ScriptureSourceFlag; ((ScriptureSourceFlag2) => { ScriptureSourceFlag2["OldTestament"] = "o"; ScriptureSourceFlag2["NewTestament"] = "n"; ScriptureSourceFlag2["JSTFootnotes"] = "f"; ScriptureSourceFlag2["BookOfMormon"] = "b"; ScriptureSourceFlag2["DoctrineAndCovenants"] = "d"; ScriptureSourceFlag2["PearlOfGreatPrice"] = "p"; ScriptureSourceFlag2["JST"] = "j"; })(ScriptureSourceFlag ||= {}); var resultTitleClass = "resultTitle"; var resultContextClass = "resultContext"; export { resultTitleClass, resultContextClass, TalkSourceFlag, ScriptureSourceFlag };