Skip to content

@gracious.tech/fetch-client / shared_types

Module: shared_types

Interfaces

Type Aliases

OneOrMore

Ƭ OneOrMore<T>: [T, …T[]]

UTILS

Type parameters

Name
T

Defined in

client/src/shared_types.ts:5


TranslationLiteralness

Ƭ TranslationLiteralness: 1 | 2 | 3 | 4 | 5 | null

Literalness score from 1 (high) to 5 (low) 1: So literal that it is not gramatically correct at times (e.g. LSV) 2: Readable English but awkward and hard to understand at times (e.g. ESV/NASB) 3: Easily readable with rephrasing only when necessary (e.g. BSB/NIV) 4: Frequent rephrasing to help modern readers (e.g. NLT) 5: Constant rephrasing that is highly interpretive (e.g. MSG)

Defined in

client/src/shared_types.ts:94


TranslationTag

Ƭ TranslationTag: "recommended" | "archaic" | "questionable" | "niche"

Tags: recommended: Only one per language, the best default translation for most people archaic: Uses old language (only used when year is modern as can assume all old are archaic) questionable: Substantial criticism or concerning origins niche: Only useful for academic study or for people with a certain ideology

Defined in

client/src/shared_types.ts:103


TxtContent

Ƭ TxtContent: string | TxtHeading | TxtNote

Defined in

client/src/shared_types.ts:178


CrossrefSingle

Ƭ CrossrefSingle: [string, number, number]

Defined in

client/src/shared_types.ts:186


CrossrefRange

Ƭ CrossrefRange: […CrossrefSingle, number, number]

Defined in

client/src/shared_types.ts:187


CrossrefData

Ƭ CrossrefData: Record<string, Record<string, (CrossrefSingle | CrossrefRange)[]>>

Defined in

client/src/shared_types.ts:188