epub-codec 1.3.5 → 1.3.7
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/{codec-DIDwGivS.d.cts → codec-C-4UJ78w.d.cts} +452 -14
- package/dist/{codec-DLyNH4rX.d.ts → codec-DpvZLWRM.d.ts} +452 -14
- package/dist/codec.d.cts +1 -1
- package/dist/codec.d.ts +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/model/package.d.cts +1 -1
- package/dist/model/package.d.ts +1 -1
- package/dist/package-io/read.d.cts +1 -1
- package/dist/package-io/read.d.ts +1 -1
- package/dist/package-io/write.d.cts +1 -1
- package/dist/package-io/write.d.ts +1 -1
- package/package.json +2 -2
|
@@ -147,8 +147,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
147
147
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
148
148
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
149
149
|
left: "left";
|
|
150
|
-
right: "right";
|
|
151
150
|
center: "center";
|
|
151
|
+
right: "right";
|
|
152
152
|
justify: "justify";
|
|
153
153
|
}>>;
|
|
154
154
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -296,8 +296,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
296
296
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
297
297
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
298
298
|
left: "left";
|
|
299
|
-
right: "right";
|
|
300
299
|
center: "center";
|
|
300
|
+
right: "right";
|
|
301
301
|
justify: "justify";
|
|
302
302
|
}>>;
|
|
303
303
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -436,6 +436,11 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
436
436
|
}, z.core.$strip>;
|
|
437
437
|
kind: z.ZodLiteral<"presentation">;
|
|
438
438
|
}, z.core.$strip>, z.ZodObject<{
|
|
439
|
+
names: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
440
|
+
name: z.ZodString;
|
|
441
|
+
refersTo: z.ZodString;
|
|
442
|
+
scopeSheetIndex: z.ZodOptional<z.ZodNumber>;
|
|
443
|
+
}, z.core.$strip>>>;
|
|
439
444
|
children: z.ZodArray<z.ZodCustom<import("document-schema.js").SheetGroupNode, import("document-schema.js").SheetGroupNode>>;
|
|
440
445
|
pages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
441
446
|
widthPt: z.ZodNumber;
|
|
@@ -445,8 +450,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
445
450
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
446
451
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
447
452
|
left: "left";
|
|
448
|
-
right: "right";
|
|
449
453
|
center: "center";
|
|
454
|
+
right: "right";
|
|
450
455
|
justify: "justify";
|
|
451
456
|
}>>;
|
|
452
457
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -594,8 +599,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
594
599
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
595
600
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
596
601
|
left: "left";
|
|
597
|
-
right: "right";
|
|
598
602
|
center: "center";
|
|
603
|
+
right: "right";
|
|
599
604
|
justify: "justify";
|
|
600
605
|
}>>;
|
|
601
606
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -735,6 +740,33 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
735
740
|
kind: z.ZodLiteral<"drawing">;
|
|
736
741
|
}, z.core.$strip>, z.ZodObject<{
|
|
737
742
|
children: z.ZodArray<z.ZodObject<{
|
|
743
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
744
|
+
chart: "chart";
|
|
745
|
+
diagram: "diagram";
|
|
746
|
+
table: "table";
|
|
747
|
+
image: "image";
|
|
748
|
+
notes: "notes";
|
|
749
|
+
body: "body";
|
|
750
|
+
}>>;
|
|
751
|
+
interpretation: z.ZodOptional<z.ZodObject<{
|
|
752
|
+
transcript: z.ZodOptional<z.ZodObject<{
|
|
753
|
+
text: z.ZodString;
|
|
754
|
+
confidence: z.ZodEnum<{
|
|
755
|
+
high: "high";
|
|
756
|
+
medium: "medium";
|
|
757
|
+
low: "low";
|
|
758
|
+
}>;
|
|
759
|
+
mechanism: z.ZodEnum<{
|
|
760
|
+
deterministic: "deterministic";
|
|
761
|
+
model: "model";
|
|
762
|
+
}>;
|
|
763
|
+
}, z.core.$strip>>;
|
|
764
|
+
description: z.ZodOptional<z.ZodString>;
|
|
765
|
+
by: z.ZodOptional<z.ZodObject<{
|
|
766
|
+
model: z.ZodString;
|
|
767
|
+
at: z.ZodString;
|
|
768
|
+
}, z.core.$strip>>;
|
|
769
|
+
}, z.core.$strip>>;
|
|
738
770
|
mathml: z.ZodArray<z.ZodType<import("document-schema.js").MathMlNode, import("document-schema.js").MathMlNode, z.core.$ZodTypeInternals<import("document-schema.js").MathMlNode, import("document-schema.js").MathMlNode>>>;
|
|
739
771
|
starMath: z.ZodOptional<z.ZodString>;
|
|
740
772
|
presentation: z.ZodOptional<z.ZodObject<{
|
|
@@ -775,8 +807,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
775
807
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
776
808
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
777
809
|
left: "left";
|
|
778
|
-
right: "right";
|
|
779
810
|
center: "center";
|
|
811
|
+
right: "right";
|
|
780
812
|
justify: "justify";
|
|
781
813
|
}>>;
|
|
782
814
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -917,6 +949,33 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
917
949
|
}, z.core.$strip>], "kind">>;
|
|
918
950
|
declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
919
951
|
sections: z.ZodArray<z.ZodObject<{
|
|
952
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
953
|
+
chart: "chart";
|
|
954
|
+
diagram: "diagram";
|
|
955
|
+
table: "table";
|
|
956
|
+
image: "image";
|
|
957
|
+
notes: "notes";
|
|
958
|
+
body: "body";
|
|
959
|
+
}>>;
|
|
960
|
+
interpretation: z.ZodOptional<z.ZodObject<{
|
|
961
|
+
transcript: z.ZodOptional<z.ZodObject<{
|
|
962
|
+
text: z.ZodString;
|
|
963
|
+
confidence: z.ZodEnum<{
|
|
964
|
+
high: "high";
|
|
965
|
+
medium: "medium";
|
|
966
|
+
low: "low";
|
|
967
|
+
}>;
|
|
968
|
+
mechanism: z.ZodEnum<{
|
|
969
|
+
deterministic: "deterministic";
|
|
970
|
+
model: "model";
|
|
971
|
+
}>;
|
|
972
|
+
}, z.core.$strip>>;
|
|
973
|
+
description: z.ZodOptional<z.ZodString>;
|
|
974
|
+
by: z.ZodOptional<z.ZodObject<{
|
|
975
|
+
model: z.ZodString;
|
|
976
|
+
at: z.ZodString;
|
|
977
|
+
}, z.core.$strip>>;
|
|
978
|
+
}, z.core.$strip>>;
|
|
920
979
|
pageSize: z.ZodObject<{
|
|
921
980
|
widthPt: z.ZodNumber;
|
|
922
981
|
heightPt: z.ZodNumber;
|
|
@@ -1034,11 +1093,66 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1034
1093
|
}, z.core.$strip>;
|
|
1035
1094
|
}, z.core.$strip>, z.ZodObject<{
|
|
1036
1095
|
slides: z.ZodArray<z.ZodObject<{
|
|
1096
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
1097
|
+
chart: "chart";
|
|
1098
|
+
diagram: "diagram";
|
|
1099
|
+
table: "table";
|
|
1100
|
+
image: "image";
|
|
1101
|
+
notes: "notes";
|
|
1102
|
+
body: "body";
|
|
1103
|
+
}>>;
|
|
1104
|
+
interpretation: z.ZodOptional<z.ZodObject<{
|
|
1105
|
+
transcript: z.ZodOptional<z.ZodObject<{
|
|
1106
|
+
text: z.ZodString;
|
|
1107
|
+
confidence: z.ZodEnum<{
|
|
1108
|
+
high: "high";
|
|
1109
|
+
medium: "medium";
|
|
1110
|
+
low: "low";
|
|
1111
|
+
}>;
|
|
1112
|
+
mechanism: z.ZodEnum<{
|
|
1113
|
+
deterministic: "deterministic";
|
|
1114
|
+
model: "model";
|
|
1115
|
+
}>;
|
|
1116
|
+
}, z.core.$strip>>;
|
|
1117
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1118
|
+
by: z.ZodOptional<z.ZodObject<{
|
|
1119
|
+
model: z.ZodString;
|
|
1120
|
+
at: z.ZodString;
|
|
1121
|
+
}, z.core.$strip>>;
|
|
1122
|
+
}, z.core.$strip>>;
|
|
1037
1123
|
size: z.ZodObject<{
|
|
1038
1124
|
widthPt: z.ZodNumber;
|
|
1039
1125
|
heightPt: z.ZodNumber;
|
|
1040
1126
|
}, z.core.$strip>;
|
|
1041
1127
|
shapes: z.ZodArray<z.ZodObject<{
|
|
1128
|
+
blocks: z.ZodLazy<z.ZodArray<z.ZodType<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock, z.core.$ZodTypeInternals<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>>>;
|
|
1129
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
1130
|
+
chart: "chart";
|
|
1131
|
+
diagram: "diagram";
|
|
1132
|
+
table: "table";
|
|
1133
|
+
image: "image";
|
|
1134
|
+
notes: "notes";
|
|
1135
|
+
body: "body";
|
|
1136
|
+
}>>;
|
|
1137
|
+
interpretation: z.ZodOptional<z.ZodObject<{
|
|
1138
|
+
transcript: z.ZodOptional<z.ZodObject<{
|
|
1139
|
+
text: z.ZodString;
|
|
1140
|
+
confidence: z.ZodEnum<{
|
|
1141
|
+
high: "high";
|
|
1142
|
+
medium: "medium";
|
|
1143
|
+
low: "low";
|
|
1144
|
+
}>;
|
|
1145
|
+
mechanism: z.ZodEnum<{
|
|
1146
|
+
deterministic: "deterministic";
|
|
1147
|
+
model: "model";
|
|
1148
|
+
}>;
|
|
1149
|
+
}, z.core.$strip>>;
|
|
1150
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1151
|
+
by: z.ZodOptional<z.ZodObject<{
|
|
1152
|
+
model: z.ZodString;
|
|
1153
|
+
at: z.ZodString;
|
|
1154
|
+
}, z.core.$strip>>;
|
|
1155
|
+
}, z.core.$strip>>;
|
|
1042
1156
|
name: z.ZodOptional<z.ZodString>;
|
|
1043
1157
|
frame: z.ZodObject<{
|
|
1044
1158
|
xPt: z.ZodNumber;
|
|
@@ -1082,7 +1196,6 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1082
1196
|
widthPt: z.ZodNumber;
|
|
1083
1197
|
heightPt: z.ZodNumber;
|
|
1084
1198
|
}, z.core.$strip>>>;
|
|
1085
|
-
blocks: z.ZodLazy<z.ZodArray<z.ZodType<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock, z.core.$ZodTypeInternals<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>>>;
|
|
1086
1199
|
}, z.core.$strip>>;
|
|
1087
1200
|
notes: z.ZodString;
|
|
1088
1201
|
source: z.ZodOptional<z.ZodObject<{
|
|
@@ -1175,8 +1288,62 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1175
1288
|
}, z.core.$strip>;
|
|
1176
1289
|
}, z.core.$strip>, z.ZodObject<{
|
|
1177
1290
|
sheets: z.ZodArray<z.ZodObject<{
|
|
1291
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
1292
|
+
chart: "chart";
|
|
1293
|
+
diagram: "diagram";
|
|
1294
|
+
table: "table";
|
|
1295
|
+
image: "image";
|
|
1296
|
+
notes: "notes";
|
|
1297
|
+
body: "body";
|
|
1298
|
+
}>>;
|
|
1299
|
+
interpretation: z.ZodOptional<z.ZodObject<{
|
|
1300
|
+
transcript: z.ZodOptional<z.ZodObject<{
|
|
1301
|
+
text: z.ZodString;
|
|
1302
|
+
confidence: z.ZodEnum<{
|
|
1303
|
+
high: "high";
|
|
1304
|
+
medium: "medium";
|
|
1305
|
+
low: "low";
|
|
1306
|
+
}>;
|
|
1307
|
+
mechanism: z.ZodEnum<{
|
|
1308
|
+
deterministic: "deterministic";
|
|
1309
|
+
model: "model";
|
|
1310
|
+
}>;
|
|
1311
|
+
}, z.core.$strip>>;
|
|
1312
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1313
|
+
by: z.ZodOptional<z.ZodObject<{
|
|
1314
|
+
model: z.ZodString;
|
|
1315
|
+
at: z.ZodString;
|
|
1316
|
+
}, z.core.$strip>>;
|
|
1317
|
+
}, z.core.$strip>>;
|
|
1178
1318
|
name: z.ZodString;
|
|
1179
1319
|
cells: z.ZodArray<z.ZodObject<{
|
|
1320
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
1321
|
+
chart: "chart";
|
|
1322
|
+
diagram: "diagram";
|
|
1323
|
+
table: "table";
|
|
1324
|
+
image: "image";
|
|
1325
|
+
notes: "notes";
|
|
1326
|
+
body: "body";
|
|
1327
|
+
}>>;
|
|
1328
|
+
interpretation: z.ZodOptional<z.ZodObject<{
|
|
1329
|
+
transcript: z.ZodOptional<z.ZodObject<{
|
|
1330
|
+
text: z.ZodString;
|
|
1331
|
+
confidence: z.ZodEnum<{
|
|
1332
|
+
high: "high";
|
|
1333
|
+
medium: "medium";
|
|
1334
|
+
low: "low";
|
|
1335
|
+
}>;
|
|
1336
|
+
mechanism: z.ZodEnum<{
|
|
1337
|
+
deterministic: "deterministic";
|
|
1338
|
+
model: "model";
|
|
1339
|
+
}>;
|
|
1340
|
+
}, z.core.$strip>>;
|
|
1341
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1342
|
+
by: z.ZodOptional<z.ZodObject<{
|
|
1343
|
+
model: z.ZodString;
|
|
1344
|
+
at: z.ZodString;
|
|
1345
|
+
}, z.core.$strip>>;
|
|
1346
|
+
}, z.core.$strip>>;
|
|
1180
1347
|
row: z.ZodNumber;
|
|
1181
1348
|
column: z.ZodNumber;
|
|
1182
1349
|
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -1216,8 +1383,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1216
1383
|
formula: z.ZodOptional<z.ZodString>;
|
|
1217
1384
|
displayText: z.ZodString;
|
|
1218
1385
|
numberFormatCode: z.ZodOptional<z.ZodString>;
|
|
1219
|
-
|
|
1220
|
-
text: z.ZodString;
|
|
1386
|
+
font: z.ZodOptional<z.ZodObject<{
|
|
1221
1387
|
bold: z.ZodOptional<z.ZodBoolean>;
|
|
1222
1388
|
italic: z.ZodOptional<z.ZodBoolean>;
|
|
1223
1389
|
underline: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1229,6 +1395,35 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1229
1395
|
g: z.ZodNumber;
|
|
1230
1396
|
b: z.ZodNumber;
|
|
1231
1397
|
}, z.core.$strip>>;
|
|
1398
|
+
}, z.core.$strip>>;
|
|
1399
|
+
runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1400
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
1401
|
+
chart: "chart";
|
|
1402
|
+
diagram: "diagram";
|
|
1403
|
+
table: "table";
|
|
1404
|
+
image: "image";
|
|
1405
|
+
notes: "notes";
|
|
1406
|
+
body: "body";
|
|
1407
|
+
}>>;
|
|
1408
|
+
interpretation: z.ZodOptional<z.ZodObject<{
|
|
1409
|
+
transcript: z.ZodOptional<z.ZodObject<{
|
|
1410
|
+
text: z.ZodString;
|
|
1411
|
+
confidence: z.ZodEnum<{
|
|
1412
|
+
high: "high";
|
|
1413
|
+
medium: "medium";
|
|
1414
|
+
low: "low";
|
|
1415
|
+
}>;
|
|
1416
|
+
mechanism: z.ZodEnum<{
|
|
1417
|
+
deterministic: "deterministic";
|
|
1418
|
+
model: "model";
|
|
1419
|
+
}>;
|
|
1420
|
+
}, z.core.$strip>>;
|
|
1421
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1422
|
+
by: z.ZodOptional<z.ZodObject<{
|
|
1423
|
+
model: z.ZodString;
|
|
1424
|
+
at: z.ZodString;
|
|
1425
|
+
}, z.core.$strip>>;
|
|
1426
|
+
}, z.core.$strip>>;
|
|
1232
1427
|
hyperlink: z.ZodOptional<z.ZodString>;
|
|
1233
1428
|
verticalAlign: z.ZodOptional<z.ZodEnum<{
|
|
1234
1429
|
superscript: "superscript";
|
|
@@ -1266,6 +1461,18 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1266
1461
|
widthPt: z.ZodNumber;
|
|
1267
1462
|
heightPt: z.ZodNumber;
|
|
1268
1463
|
}, z.core.$strip>>>;
|
|
1464
|
+
bold: z.ZodOptional<z.ZodBoolean>;
|
|
1465
|
+
italic: z.ZodOptional<z.ZodBoolean>;
|
|
1466
|
+
underline: z.ZodOptional<z.ZodBoolean>;
|
|
1467
|
+
strike: z.ZodOptional<z.ZodBoolean>;
|
|
1468
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
1469
|
+
sizePt: z.ZodOptional<z.ZodNumber>;
|
|
1470
|
+
color: z.ZodOptional<z.ZodObject<{
|
|
1471
|
+
r: z.ZodNumber;
|
|
1472
|
+
g: z.ZodNumber;
|
|
1473
|
+
b: z.ZodNumber;
|
|
1474
|
+
}, z.core.$strip>>;
|
|
1475
|
+
text: z.ZodString;
|
|
1269
1476
|
}, z.core.$strip>>>;
|
|
1270
1477
|
colSpan: z.ZodOptional<z.ZodNumber>;
|
|
1271
1478
|
rowSpan: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1431,8 +1638,8 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1431
1638
|
}, z.core.$strip>>;
|
|
1432
1639
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
1433
1640
|
left: "left";
|
|
1434
|
-
right: "right";
|
|
1435
1641
|
center: "center";
|
|
1642
|
+
right: "right";
|
|
1436
1643
|
justify: "justify";
|
|
1437
1644
|
}>>;
|
|
1438
1645
|
verticalAlignment: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1489,6 +1696,33 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1489
1696
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1490
1697
|
}, z.core.$strip>>;
|
|
1491
1698
|
images: z.ZodArray<z.ZodObject<{
|
|
1699
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
1700
|
+
chart: "chart";
|
|
1701
|
+
diagram: "diagram";
|
|
1702
|
+
table: "table";
|
|
1703
|
+
image: "image";
|
|
1704
|
+
notes: "notes";
|
|
1705
|
+
body: "body";
|
|
1706
|
+
}>>;
|
|
1707
|
+
interpretation: z.ZodOptional<z.ZodObject<{
|
|
1708
|
+
transcript: z.ZodOptional<z.ZodObject<{
|
|
1709
|
+
text: z.ZodString;
|
|
1710
|
+
confidence: z.ZodEnum<{
|
|
1711
|
+
high: "high";
|
|
1712
|
+
medium: "medium";
|
|
1713
|
+
low: "low";
|
|
1714
|
+
}>;
|
|
1715
|
+
mechanism: z.ZodEnum<{
|
|
1716
|
+
deterministic: "deterministic";
|
|
1717
|
+
model: "model";
|
|
1718
|
+
}>;
|
|
1719
|
+
}, z.core.$strip>>;
|
|
1720
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1721
|
+
by: z.ZodOptional<z.ZodObject<{
|
|
1722
|
+
model: z.ZodString;
|
|
1723
|
+
at: z.ZodString;
|
|
1724
|
+
}, z.core.$strip>>;
|
|
1725
|
+
}, z.core.$strip>>;
|
|
1492
1726
|
kind: z.ZodLiteral<"image">;
|
|
1493
1727
|
format: z.ZodEnum<{
|
|
1494
1728
|
png: "png";
|
|
@@ -1500,6 +1734,16 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1500
1734
|
widthPt: z.ZodNumber;
|
|
1501
1735
|
heightPt: z.ZodNumber;
|
|
1502
1736
|
altText: z.ZodOptional<z.ZodString>;
|
|
1737
|
+
original: z.ZodOptional<z.ZodObject<{
|
|
1738
|
+
filter: z.ZodEnum<{
|
|
1739
|
+
jbig2: "jbig2";
|
|
1740
|
+
jpeg2000: "jpeg2000";
|
|
1741
|
+
}>;
|
|
1742
|
+
base64: z.ZodString;
|
|
1743
|
+
jbig2GlobalsBase64: z.ZodOptional<z.ZodString>;
|
|
1744
|
+
}, z.core.$strip>>;
|
|
1745
|
+
anchorRunIndex: z.ZodOptional<z.ZodNumber>;
|
|
1746
|
+
anchorOffset: z.ZodOptional<z.ZodNumber>;
|
|
1503
1747
|
floatPosition: z.ZodOptional<z.ZodObject<{
|
|
1504
1748
|
horizontal: z.ZodUnion<readonly [z.ZodObject<{
|
|
1505
1749
|
relativeTo: z.ZodEnum<{
|
|
@@ -1536,10 +1780,10 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1536
1780
|
}>;
|
|
1537
1781
|
align: z.ZodEnum<{
|
|
1538
1782
|
left: "left";
|
|
1783
|
+
center: "center";
|
|
1539
1784
|
right: "right";
|
|
1540
1785
|
top: "top";
|
|
1541
1786
|
bottom: "bottom";
|
|
1542
|
-
center: "center";
|
|
1543
1787
|
inside: "inside";
|
|
1544
1788
|
outside: "outside";
|
|
1545
1789
|
}>;
|
|
@@ -1579,10 +1823,10 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1579
1823
|
}>;
|
|
1580
1824
|
align: z.ZodEnum<{
|
|
1581
1825
|
left: "left";
|
|
1826
|
+
center: "center";
|
|
1582
1827
|
right: "right";
|
|
1583
1828
|
top: "top";
|
|
1584
1829
|
bottom: "bottom";
|
|
1585
|
-
center: "center";
|
|
1586
1830
|
inside: "inside";
|
|
1587
1831
|
outside: "outside";
|
|
1588
1832
|
}>;
|
|
@@ -1671,10 +1915,10 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1671
1915
|
endColumn: z.ZodNumber;
|
|
1672
1916
|
}, z.core.$strip>>;
|
|
1673
1917
|
type: z.ZodEnum<{
|
|
1674
|
-
date: "date";
|
|
1675
|
-
custom: "custom";
|
|
1676
1918
|
decimal: "decimal";
|
|
1677
1919
|
list: "list";
|
|
1920
|
+
date: "date";
|
|
1921
|
+
custom: "custom";
|
|
1678
1922
|
time: "time";
|
|
1679
1923
|
whole: "whole";
|
|
1680
1924
|
textLength: "textLength";
|
|
@@ -2314,6 +2558,11 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2314
2558
|
xml: z.ZodString;
|
|
2315
2559
|
}, z.core.$strict>>;
|
|
2316
2560
|
}, z.core.$strip>>;
|
|
2561
|
+
names: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2562
|
+
name: z.ZodString;
|
|
2563
|
+
refersTo: z.ZodString;
|
|
2564
|
+
scopeSheetIndex: z.ZodOptional<z.ZodNumber>;
|
|
2565
|
+
}, z.core.$strip>>>;
|
|
2317
2566
|
symbolTable: z.ZodOptional<z.ZodObject<{
|
|
2318
2567
|
symbols: z.ZodArray<z.ZodObject<{
|
|
2319
2568
|
glyph: z.ZodString;
|
|
@@ -2383,11 +2632,66 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2383
2632
|
}, z.core.$strip>;
|
|
2384
2633
|
}, z.core.$strip>, z.ZodObject<{
|
|
2385
2634
|
pages: z.ZodArray<z.ZodObject<{
|
|
2635
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
2636
|
+
chart: "chart";
|
|
2637
|
+
diagram: "diagram";
|
|
2638
|
+
table: "table";
|
|
2639
|
+
image: "image";
|
|
2640
|
+
notes: "notes";
|
|
2641
|
+
body: "body";
|
|
2642
|
+
}>>;
|
|
2643
|
+
interpretation: z.ZodOptional<z.ZodObject<{
|
|
2644
|
+
transcript: z.ZodOptional<z.ZodObject<{
|
|
2645
|
+
text: z.ZodString;
|
|
2646
|
+
confidence: z.ZodEnum<{
|
|
2647
|
+
high: "high";
|
|
2648
|
+
medium: "medium";
|
|
2649
|
+
low: "low";
|
|
2650
|
+
}>;
|
|
2651
|
+
mechanism: z.ZodEnum<{
|
|
2652
|
+
deterministic: "deterministic";
|
|
2653
|
+
model: "model";
|
|
2654
|
+
}>;
|
|
2655
|
+
}, z.core.$strip>>;
|
|
2656
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2657
|
+
by: z.ZodOptional<z.ZodObject<{
|
|
2658
|
+
model: z.ZodString;
|
|
2659
|
+
at: z.ZodString;
|
|
2660
|
+
}, z.core.$strip>>;
|
|
2661
|
+
}, z.core.$strip>>;
|
|
2386
2662
|
size: z.ZodObject<{
|
|
2387
2663
|
widthPt: z.ZodNumber;
|
|
2388
2664
|
heightPt: z.ZodNumber;
|
|
2389
2665
|
}, z.core.$strip>;
|
|
2390
2666
|
shapes: z.ZodArray<z.ZodObject<{
|
|
2667
|
+
blocks: z.ZodLazy<z.ZodArray<z.ZodType<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock, z.core.$ZodTypeInternals<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>>>;
|
|
2668
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
2669
|
+
chart: "chart";
|
|
2670
|
+
diagram: "diagram";
|
|
2671
|
+
table: "table";
|
|
2672
|
+
image: "image";
|
|
2673
|
+
notes: "notes";
|
|
2674
|
+
body: "body";
|
|
2675
|
+
}>>;
|
|
2676
|
+
interpretation: z.ZodOptional<z.ZodObject<{
|
|
2677
|
+
transcript: z.ZodOptional<z.ZodObject<{
|
|
2678
|
+
text: z.ZodString;
|
|
2679
|
+
confidence: z.ZodEnum<{
|
|
2680
|
+
high: "high";
|
|
2681
|
+
medium: "medium";
|
|
2682
|
+
low: "low";
|
|
2683
|
+
}>;
|
|
2684
|
+
mechanism: z.ZodEnum<{
|
|
2685
|
+
deterministic: "deterministic";
|
|
2686
|
+
model: "model";
|
|
2687
|
+
}>;
|
|
2688
|
+
}, z.core.$strip>>;
|
|
2689
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2690
|
+
by: z.ZodOptional<z.ZodObject<{
|
|
2691
|
+
model: z.ZodString;
|
|
2692
|
+
at: z.ZodString;
|
|
2693
|
+
}, z.core.$strip>>;
|
|
2694
|
+
}, z.core.$strip>>;
|
|
2391
2695
|
name: z.ZodOptional<z.ZodString>;
|
|
2392
2696
|
frame: z.ZodObject<{
|
|
2393
2697
|
xPt: z.ZodNumber;
|
|
@@ -2431,9 +2735,35 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2431
2735
|
widthPt: z.ZodNumber;
|
|
2432
2736
|
heightPt: z.ZodNumber;
|
|
2433
2737
|
}, z.core.$strip>>>;
|
|
2434
|
-
blocks: z.ZodLazy<z.ZodArray<z.ZodType<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock, z.core.$ZodTypeInternals<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>>>;
|
|
2435
2738
|
}, z.core.$strip>>;
|
|
2436
2739
|
vectors: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2740
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
2741
|
+
chart: "chart";
|
|
2742
|
+
diagram: "diagram";
|
|
2743
|
+
table: "table";
|
|
2744
|
+
image: "image";
|
|
2745
|
+
notes: "notes";
|
|
2746
|
+
body: "body";
|
|
2747
|
+
}>>;
|
|
2748
|
+
interpretation: z.ZodOptional<z.ZodObject<{
|
|
2749
|
+
transcript: z.ZodOptional<z.ZodObject<{
|
|
2750
|
+
text: z.ZodString;
|
|
2751
|
+
confidence: z.ZodEnum<{
|
|
2752
|
+
high: "high";
|
|
2753
|
+
medium: "medium";
|
|
2754
|
+
low: "low";
|
|
2755
|
+
}>;
|
|
2756
|
+
mechanism: z.ZodEnum<{
|
|
2757
|
+
deterministic: "deterministic";
|
|
2758
|
+
model: "model";
|
|
2759
|
+
}>;
|
|
2760
|
+
}, z.core.$strip>>;
|
|
2761
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2762
|
+
by: z.ZodOptional<z.ZodObject<{
|
|
2763
|
+
model: z.ZodString;
|
|
2764
|
+
at: z.ZodString;
|
|
2765
|
+
}, z.core.$strip>>;
|
|
2766
|
+
}, z.core.$strip>>;
|
|
2437
2767
|
kind: z.ZodLiteral<"rect">;
|
|
2438
2768
|
frame: z.ZodObject<{
|
|
2439
2769
|
xPt: z.ZodNumber;
|
|
@@ -2545,6 +2875,33 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2545
2875
|
heightPt: z.ZodNumber;
|
|
2546
2876
|
}, z.core.$strip>>>;
|
|
2547
2877
|
}, z.core.$strip>, z.ZodObject<{
|
|
2878
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
2879
|
+
chart: "chart";
|
|
2880
|
+
diagram: "diagram";
|
|
2881
|
+
table: "table";
|
|
2882
|
+
image: "image";
|
|
2883
|
+
notes: "notes";
|
|
2884
|
+
body: "body";
|
|
2885
|
+
}>>;
|
|
2886
|
+
interpretation: z.ZodOptional<z.ZodObject<{
|
|
2887
|
+
transcript: z.ZodOptional<z.ZodObject<{
|
|
2888
|
+
text: z.ZodString;
|
|
2889
|
+
confidence: z.ZodEnum<{
|
|
2890
|
+
high: "high";
|
|
2891
|
+
medium: "medium";
|
|
2892
|
+
low: "low";
|
|
2893
|
+
}>;
|
|
2894
|
+
mechanism: z.ZodEnum<{
|
|
2895
|
+
deterministic: "deterministic";
|
|
2896
|
+
model: "model";
|
|
2897
|
+
}>;
|
|
2898
|
+
}, z.core.$strip>>;
|
|
2899
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2900
|
+
by: z.ZodOptional<z.ZodObject<{
|
|
2901
|
+
model: z.ZodString;
|
|
2902
|
+
at: z.ZodString;
|
|
2903
|
+
}, z.core.$strip>>;
|
|
2904
|
+
}, z.core.$strip>>;
|
|
2548
2905
|
kind: z.ZodLiteral<"ellipse">;
|
|
2549
2906
|
frame: z.ZodObject<{
|
|
2550
2907
|
xPt: z.ZodNumber;
|
|
@@ -2656,6 +3013,33 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2656
3013
|
heightPt: z.ZodNumber;
|
|
2657
3014
|
}, z.core.$strip>>>;
|
|
2658
3015
|
}, z.core.$strip>, z.ZodObject<{
|
|
3016
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
3017
|
+
chart: "chart";
|
|
3018
|
+
diagram: "diagram";
|
|
3019
|
+
table: "table";
|
|
3020
|
+
image: "image";
|
|
3021
|
+
notes: "notes";
|
|
3022
|
+
body: "body";
|
|
3023
|
+
}>>;
|
|
3024
|
+
interpretation: z.ZodOptional<z.ZodObject<{
|
|
3025
|
+
transcript: z.ZodOptional<z.ZodObject<{
|
|
3026
|
+
text: z.ZodString;
|
|
3027
|
+
confidence: z.ZodEnum<{
|
|
3028
|
+
high: "high";
|
|
3029
|
+
medium: "medium";
|
|
3030
|
+
low: "low";
|
|
3031
|
+
}>;
|
|
3032
|
+
mechanism: z.ZodEnum<{
|
|
3033
|
+
deterministic: "deterministic";
|
|
3034
|
+
model: "model";
|
|
3035
|
+
}>;
|
|
3036
|
+
}, z.core.$strip>>;
|
|
3037
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3038
|
+
by: z.ZodOptional<z.ZodObject<{
|
|
3039
|
+
model: z.ZodString;
|
|
3040
|
+
at: z.ZodString;
|
|
3041
|
+
}, z.core.$strip>>;
|
|
3042
|
+
}, z.core.$strip>>;
|
|
2659
3043
|
kind: z.ZodLiteral<"line">;
|
|
2660
3044
|
from: z.ZodObject<{
|
|
2661
3045
|
xPt: z.ZodNumber;
|
|
@@ -2717,6 +3101,33 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2717
3101
|
heightPt: z.ZodNumber;
|
|
2718
3102
|
}, z.core.$strip>>>;
|
|
2719
3103
|
}, z.core.$strip>, z.ZodObject<{
|
|
3104
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
3105
|
+
chart: "chart";
|
|
3106
|
+
diagram: "diagram";
|
|
3107
|
+
table: "table";
|
|
3108
|
+
image: "image";
|
|
3109
|
+
notes: "notes";
|
|
3110
|
+
body: "body";
|
|
3111
|
+
}>>;
|
|
3112
|
+
interpretation: z.ZodOptional<z.ZodObject<{
|
|
3113
|
+
transcript: z.ZodOptional<z.ZodObject<{
|
|
3114
|
+
text: z.ZodString;
|
|
3115
|
+
confidence: z.ZodEnum<{
|
|
3116
|
+
high: "high";
|
|
3117
|
+
medium: "medium";
|
|
3118
|
+
low: "low";
|
|
3119
|
+
}>;
|
|
3120
|
+
mechanism: z.ZodEnum<{
|
|
3121
|
+
deterministic: "deterministic";
|
|
3122
|
+
model: "model";
|
|
3123
|
+
}>;
|
|
3124
|
+
}, z.core.$strip>>;
|
|
3125
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3126
|
+
by: z.ZodOptional<z.ZodObject<{
|
|
3127
|
+
model: z.ZodString;
|
|
3128
|
+
at: z.ZodString;
|
|
3129
|
+
}, z.core.$strip>>;
|
|
3130
|
+
}, z.core.$strip>>;
|
|
2720
3131
|
kind: z.ZodLiteral<"path">;
|
|
2721
3132
|
frame: z.ZodObject<{
|
|
2722
3133
|
xPt: z.ZodNumber;
|
|
@@ -2950,6 +3361,33 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2950
3361
|
}, z.core.$strip>;
|
|
2951
3362
|
}, z.core.$strip>, z.ZodObject<{
|
|
2952
3363
|
formula: z.ZodObject<{
|
|
3364
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
3365
|
+
chart: "chart";
|
|
3366
|
+
diagram: "diagram";
|
|
3367
|
+
table: "table";
|
|
3368
|
+
image: "image";
|
|
3369
|
+
notes: "notes";
|
|
3370
|
+
body: "body";
|
|
3371
|
+
}>>;
|
|
3372
|
+
interpretation: z.ZodOptional<z.ZodObject<{
|
|
3373
|
+
transcript: z.ZodOptional<z.ZodObject<{
|
|
3374
|
+
text: z.ZodString;
|
|
3375
|
+
confidence: z.ZodEnum<{
|
|
3376
|
+
high: "high";
|
|
3377
|
+
medium: "medium";
|
|
3378
|
+
low: "low";
|
|
3379
|
+
}>;
|
|
3380
|
+
mechanism: z.ZodEnum<{
|
|
3381
|
+
deterministic: "deterministic";
|
|
3382
|
+
model: "model";
|
|
3383
|
+
}>;
|
|
3384
|
+
}, z.core.$strip>>;
|
|
3385
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3386
|
+
by: z.ZodOptional<z.ZodObject<{
|
|
3387
|
+
model: z.ZodString;
|
|
3388
|
+
at: z.ZodString;
|
|
3389
|
+
}, z.core.$strip>>;
|
|
3390
|
+
}, z.core.$strip>>;
|
|
2953
3391
|
mathml: z.ZodArray<z.ZodType<import("document-schema.js").MathMlNode, import("document-schema.js").MathMlNode, z.core.$ZodTypeInternals<import("document-schema.js").MathMlNode, import("document-schema.js").MathMlNode>>>;
|
|
2954
3392
|
starMath: z.ZodOptional<z.ZodString>;
|
|
2955
3393
|
presentation: z.ZodOptional<z.ZodObject<{
|