@helloao/tools 0.1.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/generation/api.cjs +1580 -35
- package/dist/cjs/generation/api.cjs.map +3 -3
- package/dist/cjs/generation/audio.cjs +55 -8
- package/dist/cjs/generation/audio.cjs.map +2 -2
- package/dist/cjs/generation/book-order.cjs +1 -1
- package/dist/cjs/generation/book-order.cjs.map +2 -2
- package/dist/cjs/generation/common-types.cjs +996 -0
- package/dist/cjs/generation/common-types.cjs.map +2 -2
- package/dist/cjs/generation/dataset.cjs +44 -17
- package/dist/cjs/generation/dataset.cjs.map +2 -2
- package/dist/cjs/generation/index.cjs +8 -5
- package/dist/cjs/generation/index.cjs.map +2 -2
- package/dist/cjs/generation/simple.cjs +294 -0
- package/dist/cjs/generation/simple.cjs.map +7 -0
- package/dist/cjs/index.cjs +4 -4
- package/dist/cjs/parser/codex-parser.cjs +3 -3
- package/dist/cjs/parser/codex-parser.cjs.map +3 -3
- package/dist/cjs/parser/commentary-csv-parser.cjs +14 -3
- package/dist/cjs/parser/commentary-csv-parser.cjs.map +3 -3
- package/dist/cjs/parser/index.cjs +1 -1
- package/dist/cjs/parser/lockman-parser.cjs +334 -0
- package/dist/cjs/parser/lockman-parser.cjs.map +7 -0
- package/dist/cjs/parser/tyndale-xml-parser.cjs +1 -1
- package/dist/cjs/parser/tyndale-xml-parser.cjs.map +1 -1
- package/dist/cjs/parser/types.cjs.map +1 -1
- package/dist/cjs/parser/usfm-parser.cjs +2 -2
- package/dist/cjs/parser/usfm-parser.cjs.map +1 -1
- package/dist/cjs/parser/usx-parser.cjs +145 -32
- package/dist/cjs/parser/usx-parser.cjs.map +2 -2
- package/dist/cjs/parser/words.cjs +187 -0
- package/dist/cjs/parser/words.cjs.map +7 -0
- package/dist/cjs/utils.cjs +152 -0
- package/dist/cjs/utils.cjs.map +3 -3
- package/dist/esm/generation/api.js +1527 -35
- package/dist/esm/generation/api.js.map +3 -3
- package/dist/esm/generation/audio.js +47 -4
- package/dist/esm/generation/audio.js.map +2 -2
- package/dist/esm/generation/book-order.js +1 -1
- package/dist/esm/generation/book-order.js.map +2 -2
- package/dist/esm/generation/common-types.js +903 -0
- package/dist/esm/generation/common-types.js.map +3 -3
- package/dist/esm/generation/dataset.js +35 -10
- package/dist/esm/generation/dataset.js.map +2 -2
- package/dist/esm/generation/index.js +2 -1
- package/dist/esm/generation/index.js.map +2 -2
- package/dist/esm/generation/simple.js +260 -0
- package/dist/esm/generation/simple.js.map +7 -0
- package/dist/esm/parser/codex-parser.js +3 -3
- package/dist/esm/parser/codex-parser.js.map +3 -3
- package/dist/esm/parser/commentary-csv-parser.js +3 -2
- package/dist/esm/parser/commentary-csv-parser.js.map +2 -2
- package/dist/esm/parser/lockman-parser.js +306 -0
- package/dist/esm/parser/lockman-parser.js.map +7 -0
- package/dist/esm/parser/tyndale-xml-parser.js +1 -1
- package/dist/esm/parser/tyndale-xml-parser.js.map +1 -1
- package/dist/esm/parser/usfm-parser.js +1 -1
- package/dist/esm/parser/usfm-parser.js.map +1 -1
- package/dist/esm/parser/usx-parser.js +153 -32
- package/dist/esm/parser/usx-parser.js.map +2 -2
- package/dist/esm/parser/words.js +149 -0
- package/dist/esm/parser/words.js.map +7 -0
- package/dist/esm/utils.js +138 -0
- package/dist/esm/utils.js.map +2 -2
- package/dist/types/generation/api.d.ts +8478 -472
- package/dist/types/generation/audio.d.ts +5 -0
- package/dist/types/generation/common-types.d.ts +1646 -407
- package/dist/types/generation/dataset.d.ts +1 -0
- package/dist/types/generation/index.d.ts +2 -1
- package/dist/types/generation/simple.d.ts +110 -0
- package/dist/types/parser/codex-parser.d.ts +18 -138
- package/dist/types/parser/commentary-csv-parser.d.ts +1 -1
- package/dist/types/parser/lockman-parser.d.ts +14 -0
- package/dist/types/parser/tyndale-xml-parser.d.ts +1 -1
- package/dist/types/parser/types.d.ts +67 -0
- package/dist/types/parser/usx-parser.d.ts +6 -5
- package/dist/types/parser/words.d.ts +104 -0
- package/dist/types/utils.d.ts +223 -18
- package/package.json +7 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { z } from 'zod';
|
|
2
2
|
/**
|
|
3
3
|
* Defines an interface that contains information about a input file.
|
|
4
4
|
*/
|
|
@@ -10,7 +10,7 @@ export interface InputFileBase {
|
|
|
10
10
|
}
|
|
11
11
|
export type InputFileMetadata = InputTranslationMetadata | InputCommentaryMetadata;
|
|
12
12
|
export interface InputTranslationFile extends InputFileBase {
|
|
13
|
-
fileType: 'usfm' | 'usx' | 'json';
|
|
13
|
+
fileType: 'usfm' | 'usx' | 'json' | 'lockman';
|
|
14
14
|
metadata: InputTranslationMetadata;
|
|
15
15
|
}
|
|
16
16
|
export interface InputCommentaryFile extends InputFileBase {
|
|
@@ -52,6 +52,10 @@ export interface MetadataBase {
|
|
|
52
52
|
* The URL that the license for the translation can be found.
|
|
53
53
|
*/
|
|
54
54
|
licenseUrl: string;
|
|
55
|
+
/**
|
|
56
|
+
* The notice that should be displayed when displaying content from the translation.
|
|
57
|
+
*/
|
|
58
|
+
licenseNotice?: string | null;
|
|
55
59
|
/**
|
|
56
60
|
* The ISO 639 letter language tag that the translation is primarily in.
|
|
57
61
|
*/
|
|
@@ -84,318 +88,1234 @@ export interface InputCommentaryMetadata extends MetadataBase {
|
|
|
84
88
|
id: string;
|
|
85
89
|
}
|
|
86
90
|
/**
|
|
87
|
-
* Defines
|
|
91
|
+
* Defines a Zod schema for information about a translation.
|
|
88
92
|
*/
|
|
89
|
-
export
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
licenseUrl: string;
|
|
106
|
-
/**
|
|
107
|
-
* The API-added notes for the license.
|
|
108
|
-
*/
|
|
109
|
-
licenseNotes?: string | null;
|
|
110
|
-
/**
|
|
111
|
-
* The short name for the translation.
|
|
112
|
-
*/
|
|
113
|
-
shortName?: string;
|
|
114
|
-
/**
|
|
115
|
-
* The English name for the translation.
|
|
116
|
-
*/
|
|
117
|
-
englishName: string;
|
|
118
|
-
/**
|
|
119
|
-
* The ISO 639 3-letter language tag that the translation is primarily in.
|
|
120
|
-
*/
|
|
121
|
-
language: string;
|
|
122
|
-
/**
|
|
123
|
-
* The direction that the language is written in.
|
|
124
|
-
* "ltr" indicates that the text is written from the left side of the page to the right.
|
|
125
|
-
* "rtl" indicates that the text is written from the right side of the page to the left.
|
|
126
|
-
*/
|
|
127
|
-
textDirection: 'ltr' | 'rtl';
|
|
128
|
-
}
|
|
93
|
+
export declare const TranslationSchema: z.ZodObject<{
|
|
94
|
+
id: z.ZodString;
|
|
95
|
+
name: z.ZodString;
|
|
96
|
+
website: z.ZodString;
|
|
97
|
+
licenseUrl: z.ZodString;
|
|
98
|
+
licenseNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
99
|
+
licenseNotice: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
100
|
+
shortName: z.ZodOptional<z.ZodString>;
|
|
101
|
+
englishName: z.ZodString;
|
|
102
|
+
language: z.ZodString;
|
|
103
|
+
textDirection: z.ZodEnum<{
|
|
104
|
+
ltr: "ltr";
|
|
105
|
+
rtl: "rtl";
|
|
106
|
+
}>;
|
|
107
|
+
}, z.core.$strip>;
|
|
108
|
+
export type Translation = z.infer<typeof TranslationSchema>;
|
|
129
109
|
/**
|
|
130
|
-
* Defines
|
|
110
|
+
* Defines a Zod schema for information about a commentary.
|
|
131
111
|
*/
|
|
132
|
-
export
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
language: string;
|
|
161
|
-
/**
|
|
162
|
-
* The direction that the language is written in.
|
|
163
|
-
* "ltr" indicates that the text is written from the left side of the page to the right.
|
|
164
|
-
* "rtl" indicates that the text is written from the right side of the page to the left.
|
|
165
|
-
*/
|
|
166
|
-
textDirection: 'ltr' | 'rtl';
|
|
167
|
-
}
|
|
168
|
-
export interface Dataset {
|
|
169
|
-
/**
|
|
170
|
-
* The ID of the dataset.
|
|
171
|
-
*/
|
|
172
|
-
id: string;
|
|
173
|
-
/**
|
|
174
|
-
* The name of the dataset.
|
|
175
|
-
*/
|
|
176
|
-
name: string;
|
|
177
|
-
/**
|
|
178
|
-
* The website for the dataset.
|
|
179
|
-
*/
|
|
180
|
-
website: string;
|
|
181
|
-
/**
|
|
182
|
-
* The URL that the license for the dataset can be found.
|
|
183
|
-
*/
|
|
184
|
-
licenseUrl: string;
|
|
185
|
-
/**
|
|
186
|
-
* The API-added notes for the license.
|
|
187
|
-
*/
|
|
188
|
-
licenseNotes?: string | null;
|
|
189
|
-
/**
|
|
190
|
-
* The English name for the dataset.
|
|
191
|
-
*/
|
|
192
|
-
englishName: string;
|
|
193
|
-
/**
|
|
194
|
-
* The ISO 639 3-letter language tag that the dataset is primarily in.
|
|
195
|
-
*/
|
|
196
|
-
language: string;
|
|
197
|
-
/**
|
|
198
|
-
* The direction that the language is written in.
|
|
199
|
-
*/
|
|
200
|
-
textDirection: 'ltr' | 'rtl';
|
|
201
|
-
}
|
|
112
|
+
export declare const CommentarySchema: z.ZodObject<{
|
|
113
|
+
id: z.ZodString;
|
|
114
|
+
name: z.ZodString;
|
|
115
|
+
website: z.ZodString;
|
|
116
|
+
licenseUrl: z.ZodString;
|
|
117
|
+
licenseNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
118
|
+
englishName: z.ZodString;
|
|
119
|
+
language: z.ZodString;
|
|
120
|
+
textDirection: z.ZodEnum<{
|
|
121
|
+
ltr: "ltr";
|
|
122
|
+
rtl: "rtl";
|
|
123
|
+
}>;
|
|
124
|
+
}, z.core.$strip>;
|
|
125
|
+
export type Commentary = z.infer<typeof CommentarySchema>;
|
|
126
|
+
export declare const DatasetSchema: z.ZodObject<{
|
|
127
|
+
id: z.ZodString;
|
|
128
|
+
name: z.ZodString;
|
|
129
|
+
website: z.ZodString;
|
|
130
|
+
licenseUrl: z.ZodString;
|
|
131
|
+
licenseNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
132
|
+
englishName: z.ZodString;
|
|
133
|
+
language: z.ZodString;
|
|
134
|
+
textDirection: z.ZodEnum<{
|
|
135
|
+
ltr: "ltr";
|
|
136
|
+
rtl: "rtl";
|
|
137
|
+
}>;
|
|
138
|
+
}, z.core.$strip>;
|
|
139
|
+
export type Dataset = z.infer<typeof DatasetSchema>;
|
|
202
140
|
/**
|
|
203
|
-
* Defines
|
|
141
|
+
* Defines a Zod schema for information about a book.
|
|
204
142
|
*/
|
|
205
|
-
export
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
143
|
+
export declare const TranslationBookSchema: z.ZodObject<{
|
|
144
|
+
id: z.ZodEnum<{
|
|
145
|
+
GEN: "GEN";
|
|
146
|
+
EXO: "EXO";
|
|
147
|
+
LEV: "LEV";
|
|
148
|
+
NUM: "NUM";
|
|
149
|
+
DEU: "DEU";
|
|
150
|
+
JOS: "JOS";
|
|
151
|
+
JDG: "JDG";
|
|
152
|
+
RUT: "RUT";
|
|
153
|
+
"1SA": "1SA";
|
|
154
|
+
"2SA": "2SA";
|
|
155
|
+
"1KI": "1KI";
|
|
156
|
+
"2KI": "2KI";
|
|
157
|
+
"1CH": "1CH";
|
|
158
|
+
"2CH": "2CH";
|
|
159
|
+
EZR: "EZR";
|
|
160
|
+
NEH: "NEH";
|
|
161
|
+
EST: "EST";
|
|
162
|
+
JOB: "JOB";
|
|
163
|
+
PSA: "PSA";
|
|
164
|
+
PRO: "PRO";
|
|
165
|
+
ECC: "ECC";
|
|
166
|
+
SNG: "SNG";
|
|
167
|
+
ISA: "ISA";
|
|
168
|
+
JER: "JER";
|
|
169
|
+
LAM: "LAM";
|
|
170
|
+
EZK: "EZK";
|
|
171
|
+
DAN: "DAN";
|
|
172
|
+
HOS: "HOS";
|
|
173
|
+
JOL: "JOL";
|
|
174
|
+
AMO: "AMO";
|
|
175
|
+
OBA: "OBA";
|
|
176
|
+
JON: "JON";
|
|
177
|
+
MIC: "MIC";
|
|
178
|
+
NAM: "NAM";
|
|
179
|
+
HAB: "HAB";
|
|
180
|
+
ZEP: "ZEP";
|
|
181
|
+
HAG: "HAG";
|
|
182
|
+
ZEC: "ZEC";
|
|
183
|
+
MAL: "MAL";
|
|
184
|
+
MAT: "MAT";
|
|
185
|
+
MRK: "MRK";
|
|
186
|
+
LUK: "LUK";
|
|
187
|
+
JHN: "JHN";
|
|
188
|
+
ACT: "ACT";
|
|
189
|
+
ROM: "ROM";
|
|
190
|
+
"1CO": "1CO";
|
|
191
|
+
"2CO": "2CO";
|
|
192
|
+
GAL: "GAL";
|
|
193
|
+
EPH: "EPH";
|
|
194
|
+
PHP: "PHP";
|
|
195
|
+
COL: "COL";
|
|
196
|
+
"1TH": "1TH";
|
|
197
|
+
"2TH": "2TH";
|
|
198
|
+
"1TI": "1TI";
|
|
199
|
+
"2TI": "2TI";
|
|
200
|
+
TIT: "TIT";
|
|
201
|
+
PHM: "PHM";
|
|
202
|
+
HEB: "HEB";
|
|
203
|
+
JAS: "JAS";
|
|
204
|
+
"1PE": "1PE";
|
|
205
|
+
"2PE": "2PE";
|
|
206
|
+
"1JN": "1JN";
|
|
207
|
+
"2JN": "2JN";
|
|
208
|
+
"3JN": "3JN";
|
|
209
|
+
JUD: "JUD";
|
|
210
|
+
REV: "REV";
|
|
211
|
+
TOB: "TOB";
|
|
212
|
+
JDT: "JDT";
|
|
213
|
+
ESG: "ESG";
|
|
214
|
+
WIS: "WIS";
|
|
215
|
+
SIR: "SIR";
|
|
216
|
+
BAR: "BAR";
|
|
217
|
+
LJE: "LJE";
|
|
218
|
+
S3Y: "S3Y";
|
|
219
|
+
SUS: "SUS";
|
|
220
|
+
BEL: "BEL";
|
|
221
|
+
"1MA": "1MA";
|
|
222
|
+
"2MA": "2MA";
|
|
223
|
+
"3MA": "3MA";
|
|
224
|
+
"4MA": "4MA";
|
|
225
|
+
"1ES": "1ES";
|
|
226
|
+
"2ES": "2ES";
|
|
227
|
+
MAN: "MAN";
|
|
228
|
+
PS2: "PS2";
|
|
229
|
+
ODA: "ODA";
|
|
230
|
+
PSS: "PSS";
|
|
231
|
+
EZA: "EZA";
|
|
232
|
+
"5EZ": "5EZ";
|
|
233
|
+
"6EZ": "6EZ";
|
|
234
|
+
DAG: "DAG";
|
|
235
|
+
PS3: "PS3";
|
|
236
|
+
"2BA": "2BA";
|
|
237
|
+
LBA: "LBA";
|
|
238
|
+
JUB: "JUB";
|
|
239
|
+
ENO: "ENO";
|
|
240
|
+
"1MQ": "1MQ";
|
|
241
|
+
"2MQ": "2MQ";
|
|
242
|
+
"3MQ": "3MQ";
|
|
243
|
+
REP: "REP";
|
|
244
|
+
"4BA": "4BA";
|
|
245
|
+
LAO: "LAO";
|
|
246
|
+
}>;
|
|
247
|
+
name: z.ZodString;
|
|
248
|
+
commonName: z.ZodString;
|
|
249
|
+
title: z.ZodNullable<z.ZodString>;
|
|
250
|
+
order: z.ZodNumber;
|
|
251
|
+
isApocryphal: z.ZodOptional<z.ZodBoolean>;
|
|
252
|
+
}, z.core.$strip>;
|
|
253
|
+
export type TranslationBook = z.infer<typeof TranslationBookSchema>;
|
|
233
254
|
/**
|
|
234
|
-
* Defines
|
|
255
|
+
* Defines a Zod schema for information about a book in a commentary.
|
|
235
256
|
*/
|
|
236
|
-
export
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
257
|
+
export declare const CommentaryBookSchema: z.ZodObject<{
|
|
258
|
+
id: z.ZodEnum<{
|
|
259
|
+
GEN: "GEN";
|
|
260
|
+
EXO: "EXO";
|
|
261
|
+
LEV: "LEV";
|
|
262
|
+
NUM: "NUM";
|
|
263
|
+
DEU: "DEU";
|
|
264
|
+
JOS: "JOS";
|
|
265
|
+
JDG: "JDG";
|
|
266
|
+
RUT: "RUT";
|
|
267
|
+
"1SA": "1SA";
|
|
268
|
+
"2SA": "2SA";
|
|
269
|
+
"1KI": "1KI";
|
|
270
|
+
"2KI": "2KI";
|
|
271
|
+
"1CH": "1CH";
|
|
272
|
+
"2CH": "2CH";
|
|
273
|
+
EZR: "EZR";
|
|
274
|
+
NEH: "NEH";
|
|
275
|
+
EST: "EST";
|
|
276
|
+
JOB: "JOB";
|
|
277
|
+
PSA: "PSA";
|
|
278
|
+
PRO: "PRO";
|
|
279
|
+
ECC: "ECC";
|
|
280
|
+
SNG: "SNG";
|
|
281
|
+
ISA: "ISA";
|
|
282
|
+
JER: "JER";
|
|
283
|
+
LAM: "LAM";
|
|
284
|
+
EZK: "EZK";
|
|
285
|
+
DAN: "DAN";
|
|
286
|
+
HOS: "HOS";
|
|
287
|
+
JOL: "JOL";
|
|
288
|
+
AMO: "AMO";
|
|
289
|
+
OBA: "OBA";
|
|
290
|
+
JON: "JON";
|
|
291
|
+
MIC: "MIC";
|
|
292
|
+
NAM: "NAM";
|
|
293
|
+
HAB: "HAB";
|
|
294
|
+
ZEP: "ZEP";
|
|
295
|
+
HAG: "HAG";
|
|
296
|
+
ZEC: "ZEC";
|
|
297
|
+
MAL: "MAL";
|
|
298
|
+
MAT: "MAT";
|
|
299
|
+
MRK: "MRK";
|
|
300
|
+
LUK: "LUK";
|
|
301
|
+
JHN: "JHN";
|
|
302
|
+
ACT: "ACT";
|
|
303
|
+
ROM: "ROM";
|
|
304
|
+
"1CO": "1CO";
|
|
305
|
+
"2CO": "2CO";
|
|
306
|
+
GAL: "GAL";
|
|
307
|
+
EPH: "EPH";
|
|
308
|
+
PHP: "PHP";
|
|
309
|
+
COL: "COL";
|
|
310
|
+
"1TH": "1TH";
|
|
311
|
+
"2TH": "2TH";
|
|
312
|
+
"1TI": "1TI";
|
|
313
|
+
"2TI": "2TI";
|
|
314
|
+
TIT: "TIT";
|
|
315
|
+
PHM: "PHM";
|
|
316
|
+
HEB: "HEB";
|
|
317
|
+
JAS: "JAS";
|
|
318
|
+
"1PE": "1PE";
|
|
319
|
+
"2PE": "2PE";
|
|
320
|
+
"1JN": "1JN";
|
|
321
|
+
"2JN": "2JN";
|
|
322
|
+
"3JN": "3JN";
|
|
323
|
+
JUD: "JUD";
|
|
324
|
+
REV: "REV";
|
|
325
|
+
TOB: "TOB";
|
|
326
|
+
JDT: "JDT";
|
|
327
|
+
ESG: "ESG";
|
|
328
|
+
WIS: "WIS";
|
|
329
|
+
SIR: "SIR";
|
|
330
|
+
BAR: "BAR";
|
|
331
|
+
LJE: "LJE";
|
|
332
|
+
S3Y: "S3Y";
|
|
333
|
+
SUS: "SUS";
|
|
334
|
+
BEL: "BEL";
|
|
335
|
+
"1MA": "1MA";
|
|
336
|
+
"2MA": "2MA";
|
|
337
|
+
"3MA": "3MA";
|
|
338
|
+
"4MA": "4MA";
|
|
339
|
+
"1ES": "1ES";
|
|
340
|
+
"2ES": "2ES";
|
|
341
|
+
MAN: "MAN";
|
|
342
|
+
PS2: "PS2";
|
|
343
|
+
ODA: "ODA";
|
|
344
|
+
PSS: "PSS";
|
|
345
|
+
EZA: "EZA";
|
|
346
|
+
"5EZ": "5EZ";
|
|
347
|
+
"6EZ": "6EZ";
|
|
348
|
+
DAG: "DAG";
|
|
349
|
+
PS3: "PS3";
|
|
350
|
+
"2BA": "2BA";
|
|
351
|
+
LBA: "LBA";
|
|
352
|
+
JUB: "JUB";
|
|
353
|
+
ENO: "ENO";
|
|
354
|
+
"1MQ": "1MQ";
|
|
355
|
+
"2MQ": "2MQ";
|
|
356
|
+
"3MQ": "3MQ";
|
|
357
|
+
REP: "REP";
|
|
358
|
+
"4BA": "4BA";
|
|
359
|
+
LAO: "LAO";
|
|
360
|
+
}>;
|
|
361
|
+
name: z.ZodString;
|
|
362
|
+
commonName: z.ZodString;
|
|
363
|
+
introduction: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodNullable<z.ZodString>, z.ZodTransform<string | undefined, string | null>>>, z.ZodOptional<z.ZodString>>;
|
|
364
|
+
introductionSummary: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodNullable<z.ZodString>, z.ZodTransform<string | undefined, string | null>>>, z.ZodOptional<z.ZodString>>;
|
|
365
|
+
order: z.ZodNumber;
|
|
366
|
+
}, z.core.$strip>;
|
|
367
|
+
export type CommentaryBook = z.infer<typeof CommentaryBookSchema>;
|
|
262
368
|
/**
|
|
263
|
-
* Defines
|
|
369
|
+
* Defines a Zod schema for information about a dataset book.
|
|
264
370
|
*/
|
|
265
|
-
export
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
371
|
+
export declare const DatasetBookSchema: z.ZodObject<{
|
|
372
|
+
id: z.ZodEnum<{
|
|
373
|
+
GEN: "GEN";
|
|
374
|
+
EXO: "EXO";
|
|
375
|
+
LEV: "LEV";
|
|
376
|
+
NUM: "NUM";
|
|
377
|
+
DEU: "DEU";
|
|
378
|
+
JOS: "JOS";
|
|
379
|
+
JDG: "JDG";
|
|
380
|
+
RUT: "RUT";
|
|
381
|
+
"1SA": "1SA";
|
|
382
|
+
"2SA": "2SA";
|
|
383
|
+
"1KI": "1KI";
|
|
384
|
+
"2KI": "2KI";
|
|
385
|
+
"1CH": "1CH";
|
|
386
|
+
"2CH": "2CH";
|
|
387
|
+
EZR: "EZR";
|
|
388
|
+
NEH: "NEH";
|
|
389
|
+
EST: "EST";
|
|
390
|
+
JOB: "JOB";
|
|
391
|
+
PSA: "PSA";
|
|
392
|
+
PRO: "PRO";
|
|
393
|
+
ECC: "ECC";
|
|
394
|
+
SNG: "SNG";
|
|
395
|
+
ISA: "ISA";
|
|
396
|
+
JER: "JER";
|
|
397
|
+
LAM: "LAM";
|
|
398
|
+
EZK: "EZK";
|
|
399
|
+
DAN: "DAN";
|
|
400
|
+
HOS: "HOS";
|
|
401
|
+
JOL: "JOL";
|
|
402
|
+
AMO: "AMO";
|
|
403
|
+
OBA: "OBA";
|
|
404
|
+
JON: "JON";
|
|
405
|
+
MIC: "MIC";
|
|
406
|
+
NAM: "NAM";
|
|
407
|
+
HAB: "HAB";
|
|
408
|
+
ZEP: "ZEP";
|
|
409
|
+
HAG: "HAG";
|
|
410
|
+
ZEC: "ZEC";
|
|
411
|
+
MAL: "MAL";
|
|
412
|
+
MAT: "MAT";
|
|
413
|
+
MRK: "MRK";
|
|
414
|
+
LUK: "LUK";
|
|
415
|
+
JHN: "JHN";
|
|
416
|
+
ACT: "ACT";
|
|
417
|
+
ROM: "ROM";
|
|
418
|
+
"1CO": "1CO";
|
|
419
|
+
"2CO": "2CO";
|
|
420
|
+
GAL: "GAL";
|
|
421
|
+
EPH: "EPH";
|
|
422
|
+
PHP: "PHP";
|
|
423
|
+
COL: "COL";
|
|
424
|
+
"1TH": "1TH";
|
|
425
|
+
"2TH": "2TH";
|
|
426
|
+
"1TI": "1TI";
|
|
427
|
+
"2TI": "2TI";
|
|
428
|
+
TIT: "TIT";
|
|
429
|
+
PHM: "PHM";
|
|
430
|
+
HEB: "HEB";
|
|
431
|
+
JAS: "JAS";
|
|
432
|
+
"1PE": "1PE";
|
|
433
|
+
"2PE": "2PE";
|
|
434
|
+
"1JN": "1JN";
|
|
435
|
+
"2JN": "2JN";
|
|
436
|
+
"3JN": "3JN";
|
|
437
|
+
JUD: "JUD";
|
|
438
|
+
REV: "REV";
|
|
439
|
+
TOB: "TOB";
|
|
440
|
+
JDT: "JDT";
|
|
441
|
+
ESG: "ESG";
|
|
442
|
+
WIS: "WIS";
|
|
443
|
+
SIR: "SIR";
|
|
444
|
+
BAR: "BAR";
|
|
445
|
+
LJE: "LJE";
|
|
446
|
+
S3Y: "S3Y";
|
|
447
|
+
SUS: "SUS";
|
|
448
|
+
BEL: "BEL";
|
|
449
|
+
"1MA": "1MA";
|
|
450
|
+
"2MA": "2MA";
|
|
451
|
+
"3MA": "3MA";
|
|
452
|
+
"4MA": "4MA";
|
|
453
|
+
"1ES": "1ES";
|
|
454
|
+
"2ES": "2ES";
|
|
455
|
+
MAN: "MAN";
|
|
456
|
+
PS2: "PS2";
|
|
457
|
+
ODA: "ODA";
|
|
458
|
+
PSS: "PSS";
|
|
459
|
+
EZA: "EZA";
|
|
460
|
+
"5EZ": "5EZ";
|
|
461
|
+
"6EZ": "6EZ";
|
|
462
|
+
DAG: "DAG";
|
|
463
|
+
PS3: "PS3";
|
|
464
|
+
"2BA": "2BA";
|
|
465
|
+
LBA: "LBA";
|
|
466
|
+
JUB: "JUB";
|
|
467
|
+
ENO: "ENO";
|
|
468
|
+
"1MQ": "1MQ";
|
|
469
|
+
"2MQ": "2MQ";
|
|
470
|
+
"3MQ": "3MQ";
|
|
471
|
+
REP: "REP";
|
|
472
|
+
"4BA": "4BA";
|
|
473
|
+
LAO: "LAO";
|
|
474
|
+
}>;
|
|
475
|
+
order: z.ZodNumber;
|
|
476
|
+
}, z.core.$strip>;
|
|
477
|
+
export type DatasetBook = z.infer<typeof DatasetBookSchema>;
|
|
275
478
|
/**
|
|
276
|
-
* Defines
|
|
479
|
+
* Defines a Zod schema for information about a chapter in a dataset.
|
|
277
480
|
*/
|
|
278
|
-
export
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
481
|
+
export declare const DatasetBookChapterSchema: z.ZodObject<{
|
|
482
|
+
chapter: z.ZodLazy<z.ZodObject<{
|
|
483
|
+
number: z.ZodNumber;
|
|
484
|
+
content: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
485
|
+
verse: z.ZodNumber;
|
|
486
|
+
references: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
487
|
+
book: z.ZodEnum<{
|
|
488
|
+
GEN: "GEN";
|
|
489
|
+
EXO: "EXO";
|
|
490
|
+
LEV: "LEV";
|
|
491
|
+
NUM: "NUM";
|
|
492
|
+
DEU: "DEU";
|
|
493
|
+
JOS: "JOS";
|
|
494
|
+
JDG: "JDG";
|
|
495
|
+
RUT: "RUT";
|
|
496
|
+
"1SA": "1SA";
|
|
497
|
+
"2SA": "2SA";
|
|
498
|
+
"1KI": "1KI";
|
|
499
|
+
"2KI": "2KI";
|
|
500
|
+
"1CH": "1CH";
|
|
501
|
+
"2CH": "2CH";
|
|
502
|
+
EZR: "EZR";
|
|
503
|
+
NEH: "NEH";
|
|
504
|
+
EST: "EST";
|
|
505
|
+
JOB: "JOB";
|
|
506
|
+
PSA: "PSA";
|
|
507
|
+
PRO: "PRO";
|
|
508
|
+
ECC: "ECC";
|
|
509
|
+
SNG: "SNG";
|
|
510
|
+
ISA: "ISA";
|
|
511
|
+
JER: "JER";
|
|
512
|
+
LAM: "LAM";
|
|
513
|
+
EZK: "EZK";
|
|
514
|
+
DAN: "DAN";
|
|
515
|
+
HOS: "HOS";
|
|
516
|
+
JOL: "JOL";
|
|
517
|
+
AMO: "AMO";
|
|
518
|
+
OBA: "OBA";
|
|
519
|
+
JON: "JON";
|
|
520
|
+
MIC: "MIC";
|
|
521
|
+
NAM: "NAM";
|
|
522
|
+
HAB: "HAB";
|
|
523
|
+
ZEP: "ZEP";
|
|
524
|
+
HAG: "HAG";
|
|
525
|
+
ZEC: "ZEC";
|
|
526
|
+
MAL: "MAL";
|
|
527
|
+
MAT: "MAT";
|
|
528
|
+
MRK: "MRK";
|
|
529
|
+
LUK: "LUK";
|
|
530
|
+
JHN: "JHN";
|
|
531
|
+
ACT: "ACT";
|
|
532
|
+
ROM: "ROM";
|
|
533
|
+
"1CO": "1CO";
|
|
534
|
+
"2CO": "2CO";
|
|
535
|
+
GAL: "GAL";
|
|
536
|
+
EPH: "EPH";
|
|
537
|
+
PHP: "PHP";
|
|
538
|
+
COL: "COL";
|
|
539
|
+
"1TH": "1TH";
|
|
540
|
+
"2TH": "2TH";
|
|
541
|
+
"1TI": "1TI";
|
|
542
|
+
"2TI": "2TI";
|
|
543
|
+
TIT: "TIT";
|
|
544
|
+
PHM: "PHM";
|
|
545
|
+
HEB: "HEB";
|
|
546
|
+
JAS: "JAS";
|
|
547
|
+
"1PE": "1PE";
|
|
548
|
+
"2PE": "2PE";
|
|
549
|
+
"1JN": "1JN";
|
|
550
|
+
"2JN": "2JN";
|
|
551
|
+
"3JN": "3JN";
|
|
552
|
+
JUD: "JUD";
|
|
553
|
+
REV: "REV";
|
|
554
|
+
TOB: "TOB";
|
|
555
|
+
JDT: "JDT";
|
|
556
|
+
ESG: "ESG";
|
|
557
|
+
WIS: "WIS";
|
|
558
|
+
SIR: "SIR";
|
|
559
|
+
BAR: "BAR";
|
|
560
|
+
LJE: "LJE";
|
|
561
|
+
S3Y: "S3Y";
|
|
562
|
+
SUS: "SUS";
|
|
563
|
+
BEL: "BEL";
|
|
564
|
+
"1MA": "1MA";
|
|
565
|
+
"2MA": "2MA";
|
|
566
|
+
"3MA": "3MA";
|
|
567
|
+
"4MA": "4MA";
|
|
568
|
+
"1ES": "1ES";
|
|
569
|
+
"2ES": "2ES";
|
|
570
|
+
MAN: "MAN";
|
|
571
|
+
PS2: "PS2";
|
|
572
|
+
ODA: "ODA";
|
|
573
|
+
PSS: "PSS";
|
|
574
|
+
EZA: "EZA";
|
|
575
|
+
"5EZ": "5EZ";
|
|
576
|
+
"6EZ": "6EZ";
|
|
577
|
+
DAG: "DAG";
|
|
578
|
+
PS3: "PS3";
|
|
579
|
+
"2BA": "2BA";
|
|
580
|
+
LBA: "LBA";
|
|
581
|
+
JUB: "JUB";
|
|
582
|
+
ENO: "ENO";
|
|
583
|
+
"1MQ": "1MQ";
|
|
584
|
+
"2MQ": "2MQ";
|
|
585
|
+
"3MQ": "3MQ";
|
|
586
|
+
REP: "REP";
|
|
587
|
+
"4BA": "4BA";
|
|
588
|
+
LAO: "LAO";
|
|
589
|
+
}>;
|
|
590
|
+
chapter: z.ZodNumber;
|
|
591
|
+
verse: z.ZodNumber;
|
|
592
|
+
content: z.ZodOptional<z.ZodString>;
|
|
593
|
+
endChapter: z.ZodOptional<z.ZodNumber>;
|
|
594
|
+
endVerse: z.ZodOptional<z.ZodNumber>;
|
|
595
|
+
score: z.ZodNumber;
|
|
596
|
+
}, z.core.$strip>>>;
|
|
597
|
+
}, z.core.$strip>>>;
|
|
598
|
+
}, z.core.$strip>>;
|
|
599
|
+
}, z.core.$strip>;
|
|
600
|
+
export type DatasetBookChapter = z.infer<typeof DatasetBookChapterSchema>;
|
|
601
|
+
export declare const DatasetChapterDataSchema: z.ZodObject<{
|
|
602
|
+
number: z.ZodNumber;
|
|
603
|
+
content: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
604
|
+
verse: z.ZodNumber;
|
|
605
|
+
references: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
606
|
+
book: z.ZodEnum<{
|
|
607
|
+
GEN: "GEN";
|
|
608
|
+
EXO: "EXO";
|
|
609
|
+
LEV: "LEV";
|
|
610
|
+
NUM: "NUM";
|
|
611
|
+
DEU: "DEU";
|
|
612
|
+
JOS: "JOS";
|
|
613
|
+
JDG: "JDG";
|
|
614
|
+
RUT: "RUT";
|
|
615
|
+
"1SA": "1SA";
|
|
616
|
+
"2SA": "2SA";
|
|
617
|
+
"1KI": "1KI";
|
|
618
|
+
"2KI": "2KI";
|
|
619
|
+
"1CH": "1CH";
|
|
620
|
+
"2CH": "2CH";
|
|
621
|
+
EZR: "EZR";
|
|
622
|
+
NEH: "NEH";
|
|
623
|
+
EST: "EST";
|
|
624
|
+
JOB: "JOB";
|
|
625
|
+
PSA: "PSA";
|
|
626
|
+
PRO: "PRO";
|
|
627
|
+
ECC: "ECC";
|
|
628
|
+
SNG: "SNG";
|
|
629
|
+
ISA: "ISA";
|
|
630
|
+
JER: "JER";
|
|
631
|
+
LAM: "LAM";
|
|
632
|
+
EZK: "EZK";
|
|
633
|
+
DAN: "DAN";
|
|
634
|
+
HOS: "HOS";
|
|
635
|
+
JOL: "JOL";
|
|
636
|
+
AMO: "AMO";
|
|
637
|
+
OBA: "OBA";
|
|
638
|
+
JON: "JON";
|
|
639
|
+
MIC: "MIC";
|
|
640
|
+
NAM: "NAM";
|
|
641
|
+
HAB: "HAB";
|
|
642
|
+
ZEP: "ZEP";
|
|
643
|
+
HAG: "HAG";
|
|
644
|
+
ZEC: "ZEC";
|
|
645
|
+
MAL: "MAL";
|
|
646
|
+
MAT: "MAT";
|
|
647
|
+
MRK: "MRK";
|
|
648
|
+
LUK: "LUK";
|
|
649
|
+
JHN: "JHN";
|
|
650
|
+
ACT: "ACT";
|
|
651
|
+
ROM: "ROM";
|
|
652
|
+
"1CO": "1CO";
|
|
653
|
+
"2CO": "2CO";
|
|
654
|
+
GAL: "GAL";
|
|
655
|
+
EPH: "EPH";
|
|
656
|
+
PHP: "PHP";
|
|
657
|
+
COL: "COL";
|
|
658
|
+
"1TH": "1TH";
|
|
659
|
+
"2TH": "2TH";
|
|
660
|
+
"1TI": "1TI";
|
|
661
|
+
"2TI": "2TI";
|
|
662
|
+
TIT: "TIT";
|
|
663
|
+
PHM: "PHM";
|
|
664
|
+
HEB: "HEB";
|
|
665
|
+
JAS: "JAS";
|
|
666
|
+
"1PE": "1PE";
|
|
667
|
+
"2PE": "2PE";
|
|
668
|
+
"1JN": "1JN";
|
|
669
|
+
"2JN": "2JN";
|
|
670
|
+
"3JN": "3JN";
|
|
671
|
+
JUD: "JUD";
|
|
672
|
+
REV: "REV";
|
|
673
|
+
TOB: "TOB";
|
|
674
|
+
JDT: "JDT";
|
|
675
|
+
ESG: "ESG";
|
|
676
|
+
WIS: "WIS";
|
|
677
|
+
SIR: "SIR";
|
|
678
|
+
BAR: "BAR";
|
|
679
|
+
LJE: "LJE";
|
|
680
|
+
S3Y: "S3Y";
|
|
681
|
+
SUS: "SUS";
|
|
682
|
+
BEL: "BEL";
|
|
683
|
+
"1MA": "1MA";
|
|
684
|
+
"2MA": "2MA";
|
|
685
|
+
"3MA": "3MA";
|
|
686
|
+
"4MA": "4MA";
|
|
687
|
+
"1ES": "1ES";
|
|
688
|
+
"2ES": "2ES";
|
|
689
|
+
MAN: "MAN";
|
|
690
|
+
PS2: "PS2";
|
|
691
|
+
ODA: "ODA";
|
|
692
|
+
PSS: "PSS";
|
|
693
|
+
EZA: "EZA";
|
|
694
|
+
"5EZ": "5EZ";
|
|
695
|
+
"6EZ": "6EZ";
|
|
696
|
+
DAG: "DAG";
|
|
697
|
+
PS3: "PS3";
|
|
698
|
+
"2BA": "2BA";
|
|
699
|
+
LBA: "LBA";
|
|
700
|
+
JUB: "JUB";
|
|
701
|
+
ENO: "ENO";
|
|
702
|
+
"1MQ": "1MQ";
|
|
703
|
+
"2MQ": "2MQ";
|
|
704
|
+
"3MQ": "3MQ";
|
|
705
|
+
REP: "REP";
|
|
706
|
+
"4BA": "4BA";
|
|
707
|
+
LAO: "LAO";
|
|
708
|
+
}>;
|
|
709
|
+
chapter: z.ZodNumber;
|
|
710
|
+
verse: z.ZodNumber;
|
|
711
|
+
content: z.ZodOptional<z.ZodString>;
|
|
712
|
+
endChapter: z.ZodOptional<z.ZodNumber>;
|
|
713
|
+
endVerse: z.ZodOptional<z.ZodNumber>;
|
|
714
|
+
score: z.ZodNumber;
|
|
715
|
+
}, z.core.$strip>>>;
|
|
716
|
+
}, z.core.$strip>>>;
|
|
717
|
+
}, z.core.$strip>;
|
|
718
|
+
export type DatasetChapterData = z.infer<typeof DatasetChapterDataSchema>;
|
|
294
719
|
/**
|
|
295
|
-
* Defines
|
|
720
|
+
* Defines a Zod schema for information about a verse in a dataset chapter.
|
|
296
721
|
*/
|
|
297
|
-
export
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
722
|
+
export declare const DatasetChapterVerseContentSchema: z.ZodObject<{
|
|
723
|
+
verse: z.ZodNumber;
|
|
724
|
+
references: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
725
|
+
book: z.ZodEnum<{
|
|
726
|
+
GEN: "GEN";
|
|
727
|
+
EXO: "EXO";
|
|
728
|
+
LEV: "LEV";
|
|
729
|
+
NUM: "NUM";
|
|
730
|
+
DEU: "DEU";
|
|
731
|
+
JOS: "JOS";
|
|
732
|
+
JDG: "JDG";
|
|
733
|
+
RUT: "RUT";
|
|
734
|
+
"1SA": "1SA";
|
|
735
|
+
"2SA": "2SA";
|
|
736
|
+
"1KI": "1KI";
|
|
737
|
+
"2KI": "2KI";
|
|
738
|
+
"1CH": "1CH";
|
|
739
|
+
"2CH": "2CH";
|
|
740
|
+
EZR: "EZR";
|
|
741
|
+
NEH: "NEH";
|
|
742
|
+
EST: "EST";
|
|
743
|
+
JOB: "JOB";
|
|
744
|
+
PSA: "PSA";
|
|
745
|
+
PRO: "PRO";
|
|
746
|
+
ECC: "ECC";
|
|
747
|
+
SNG: "SNG";
|
|
748
|
+
ISA: "ISA";
|
|
749
|
+
JER: "JER";
|
|
750
|
+
LAM: "LAM";
|
|
751
|
+
EZK: "EZK";
|
|
752
|
+
DAN: "DAN";
|
|
753
|
+
HOS: "HOS";
|
|
754
|
+
JOL: "JOL";
|
|
755
|
+
AMO: "AMO";
|
|
756
|
+
OBA: "OBA";
|
|
757
|
+
JON: "JON";
|
|
758
|
+
MIC: "MIC";
|
|
759
|
+
NAM: "NAM";
|
|
760
|
+
HAB: "HAB";
|
|
761
|
+
ZEP: "ZEP";
|
|
762
|
+
HAG: "HAG";
|
|
763
|
+
ZEC: "ZEC";
|
|
764
|
+
MAL: "MAL";
|
|
765
|
+
MAT: "MAT";
|
|
766
|
+
MRK: "MRK";
|
|
767
|
+
LUK: "LUK";
|
|
768
|
+
JHN: "JHN";
|
|
769
|
+
ACT: "ACT";
|
|
770
|
+
ROM: "ROM";
|
|
771
|
+
"1CO": "1CO";
|
|
772
|
+
"2CO": "2CO";
|
|
773
|
+
GAL: "GAL";
|
|
774
|
+
EPH: "EPH";
|
|
775
|
+
PHP: "PHP";
|
|
776
|
+
COL: "COL";
|
|
777
|
+
"1TH": "1TH";
|
|
778
|
+
"2TH": "2TH";
|
|
779
|
+
"1TI": "1TI";
|
|
780
|
+
"2TI": "2TI";
|
|
781
|
+
TIT: "TIT";
|
|
782
|
+
PHM: "PHM";
|
|
783
|
+
HEB: "HEB";
|
|
784
|
+
JAS: "JAS";
|
|
785
|
+
"1PE": "1PE";
|
|
786
|
+
"2PE": "2PE";
|
|
787
|
+
"1JN": "1JN";
|
|
788
|
+
"2JN": "2JN";
|
|
789
|
+
"3JN": "3JN";
|
|
790
|
+
JUD: "JUD";
|
|
791
|
+
REV: "REV";
|
|
792
|
+
TOB: "TOB";
|
|
793
|
+
JDT: "JDT";
|
|
794
|
+
ESG: "ESG";
|
|
795
|
+
WIS: "WIS";
|
|
796
|
+
SIR: "SIR";
|
|
797
|
+
BAR: "BAR";
|
|
798
|
+
LJE: "LJE";
|
|
799
|
+
S3Y: "S3Y";
|
|
800
|
+
SUS: "SUS";
|
|
801
|
+
BEL: "BEL";
|
|
802
|
+
"1MA": "1MA";
|
|
803
|
+
"2MA": "2MA";
|
|
804
|
+
"3MA": "3MA";
|
|
805
|
+
"4MA": "4MA";
|
|
806
|
+
"1ES": "1ES";
|
|
807
|
+
"2ES": "2ES";
|
|
808
|
+
MAN: "MAN";
|
|
809
|
+
PS2: "PS2";
|
|
810
|
+
ODA: "ODA";
|
|
811
|
+
PSS: "PSS";
|
|
812
|
+
EZA: "EZA";
|
|
813
|
+
"5EZ": "5EZ";
|
|
814
|
+
"6EZ": "6EZ";
|
|
815
|
+
DAG: "DAG";
|
|
816
|
+
PS3: "PS3";
|
|
817
|
+
"2BA": "2BA";
|
|
818
|
+
LBA: "LBA";
|
|
819
|
+
JUB: "JUB";
|
|
820
|
+
ENO: "ENO";
|
|
821
|
+
"1MQ": "1MQ";
|
|
822
|
+
"2MQ": "2MQ";
|
|
823
|
+
"3MQ": "3MQ";
|
|
824
|
+
REP: "REP";
|
|
825
|
+
"4BA": "4BA";
|
|
826
|
+
LAO: "LAO";
|
|
827
|
+
}>;
|
|
828
|
+
chapter: z.ZodNumber;
|
|
829
|
+
verse: z.ZodNumber;
|
|
830
|
+
content: z.ZodOptional<z.ZodString>;
|
|
831
|
+
endChapter: z.ZodOptional<z.ZodNumber>;
|
|
832
|
+
endVerse: z.ZodOptional<z.ZodNumber>;
|
|
833
|
+
score: z.ZodNumber;
|
|
834
|
+
}, z.core.$strip>>>;
|
|
835
|
+
}, z.core.$strip>;
|
|
836
|
+
export type DatasetChapterVerseContent = z.infer<typeof DatasetChapterVerseContentSchema>;
|
|
307
837
|
/**
|
|
308
838
|
* Defines an interface that contains information about a verse reference that has an arbitrary score attached to it.
|
|
309
839
|
*/
|
|
310
|
-
export
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
840
|
+
export declare const ScoredVerseRefSchema: z.ZodObject<{
|
|
841
|
+
book: z.ZodEnum<{
|
|
842
|
+
GEN: "GEN";
|
|
843
|
+
EXO: "EXO";
|
|
844
|
+
LEV: "LEV";
|
|
845
|
+
NUM: "NUM";
|
|
846
|
+
DEU: "DEU";
|
|
847
|
+
JOS: "JOS";
|
|
848
|
+
JDG: "JDG";
|
|
849
|
+
RUT: "RUT";
|
|
850
|
+
"1SA": "1SA";
|
|
851
|
+
"2SA": "2SA";
|
|
852
|
+
"1KI": "1KI";
|
|
853
|
+
"2KI": "2KI";
|
|
854
|
+
"1CH": "1CH";
|
|
855
|
+
"2CH": "2CH";
|
|
856
|
+
EZR: "EZR";
|
|
857
|
+
NEH: "NEH";
|
|
858
|
+
EST: "EST";
|
|
859
|
+
JOB: "JOB";
|
|
860
|
+
PSA: "PSA";
|
|
861
|
+
PRO: "PRO";
|
|
862
|
+
ECC: "ECC";
|
|
863
|
+
SNG: "SNG";
|
|
864
|
+
ISA: "ISA";
|
|
865
|
+
JER: "JER";
|
|
866
|
+
LAM: "LAM";
|
|
867
|
+
EZK: "EZK";
|
|
868
|
+
DAN: "DAN";
|
|
869
|
+
HOS: "HOS";
|
|
870
|
+
JOL: "JOL";
|
|
871
|
+
AMO: "AMO";
|
|
872
|
+
OBA: "OBA";
|
|
873
|
+
JON: "JON";
|
|
874
|
+
MIC: "MIC";
|
|
875
|
+
NAM: "NAM";
|
|
876
|
+
HAB: "HAB";
|
|
877
|
+
ZEP: "ZEP";
|
|
878
|
+
HAG: "HAG";
|
|
879
|
+
ZEC: "ZEC";
|
|
880
|
+
MAL: "MAL";
|
|
881
|
+
MAT: "MAT";
|
|
882
|
+
MRK: "MRK";
|
|
883
|
+
LUK: "LUK";
|
|
884
|
+
JHN: "JHN";
|
|
885
|
+
ACT: "ACT";
|
|
886
|
+
ROM: "ROM";
|
|
887
|
+
"1CO": "1CO";
|
|
888
|
+
"2CO": "2CO";
|
|
889
|
+
GAL: "GAL";
|
|
890
|
+
EPH: "EPH";
|
|
891
|
+
PHP: "PHP";
|
|
892
|
+
COL: "COL";
|
|
893
|
+
"1TH": "1TH";
|
|
894
|
+
"2TH": "2TH";
|
|
895
|
+
"1TI": "1TI";
|
|
896
|
+
"2TI": "2TI";
|
|
897
|
+
TIT: "TIT";
|
|
898
|
+
PHM: "PHM";
|
|
899
|
+
HEB: "HEB";
|
|
900
|
+
JAS: "JAS";
|
|
901
|
+
"1PE": "1PE";
|
|
902
|
+
"2PE": "2PE";
|
|
903
|
+
"1JN": "1JN";
|
|
904
|
+
"2JN": "2JN";
|
|
905
|
+
"3JN": "3JN";
|
|
906
|
+
JUD: "JUD";
|
|
907
|
+
REV: "REV";
|
|
908
|
+
TOB: "TOB";
|
|
909
|
+
JDT: "JDT";
|
|
910
|
+
ESG: "ESG";
|
|
911
|
+
WIS: "WIS";
|
|
912
|
+
SIR: "SIR";
|
|
913
|
+
BAR: "BAR";
|
|
914
|
+
LJE: "LJE";
|
|
915
|
+
S3Y: "S3Y";
|
|
916
|
+
SUS: "SUS";
|
|
917
|
+
BEL: "BEL";
|
|
918
|
+
"1MA": "1MA";
|
|
919
|
+
"2MA": "2MA";
|
|
920
|
+
"3MA": "3MA";
|
|
921
|
+
"4MA": "4MA";
|
|
922
|
+
"1ES": "1ES";
|
|
923
|
+
"2ES": "2ES";
|
|
924
|
+
MAN: "MAN";
|
|
925
|
+
PS2: "PS2";
|
|
926
|
+
ODA: "ODA";
|
|
927
|
+
PSS: "PSS";
|
|
928
|
+
EZA: "EZA";
|
|
929
|
+
"5EZ": "5EZ";
|
|
930
|
+
"6EZ": "6EZ";
|
|
931
|
+
DAG: "DAG";
|
|
932
|
+
PS3: "PS3";
|
|
933
|
+
"2BA": "2BA";
|
|
934
|
+
LBA: "LBA";
|
|
935
|
+
JUB: "JUB";
|
|
936
|
+
ENO: "ENO";
|
|
937
|
+
"1MQ": "1MQ";
|
|
938
|
+
"2MQ": "2MQ";
|
|
939
|
+
"3MQ": "3MQ";
|
|
940
|
+
REP: "REP";
|
|
941
|
+
"4BA": "4BA";
|
|
942
|
+
LAO: "LAO";
|
|
943
|
+
}>;
|
|
944
|
+
chapter: z.ZodNumber;
|
|
945
|
+
verse: z.ZodNumber;
|
|
946
|
+
content: z.ZodOptional<z.ZodString>;
|
|
947
|
+
endChapter: z.ZodOptional<z.ZodNumber>;
|
|
948
|
+
endVerse: z.ZodOptional<z.ZodNumber>;
|
|
949
|
+
score: z.ZodNumber;
|
|
950
|
+
}, z.core.$strip>;
|
|
951
|
+
export type ScoredVerseRef = z.infer<typeof ScoredVerseRefSchema>;
|
|
316
952
|
/**
|
|
317
|
-
* Defines
|
|
953
|
+
* Defines a Zod schema for information about a profile in a commentary.
|
|
318
954
|
*/
|
|
319
|
-
export
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
955
|
+
export declare const CommentaryProfileSchema: z.ZodObject<{
|
|
956
|
+
id: z.ZodString;
|
|
957
|
+
subject: z.ZodString;
|
|
958
|
+
reference: z.ZodNullable<z.ZodObject<{
|
|
959
|
+
book: z.ZodEnum<{
|
|
960
|
+
GEN: "GEN";
|
|
961
|
+
EXO: "EXO";
|
|
962
|
+
LEV: "LEV";
|
|
963
|
+
NUM: "NUM";
|
|
964
|
+
DEU: "DEU";
|
|
965
|
+
JOS: "JOS";
|
|
966
|
+
JDG: "JDG";
|
|
967
|
+
RUT: "RUT";
|
|
968
|
+
"1SA": "1SA";
|
|
969
|
+
"2SA": "2SA";
|
|
970
|
+
"1KI": "1KI";
|
|
971
|
+
"2KI": "2KI";
|
|
972
|
+
"1CH": "1CH";
|
|
973
|
+
"2CH": "2CH";
|
|
974
|
+
EZR: "EZR";
|
|
975
|
+
NEH: "NEH";
|
|
976
|
+
EST: "EST";
|
|
977
|
+
JOB: "JOB";
|
|
978
|
+
PSA: "PSA";
|
|
979
|
+
PRO: "PRO";
|
|
980
|
+
ECC: "ECC";
|
|
981
|
+
SNG: "SNG";
|
|
982
|
+
ISA: "ISA";
|
|
983
|
+
JER: "JER";
|
|
984
|
+
LAM: "LAM";
|
|
985
|
+
EZK: "EZK";
|
|
986
|
+
DAN: "DAN";
|
|
987
|
+
HOS: "HOS";
|
|
988
|
+
JOL: "JOL";
|
|
989
|
+
AMO: "AMO";
|
|
990
|
+
OBA: "OBA";
|
|
991
|
+
JON: "JON";
|
|
992
|
+
MIC: "MIC";
|
|
993
|
+
NAM: "NAM";
|
|
994
|
+
HAB: "HAB";
|
|
995
|
+
ZEP: "ZEP";
|
|
996
|
+
HAG: "HAG";
|
|
997
|
+
ZEC: "ZEC";
|
|
998
|
+
MAL: "MAL";
|
|
999
|
+
MAT: "MAT";
|
|
1000
|
+
MRK: "MRK";
|
|
1001
|
+
LUK: "LUK";
|
|
1002
|
+
JHN: "JHN";
|
|
1003
|
+
ACT: "ACT";
|
|
1004
|
+
ROM: "ROM";
|
|
1005
|
+
"1CO": "1CO";
|
|
1006
|
+
"2CO": "2CO";
|
|
1007
|
+
GAL: "GAL";
|
|
1008
|
+
EPH: "EPH";
|
|
1009
|
+
PHP: "PHP";
|
|
1010
|
+
COL: "COL";
|
|
1011
|
+
"1TH": "1TH";
|
|
1012
|
+
"2TH": "2TH";
|
|
1013
|
+
"1TI": "1TI";
|
|
1014
|
+
"2TI": "2TI";
|
|
1015
|
+
TIT: "TIT";
|
|
1016
|
+
PHM: "PHM";
|
|
1017
|
+
HEB: "HEB";
|
|
1018
|
+
JAS: "JAS";
|
|
1019
|
+
"1PE": "1PE";
|
|
1020
|
+
"2PE": "2PE";
|
|
1021
|
+
"1JN": "1JN";
|
|
1022
|
+
"2JN": "2JN";
|
|
1023
|
+
"3JN": "3JN";
|
|
1024
|
+
JUD: "JUD";
|
|
1025
|
+
REV: "REV";
|
|
1026
|
+
TOB: "TOB";
|
|
1027
|
+
JDT: "JDT";
|
|
1028
|
+
ESG: "ESG";
|
|
1029
|
+
WIS: "WIS";
|
|
1030
|
+
SIR: "SIR";
|
|
1031
|
+
BAR: "BAR";
|
|
1032
|
+
LJE: "LJE";
|
|
1033
|
+
S3Y: "S3Y";
|
|
1034
|
+
SUS: "SUS";
|
|
1035
|
+
BEL: "BEL";
|
|
1036
|
+
"1MA": "1MA";
|
|
1037
|
+
"2MA": "2MA";
|
|
1038
|
+
"3MA": "3MA";
|
|
1039
|
+
"4MA": "4MA";
|
|
1040
|
+
"1ES": "1ES";
|
|
1041
|
+
"2ES": "2ES";
|
|
1042
|
+
MAN: "MAN";
|
|
1043
|
+
PS2: "PS2";
|
|
1044
|
+
ODA: "ODA";
|
|
1045
|
+
PSS: "PSS";
|
|
1046
|
+
EZA: "EZA";
|
|
1047
|
+
"5EZ": "5EZ";
|
|
1048
|
+
"6EZ": "6EZ";
|
|
1049
|
+
DAG: "DAG";
|
|
1050
|
+
PS3: "PS3";
|
|
1051
|
+
"2BA": "2BA";
|
|
1052
|
+
LBA: "LBA";
|
|
1053
|
+
JUB: "JUB";
|
|
1054
|
+
ENO: "ENO";
|
|
1055
|
+
"1MQ": "1MQ";
|
|
1056
|
+
"2MQ": "2MQ";
|
|
1057
|
+
"3MQ": "3MQ";
|
|
1058
|
+
REP: "REP";
|
|
1059
|
+
"4BA": "4BA";
|
|
1060
|
+
LAO: "LAO";
|
|
1061
|
+
}>;
|
|
1062
|
+
chapter: z.ZodNumber;
|
|
1063
|
+
verse: z.ZodNumber;
|
|
1064
|
+
content: z.ZodOptional<z.ZodString>;
|
|
1065
|
+
endChapter: z.ZodOptional<z.ZodNumber>;
|
|
1066
|
+
endVerse: z.ZodOptional<z.ZodNumber>;
|
|
1067
|
+
}, z.core.$strip>>;
|
|
1068
|
+
}, z.core.$strip>;
|
|
1069
|
+
export type CommentaryProfile = z.infer<typeof CommentaryProfileSchema>;
|
|
333
1070
|
/**
|
|
334
|
-
* Defines
|
|
1071
|
+
* Defines a Zod schema for information about a book chapter.
|
|
335
1072
|
*/
|
|
336
|
-
export
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
1073
|
+
export declare const TranslationBookChapterSchema: z.ZodObject<{
|
|
1074
|
+
chapter: z.ZodLazy<z.ZodObject<{
|
|
1075
|
+
number: z.ZodNumber;
|
|
1076
|
+
content: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1077
|
+
type: z.ZodLiteral<"heading">;
|
|
1078
|
+
content: z.ZodArray<z.ZodString>;
|
|
1079
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1080
|
+
type: z.ZodLiteral<"line_break">;
|
|
1081
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1082
|
+
type: z.ZodLiteral<"verse">;
|
|
1083
|
+
number: z.ZodNumber;
|
|
1084
|
+
content: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodLazy<z.ZodObject<{
|
|
1085
|
+
text: z.ZodString;
|
|
1086
|
+
poem: z.ZodOptional<z.ZodNumber>;
|
|
1087
|
+
wordsOfJesus: z.ZodOptional<z.ZodBoolean>;
|
|
1088
|
+
}, z.core.$strip>>, z.ZodLazy<z.ZodObject<{
|
|
1089
|
+
heading: z.ZodString;
|
|
1090
|
+
}, z.core.$strip>>, z.ZodLazy<z.ZodObject<{
|
|
1091
|
+
lineBreak: z.ZodLiteral<true>;
|
|
1092
|
+
}, z.core.$strip>>, z.ZodLazy<z.ZodObject<{
|
|
1093
|
+
noteId: z.ZodNumber;
|
|
1094
|
+
}, z.core.$strip>>]>>;
|
|
1095
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1096
|
+
type: z.ZodLiteral<"hebrew_subtitle">;
|
|
1097
|
+
content: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodLazy<z.ZodObject<{
|
|
1098
|
+
text: z.ZodString;
|
|
1099
|
+
poem: z.ZodOptional<z.ZodNumber>;
|
|
1100
|
+
wordsOfJesus: z.ZodOptional<z.ZodBoolean>;
|
|
1101
|
+
}, z.core.$strip>>, z.ZodLazy<z.ZodObject<{
|
|
1102
|
+
noteId: z.ZodNumber;
|
|
1103
|
+
}, z.core.$strip>>]>>;
|
|
1104
|
+
}, z.core.$strip>], "type">>>;
|
|
1105
|
+
footnotes: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
1106
|
+
noteId: z.ZodNumber;
|
|
1107
|
+
text: z.ZodString;
|
|
1108
|
+
reference: z.ZodOptional<z.ZodObject<{
|
|
1109
|
+
chapter: z.ZodNumber;
|
|
1110
|
+
verse: z.ZodNumber;
|
|
1111
|
+
}, z.core.$strip>>;
|
|
1112
|
+
caller: z.ZodUnion<readonly [z.ZodLiteral<"+">, z.ZodString, z.ZodNull]>;
|
|
1113
|
+
}, z.core.$strip>>>;
|
|
1114
|
+
}, z.core.$strip>>;
|
|
1115
|
+
thisChapterAudioLinks: z.ZodLazy<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1116
|
+
thisChapterAudioTimings: z.ZodLazy<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodNumber>>>;
|
|
1117
|
+
thisChapterWords: z.ZodOptional<z.ZodLazy<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
1118
|
+
contentIndex: z.ZodNumber;
|
|
1119
|
+
start: z.ZodNumber;
|
|
1120
|
+
end: z.ZodNumber;
|
|
1121
|
+
strongs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1122
|
+
lemma: z.ZodOptional<z.ZodString>;
|
|
1123
|
+
morph: z.ZodOptional<z.ZodString>;
|
|
1124
|
+
srcloc: z.ZodOptional<z.ZodString>;
|
|
1125
|
+
occurrence: z.ZodOptional<z.ZodNumber>;
|
|
1126
|
+
occurrences: z.ZodOptional<z.ZodNumber>;
|
|
1127
|
+
}, z.core.$strip>>>>>>;
|
|
1128
|
+
}, z.core.$strip>;
|
|
1129
|
+
export type TranslationBookChapter = z.infer<typeof TranslationBookChapterSchema>;
|
|
346
1130
|
/**
|
|
347
|
-
* Defines
|
|
1131
|
+
* Defines a Zod schema for information about a book chapter in a commentary.
|
|
348
1132
|
*/
|
|
349
|
-
export
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
1133
|
+
export declare const CommentaryBookChapterSchema: z.ZodObject<{
|
|
1134
|
+
chapter: z.ZodLazy<z.ZodObject<{
|
|
1135
|
+
number: z.ZodNumber;
|
|
1136
|
+
introduction: z.ZodOptional<z.ZodString>;
|
|
1137
|
+
content: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
1138
|
+
type: z.ZodLiteral<"verse">;
|
|
1139
|
+
number: z.ZodNumber;
|
|
1140
|
+
content: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodLazy<z.ZodObject<{
|
|
1141
|
+
text: z.ZodString;
|
|
1142
|
+
poem: z.ZodOptional<z.ZodNumber>;
|
|
1143
|
+
wordsOfJesus: z.ZodOptional<z.ZodBoolean>;
|
|
1144
|
+
}, z.core.$strip>>, z.ZodLazy<z.ZodObject<{
|
|
1145
|
+
heading: z.ZodString;
|
|
1146
|
+
}, z.core.$strip>>, z.ZodLazy<z.ZodObject<{
|
|
1147
|
+
lineBreak: z.ZodLiteral<true>;
|
|
1148
|
+
}, z.core.$strip>>, z.ZodLazy<z.ZodObject<{
|
|
1149
|
+
noteId: z.ZodNumber;
|
|
1150
|
+
}, z.core.$strip>>]>>;
|
|
1151
|
+
}, z.core.$strip>>>;
|
|
1152
|
+
}, z.core.$strip>>;
|
|
1153
|
+
}, z.core.$strip>;
|
|
1154
|
+
export type CommentaryBookChapter = z.infer<typeof CommentaryBookChapterSchema>;
|
|
355
1155
|
/**
|
|
356
|
-
* Defines
|
|
1156
|
+
* Defines a Zod schema for the audio links for a book chapter.
|
|
357
1157
|
*/
|
|
358
|
-
export
|
|
359
|
-
|
|
360
|
-
* The reader for the chapter and the URL link to the audio file.
|
|
361
|
-
*/
|
|
362
|
-
[reader: string]: string;
|
|
363
|
-
}
|
|
1158
|
+
export declare const TranslationBookChapterAudioLinksSchema: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1159
|
+
export type TranslationBookChapterAudioLinks = z.infer<typeof TranslationBookChapterAudioLinksSchema>;
|
|
364
1160
|
/**
|
|
365
|
-
* Defines
|
|
1161
|
+
* Defines a Zod schema for the audio timings for a book chapter.
|
|
1162
|
+
* Maps a reader ID to the list of times (in seconds) that each verse starts, in verse order.
|
|
366
1163
|
*/
|
|
367
|
-
export
|
|
368
|
-
|
|
369
|
-
* The number of the chapter.
|
|
370
|
-
*/
|
|
371
|
-
number: number;
|
|
372
|
-
/**
|
|
373
|
-
* The content of the chapter.
|
|
374
|
-
*/
|
|
375
|
-
content: ChapterContent[];
|
|
376
|
-
/**
|
|
377
|
-
* The list of footnotes for the chapter.
|
|
378
|
-
*/
|
|
379
|
-
footnotes: ChapterFootnote[];
|
|
380
|
-
}
|
|
1164
|
+
export declare const TranslationBookChapterAudioTimingsSchema: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodNumber>>;
|
|
1165
|
+
export type TranslationBookChapterAudioTimings = z.infer<typeof TranslationBookChapterAudioTimingsSchema>;
|
|
381
1166
|
/**
|
|
382
|
-
* Defines
|
|
1167
|
+
* Defines a Zod schema for a word-level annotation in a chapter.
|
|
1168
|
+
*
|
|
1169
|
+
* The annotation is anchored to a range of characters in a single item of a
|
|
1170
|
+
* verse's content, so that consumers can highlight exactly the characters that
|
|
1171
|
+
* it applies to.
|
|
383
1172
|
*/
|
|
384
|
-
export
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
1173
|
+
export declare const ChapterWordSchema: z.ZodObject<{
|
|
1174
|
+
contentIndex: z.ZodNumber;
|
|
1175
|
+
start: z.ZodNumber;
|
|
1176
|
+
end: z.ZodNumber;
|
|
1177
|
+
strongs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1178
|
+
lemma: z.ZodOptional<z.ZodString>;
|
|
1179
|
+
morph: z.ZodOptional<z.ZodString>;
|
|
1180
|
+
srcloc: z.ZodOptional<z.ZodString>;
|
|
1181
|
+
occurrence: z.ZodOptional<z.ZodNumber>;
|
|
1182
|
+
occurrences: z.ZodOptional<z.ZodNumber>;
|
|
1183
|
+
}, z.core.$strip>;
|
|
1184
|
+
export type ChapterWord = z.infer<typeof ChapterWordSchema>;
|
|
1185
|
+
/**
|
|
1186
|
+
* Defines a Zod schema for the word-level annotations for a book chapter.
|
|
1187
|
+
* Maps a verse number to the list of annotated words in the verse, in order.
|
|
1188
|
+
*/
|
|
1189
|
+
export declare const TranslationBookChapterWordsSchema: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
1190
|
+
contentIndex: z.ZodNumber;
|
|
1191
|
+
start: z.ZodNumber;
|
|
1192
|
+
end: z.ZodNumber;
|
|
1193
|
+
strongs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1194
|
+
lemma: z.ZodOptional<z.ZodString>;
|
|
1195
|
+
morph: z.ZodOptional<z.ZodString>;
|
|
1196
|
+
srcloc: z.ZodOptional<z.ZodString>;
|
|
1197
|
+
occurrence: z.ZodOptional<z.ZodNumber>;
|
|
1198
|
+
occurrences: z.ZodOptional<z.ZodNumber>;
|
|
1199
|
+
}, z.core.$strip>>>>;
|
|
1200
|
+
export type TranslationBookChapterWords = z.infer<typeof TranslationBookChapterWordsSchema>;
|
|
1201
|
+
/**
|
|
1202
|
+
* Defines a Zod schema for information about data in a chapter.
|
|
1203
|
+
*/
|
|
1204
|
+
export declare const ChapterDataSchema: z.ZodObject<{
|
|
1205
|
+
number: z.ZodNumber;
|
|
1206
|
+
content: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1207
|
+
type: z.ZodLiteral<"heading">;
|
|
1208
|
+
content: z.ZodArray<z.ZodString>;
|
|
1209
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1210
|
+
type: z.ZodLiteral<"line_break">;
|
|
1211
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1212
|
+
type: z.ZodLiteral<"verse">;
|
|
1213
|
+
number: z.ZodNumber;
|
|
1214
|
+
content: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodLazy<z.ZodObject<{
|
|
1215
|
+
text: z.ZodString;
|
|
1216
|
+
poem: z.ZodOptional<z.ZodNumber>;
|
|
1217
|
+
wordsOfJesus: z.ZodOptional<z.ZodBoolean>;
|
|
1218
|
+
}, z.core.$strip>>, z.ZodLazy<z.ZodObject<{
|
|
1219
|
+
heading: z.ZodString;
|
|
1220
|
+
}, z.core.$strip>>, z.ZodLazy<z.ZodObject<{
|
|
1221
|
+
lineBreak: z.ZodLiteral<true>;
|
|
1222
|
+
}, z.core.$strip>>, z.ZodLazy<z.ZodObject<{
|
|
1223
|
+
noteId: z.ZodNumber;
|
|
1224
|
+
}, z.core.$strip>>]>>;
|
|
1225
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1226
|
+
type: z.ZodLiteral<"hebrew_subtitle">;
|
|
1227
|
+
content: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodLazy<z.ZodObject<{
|
|
1228
|
+
text: z.ZodString;
|
|
1229
|
+
poem: z.ZodOptional<z.ZodNumber>;
|
|
1230
|
+
wordsOfJesus: z.ZodOptional<z.ZodBoolean>;
|
|
1231
|
+
}, z.core.$strip>>, z.ZodLazy<z.ZodObject<{
|
|
1232
|
+
noteId: z.ZodNumber;
|
|
1233
|
+
}, z.core.$strip>>]>>;
|
|
1234
|
+
}, z.core.$strip>], "type">>>;
|
|
1235
|
+
footnotes: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
1236
|
+
noteId: z.ZodNumber;
|
|
1237
|
+
text: z.ZodString;
|
|
1238
|
+
reference: z.ZodOptional<z.ZodObject<{
|
|
1239
|
+
chapter: z.ZodNumber;
|
|
1240
|
+
verse: z.ZodNumber;
|
|
1241
|
+
}, z.core.$strip>>;
|
|
1242
|
+
caller: z.ZodUnion<readonly [z.ZodLiteral<"+">, z.ZodString, z.ZodNull]>;
|
|
1243
|
+
}, z.core.$strip>>>;
|
|
1244
|
+
}, z.core.$strip>;
|
|
1245
|
+
export type ChapterData = z.infer<typeof ChapterDataSchema>;
|
|
1246
|
+
/**
|
|
1247
|
+
* Defines a Zod schema for information about data in a chapter in a commentary.
|
|
1248
|
+
*/
|
|
1249
|
+
export declare const CommentaryChapterDataSchema: z.ZodObject<{
|
|
1250
|
+
number: z.ZodNumber;
|
|
1251
|
+
introduction: z.ZodOptional<z.ZodString>;
|
|
1252
|
+
content: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
1253
|
+
type: z.ZodLiteral<"verse">;
|
|
1254
|
+
number: z.ZodNumber;
|
|
1255
|
+
content: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodLazy<z.ZodObject<{
|
|
1256
|
+
text: z.ZodString;
|
|
1257
|
+
poem: z.ZodOptional<z.ZodNumber>;
|
|
1258
|
+
wordsOfJesus: z.ZodOptional<z.ZodBoolean>;
|
|
1259
|
+
}, z.core.$strip>>, z.ZodLazy<z.ZodObject<{
|
|
1260
|
+
heading: z.ZodString;
|
|
1261
|
+
}, z.core.$strip>>, z.ZodLazy<z.ZodObject<{
|
|
1262
|
+
lineBreak: z.ZodLiteral<true>;
|
|
1263
|
+
}, z.core.$strip>>, z.ZodLazy<z.ZodObject<{
|
|
1264
|
+
noteId: z.ZodNumber;
|
|
1265
|
+
}, z.core.$strip>>]>>;
|
|
1266
|
+
}, z.core.$strip>>>;
|
|
1267
|
+
}, z.core.$strip>;
|
|
1268
|
+
export type CommentaryChapterData = z.infer<typeof CommentaryChapterDataSchema>;
|
|
1269
|
+
/**
|
|
1270
|
+
* A Zod schema for a heading in a chapter.
|
|
1271
|
+
*/
|
|
1272
|
+
export declare const ChapterHeadingSchema: z.ZodObject<{
|
|
1273
|
+
type: z.ZodLiteral<"heading">;
|
|
1274
|
+
content: z.ZodArray<z.ZodString>;
|
|
1275
|
+
}, z.core.$strip>;
|
|
1276
|
+
export type ChapterHeading = z.infer<typeof ChapterHeadingSchema>;
|
|
1277
|
+
/**
|
|
1278
|
+
* A Zod schema for a line break in a chapter.
|
|
1279
|
+
*/
|
|
1280
|
+
export declare const ChapterLineBreakSchema: z.ZodObject<{
|
|
1281
|
+
type: z.ZodLiteral<"line_break">;
|
|
1282
|
+
}, z.core.$strip>;
|
|
1283
|
+
export type ChapterLineBreak = z.infer<typeof ChapterLineBreakSchema>;
|
|
1284
|
+
/**
|
|
1285
|
+
* A Zod schema for a Hebrew Subtitle in a chapter.
|
|
1286
|
+
* These are often used included as informational content that appeared in the original manuscripts.
|
|
1287
|
+
* For example, Psalms 49 has the Hebrew Subtitle "To the choirmaster. A Psalm of the Sons of Korah."
|
|
1288
|
+
*/
|
|
1289
|
+
export declare const ChapterHebrewSubtitleSchema: z.ZodObject<{
|
|
1290
|
+
type: z.ZodLiteral<"hebrew_subtitle">;
|
|
1291
|
+
content: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodLazy<z.ZodObject<{
|
|
1292
|
+
text: z.ZodString;
|
|
1293
|
+
poem: z.ZodOptional<z.ZodNumber>;
|
|
1294
|
+
wordsOfJesus: z.ZodOptional<z.ZodBoolean>;
|
|
1295
|
+
}, z.core.$strip>>, z.ZodLazy<z.ZodObject<{
|
|
1296
|
+
noteId: z.ZodNumber;
|
|
1297
|
+
}, z.core.$strip>>]>>;
|
|
1298
|
+
}, z.core.$strip>;
|
|
1299
|
+
export type ChapterHebrewSubtitle = z.infer<typeof ChapterHebrewSubtitleSchema>;
|
|
1300
|
+
/**
|
|
1301
|
+
* A Zod schema for a verse in a chapter.
|
|
1302
|
+
*/
|
|
1303
|
+
export declare const ChapterVerseSchema: z.ZodObject<{
|
|
1304
|
+
type: z.ZodLiteral<"verse">;
|
|
1305
|
+
number: z.ZodNumber;
|
|
1306
|
+
content: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodLazy<z.ZodObject<{
|
|
1307
|
+
text: z.ZodString;
|
|
1308
|
+
poem: z.ZodOptional<z.ZodNumber>;
|
|
1309
|
+
wordsOfJesus: z.ZodOptional<z.ZodBoolean>;
|
|
1310
|
+
}, z.core.$strip>>, z.ZodLazy<z.ZodObject<{
|
|
1311
|
+
heading: z.ZodString;
|
|
1312
|
+
}, z.core.$strip>>, z.ZodLazy<z.ZodObject<{
|
|
1313
|
+
lineBreak: z.ZodLiteral<true>;
|
|
1314
|
+
}, z.core.$strip>>, z.ZodLazy<z.ZodObject<{
|
|
1315
|
+
noteId: z.ZodNumber;
|
|
1316
|
+
}, z.core.$strip>>]>>;
|
|
1317
|
+
}, z.core.$strip>;
|
|
1318
|
+
export type ChapterVerse = z.infer<typeof ChapterVerseSchema>;
|
|
399
1319
|
/**
|
|
400
1320
|
* A union type that represents a single piece of chapter content.
|
|
401
1321
|
* A piece of chapter content can be one of the following things:
|
|
@@ -404,143 +1324,462 @@ export interface CommentaryChapterData {
|
|
|
404
1324
|
* - A verse.
|
|
405
1325
|
* - A Hebrew Subtitle.
|
|
406
1326
|
*/
|
|
407
|
-
export
|
|
1327
|
+
export declare const ChapterContentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1328
|
+
type: z.ZodLiteral<"heading">;
|
|
1329
|
+
content: z.ZodArray<z.ZodString>;
|
|
1330
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1331
|
+
type: z.ZodLiteral<"line_break">;
|
|
1332
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1333
|
+
type: z.ZodLiteral<"verse">;
|
|
1334
|
+
number: z.ZodNumber;
|
|
1335
|
+
content: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodLazy<z.ZodObject<{
|
|
1336
|
+
text: z.ZodString;
|
|
1337
|
+
poem: z.ZodOptional<z.ZodNumber>;
|
|
1338
|
+
wordsOfJesus: z.ZodOptional<z.ZodBoolean>;
|
|
1339
|
+
}, z.core.$strip>>, z.ZodLazy<z.ZodObject<{
|
|
1340
|
+
heading: z.ZodString;
|
|
1341
|
+
}, z.core.$strip>>, z.ZodLazy<z.ZodObject<{
|
|
1342
|
+
lineBreak: z.ZodLiteral<true>;
|
|
1343
|
+
}, z.core.$strip>>, z.ZodLazy<z.ZodObject<{
|
|
1344
|
+
noteId: z.ZodNumber;
|
|
1345
|
+
}, z.core.$strip>>]>>;
|
|
1346
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1347
|
+
type: z.ZodLiteral<"hebrew_subtitle">;
|
|
1348
|
+
content: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodLazy<z.ZodObject<{
|
|
1349
|
+
text: z.ZodString;
|
|
1350
|
+
poem: z.ZodOptional<z.ZodNumber>;
|
|
1351
|
+
wordsOfJesus: z.ZodOptional<z.ZodBoolean>;
|
|
1352
|
+
}, z.core.$strip>>, z.ZodLazy<z.ZodObject<{
|
|
1353
|
+
noteId: z.ZodNumber;
|
|
1354
|
+
}, z.core.$strip>>]>>;
|
|
1355
|
+
}, z.core.$strip>], "type">;
|
|
408
1356
|
/**
|
|
409
|
-
* A
|
|
1357
|
+
* A union type that represents a single piece of chapter content.
|
|
1358
|
+
* A piece of chapter content can be one of the following things:
|
|
1359
|
+
* - A heading.
|
|
1360
|
+
* - A line break.
|
|
1361
|
+
* - A verse.
|
|
1362
|
+
* - A Hebrew Subtitle.
|
|
410
1363
|
*/
|
|
411
|
-
export
|
|
412
|
-
/**
|
|
413
|
-
* Indicates that the content represents a heading.
|
|
414
|
-
*/
|
|
415
|
-
type: 'heading';
|
|
416
|
-
/**
|
|
417
|
-
* The content for the heading.
|
|
418
|
-
* If multiple strings are included in the array, they should be concatenated with a space.
|
|
419
|
-
*/
|
|
420
|
-
content: string[];
|
|
421
|
-
}
|
|
1364
|
+
export type ChapterContent = z.infer<typeof ChapterContentSchema>;
|
|
422
1365
|
/**
|
|
423
|
-
* A
|
|
1366
|
+
* A Zod schema for formatted text. That is, text that is formatted in a particular manner.
|
|
424
1367
|
*/
|
|
425
|
-
export
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
1368
|
+
export declare const FormattedTextSchema: z.ZodObject<{
|
|
1369
|
+
text: z.ZodString;
|
|
1370
|
+
poem: z.ZodOptional<z.ZodNumber>;
|
|
1371
|
+
wordsOfJesus: z.ZodOptional<z.ZodBoolean>;
|
|
1372
|
+
}, z.core.$strip>;
|
|
1373
|
+
export type FormattedText = z.infer<typeof FormattedTextSchema>;
|
|
431
1374
|
/**
|
|
432
|
-
* A
|
|
433
|
-
* These are often used included as informational content that appeared in the original manuscripts.
|
|
434
|
-
* For example, Psalms 49 has the Hebrew Subtitle "To the choirmaster. A Psalm of the Sons of Korah."
|
|
1375
|
+
* A Zod schema for a heading that is embedded in a verse.
|
|
435
1376
|
*/
|
|
436
|
-
export
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
type: 'hebrew_subtitle';
|
|
441
|
-
/**
|
|
442
|
-
* The list of content that is contained in the subtitle.
|
|
443
|
-
* Each element in the list could be a string, formatted text, or a footnote reference.
|
|
444
|
-
*/
|
|
445
|
-
content: (string | FormattedText | VerseFootnoteReference)[];
|
|
446
|
-
}
|
|
1377
|
+
export declare const InlineHeadingSchema: z.ZodObject<{
|
|
1378
|
+
heading: z.ZodString;
|
|
1379
|
+
}, z.core.$strip>;
|
|
1380
|
+
export type InlineHeading = z.infer<typeof InlineHeadingSchema>;
|
|
447
1381
|
/**
|
|
448
|
-
* A
|
|
1382
|
+
* A Zod schema for a line break that is embedded in a verse.
|
|
449
1383
|
*/
|
|
450
|
-
export
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
type: 'verse';
|
|
455
|
-
/**
|
|
456
|
-
* The number of the verse.
|
|
457
|
-
*/
|
|
458
|
-
number: number;
|
|
459
|
-
/**
|
|
460
|
-
* The list of content for the verse.
|
|
461
|
-
* Each element in the list could be a string, formatted text, or a footnote reference.
|
|
462
|
-
*/
|
|
463
|
-
content: (string | FormattedText | InlineHeading | InlineLineBreak | VerseFootnoteReference)[];
|
|
464
|
-
}
|
|
1384
|
+
export declare const InlineLineBreakSchema: z.ZodObject<{
|
|
1385
|
+
lineBreak: z.ZodLiteral<true>;
|
|
1386
|
+
}, z.core.$strip>;
|
|
1387
|
+
export type InlineLineBreak = z.infer<typeof InlineLineBreakSchema>;
|
|
465
1388
|
/**
|
|
466
|
-
*
|
|
1389
|
+
* A Zod schema for a footnote reference in a verse or a Hebrew Subtitle.
|
|
467
1390
|
*/
|
|
468
|
-
export
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
text: string;
|
|
473
|
-
/**
|
|
474
|
-
* Whether the text represents a poem.
|
|
475
|
-
* The number indicates the level of indent.
|
|
476
|
-
*
|
|
477
|
-
* Common in Psalms.
|
|
478
|
-
*/
|
|
479
|
-
poem?: number;
|
|
480
|
-
/**
|
|
481
|
-
* Whether the text represents the Words of Jesus.
|
|
482
|
-
*/
|
|
483
|
-
wordsOfJesus?: boolean;
|
|
484
|
-
}
|
|
1391
|
+
export declare const VerseFootnoteReferenceSchema: z.ZodObject<{
|
|
1392
|
+
noteId: z.ZodNumber;
|
|
1393
|
+
}, z.core.$strip>;
|
|
1394
|
+
export type VerseFootnoteReference = z.infer<typeof VerseFootnoteReferenceSchema>;
|
|
485
1395
|
/**
|
|
486
|
-
*
|
|
1396
|
+
* A Zod schema for information about a footnote.
|
|
487
1397
|
*/
|
|
488
|
-
export
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
1398
|
+
export declare const ChapterFootnoteSchema: z.ZodObject<{
|
|
1399
|
+
noteId: z.ZodNumber;
|
|
1400
|
+
text: z.ZodString;
|
|
1401
|
+
reference: z.ZodOptional<z.ZodObject<{
|
|
1402
|
+
chapter: z.ZodNumber;
|
|
1403
|
+
verse: z.ZodNumber;
|
|
1404
|
+
}, z.core.$strip>>;
|
|
1405
|
+
caller: z.ZodUnion<readonly [z.ZodLiteral<"+">, z.ZodString, z.ZodNull]>;
|
|
1406
|
+
}, z.core.$strip>;
|
|
1407
|
+
export type ChapterFootnote = z.infer<typeof ChapterFootnoteSchema>;
|
|
494
1408
|
/**
|
|
495
|
-
*
|
|
1409
|
+
* A Zod schema for a range of text inside a simplified verse.
|
|
1410
|
+
*
|
|
1411
|
+
* Ranges are expressed as offsets into the `text` property of the verse that contains them.
|
|
1412
|
+
* Offsets are measured in UTF-16 code units, which is what JavaScript's `String.prototype.length`,
|
|
1413
|
+
* `String.prototype.slice()`, and `String.prototype.substring()` use.
|
|
496
1414
|
*/
|
|
497
|
-
export
|
|
498
|
-
|
|
499
|
-
|
|
1415
|
+
export declare const SimpleTextRangeSchema: z.ZodObject<{
|
|
1416
|
+
start: z.ZodNumber;
|
|
1417
|
+
end: z.ZodNumber;
|
|
1418
|
+
}, z.core.$strip>;
|
|
1419
|
+
export type SimpleTextRange = z.infer<typeof SimpleTextRangeSchema>;
|
|
500
1420
|
/**
|
|
501
|
-
* A
|
|
1421
|
+
* A Zod schema for a range of text inside a simplified verse that represents a line of poetry.
|
|
502
1422
|
*/
|
|
503
|
-
export
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
1423
|
+
export declare const SimplePoemRangeSchema: z.ZodObject<{
|
|
1424
|
+
start: z.ZodNumber;
|
|
1425
|
+
end: z.ZodNumber;
|
|
1426
|
+
level: z.ZodNumber;
|
|
1427
|
+
}, z.core.$strip>;
|
|
1428
|
+
export type SimplePoemRange = z.infer<typeof SimplePoemRangeSchema>;
|
|
509
1429
|
/**
|
|
510
|
-
*
|
|
1430
|
+
* A Zod schema for a footnote in a simplified verse.
|
|
511
1431
|
*/
|
|
512
|
-
export
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
1432
|
+
export declare const SimpleVerseFootnoteSchema: z.ZodObject<{
|
|
1433
|
+
noteId: z.ZodNumber;
|
|
1434
|
+
offset: z.ZodNumber;
|
|
1435
|
+
text: z.ZodString;
|
|
1436
|
+
caller: z.ZodUnion<readonly [z.ZodLiteral<"+">, z.ZodString, z.ZodNull]>;
|
|
1437
|
+
}, z.core.$strip>;
|
|
1438
|
+
export type SimpleVerseFootnote = z.infer<typeof SimpleVerseFootnoteSchema>;
|
|
1439
|
+
/**
|
|
1440
|
+
* A Zod schema for a heading that is embedded in a simplified verse.
|
|
1441
|
+
*/
|
|
1442
|
+
export declare const SimpleInlineHeadingSchema: z.ZodObject<{
|
|
1443
|
+
offset: z.ZodNumber;
|
|
1444
|
+
text: z.ZodString;
|
|
1445
|
+
}, z.core.$strip>;
|
|
1446
|
+
export type SimpleInlineHeading = z.infer<typeof SimpleInlineHeadingSchema>;
|
|
1447
|
+
/**
|
|
1448
|
+
* A Zod schema for a verse in a simplified chapter.
|
|
1449
|
+
*/
|
|
1450
|
+
export declare const SimpleChapterVerseSchema: z.ZodObject<{
|
|
1451
|
+
type: z.ZodLiteral<"verse">;
|
|
1452
|
+
number: z.ZodNumber;
|
|
1453
|
+
text: z.ZodString;
|
|
1454
|
+
footnotes: z.ZodArray<z.ZodObject<{
|
|
1455
|
+
noteId: z.ZodNumber;
|
|
1456
|
+
offset: z.ZodNumber;
|
|
1457
|
+
text: z.ZodString;
|
|
1458
|
+
caller: z.ZodUnion<readonly [z.ZodLiteral<"+">, z.ZodString, z.ZodNull]>;
|
|
1459
|
+
}, z.core.$strip>>;
|
|
1460
|
+
headings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1461
|
+
offset: z.ZodNumber;
|
|
1462
|
+
text: z.ZodString;
|
|
1463
|
+
}, z.core.$strip>>>;
|
|
1464
|
+
wordsOfJesus: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1465
|
+
start: z.ZodNumber;
|
|
1466
|
+
end: z.ZodNumber;
|
|
1467
|
+
}, z.core.$strip>>>;
|
|
1468
|
+
poem: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1469
|
+
start: z.ZodNumber;
|
|
1470
|
+
end: z.ZodNumber;
|
|
1471
|
+
level: z.ZodNumber;
|
|
1472
|
+
}, z.core.$strip>>>;
|
|
1473
|
+
}, z.core.$strip>;
|
|
1474
|
+
export type SimpleChapterVerse = z.infer<typeof SimpleChapterVerseSchema>;
|
|
1475
|
+
/**
|
|
1476
|
+
* A Zod schema for a Hebrew Subtitle in a simplified chapter.
|
|
1477
|
+
*/
|
|
1478
|
+
export declare const SimpleChapterHebrewSubtitleSchema: z.ZodObject<{
|
|
1479
|
+
text: z.ZodString;
|
|
1480
|
+
poem: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1481
|
+
start: z.ZodNumber;
|
|
1482
|
+
end: z.ZodNumber;
|
|
1483
|
+
level: z.ZodNumber;
|
|
1484
|
+
}, z.core.$strip>>>;
|
|
1485
|
+
wordsOfJesus: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1486
|
+
start: z.ZodNumber;
|
|
1487
|
+
end: z.ZodNumber;
|
|
1488
|
+
}, z.core.$strip>>>;
|
|
1489
|
+
footnotes: z.ZodArray<z.ZodObject<{
|
|
1490
|
+
noteId: z.ZodNumber;
|
|
1491
|
+
offset: z.ZodNumber;
|
|
1492
|
+
text: z.ZodString;
|
|
1493
|
+
caller: z.ZodUnion<readonly [z.ZodLiteral<"+">, z.ZodString, z.ZodNull]>;
|
|
1494
|
+
}, z.core.$strip>>;
|
|
1495
|
+
headings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1496
|
+
offset: z.ZodNumber;
|
|
1497
|
+
text: z.ZodString;
|
|
1498
|
+
}, z.core.$strip>>>;
|
|
1499
|
+
type: z.ZodLiteral<"hebrew_subtitle">;
|
|
1500
|
+
}, z.core.$strip>;
|
|
1501
|
+
export type SimpleChapterHebrewSubtitle = z.infer<typeof SimpleChapterHebrewSubtitleSchema>;
|
|
1502
|
+
/**
|
|
1503
|
+
* A Zod schema for a heading in a simplified chapter.
|
|
1504
|
+
*/
|
|
1505
|
+
export declare const SimpleChapterHeadingSchema: z.ZodObject<{
|
|
1506
|
+
type: z.ZodLiteral<"heading">;
|
|
1507
|
+
text: z.ZodString;
|
|
1508
|
+
}, z.core.$strip>;
|
|
1509
|
+
export type SimpleChapterHeading = z.infer<typeof SimpleChapterHeadingSchema>;
|
|
1510
|
+
/**
|
|
1511
|
+
* A union type that represents a single piece of content in a simplified chapter.
|
|
1512
|
+
* A piece of chapter content can be one of the following things:
|
|
1513
|
+
* - A heading.
|
|
1514
|
+
* - A line break.
|
|
1515
|
+
* - A verse.
|
|
1516
|
+
* - A Hebrew Subtitle.
|
|
1517
|
+
*/
|
|
1518
|
+
export declare const SimpleChapterContentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1519
|
+
type: z.ZodLiteral<"heading">;
|
|
1520
|
+
text: z.ZodString;
|
|
1521
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1522
|
+
type: z.ZodLiteral<"line_break">;
|
|
1523
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1524
|
+
type: z.ZodLiteral<"verse">;
|
|
1525
|
+
number: z.ZodNumber;
|
|
1526
|
+
text: z.ZodString;
|
|
1527
|
+
footnotes: z.ZodArray<z.ZodObject<{
|
|
1528
|
+
noteId: z.ZodNumber;
|
|
1529
|
+
offset: z.ZodNumber;
|
|
1530
|
+
text: z.ZodString;
|
|
1531
|
+
caller: z.ZodUnion<readonly [z.ZodLiteral<"+">, z.ZodString, z.ZodNull]>;
|
|
1532
|
+
}, z.core.$strip>>;
|
|
1533
|
+
headings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1534
|
+
offset: z.ZodNumber;
|
|
1535
|
+
text: z.ZodString;
|
|
1536
|
+
}, z.core.$strip>>>;
|
|
1537
|
+
wordsOfJesus: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1538
|
+
start: z.ZodNumber;
|
|
1539
|
+
end: z.ZodNumber;
|
|
1540
|
+
}, z.core.$strip>>>;
|
|
1541
|
+
poem: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1542
|
+
start: z.ZodNumber;
|
|
1543
|
+
end: z.ZodNumber;
|
|
1544
|
+
level: z.ZodNumber;
|
|
1545
|
+
}, z.core.$strip>>>;
|
|
1546
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1547
|
+
text: z.ZodString;
|
|
1548
|
+
poem: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1549
|
+
start: z.ZodNumber;
|
|
1550
|
+
end: z.ZodNumber;
|
|
1551
|
+
level: z.ZodNumber;
|
|
1552
|
+
}, z.core.$strip>>>;
|
|
1553
|
+
wordsOfJesus: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1554
|
+
start: z.ZodNumber;
|
|
1555
|
+
end: z.ZodNumber;
|
|
1556
|
+
}, z.core.$strip>>>;
|
|
1557
|
+
footnotes: z.ZodArray<z.ZodObject<{
|
|
1558
|
+
noteId: z.ZodNumber;
|
|
1559
|
+
offset: z.ZodNumber;
|
|
1560
|
+
text: z.ZodString;
|
|
1561
|
+
caller: z.ZodUnion<readonly [z.ZodLiteral<"+">, z.ZodString, z.ZodNull]>;
|
|
1562
|
+
}, z.core.$strip>>;
|
|
1563
|
+
headings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1564
|
+
offset: z.ZodNumber;
|
|
1565
|
+
text: z.ZodString;
|
|
1566
|
+
}, z.core.$strip>>>;
|
|
1567
|
+
type: z.ZodLiteral<"hebrew_subtitle">;
|
|
1568
|
+
}, z.core.$strip>], "type">;
|
|
1569
|
+
export type SimpleChapterContent = z.infer<typeof SimpleChapterContentSchema>;
|
|
1570
|
+
/**
|
|
1571
|
+
* A Zod schema for the data in a simplified chapter.
|
|
1572
|
+
*/
|
|
1573
|
+
export declare const SimpleChapterDataSchema: z.ZodObject<{
|
|
1574
|
+
number: z.ZodNumber;
|
|
1575
|
+
content: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1576
|
+
type: z.ZodLiteral<"heading">;
|
|
1577
|
+
text: z.ZodString;
|
|
1578
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1579
|
+
type: z.ZodLiteral<"line_break">;
|
|
1580
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1581
|
+
type: z.ZodLiteral<"verse">;
|
|
1582
|
+
number: z.ZodNumber;
|
|
1583
|
+
text: z.ZodString;
|
|
1584
|
+
footnotes: z.ZodArray<z.ZodObject<{
|
|
1585
|
+
noteId: z.ZodNumber;
|
|
1586
|
+
offset: z.ZodNumber;
|
|
1587
|
+
text: z.ZodString;
|
|
1588
|
+
caller: z.ZodUnion<readonly [z.ZodLiteral<"+">, z.ZodString, z.ZodNull]>;
|
|
1589
|
+
}, z.core.$strip>>;
|
|
1590
|
+
headings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1591
|
+
offset: z.ZodNumber;
|
|
1592
|
+
text: z.ZodString;
|
|
1593
|
+
}, z.core.$strip>>>;
|
|
1594
|
+
wordsOfJesus: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1595
|
+
start: z.ZodNumber;
|
|
1596
|
+
end: z.ZodNumber;
|
|
1597
|
+
}, z.core.$strip>>>;
|
|
1598
|
+
poem: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1599
|
+
start: z.ZodNumber;
|
|
1600
|
+
end: z.ZodNumber;
|
|
1601
|
+
level: z.ZodNumber;
|
|
1602
|
+
}, z.core.$strip>>>;
|
|
1603
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1604
|
+
text: z.ZodString;
|
|
1605
|
+
poem: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1606
|
+
start: z.ZodNumber;
|
|
1607
|
+
end: z.ZodNumber;
|
|
1608
|
+
level: z.ZodNumber;
|
|
1609
|
+
}, z.core.$strip>>>;
|
|
1610
|
+
wordsOfJesus: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1611
|
+
start: z.ZodNumber;
|
|
1612
|
+
end: z.ZodNumber;
|
|
1613
|
+
}, z.core.$strip>>>;
|
|
1614
|
+
footnotes: z.ZodArray<z.ZodObject<{
|
|
1615
|
+
noteId: z.ZodNumber;
|
|
1616
|
+
offset: z.ZodNumber;
|
|
1617
|
+
text: z.ZodString;
|
|
1618
|
+
caller: z.ZodUnion<readonly [z.ZodLiteral<"+">, z.ZodString, z.ZodNull]>;
|
|
1619
|
+
}, z.core.$strip>>;
|
|
1620
|
+
headings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1621
|
+
offset: z.ZodNumber;
|
|
1622
|
+
text: z.ZodString;
|
|
1623
|
+
}, z.core.$strip>>>;
|
|
1624
|
+
type: z.ZodLiteral<"hebrew_subtitle">;
|
|
1625
|
+
}, z.core.$strip>], "type">>;
|
|
1626
|
+
footnotes: z.ZodArray<z.ZodObject<{
|
|
1627
|
+
noteId: z.ZodNumber;
|
|
1628
|
+
text: z.ZodString;
|
|
1629
|
+
reference: z.ZodOptional<z.ZodObject<{
|
|
1630
|
+
chapter: z.ZodNumber;
|
|
1631
|
+
verse: z.ZodNumber;
|
|
1632
|
+
}, z.core.$strip>>;
|
|
1633
|
+
caller: z.ZodUnion<readonly [z.ZodLiteral<"+">, z.ZodString, z.ZodNull]>;
|
|
1634
|
+
}, z.core.$strip>>;
|
|
1635
|
+
}, z.core.$strip>;
|
|
1636
|
+
export type SimpleChapterData = z.infer<typeof SimpleChapterDataSchema>;
|
|
1637
|
+
/**
|
|
1638
|
+
* A Zod schema for the data in a simplified commentary chapter.
|
|
1639
|
+
*/
|
|
1640
|
+
export declare const SimpleCommentaryChapterDataSchema: z.ZodObject<{
|
|
1641
|
+
number: z.ZodNumber;
|
|
1642
|
+
introduction: z.ZodOptional<z.ZodString>;
|
|
1643
|
+
content: z.ZodArray<z.ZodObject<{
|
|
1644
|
+
type: z.ZodLiteral<"verse">;
|
|
1645
|
+
number: z.ZodNumber;
|
|
1646
|
+
text: z.ZodString;
|
|
1647
|
+
footnotes: z.ZodArray<z.ZodObject<{
|
|
1648
|
+
noteId: z.ZodNumber;
|
|
1649
|
+
offset: z.ZodNumber;
|
|
1650
|
+
text: z.ZodString;
|
|
1651
|
+
caller: z.ZodUnion<readonly [z.ZodLiteral<"+">, z.ZodString, z.ZodNull]>;
|
|
1652
|
+
}, z.core.$strip>>;
|
|
1653
|
+
headings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1654
|
+
offset: z.ZodNumber;
|
|
1655
|
+
text: z.ZodString;
|
|
1656
|
+
}, z.core.$strip>>>;
|
|
1657
|
+
wordsOfJesus: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1658
|
+
start: z.ZodNumber;
|
|
1659
|
+
end: z.ZodNumber;
|
|
1660
|
+
}, z.core.$strip>>>;
|
|
1661
|
+
poem: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1662
|
+
start: z.ZodNumber;
|
|
1663
|
+
end: z.ZodNumber;
|
|
1664
|
+
level: z.ZodNumber;
|
|
1665
|
+
}, z.core.$strip>>>;
|
|
1666
|
+
}, z.core.$strip>>;
|
|
1667
|
+
}, z.core.$strip>;
|
|
1668
|
+
export type SimpleCommentaryChapterData = z.infer<typeof SimpleCommentaryChapterDataSchema>;
|
|
1669
|
+
/**
|
|
1670
|
+
* Defines a Zod schema for information about a book chapter, using the simplified
|
|
1671
|
+
* chapter format.
|
|
1672
|
+
*/
|
|
1673
|
+
export declare const SimpleTranslationBookChapterSchema: z.ZodObject<{
|
|
1674
|
+
thisChapterAudioLinks: z.ZodLazy<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1675
|
+
thisChapterAudioTimings: z.ZodLazy<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodNumber>>>;
|
|
1676
|
+
chapter: z.ZodLazy<z.ZodObject<{
|
|
1677
|
+
number: z.ZodNumber;
|
|
1678
|
+
content: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1679
|
+
type: z.ZodLiteral<"heading">;
|
|
1680
|
+
text: z.ZodString;
|
|
1681
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1682
|
+
type: z.ZodLiteral<"line_break">;
|
|
1683
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1684
|
+
type: z.ZodLiteral<"verse">;
|
|
1685
|
+
number: z.ZodNumber;
|
|
1686
|
+
text: z.ZodString;
|
|
1687
|
+
footnotes: z.ZodArray<z.ZodObject<{
|
|
1688
|
+
noteId: z.ZodNumber;
|
|
1689
|
+
offset: z.ZodNumber;
|
|
1690
|
+
text: z.ZodString;
|
|
1691
|
+
caller: z.ZodUnion<readonly [z.ZodLiteral<"+">, z.ZodString, z.ZodNull]>;
|
|
1692
|
+
}, z.core.$strip>>;
|
|
1693
|
+
headings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1694
|
+
offset: z.ZodNumber;
|
|
1695
|
+
text: z.ZodString;
|
|
1696
|
+
}, z.core.$strip>>>;
|
|
1697
|
+
wordsOfJesus: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1698
|
+
start: z.ZodNumber;
|
|
1699
|
+
end: z.ZodNumber;
|
|
1700
|
+
}, z.core.$strip>>>;
|
|
1701
|
+
poem: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1702
|
+
start: z.ZodNumber;
|
|
1703
|
+
end: z.ZodNumber;
|
|
1704
|
+
level: z.ZodNumber;
|
|
1705
|
+
}, z.core.$strip>>>;
|
|
1706
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1707
|
+
text: z.ZodString;
|
|
1708
|
+
poem: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1709
|
+
start: z.ZodNumber;
|
|
1710
|
+
end: z.ZodNumber;
|
|
1711
|
+
level: z.ZodNumber;
|
|
1712
|
+
}, z.core.$strip>>>;
|
|
1713
|
+
wordsOfJesus: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1714
|
+
start: z.ZodNumber;
|
|
1715
|
+
end: z.ZodNumber;
|
|
1716
|
+
}, z.core.$strip>>>;
|
|
1717
|
+
footnotes: z.ZodArray<z.ZodObject<{
|
|
1718
|
+
noteId: z.ZodNumber;
|
|
1719
|
+
offset: z.ZodNumber;
|
|
1720
|
+
text: z.ZodString;
|
|
1721
|
+
caller: z.ZodUnion<readonly [z.ZodLiteral<"+">, z.ZodString, z.ZodNull]>;
|
|
1722
|
+
}, z.core.$strip>>;
|
|
1723
|
+
headings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1724
|
+
offset: z.ZodNumber;
|
|
1725
|
+
text: z.ZodString;
|
|
1726
|
+
}, z.core.$strip>>>;
|
|
1727
|
+
type: z.ZodLiteral<"hebrew_subtitle">;
|
|
1728
|
+
}, z.core.$strip>], "type">>;
|
|
1729
|
+
footnotes: z.ZodArray<z.ZodObject<{
|
|
1730
|
+
noteId: z.ZodNumber;
|
|
1731
|
+
text: z.ZodString;
|
|
1732
|
+
reference: z.ZodOptional<z.ZodObject<{
|
|
1733
|
+
chapter: z.ZodNumber;
|
|
1734
|
+
verse: z.ZodNumber;
|
|
1735
|
+
}, z.core.$strip>>;
|
|
1736
|
+
caller: z.ZodUnion<readonly [z.ZodLiteral<"+">, z.ZodString, z.ZodNull]>;
|
|
1737
|
+
}, z.core.$strip>>;
|
|
1738
|
+
}, z.core.$strip>>;
|
|
1739
|
+
thisChapterWords: z.ZodOptional<z.ZodLazy<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
1740
|
+
start: z.ZodNumber;
|
|
1741
|
+
end: z.ZodNumber;
|
|
1742
|
+
strongs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1743
|
+
lemma: z.ZodOptional<z.ZodString>;
|
|
1744
|
+
morph: z.ZodOptional<z.ZodString>;
|
|
1745
|
+
srcloc: z.ZodOptional<z.ZodString>;
|
|
1746
|
+
occurrence: z.ZodOptional<z.ZodNumber>;
|
|
1747
|
+
occurrences: z.ZodOptional<z.ZodNumber>;
|
|
1748
|
+
}, z.core.$strip>>>>>>;
|
|
1749
|
+
}, z.core.$strip>;
|
|
1750
|
+
export type SimpleTranslationBookChapter = z.infer<typeof SimpleTranslationBookChapterSchema>;
|
|
1751
|
+
/**
|
|
1752
|
+
* A Zod schema for a word-level annotation in a simplified chapter.
|
|
1753
|
+
*
|
|
1754
|
+
* Unlike the regular annotations, these are anchored to a range of characters in the
|
|
1755
|
+
* text of a verse, since the simplified format replaces the verse's content array with
|
|
1756
|
+
* a single string.
|
|
1757
|
+
*/
|
|
1758
|
+
export declare const SimpleChapterWordSchema: z.ZodObject<{
|
|
1759
|
+
start: z.ZodNumber;
|
|
1760
|
+
end: z.ZodNumber;
|
|
1761
|
+
strongs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1762
|
+
lemma: z.ZodOptional<z.ZodString>;
|
|
1763
|
+
morph: z.ZodOptional<z.ZodString>;
|
|
1764
|
+
srcloc: z.ZodOptional<z.ZodString>;
|
|
1765
|
+
occurrence: z.ZodOptional<z.ZodNumber>;
|
|
1766
|
+
occurrences: z.ZodOptional<z.ZodNumber>;
|
|
1767
|
+
}, z.core.$strip>;
|
|
1768
|
+
export type SimpleChapterWord = z.infer<typeof SimpleChapterWordSchema>;
|
|
1769
|
+
/**
|
|
1770
|
+
* Defines a Zod schema for the word-level annotations for a book chapter, using the
|
|
1771
|
+
* simplified format.
|
|
1772
|
+
* Maps a verse number to the list of annotated words in the verse, in order.
|
|
1773
|
+
*/
|
|
1774
|
+
export declare const SimpleTranslationBookChapterWordsSchema: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
1775
|
+
start: z.ZodNumber;
|
|
1776
|
+
end: z.ZodNumber;
|
|
1777
|
+
strongs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1778
|
+
lemma: z.ZodOptional<z.ZodString>;
|
|
1779
|
+
morph: z.ZodOptional<z.ZodString>;
|
|
1780
|
+
srcloc: z.ZodOptional<z.ZodString>;
|
|
1781
|
+
occurrence: z.ZodOptional<z.ZodNumber>;
|
|
1782
|
+
occurrences: z.ZodOptional<z.ZodNumber>;
|
|
1783
|
+
}, z.core.$strip>>>>;
|
|
1784
|
+
export type SimpleTranslationBookChapterWords = z.infer<typeof SimpleTranslationBookChapterWordsSchema>;
|
|
546
1785
|
//# sourceMappingURL=common-types.d.ts.map
|