2016-05-18 17:15:23 -04:00
|
|
|
|
|
|
|
|
|
type BiblePassage = {
|
|
|
|
|
ch: number,
|
|
|
|
|
vss: BibleVerse[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type BibleVerse = {
|
|
|
|
|
v: number,
|
|
|
|
|
w: [
|
|
|
|
|
{
|
|
|
|
|
t: string, s: string
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type BiblePassageResult = {
|
|
|
|
|
cs: BiblePassage[],
|
|
|
|
|
testament: string,
|
2016-09-12 18:13:56 -04:00
|
|
|
|
ref: string
|
2016-05-18 17:15:23 -04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2016-09-12 18:13:56 -04:00
|
|
|
|
type StrongsDefinition = { n: number, i: string, tr: string, de: string, lemma: string, p: string }
|
|
|
|
|
type StrongsCrossReference =
|
|
|
|
|
{
|
|
|
|
|
id: string, // strongs id H1|G1
|
|
|
|
|
t: string, // strongs testament grk|heb
|
|
|
|
|
d: string, // strongs word/data Aaron {ah-ar-ohn'}
|
|
|
|
|
ss: [
|
|
|
|
|
{
|
|
|
|
|
w: string,
|
|
|
|
|
rs: [
|
|
|
|
|
{ r: string }
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
type RMACDefinition = { id: string, d: string[] }
|
|
|
|
|
type RMACCrossReference = { i: string, r: string }
|
|
|
|
|
type StrongsResult =
|
|
|
|
|
{
|
|
|
|
|
prefix: string,
|
|
|
|
|
sn: number,
|
|
|
|
|
strongs: StrongsDefinition[],
|
|
|
|
|
def: StrongsDefinition,
|
|
|
|
|
rmac: RMACDefinition[],
|
|
|
|
|
crossrefs: StrongsCrossReference[],
|
|
|
|
|
rmaccode: string,
|
|
|
|
|
};
|
|
|
|
|
|
2016-05-18 17:15:23 -04:00
|
|
|
|
type Section = {
|
|
|
|
|
start: {
|
|
|
|
|
book: number,
|
|
|
|
|
bookname: string,
|
|
|
|
|
longbookname: string,
|
|
|
|
|
lastchapter: number,
|
|
|
|
|
chapter: string,
|
|
|
|
|
verse: string
|
|
|
|
|
},
|
|
|
|
|
end: {
|
|
|
|
|
book: number,
|
|
|
|
|
bookname: string,
|
|
|
|
|
longbookname: string,
|
|
|
|
|
lastchapter: number,
|
|
|
|
|
chapter: string,
|
|
|
|
|
verse: string
|
|
|
|
|
}
|
|
|
|
|
};
|