2016-09-12 18:13:56 -04:00

68 lines
1.5 KiB
TypeScript

type BiblePassage = {
ch: number,
vss: BibleVerse[]
}
type BibleVerse = {
v: number,
w: [
{
t: string, s: string
}
]
}
type BiblePassageResult = {
cs: BiblePassage[],
testament: string,
ref: string
}
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,
};
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
}
};