@helloao/tools 0.3.0 → 0.4.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 +1241 -64
- package/dist/cjs/generation/api.cjs.map +3 -3
- package/dist/cjs/generation/common-types.cjs +423 -0
- package/dist/cjs/generation/common-types.cjs.map +2 -2
- package/dist/cjs/generation/dataset.cjs.map +2 -2
- package/dist/cjs/generation/theographic.cjs +446 -0
- package/dist/cjs/generation/theographic.cjs.map +7 -0
- package/dist/esm/generation/api.js +1207 -64
- package/dist/esm/generation/api.js.map +3 -3
- package/dist/esm/generation/common-types.js +411 -0
- package/dist/esm/generation/common-types.js.map +2 -2
- package/dist/esm/generation/dataset.js.map +2 -2
- package/dist/esm/generation/theographic.js +412 -0
- package/dist/esm/generation/theographic.js.map +7 -0
- package/dist/types/generation/api.d.ts +2248 -304
- package/dist/types/generation/common-types.d.ts +782 -0
- package/dist/types/generation/dataset.d.ts +17 -1
- package/dist/types/generation/theographic.d.ts +64 -0
- package/package.json +1 -1
|
@@ -949,6 +949,788 @@ export declare const ScoredVerseRefSchema: z.ZodObject<{
|
|
|
949
949
|
score: z.ZodNumber;
|
|
950
950
|
}, z.core.$strip>;
|
|
951
951
|
export type ScoredVerseRef = z.infer<typeof ScoredVerseRefSchema>;
|
|
952
|
+
/**
|
|
953
|
+
* Defines a Zod schema for a reference to another entity (person, place, event, or people group) in a dataset.
|
|
954
|
+
*/
|
|
955
|
+
/**
|
|
956
|
+
* Defines a Zod schema for the type of an entity in a dataset.
|
|
957
|
+
* Matches the collection segment of the entity API paths.
|
|
958
|
+
*/
|
|
959
|
+
export declare const DatasetEntityTypeSchema: z.ZodEnum<{
|
|
960
|
+
people: "people";
|
|
961
|
+
places: "places";
|
|
962
|
+
events: "events";
|
|
963
|
+
groups: "groups";
|
|
964
|
+
}>;
|
|
965
|
+
export type DatasetEntityType = z.infer<typeof DatasetEntityTypeSchema>;
|
|
966
|
+
export declare const DatasetEntityRefSchema: z.ZodObject<{
|
|
967
|
+
id: z.ZodString;
|
|
968
|
+
type: z.ZodEnum<{
|
|
969
|
+
people: "people";
|
|
970
|
+
places: "places";
|
|
971
|
+
events: "events";
|
|
972
|
+
groups: "groups";
|
|
973
|
+
}>;
|
|
974
|
+
name: z.ZodOptional<z.ZodString>;
|
|
975
|
+
apiLink: z.ZodOptional<z.ZodString>;
|
|
976
|
+
}, z.core.$strip>;
|
|
977
|
+
export type DatasetEntityRef = z.infer<typeof DatasetEntityRefSchema>;
|
|
978
|
+
/**
|
|
979
|
+
* Defines a Zod schema for information about a person in a dataset.
|
|
980
|
+
*/
|
|
981
|
+
export declare const DatasetPersonSchema: z.ZodObject<{
|
|
982
|
+
id: z.ZodString;
|
|
983
|
+
name: z.ZodString;
|
|
984
|
+
alsoCalled: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
985
|
+
isProperName: z.ZodOptional<z.ZodBoolean>;
|
|
986
|
+
gender: z.ZodOptional<z.ZodString>;
|
|
987
|
+
description: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
988
|
+
birthYear: z.ZodOptional<z.ZodNumber>;
|
|
989
|
+
deathYear: z.ZodOptional<z.ZodNumber>;
|
|
990
|
+
minYear: z.ZodOptional<z.ZodNumber>;
|
|
991
|
+
maxYear: z.ZodOptional<z.ZodNumber>;
|
|
992
|
+
birthPlace: z.ZodOptional<z.ZodObject<{
|
|
993
|
+
id: z.ZodString;
|
|
994
|
+
type: z.ZodEnum<{
|
|
995
|
+
people: "people";
|
|
996
|
+
places: "places";
|
|
997
|
+
events: "events";
|
|
998
|
+
groups: "groups";
|
|
999
|
+
}>;
|
|
1000
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1001
|
+
apiLink: z.ZodOptional<z.ZodString>;
|
|
1002
|
+
}, z.core.$strip>>;
|
|
1003
|
+
deathPlace: z.ZodOptional<z.ZodObject<{
|
|
1004
|
+
id: z.ZodString;
|
|
1005
|
+
type: z.ZodEnum<{
|
|
1006
|
+
people: "people";
|
|
1007
|
+
places: "places";
|
|
1008
|
+
events: "events";
|
|
1009
|
+
groups: "groups";
|
|
1010
|
+
}>;
|
|
1011
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1012
|
+
apiLink: z.ZodOptional<z.ZodString>;
|
|
1013
|
+
}, z.core.$strip>>;
|
|
1014
|
+
father: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1015
|
+
id: z.ZodString;
|
|
1016
|
+
type: z.ZodEnum<{
|
|
1017
|
+
people: "people";
|
|
1018
|
+
places: "places";
|
|
1019
|
+
events: "events";
|
|
1020
|
+
groups: "groups";
|
|
1021
|
+
}>;
|
|
1022
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1023
|
+
apiLink: z.ZodOptional<z.ZodString>;
|
|
1024
|
+
}, z.core.$strip>>>;
|
|
1025
|
+
mother: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1026
|
+
id: z.ZodString;
|
|
1027
|
+
type: z.ZodEnum<{
|
|
1028
|
+
people: "people";
|
|
1029
|
+
places: "places";
|
|
1030
|
+
events: "events";
|
|
1031
|
+
groups: "groups";
|
|
1032
|
+
}>;
|
|
1033
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1034
|
+
apiLink: z.ZodOptional<z.ZodString>;
|
|
1035
|
+
}, z.core.$strip>>>;
|
|
1036
|
+
partners: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1037
|
+
id: z.ZodString;
|
|
1038
|
+
type: z.ZodEnum<{
|
|
1039
|
+
people: "people";
|
|
1040
|
+
places: "places";
|
|
1041
|
+
events: "events";
|
|
1042
|
+
groups: "groups";
|
|
1043
|
+
}>;
|
|
1044
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1045
|
+
apiLink: z.ZodOptional<z.ZodString>;
|
|
1046
|
+
}, z.core.$strip>>>;
|
|
1047
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1048
|
+
id: z.ZodString;
|
|
1049
|
+
type: z.ZodEnum<{
|
|
1050
|
+
people: "people";
|
|
1051
|
+
places: "places";
|
|
1052
|
+
events: "events";
|
|
1053
|
+
groups: "groups";
|
|
1054
|
+
}>;
|
|
1055
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1056
|
+
apiLink: z.ZodOptional<z.ZodString>;
|
|
1057
|
+
}, z.core.$strip>>>;
|
|
1058
|
+
siblings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1059
|
+
id: z.ZodString;
|
|
1060
|
+
type: z.ZodEnum<{
|
|
1061
|
+
people: "people";
|
|
1062
|
+
places: "places";
|
|
1063
|
+
events: "events";
|
|
1064
|
+
groups: "groups";
|
|
1065
|
+
}>;
|
|
1066
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1067
|
+
apiLink: z.ZodOptional<z.ZodString>;
|
|
1068
|
+
}, z.core.$strip>>>;
|
|
1069
|
+
halfSiblingsSameMother: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1070
|
+
id: z.ZodString;
|
|
1071
|
+
type: z.ZodEnum<{
|
|
1072
|
+
people: "people";
|
|
1073
|
+
places: "places";
|
|
1074
|
+
events: "events";
|
|
1075
|
+
groups: "groups";
|
|
1076
|
+
}>;
|
|
1077
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1078
|
+
apiLink: z.ZodOptional<z.ZodString>;
|
|
1079
|
+
}, z.core.$strip>>>;
|
|
1080
|
+
halfSiblingsSameFather: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1081
|
+
id: z.ZodString;
|
|
1082
|
+
type: z.ZodEnum<{
|
|
1083
|
+
people: "people";
|
|
1084
|
+
places: "places";
|
|
1085
|
+
events: "events";
|
|
1086
|
+
groups: "groups";
|
|
1087
|
+
}>;
|
|
1088
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1089
|
+
apiLink: z.ZodOptional<z.ZodString>;
|
|
1090
|
+
}, z.core.$strip>>>;
|
|
1091
|
+
memberOf: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1092
|
+
id: z.ZodString;
|
|
1093
|
+
type: z.ZodEnum<{
|
|
1094
|
+
people: "people";
|
|
1095
|
+
places: "places";
|
|
1096
|
+
events: "events";
|
|
1097
|
+
groups: "groups";
|
|
1098
|
+
}>;
|
|
1099
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1100
|
+
apiLink: z.ZodOptional<z.ZodString>;
|
|
1101
|
+
}, z.core.$strip>>>;
|
|
1102
|
+
events: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1103
|
+
id: z.ZodString;
|
|
1104
|
+
type: z.ZodEnum<{
|
|
1105
|
+
people: "people";
|
|
1106
|
+
places: "places";
|
|
1107
|
+
events: "events";
|
|
1108
|
+
groups: "groups";
|
|
1109
|
+
}>;
|
|
1110
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1111
|
+
apiLink: z.ZodOptional<z.ZodString>;
|
|
1112
|
+
}, z.core.$strip>>>;
|
|
1113
|
+
references: z.ZodArray<z.ZodObject<{
|
|
1114
|
+
book: z.ZodEnum<{
|
|
1115
|
+
GEN: "GEN";
|
|
1116
|
+
EXO: "EXO";
|
|
1117
|
+
LEV: "LEV";
|
|
1118
|
+
NUM: "NUM";
|
|
1119
|
+
DEU: "DEU";
|
|
1120
|
+
JOS: "JOS";
|
|
1121
|
+
JDG: "JDG";
|
|
1122
|
+
RUT: "RUT";
|
|
1123
|
+
"1SA": "1SA";
|
|
1124
|
+
"2SA": "2SA";
|
|
1125
|
+
"1KI": "1KI";
|
|
1126
|
+
"2KI": "2KI";
|
|
1127
|
+
"1CH": "1CH";
|
|
1128
|
+
"2CH": "2CH";
|
|
1129
|
+
EZR: "EZR";
|
|
1130
|
+
NEH: "NEH";
|
|
1131
|
+
EST: "EST";
|
|
1132
|
+
JOB: "JOB";
|
|
1133
|
+
PSA: "PSA";
|
|
1134
|
+
PRO: "PRO";
|
|
1135
|
+
ECC: "ECC";
|
|
1136
|
+
SNG: "SNG";
|
|
1137
|
+
ISA: "ISA";
|
|
1138
|
+
JER: "JER";
|
|
1139
|
+
LAM: "LAM";
|
|
1140
|
+
EZK: "EZK";
|
|
1141
|
+
DAN: "DAN";
|
|
1142
|
+
HOS: "HOS";
|
|
1143
|
+
JOL: "JOL";
|
|
1144
|
+
AMO: "AMO";
|
|
1145
|
+
OBA: "OBA";
|
|
1146
|
+
JON: "JON";
|
|
1147
|
+
MIC: "MIC";
|
|
1148
|
+
NAM: "NAM";
|
|
1149
|
+
HAB: "HAB";
|
|
1150
|
+
ZEP: "ZEP";
|
|
1151
|
+
HAG: "HAG";
|
|
1152
|
+
ZEC: "ZEC";
|
|
1153
|
+
MAL: "MAL";
|
|
1154
|
+
MAT: "MAT";
|
|
1155
|
+
MRK: "MRK";
|
|
1156
|
+
LUK: "LUK";
|
|
1157
|
+
JHN: "JHN";
|
|
1158
|
+
ACT: "ACT";
|
|
1159
|
+
ROM: "ROM";
|
|
1160
|
+
"1CO": "1CO";
|
|
1161
|
+
"2CO": "2CO";
|
|
1162
|
+
GAL: "GAL";
|
|
1163
|
+
EPH: "EPH";
|
|
1164
|
+
PHP: "PHP";
|
|
1165
|
+
COL: "COL";
|
|
1166
|
+
"1TH": "1TH";
|
|
1167
|
+
"2TH": "2TH";
|
|
1168
|
+
"1TI": "1TI";
|
|
1169
|
+
"2TI": "2TI";
|
|
1170
|
+
TIT: "TIT";
|
|
1171
|
+
PHM: "PHM";
|
|
1172
|
+
HEB: "HEB";
|
|
1173
|
+
JAS: "JAS";
|
|
1174
|
+
"1PE": "1PE";
|
|
1175
|
+
"2PE": "2PE";
|
|
1176
|
+
"1JN": "1JN";
|
|
1177
|
+
"2JN": "2JN";
|
|
1178
|
+
"3JN": "3JN";
|
|
1179
|
+
JUD: "JUD";
|
|
1180
|
+
REV: "REV";
|
|
1181
|
+
TOB: "TOB";
|
|
1182
|
+
JDT: "JDT";
|
|
1183
|
+
ESG: "ESG";
|
|
1184
|
+
WIS: "WIS";
|
|
1185
|
+
SIR: "SIR";
|
|
1186
|
+
BAR: "BAR";
|
|
1187
|
+
LJE: "LJE";
|
|
1188
|
+
S3Y: "S3Y";
|
|
1189
|
+
SUS: "SUS";
|
|
1190
|
+
BEL: "BEL";
|
|
1191
|
+
"1MA": "1MA";
|
|
1192
|
+
"2MA": "2MA";
|
|
1193
|
+
"3MA": "3MA";
|
|
1194
|
+
"4MA": "4MA";
|
|
1195
|
+
"1ES": "1ES";
|
|
1196
|
+
"2ES": "2ES";
|
|
1197
|
+
MAN: "MAN";
|
|
1198
|
+
PS2: "PS2";
|
|
1199
|
+
ODA: "ODA";
|
|
1200
|
+
PSS: "PSS";
|
|
1201
|
+
EZA: "EZA";
|
|
1202
|
+
"5EZ": "5EZ";
|
|
1203
|
+
"6EZ": "6EZ";
|
|
1204
|
+
DAG: "DAG";
|
|
1205
|
+
PS3: "PS3";
|
|
1206
|
+
"2BA": "2BA";
|
|
1207
|
+
LBA: "LBA";
|
|
1208
|
+
JUB: "JUB";
|
|
1209
|
+
ENO: "ENO";
|
|
1210
|
+
"1MQ": "1MQ";
|
|
1211
|
+
"2MQ": "2MQ";
|
|
1212
|
+
"3MQ": "3MQ";
|
|
1213
|
+
REP: "REP";
|
|
1214
|
+
"4BA": "4BA";
|
|
1215
|
+
LAO: "LAO";
|
|
1216
|
+
}>;
|
|
1217
|
+
chapter: z.ZodNumber;
|
|
1218
|
+
verse: z.ZodNumber;
|
|
1219
|
+
content: z.ZodOptional<z.ZodString>;
|
|
1220
|
+
endChapter: z.ZodOptional<z.ZodNumber>;
|
|
1221
|
+
endVerse: z.ZodOptional<z.ZodNumber>;
|
|
1222
|
+
}, z.core.$strip>>;
|
|
1223
|
+
}, z.core.$strip>;
|
|
1224
|
+
export type DatasetPerson = z.infer<typeof DatasetPersonSchema>;
|
|
1225
|
+
/**
|
|
1226
|
+
* Defines a Zod schema for information about a place in a dataset.
|
|
1227
|
+
*/
|
|
1228
|
+
export declare const DatasetPlaceSchema: z.ZodObject<{
|
|
1229
|
+
id: z.ZodString;
|
|
1230
|
+
name: z.ZodString;
|
|
1231
|
+
kjvName: z.ZodOptional<z.ZodString>;
|
|
1232
|
+
esvName: z.ZodOptional<z.ZodString>;
|
|
1233
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1234
|
+
featureType: z.ZodOptional<z.ZodString>;
|
|
1235
|
+
featureSubType: z.ZodOptional<z.ZodString>;
|
|
1236
|
+
latitude: z.ZodOptional<z.ZodNumber>;
|
|
1237
|
+
longitude: z.ZodOptional<z.ZodNumber>;
|
|
1238
|
+
precision: z.ZodOptional<z.ZodString>;
|
|
1239
|
+
description: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1240
|
+
comment: z.ZodOptional<z.ZodString>;
|
|
1241
|
+
rootPlace: z.ZodOptional<z.ZodObject<{
|
|
1242
|
+
id: z.ZodString;
|
|
1243
|
+
type: z.ZodEnum<{
|
|
1244
|
+
people: "people";
|
|
1245
|
+
places: "places";
|
|
1246
|
+
events: "events";
|
|
1247
|
+
groups: "groups";
|
|
1248
|
+
}>;
|
|
1249
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1250
|
+
apiLink: z.ZodOptional<z.ZodString>;
|
|
1251
|
+
}, z.core.$strip>>;
|
|
1252
|
+
duplicateOf: z.ZodOptional<z.ZodObject<{
|
|
1253
|
+
id: z.ZodString;
|
|
1254
|
+
type: z.ZodEnum<{
|
|
1255
|
+
people: "people";
|
|
1256
|
+
places: "places";
|
|
1257
|
+
events: "events";
|
|
1258
|
+
groups: "groups";
|
|
1259
|
+
}>;
|
|
1260
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1261
|
+
apiLink: z.ZodOptional<z.ZodString>;
|
|
1262
|
+
}, z.core.$strip>>;
|
|
1263
|
+
people: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1264
|
+
id: z.ZodString;
|
|
1265
|
+
type: z.ZodEnum<{
|
|
1266
|
+
people: "people";
|
|
1267
|
+
places: "places";
|
|
1268
|
+
events: "events";
|
|
1269
|
+
groups: "groups";
|
|
1270
|
+
}>;
|
|
1271
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1272
|
+
apiLink: z.ZodOptional<z.ZodString>;
|
|
1273
|
+
}, z.core.$strip>>>;
|
|
1274
|
+
peopleBorn: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1275
|
+
id: z.ZodString;
|
|
1276
|
+
type: z.ZodEnum<{
|
|
1277
|
+
people: "people";
|
|
1278
|
+
places: "places";
|
|
1279
|
+
events: "events";
|
|
1280
|
+
groups: "groups";
|
|
1281
|
+
}>;
|
|
1282
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1283
|
+
apiLink: z.ZodOptional<z.ZodString>;
|
|
1284
|
+
}, z.core.$strip>>>;
|
|
1285
|
+
peopleDied: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1286
|
+
id: z.ZodString;
|
|
1287
|
+
type: z.ZodEnum<{
|
|
1288
|
+
people: "people";
|
|
1289
|
+
places: "places";
|
|
1290
|
+
events: "events";
|
|
1291
|
+
groups: "groups";
|
|
1292
|
+
}>;
|
|
1293
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1294
|
+
apiLink: z.ZodOptional<z.ZodString>;
|
|
1295
|
+
}, z.core.$strip>>>;
|
|
1296
|
+
events: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1297
|
+
id: z.ZodString;
|
|
1298
|
+
type: z.ZodEnum<{
|
|
1299
|
+
people: "people";
|
|
1300
|
+
places: "places";
|
|
1301
|
+
events: "events";
|
|
1302
|
+
groups: "groups";
|
|
1303
|
+
}>;
|
|
1304
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1305
|
+
apiLink: z.ZodOptional<z.ZodString>;
|
|
1306
|
+
}, z.core.$strip>>>;
|
|
1307
|
+
references: z.ZodArray<z.ZodObject<{
|
|
1308
|
+
book: z.ZodEnum<{
|
|
1309
|
+
GEN: "GEN";
|
|
1310
|
+
EXO: "EXO";
|
|
1311
|
+
LEV: "LEV";
|
|
1312
|
+
NUM: "NUM";
|
|
1313
|
+
DEU: "DEU";
|
|
1314
|
+
JOS: "JOS";
|
|
1315
|
+
JDG: "JDG";
|
|
1316
|
+
RUT: "RUT";
|
|
1317
|
+
"1SA": "1SA";
|
|
1318
|
+
"2SA": "2SA";
|
|
1319
|
+
"1KI": "1KI";
|
|
1320
|
+
"2KI": "2KI";
|
|
1321
|
+
"1CH": "1CH";
|
|
1322
|
+
"2CH": "2CH";
|
|
1323
|
+
EZR: "EZR";
|
|
1324
|
+
NEH: "NEH";
|
|
1325
|
+
EST: "EST";
|
|
1326
|
+
JOB: "JOB";
|
|
1327
|
+
PSA: "PSA";
|
|
1328
|
+
PRO: "PRO";
|
|
1329
|
+
ECC: "ECC";
|
|
1330
|
+
SNG: "SNG";
|
|
1331
|
+
ISA: "ISA";
|
|
1332
|
+
JER: "JER";
|
|
1333
|
+
LAM: "LAM";
|
|
1334
|
+
EZK: "EZK";
|
|
1335
|
+
DAN: "DAN";
|
|
1336
|
+
HOS: "HOS";
|
|
1337
|
+
JOL: "JOL";
|
|
1338
|
+
AMO: "AMO";
|
|
1339
|
+
OBA: "OBA";
|
|
1340
|
+
JON: "JON";
|
|
1341
|
+
MIC: "MIC";
|
|
1342
|
+
NAM: "NAM";
|
|
1343
|
+
HAB: "HAB";
|
|
1344
|
+
ZEP: "ZEP";
|
|
1345
|
+
HAG: "HAG";
|
|
1346
|
+
ZEC: "ZEC";
|
|
1347
|
+
MAL: "MAL";
|
|
1348
|
+
MAT: "MAT";
|
|
1349
|
+
MRK: "MRK";
|
|
1350
|
+
LUK: "LUK";
|
|
1351
|
+
JHN: "JHN";
|
|
1352
|
+
ACT: "ACT";
|
|
1353
|
+
ROM: "ROM";
|
|
1354
|
+
"1CO": "1CO";
|
|
1355
|
+
"2CO": "2CO";
|
|
1356
|
+
GAL: "GAL";
|
|
1357
|
+
EPH: "EPH";
|
|
1358
|
+
PHP: "PHP";
|
|
1359
|
+
COL: "COL";
|
|
1360
|
+
"1TH": "1TH";
|
|
1361
|
+
"2TH": "2TH";
|
|
1362
|
+
"1TI": "1TI";
|
|
1363
|
+
"2TI": "2TI";
|
|
1364
|
+
TIT: "TIT";
|
|
1365
|
+
PHM: "PHM";
|
|
1366
|
+
HEB: "HEB";
|
|
1367
|
+
JAS: "JAS";
|
|
1368
|
+
"1PE": "1PE";
|
|
1369
|
+
"2PE": "2PE";
|
|
1370
|
+
"1JN": "1JN";
|
|
1371
|
+
"2JN": "2JN";
|
|
1372
|
+
"3JN": "3JN";
|
|
1373
|
+
JUD: "JUD";
|
|
1374
|
+
REV: "REV";
|
|
1375
|
+
TOB: "TOB";
|
|
1376
|
+
JDT: "JDT";
|
|
1377
|
+
ESG: "ESG";
|
|
1378
|
+
WIS: "WIS";
|
|
1379
|
+
SIR: "SIR";
|
|
1380
|
+
BAR: "BAR";
|
|
1381
|
+
LJE: "LJE";
|
|
1382
|
+
S3Y: "S3Y";
|
|
1383
|
+
SUS: "SUS";
|
|
1384
|
+
BEL: "BEL";
|
|
1385
|
+
"1MA": "1MA";
|
|
1386
|
+
"2MA": "2MA";
|
|
1387
|
+
"3MA": "3MA";
|
|
1388
|
+
"4MA": "4MA";
|
|
1389
|
+
"1ES": "1ES";
|
|
1390
|
+
"2ES": "2ES";
|
|
1391
|
+
MAN: "MAN";
|
|
1392
|
+
PS2: "PS2";
|
|
1393
|
+
ODA: "ODA";
|
|
1394
|
+
PSS: "PSS";
|
|
1395
|
+
EZA: "EZA";
|
|
1396
|
+
"5EZ": "5EZ";
|
|
1397
|
+
"6EZ": "6EZ";
|
|
1398
|
+
DAG: "DAG";
|
|
1399
|
+
PS3: "PS3";
|
|
1400
|
+
"2BA": "2BA";
|
|
1401
|
+
LBA: "LBA";
|
|
1402
|
+
JUB: "JUB";
|
|
1403
|
+
ENO: "ENO";
|
|
1404
|
+
"1MQ": "1MQ";
|
|
1405
|
+
"2MQ": "2MQ";
|
|
1406
|
+
"3MQ": "3MQ";
|
|
1407
|
+
REP: "REP";
|
|
1408
|
+
"4BA": "4BA";
|
|
1409
|
+
LAO: "LAO";
|
|
1410
|
+
}>;
|
|
1411
|
+
chapter: z.ZodNumber;
|
|
1412
|
+
verse: z.ZodNumber;
|
|
1413
|
+
content: z.ZodOptional<z.ZodString>;
|
|
1414
|
+
endChapter: z.ZodOptional<z.ZodNumber>;
|
|
1415
|
+
endVerse: z.ZodOptional<z.ZodNumber>;
|
|
1416
|
+
}, z.core.$strip>>;
|
|
1417
|
+
}, z.core.$strip>;
|
|
1418
|
+
export type DatasetPlace = z.infer<typeof DatasetPlaceSchema>;
|
|
1419
|
+
/**
|
|
1420
|
+
* Defines a Zod schema for information about an event in a dataset.
|
|
1421
|
+
*/
|
|
1422
|
+
export declare const DatasetEventSchema: z.ZodObject<{
|
|
1423
|
+
id: z.ZodString;
|
|
1424
|
+
name: z.ZodString;
|
|
1425
|
+
startDate: z.ZodOptional<z.ZodString>;
|
|
1426
|
+
duration: z.ZodOptional<z.ZodString>;
|
|
1427
|
+
participants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1428
|
+
id: z.ZodString;
|
|
1429
|
+
type: z.ZodEnum<{
|
|
1430
|
+
people: "people";
|
|
1431
|
+
places: "places";
|
|
1432
|
+
events: "events";
|
|
1433
|
+
groups: "groups";
|
|
1434
|
+
}>;
|
|
1435
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1436
|
+
apiLink: z.ZodOptional<z.ZodString>;
|
|
1437
|
+
}, z.core.$strip>>>;
|
|
1438
|
+
locations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1439
|
+
id: z.ZodString;
|
|
1440
|
+
type: z.ZodEnum<{
|
|
1441
|
+
people: "people";
|
|
1442
|
+
places: "places";
|
|
1443
|
+
events: "events";
|
|
1444
|
+
groups: "groups";
|
|
1445
|
+
}>;
|
|
1446
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1447
|
+
apiLink: z.ZodOptional<z.ZodString>;
|
|
1448
|
+
}, z.core.$strip>>>;
|
|
1449
|
+
groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1450
|
+
id: z.ZodString;
|
|
1451
|
+
type: z.ZodEnum<{
|
|
1452
|
+
people: "people";
|
|
1453
|
+
places: "places";
|
|
1454
|
+
events: "events";
|
|
1455
|
+
groups: "groups";
|
|
1456
|
+
}>;
|
|
1457
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1458
|
+
apiLink: z.ZodOptional<z.ZodString>;
|
|
1459
|
+
}, z.core.$strip>>>;
|
|
1460
|
+
partOf: z.ZodOptional<z.ZodObject<{
|
|
1461
|
+
id: z.ZodString;
|
|
1462
|
+
type: z.ZodEnum<{
|
|
1463
|
+
people: "people";
|
|
1464
|
+
places: "places";
|
|
1465
|
+
events: "events";
|
|
1466
|
+
groups: "groups";
|
|
1467
|
+
}>;
|
|
1468
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1469
|
+
apiLink: z.ZodOptional<z.ZodString>;
|
|
1470
|
+
}, z.core.$strip>>;
|
|
1471
|
+
predecessor: z.ZodOptional<z.ZodObject<{
|
|
1472
|
+
id: z.ZodString;
|
|
1473
|
+
type: z.ZodEnum<{
|
|
1474
|
+
people: "people";
|
|
1475
|
+
places: "places";
|
|
1476
|
+
events: "events";
|
|
1477
|
+
groups: "groups";
|
|
1478
|
+
}>;
|
|
1479
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1480
|
+
apiLink: z.ZodOptional<z.ZodString>;
|
|
1481
|
+
}, z.core.$strip>>;
|
|
1482
|
+
references: z.ZodArray<z.ZodObject<{
|
|
1483
|
+
book: z.ZodEnum<{
|
|
1484
|
+
GEN: "GEN";
|
|
1485
|
+
EXO: "EXO";
|
|
1486
|
+
LEV: "LEV";
|
|
1487
|
+
NUM: "NUM";
|
|
1488
|
+
DEU: "DEU";
|
|
1489
|
+
JOS: "JOS";
|
|
1490
|
+
JDG: "JDG";
|
|
1491
|
+
RUT: "RUT";
|
|
1492
|
+
"1SA": "1SA";
|
|
1493
|
+
"2SA": "2SA";
|
|
1494
|
+
"1KI": "1KI";
|
|
1495
|
+
"2KI": "2KI";
|
|
1496
|
+
"1CH": "1CH";
|
|
1497
|
+
"2CH": "2CH";
|
|
1498
|
+
EZR: "EZR";
|
|
1499
|
+
NEH: "NEH";
|
|
1500
|
+
EST: "EST";
|
|
1501
|
+
JOB: "JOB";
|
|
1502
|
+
PSA: "PSA";
|
|
1503
|
+
PRO: "PRO";
|
|
1504
|
+
ECC: "ECC";
|
|
1505
|
+
SNG: "SNG";
|
|
1506
|
+
ISA: "ISA";
|
|
1507
|
+
JER: "JER";
|
|
1508
|
+
LAM: "LAM";
|
|
1509
|
+
EZK: "EZK";
|
|
1510
|
+
DAN: "DAN";
|
|
1511
|
+
HOS: "HOS";
|
|
1512
|
+
JOL: "JOL";
|
|
1513
|
+
AMO: "AMO";
|
|
1514
|
+
OBA: "OBA";
|
|
1515
|
+
JON: "JON";
|
|
1516
|
+
MIC: "MIC";
|
|
1517
|
+
NAM: "NAM";
|
|
1518
|
+
HAB: "HAB";
|
|
1519
|
+
ZEP: "ZEP";
|
|
1520
|
+
HAG: "HAG";
|
|
1521
|
+
ZEC: "ZEC";
|
|
1522
|
+
MAL: "MAL";
|
|
1523
|
+
MAT: "MAT";
|
|
1524
|
+
MRK: "MRK";
|
|
1525
|
+
LUK: "LUK";
|
|
1526
|
+
JHN: "JHN";
|
|
1527
|
+
ACT: "ACT";
|
|
1528
|
+
ROM: "ROM";
|
|
1529
|
+
"1CO": "1CO";
|
|
1530
|
+
"2CO": "2CO";
|
|
1531
|
+
GAL: "GAL";
|
|
1532
|
+
EPH: "EPH";
|
|
1533
|
+
PHP: "PHP";
|
|
1534
|
+
COL: "COL";
|
|
1535
|
+
"1TH": "1TH";
|
|
1536
|
+
"2TH": "2TH";
|
|
1537
|
+
"1TI": "1TI";
|
|
1538
|
+
"2TI": "2TI";
|
|
1539
|
+
TIT: "TIT";
|
|
1540
|
+
PHM: "PHM";
|
|
1541
|
+
HEB: "HEB";
|
|
1542
|
+
JAS: "JAS";
|
|
1543
|
+
"1PE": "1PE";
|
|
1544
|
+
"2PE": "2PE";
|
|
1545
|
+
"1JN": "1JN";
|
|
1546
|
+
"2JN": "2JN";
|
|
1547
|
+
"3JN": "3JN";
|
|
1548
|
+
JUD: "JUD";
|
|
1549
|
+
REV: "REV";
|
|
1550
|
+
TOB: "TOB";
|
|
1551
|
+
JDT: "JDT";
|
|
1552
|
+
ESG: "ESG";
|
|
1553
|
+
WIS: "WIS";
|
|
1554
|
+
SIR: "SIR";
|
|
1555
|
+
BAR: "BAR";
|
|
1556
|
+
LJE: "LJE";
|
|
1557
|
+
S3Y: "S3Y";
|
|
1558
|
+
SUS: "SUS";
|
|
1559
|
+
BEL: "BEL";
|
|
1560
|
+
"1MA": "1MA";
|
|
1561
|
+
"2MA": "2MA";
|
|
1562
|
+
"3MA": "3MA";
|
|
1563
|
+
"4MA": "4MA";
|
|
1564
|
+
"1ES": "1ES";
|
|
1565
|
+
"2ES": "2ES";
|
|
1566
|
+
MAN: "MAN";
|
|
1567
|
+
PS2: "PS2";
|
|
1568
|
+
ODA: "ODA";
|
|
1569
|
+
PSS: "PSS";
|
|
1570
|
+
EZA: "EZA";
|
|
1571
|
+
"5EZ": "5EZ";
|
|
1572
|
+
"6EZ": "6EZ";
|
|
1573
|
+
DAG: "DAG";
|
|
1574
|
+
PS3: "PS3";
|
|
1575
|
+
"2BA": "2BA";
|
|
1576
|
+
LBA: "LBA";
|
|
1577
|
+
JUB: "JUB";
|
|
1578
|
+
ENO: "ENO";
|
|
1579
|
+
"1MQ": "1MQ";
|
|
1580
|
+
"2MQ": "2MQ";
|
|
1581
|
+
"3MQ": "3MQ";
|
|
1582
|
+
REP: "REP";
|
|
1583
|
+
"4BA": "4BA";
|
|
1584
|
+
LAO: "LAO";
|
|
1585
|
+
}>;
|
|
1586
|
+
chapter: z.ZodNumber;
|
|
1587
|
+
verse: z.ZodNumber;
|
|
1588
|
+
content: z.ZodOptional<z.ZodString>;
|
|
1589
|
+
endChapter: z.ZodOptional<z.ZodNumber>;
|
|
1590
|
+
endVerse: z.ZodOptional<z.ZodNumber>;
|
|
1591
|
+
}, z.core.$strip>>;
|
|
1592
|
+
}, z.core.$strip>;
|
|
1593
|
+
export type DatasetEvent = z.infer<typeof DatasetEventSchema>;
|
|
1594
|
+
/**
|
|
1595
|
+
* Defines a Zod schema for information about a people group in a dataset.
|
|
1596
|
+
*/
|
|
1597
|
+
export declare const DatasetPeopleGroupSchema: z.ZodObject<{
|
|
1598
|
+
id: z.ZodString;
|
|
1599
|
+
name: z.ZodString;
|
|
1600
|
+
members: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1601
|
+
id: z.ZodString;
|
|
1602
|
+
type: z.ZodEnum<{
|
|
1603
|
+
people: "people";
|
|
1604
|
+
places: "places";
|
|
1605
|
+
events: "events";
|
|
1606
|
+
groups: "groups";
|
|
1607
|
+
}>;
|
|
1608
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1609
|
+
apiLink: z.ZodOptional<z.ZodString>;
|
|
1610
|
+
}, z.core.$strip>>>;
|
|
1611
|
+
events: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1612
|
+
id: z.ZodString;
|
|
1613
|
+
type: z.ZodEnum<{
|
|
1614
|
+
people: "people";
|
|
1615
|
+
places: "places";
|
|
1616
|
+
events: "events";
|
|
1617
|
+
groups: "groups";
|
|
1618
|
+
}>;
|
|
1619
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1620
|
+
apiLink: z.ZodOptional<z.ZodString>;
|
|
1621
|
+
}, z.core.$strip>>>;
|
|
1622
|
+
references: z.ZodArray<z.ZodObject<{
|
|
1623
|
+
book: z.ZodEnum<{
|
|
1624
|
+
GEN: "GEN";
|
|
1625
|
+
EXO: "EXO";
|
|
1626
|
+
LEV: "LEV";
|
|
1627
|
+
NUM: "NUM";
|
|
1628
|
+
DEU: "DEU";
|
|
1629
|
+
JOS: "JOS";
|
|
1630
|
+
JDG: "JDG";
|
|
1631
|
+
RUT: "RUT";
|
|
1632
|
+
"1SA": "1SA";
|
|
1633
|
+
"2SA": "2SA";
|
|
1634
|
+
"1KI": "1KI";
|
|
1635
|
+
"2KI": "2KI";
|
|
1636
|
+
"1CH": "1CH";
|
|
1637
|
+
"2CH": "2CH";
|
|
1638
|
+
EZR: "EZR";
|
|
1639
|
+
NEH: "NEH";
|
|
1640
|
+
EST: "EST";
|
|
1641
|
+
JOB: "JOB";
|
|
1642
|
+
PSA: "PSA";
|
|
1643
|
+
PRO: "PRO";
|
|
1644
|
+
ECC: "ECC";
|
|
1645
|
+
SNG: "SNG";
|
|
1646
|
+
ISA: "ISA";
|
|
1647
|
+
JER: "JER";
|
|
1648
|
+
LAM: "LAM";
|
|
1649
|
+
EZK: "EZK";
|
|
1650
|
+
DAN: "DAN";
|
|
1651
|
+
HOS: "HOS";
|
|
1652
|
+
JOL: "JOL";
|
|
1653
|
+
AMO: "AMO";
|
|
1654
|
+
OBA: "OBA";
|
|
1655
|
+
JON: "JON";
|
|
1656
|
+
MIC: "MIC";
|
|
1657
|
+
NAM: "NAM";
|
|
1658
|
+
HAB: "HAB";
|
|
1659
|
+
ZEP: "ZEP";
|
|
1660
|
+
HAG: "HAG";
|
|
1661
|
+
ZEC: "ZEC";
|
|
1662
|
+
MAL: "MAL";
|
|
1663
|
+
MAT: "MAT";
|
|
1664
|
+
MRK: "MRK";
|
|
1665
|
+
LUK: "LUK";
|
|
1666
|
+
JHN: "JHN";
|
|
1667
|
+
ACT: "ACT";
|
|
1668
|
+
ROM: "ROM";
|
|
1669
|
+
"1CO": "1CO";
|
|
1670
|
+
"2CO": "2CO";
|
|
1671
|
+
GAL: "GAL";
|
|
1672
|
+
EPH: "EPH";
|
|
1673
|
+
PHP: "PHP";
|
|
1674
|
+
COL: "COL";
|
|
1675
|
+
"1TH": "1TH";
|
|
1676
|
+
"2TH": "2TH";
|
|
1677
|
+
"1TI": "1TI";
|
|
1678
|
+
"2TI": "2TI";
|
|
1679
|
+
TIT: "TIT";
|
|
1680
|
+
PHM: "PHM";
|
|
1681
|
+
HEB: "HEB";
|
|
1682
|
+
JAS: "JAS";
|
|
1683
|
+
"1PE": "1PE";
|
|
1684
|
+
"2PE": "2PE";
|
|
1685
|
+
"1JN": "1JN";
|
|
1686
|
+
"2JN": "2JN";
|
|
1687
|
+
"3JN": "3JN";
|
|
1688
|
+
JUD: "JUD";
|
|
1689
|
+
REV: "REV";
|
|
1690
|
+
TOB: "TOB";
|
|
1691
|
+
JDT: "JDT";
|
|
1692
|
+
ESG: "ESG";
|
|
1693
|
+
WIS: "WIS";
|
|
1694
|
+
SIR: "SIR";
|
|
1695
|
+
BAR: "BAR";
|
|
1696
|
+
LJE: "LJE";
|
|
1697
|
+
S3Y: "S3Y";
|
|
1698
|
+
SUS: "SUS";
|
|
1699
|
+
BEL: "BEL";
|
|
1700
|
+
"1MA": "1MA";
|
|
1701
|
+
"2MA": "2MA";
|
|
1702
|
+
"3MA": "3MA";
|
|
1703
|
+
"4MA": "4MA";
|
|
1704
|
+
"1ES": "1ES";
|
|
1705
|
+
"2ES": "2ES";
|
|
1706
|
+
MAN: "MAN";
|
|
1707
|
+
PS2: "PS2";
|
|
1708
|
+
ODA: "ODA";
|
|
1709
|
+
PSS: "PSS";
|
|
1710
|
+
EZA: "EZA";
|
|
1711
|
+
"5EZ": "5EZ";
|
|
1712
|
+
"6EZ": "6EZ";
|
|
1713
|
+
DAG: "DAG";
|
|
1714
|
+
PS3: "PS3";
|
|
1715
|
+
"2BA": "2BA";
|
|
1716
|
+
LBA: "LBA";
|
|
1717
|
+
JUB: "JUB";
|
|
1718
|
+
ENO: "ENO";
|
|
1719
|
+
"1MQ": "1MQ";
|
|
1720
|
+
"2MQ": "2MQ";
|
|
1721
|
+
"3MQ": "3MQ";
|
|
1722
|
+
REP: "REP";
|
|
1723
|
+
"4BA": "4BA";
|
|
1724
|
+
LAO: "LAO";
|
|
1725
|
+
}>;
|
|
1726
|
+
chapter: z.ZodNumber;
|
|
1727
|
+
verse: z.ZodNumber;
|
|
1728
|
+
content: z.ZodOptional<z.ZodString>;
|
|
1729
|
+
endChapter: z.ZodOptional<z.ZodNumber>;
|
|
1730
|
+
endVerse: z.ZodOptional<z.ZodNumber>;
|
|
1731
|
+
}, z.core.$strip>>;
|
|
1732
|
+
}, z.core.$strip>;
|
|
1733
|
+
export type DatasetPeopleGroup = z.infer<typeof DatasetPeopleGroupSchema>;
|
|
952
1734
|
/**
|
|
953
1735
|
* Defines a Zod schema for information about a profile in a commentary.
|
|
954
1736
|
*/
|