rtf-codec 4.2.2 → 4.2.4
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.d.cts +428 -20
- package/dist/codec.d.ts +428 -20
- package/package.json +3 -3
package/dist/codec.d.cts
CHANGED
|
@@ -11,8 +11,8 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
11
11
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
12
12
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
13
13
|
left: "left";
|
|
14
|
-
right: "right";
|
|
15
14
|
center: "center";
|
|
15
|
+
right: "right";
|
|
16
16
|
justify: "justify";
|
|
17
17
|
}>>;
|
|
18
18
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -97,9 +97,9 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
97
97
|
symbol: z.ZodString;
|
|
98
98
|
name: z.ZodOptional<z.ZodString>;
|
|
99
99
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
100
|
+
time: "time";
|
|
100
101
|
length: "length";
|
|
101
102
|
mass: "mass";
|
|
102
|
-
time: "time";
|
|
103
103
|
electricCurrent: "electricCurrent";
|
|
104
104
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
105
105
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -160,8 +160,8 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
160
160
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
161
161
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
162
162
|
left: "left";
|
|
163
|
-
right: "right";
|
|
164
163
|
center: "center";
|
|
164
|
+
right: "right";
|
|
165
165
|
justify: "justify";
|
|
166
166
|
}>>;
|
|
167
167
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -246,9 +246,9 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
246
246
|
symbol: z.ZodString;
|
|
247
247
|
name: z.ZodOptional<z.ZodString>;
|
|
248
248
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
249
|
+
time: "time";
|
|
249
250
|
length: "length";
|
|
250
251
|
mass: "mass";
|
|
251
|
-
time: "time";
|
|
252
252
|
electricCurrent: "electricCurrent";
|
|
253
253
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
254
254
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -314,8 +314,8 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
314
314
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
315
315
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
316
316
|
left: "left";
|
|
317
|
-
right: "right";
|
|
318
317
|
center: "center";
|
|
318
|
+
right: "right";
|
|
319
319
|
justify: "justify";
|
|
320
320
|
}>>;
|
|
321
321
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -400,9 +400,9 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
400
400
|
symbol: z.ZodString;
|
|
401
401
|
name: z.ZodOptional<z.ZodString>;
|
|
402
402
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
403
|
+
time: "time";
|
|
403
404
|
length: "length";
|
|
404
405
|
mass: "mass";
|
|
405
|
-
time: "time";
|
|
406
406
|
electricCurrent: "electricCurrent";
|
|
407
407
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
408
408
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -463,8 +463,8 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
463
463
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
464
464
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
465
465
|
left: "left";
|
|
466
|
-
right: "right";
|
|
467
466
|
center: "center";
|
|
467
|
+
right: "right";
|
|
468
468
|
justify: "justify";
|
|
469
469
|
}>>;
|
|
470
470
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -549,9 +549,9 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
549
549
|
symbol: z.ZodString;
|
|
550
550
|
name: z.ZodOptional<z.ZodString>;
|
|
551
551
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
552
|
+
time: "time";
|
|
552
553
|
length: "length";
|
|
553
554
|
mass: "mass";
|
|
554
|
-
time: "time";
|
|
555
555
|
electricCurrent: "electricCurrent";
|
|
556
556
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
557
557
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -604,6 +604,33 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
604
604
|
kind: z.ZodLiteral<"drawing">;
|
|
605
605
|
}, z.core.$strip>, z.ZodObject<{
|
|
606
606
|
children: z.ZodArray<z.ZodObject<{
|
|
607
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
608
|
+
chart: "chart";
|
|
609
|
+
diagram: "diagram";
|
|
610
|
+
table: "table";
|
|
611
|
+
image: "image";
|
|
612
|
+
notes: "notes";
|
|
613
|
+
body: "body";
|
|
614
|
+
}>>;
|
|
615
|
+
interpretation: z.ZodOptional<z.ZodObject<{
|
|
616
|
+
transcript: z.ZodOptional<z.ZodObject<{
|
|
617
|
+
text: z.ZodString;
|
|
618
|
+
confidence: z.ZodEnum<{
|
|
619
|
+
high: "high";
|
|
620
|
+
medium: "medium";
|
|
621
|
+
low: "low";
|
|
622
|
+
}>;
|
|
623
|
+
mechanism: z.ZodEnum<{
|
|
624
|
+
deterministic: "deterministic";
|
|
625
|
+
model: "model";
|
|
626
|
+
}>;
|
|
627
|
+
}, z.core.$strip>>;
|
|
628
|
+
description: z.ZodOptional<z.ZodString>;
|
|
629
|
+
by: z.ZodOptional<z.ZodObject<{
|
|
630
|
+
model: z.ZodString;
|
|
631
|
+
at: z.ZodString;
|
|
632
|
+
}, z.core.$strip>>;
|
|
633
|
+
}, z.core.$strip>>;
|
|
607
634
|
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>>>;
|
|
608
635
|
starMath: z.ZodOptional<z.ZodString>;
|
|
609
636
|
presentation: z.ZodOptional<z.ZodObject<{
|
|
@@ -644,8 +671,8 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
644
671
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
645
672
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
646
673
|
left: "left";
|
|
647
|
-
right: "right";
|
|
648
674
|
center: "center";
|
|
675
|
+
right: "right";
|
|
649
676
|
justify: "justify";
|
|
650
677
|
}>>;
|
|
651
678
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -730,9 +757,9 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
730
757
|
symbol: z.ZodString;
|
|
731
758
|
name: z.ZodOptional<z.ZodString>;
|
|
732
759
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
760
|
+
time: "time";
|
|
733
761
|
length: "length";
|
|
734
762
|
mass: "mass";
|
|
735
|
-
time: "time";
|
|
736
763
|
electricCurrent: "electricCurrent";
|
|
737
764
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
738
765
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -786,6 +813,33 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
786
813
|
}, z.core.$strip>], "kind">>;
|
|
787
814
|
declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
788
815
|
sections: z.ZodArray<z.ZodObject<{
|
|
816
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
817
|
+
chart: "chart";
|
|
818
|
+
diagram: "diagram";
|
|
819
|
+
table: "table";
|
|
820
|
+
image: "image";
|
|
821
|
+
notes: "notes";
|
|
822
|
+
body: "body";
|
|
823
|
+
}>>;
|
|
824
|
+
interpretation: z.ZodOptional<z.ZodObject<{
|
|
825
|
+
transcript: z.ZodOptional<z.ZodObject<{
|
|
826
|
+
text: z.ZodString;
|
|
827
|
+
confidence: z.ZodEnum<{
|
|
828
|
+
high: "high";
|
|
829
|
+
medium: "medium";
|
|
830
|
+
low: "low";
|
|
831
|
+
}>;
|
|
832
|
+
mechanism: z.ZodEnum<{
|
|
833
|
+
deterministic: "deterministic";
|
|
834
|
+
model: "model";
|
|
835
|
+
}>;
|
|
836
|
+
}, z.core.$strip>>;
|
|
837
|
+
description: z.ZodOptional<z.ZodString>;
|
|
838
|
+
by: z.ZodOptional<z.ZodObject<{
|
|
839
|
+
model: z.ZodString;
|
|
840
|
+
at: z.ZodString;
|
|
841
|
+
}, z.core.$strip>>;
|
|
842
|
+
}, z.core.$strip>>;
|
|
789
843
|
pageSize: z.ZodObject<{
|
|
790
844
|
widthPt: z.ZodNumber;
|
|
791
845
|
heightPt: z.ZodNumber;
|
|
@@ -848,9 +902,9 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
848
902
|
symbol: z.ZodString;
|
|
849
903
|
name: z.ZodOptional<z.ZodString>;
|
|
850
904
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
905
|
+
time: "time";
|
|
851
906
|
length: "length";
|
|
852
907
|
mass: "mass";
|
|
853
|
-
time: "time";
|
|
854
908
|
electricCurrent: "electricCurrent";
|
|
855
909
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
856
910
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -903,11 +957,66 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
903
957
|
}, z.core.$strip>;
|
|
904
958
|
}, z.core.$strip>, z.ZodObject<{
|
|
905
959
|
slides: z.ZodArray<z.ZodObject<{
|
|
960
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
961
|
+
chart: "chart";
|
|
962
|
+
diagram: "diagram";
|
|
963
|
+
table: "table";
|
|
964
|
+
image: "image";
|
|
965
|
+
notes: "notes";
|
|
966
|
+
body: "body";
|
|
967
|
+
}>>;
|
|
968
|
+
interpretation: z.ZodOptional<z.ZodObject<{
|
|
969
|
+
transcript: z.ZodOptional<z.ZodObject<{
|
|
970
|
+
text: z.ZodString;
|
|
971
|
+
confidence: z.ZodEnum<{
|
|
972
|
+
high: "high";
|
|
973
|
+
medium: "medium";
|
|
974
|
+
low: "low";
|
|
975
|
+
}>;
|
|
976
|
+
mechanism: z.ZodEnum<{
|
|
977
|
+
deterministic: "deterministic";
|
|
978
|
+
model: "model";
|
|
979
|
+
}>;
|
|
980
|
+
}, z.core.$strip>>;
|
|
981
|
+
description: z.ZodOptional<z.ZodString>;
|
|
982
|
+
by: z.ZodOptional<z.ZodObject<{
|
|
983
|
+
model: z.ZodString;
|
|
984
|
+
at: z.ZodString;
|
|
985
|
+
}, z.core.$strip>>;
|
|
986
|
+
}, z.core.$strip>>;
|
|
906
987
|
size: z.ZodObject<{
|
|
907
988
|
widthPt: z.ZodNumber;
|
|
908
989
|
heightPt: z.ZodNumber;
|
|
909
990
|
}, z.core.$strip>;
|
|
910
991
|
shapes: z.ZodArray<z.ZodObject<{
|
|
992
|
+
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>>>>;
|
|
993
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
994
|
+
chart: "chart";
|
|
995
|
+
diagram: "diagram";
|
|
996
|
+
table: "table";
|
|
997
|
+
image: "image";
|
|
998
|
+
notes: "notes";
|
|
999
|
+
body: "body";
|
|
1000
|
+
}>>;
|
|
1001
|
+
interpretation: z.ZodOptional<z.ZodObject<{
|
|
1002
|
+
transcript: z.ZodOptional<z.ZodObject<{
|
|
1003
|
+
text: z.ZodString;
|
|
1004
|
+
confidence: z.ZodEnum<{
|
|
1005
|
+
high: "high";
|
|
1006
|
+
medium: "medium";
|
|
1007
|
+
low: "low";
|
|
1008
|
+
}>;
|
|
1009
|
+
mechanism: z.ZodEnum<{
|
|
1010
|
+
deterministic: "deterministic";
|
|
1011
|
+
model: "model";
|
|
1012
|
+
}>;
|
|
1013
|
+
}, z.core.$strip>>;
|
|
1014
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1015
|
+
by: z.ZodOptional<z.ZodObject<{
|
|
1016
|
+
model: z.ZodString;
|
|
1017
|
+
at: z.ZodString;
|
|
1018
|
+
}, z.core.$strip>>;
|
|
1019
|
+
}, z.core.$strip>>;
|
|
911
1020
|
name: z.ZodOptional<z.ZodString>;
|
|
912
1021
|
frame: z.ZodObject<{
|
|
913
1022
|
xPt: z.ZodNumber;
|
|
@@ -951,7 +1060,6 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
951
1060
|
widthPt: z.ZodNumber;
|
|
952
1061
|
heightPt: z.ZodNumber;
|
|
953
1062
|
}, z.core.$strip>>>;
|
|
954
|
-
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>>>>;
|
|
955
1063
|
}, z.core.$strip>>;
|
|
956
1064
|
notes: z.ZodString;
|
|
957
1065
|
source: z.ZodOptional<z.ZodObject<{
|
|
@@ -989,9 +1097,9 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
989
1097
|
symbol: z.ZodString;
|
|
990
1098
|
name: z.ZodOptional<z.ZodString>;
|
|
991
1099
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
1100
|
+
time: "time";
|
|
992
1101
|
length: "length";
|
|
993
1102
|
mass: "mass";
|
|
994
|
-
time: "time";
|
|
995
1103
|
electricCurrent: "electricCurrent";
|
|
996
1104
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
997
1105
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -1044,8 +1152,62 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1044
1152
|
}, z.core.$strip>;
|
|
1045
1153
|
}, z.core.$strip>, z.ZodObject<{
|
|
1046
1154
|
sheets: z.ZodArray<z.ZodObject<{
|
|
1155
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
1156
|
+
chart: "chart";
|
|
1157
|
+
diagram: "diagram";
|
|
1158
|
+
table: "table";
|
|
1159
|
+
image: "image";
|
|
1160
|
+
notes: "notes";
|
|
1161
|
+
body: "body";
|
|
1162
|
+
}>>;
|
|
1163
|
+
interpretation: z.ZodOptional<z.ZodObject<{
|
|
1164
|
+
transcript: z.ZodOptional<z.ZodObject<{
|
|
1165
|
+
text: z.ZodString;
|
|
1166
|
+
confidence: z.ZodEnum<{
|
|
1167
|
+
high: "high";
|
|
1168
|
+
medium: "medium";
|
|
1169
|
+
low: "low";
|
|
1170
|
+
}>;
|
|
1171
|
+
mechanism: z.ZodEnum<{
|
|
1172
|
+
deterministic: "deterministic";
|
|
1173
|
+
model: "model";
|
|
1174
|
+
}>;
|
|
1175
|
+
}, z.core.$strip>>;
|
|
1176
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1177
|
+
by: z.ZodOptional<z.ZodObject<{
|
|
1178
|
+
model: z.ZodString;
|
|
1179
|
+
at: z.ZodString;
|
|
1180
|
+
}, z.core.$strip>>;
|
|
1181
|
+
}, z.core.$strip>>;
|
|
1047
1182
|
name: z.ZodString;
|
|
1048
1183
|
cells: z.ZodArray<z.ZodObject<{
|
|
1184
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
1185
|
+
chart: "chart";
|
|
1186
|
+
diagram: "diagram";
|
|
1187
|
+
table: "table";
|
|
1188
|
+
image: "image";
|
|
1189
|
+
notes: "notes";
|
|
1190
|
+
body: "body";
|
|
1191
|
+
}>>;
|
|
1192
|
+
interpretation: z.ZodOptional<z.ZodObject<{
|
|
1193
|
+
transcript: z.ZodOptional<z.ZodObject<{
|
|
1194
|
+
text: z.ZodString;
|
|
1195
|
+
confidence: z.ZodEnum<{
|
|
1196
|
+
high: "high";
|
|
1197
|
+
medium: "medium";
|
|
1198
|
+
low: "low";
|
|
1199
|
+
}>;
|
|
1200
|
+
mechanism: z.ZodEnum<{
|
|
1201
|
+
deterministic: "deterministic";
|
|
1202
|
+
model: "model";
|
|
1203
|
+
}>;
|
|
1204
|
+
}, z.core.$strip>>;
|
|
1205
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1206
|
+
by: z.ZodOptional<z.ZodObject<{
|
|
1207
|
+
model: z.ZodString;
|
|
1208
|
+
at: z.ZodString;
|
|
1209
|
+
}, z.core.$strip>>;
|
|
1210
|
+
}, z.core.$strip>>;
|
|
1049
1211
|
row: z.ZodNumber;
|
|
1050
1212
|
column: z.ZodNumber;
|
|
1051
1213
|
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -1099,6 +1261,33 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1099
1261
|
}, z.core.$strip>>;
|
|
1100
1262
|
}, z.core.$strip>>;
|
|
1101
1263
|
runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1264
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
1265
|
+
chart: "chart";
|
|
1266
|
+
diagram: "diagram";
|
|
1267
|
+
table: "table";
|
|
1268
|
+
image: "image";
|
|
1269
|
+
notes: "notes";
|
|
1270
|
+
body: "body";
|
|
1271
|
+
}>>;
|
|
1272
|
+
interpretation: z.ZodOptional<z.ZodObject<{
|
|
1273
|
+
transcript: z.ZodOptional<z.ZodObject<{
|
|
1274
|
+
text: z.ZodString;
|
|
1275
|
+
confidence: z.ZodEnum<{
|
|
1276
|
+
high: "high";
|
|
1277
|
+
medium: "medium";
|
|
1278
|
+
low: "low";
|
|
1279
|
+
}>;
|
|
1280
|
+
mechanism: z.ZodEnum<{
|
|
1281
|
+
deterministic: "deterministic";
|
|
1282
|
+
model: "model";
|
|
1283
|
+
}>;
|
|
1284
|
+
}, z.core.$strip>>;
|
|
1285
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1286
|
+
by: z.ZodOptional<z.ZodObject<{
|
|
1287
|
+
model: z.ZodString;
|
|
1288
|
+
at: z.ZodString;
|
|
1289
|
+
}, z.core.$strip>>;
|
|
1290
|
+
}, z.core.$strip>>;
|
|
1102
1291
|
hyperlink: z.ZodOptional<z.ZodString>;
|
|
1103
1292
|
verticalAlign: z.ZodOptional<z.ZodEnum<{
|
|
1104
1293
|
superscript: "superscript";
|
|
@@ -1313,8 +1502,8 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1313
1502
|
}, z.core.$strip>>;
|
|
1314
1503
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
1315
1504
|
left: "left";
|
|
1316
|
-
right: "right";
|
|
1317
1505
|
center: "center";
|
|
1506
|
+
right: "right";
|
|
1318
1507
|
justify: "justify";
|
|
1319
1508
|
}>>;
|
|
1320
1509
|
verticalAlignment: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1371,6 +1560,33 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1371
1560
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1372
1561
|
}, z.core.$strip>>;
|
|
1373
1562
|
images: z.ZodArray<z.ZodObject<{
|
|
1563
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
1564
|
+
chart: "chart";
|
|
1565
|
+
diagram: "diagram";
|
|
1566
|
+
table: "table";
|
|
1567
|
+
image: "image";
|
|
1568
|
+
notes: "notes";
|
|
1569
|
+
body: "body";
|
|
1570
|
+
}>>;
|
|
1571
|
+
interpretation: z.ZodOptional<z.ZodObject<{
|
|
1572
|
+
transcript: z.ZodOptional<z.ZodObject<{
|
|
1573
|
+
text: z.ZodString;
|
|
1574
|
+
confidence: z.ZodEnum<{
|
|
1575
|
+
high: "high";
|
|
1576
|
+
medium: "medium";
|
|
1577
|
+
low: "low";
|
|
1578
|
+
}>;
|
|
1579
|
+
mechanism: z.ZodEnum<{
|
|
1580
|
+
deterministic: "deterministic";
|
|
1581
|
+
model: "model";
|
|
1582
|
+
}>;
|
|
1583
|
+
}, z.core.$strip>>;
|
|
1584
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1585
|
+
by: z.ZodOptional<z.ZodObject<{
|
|
1586
|
+
model: z.ZodString;
|
|
1587
|
+
at: z.ZodString;
|
|
1588
|
+
}, z.core.$strip>>;
|
|
1589
|
+
}, z.core.$strip>>;
|
|
1374
1590
|
kind: z.ZodLiteral<"image">;
|
|
1375
1591
|
format: z.ZodEnum<{
|
|
1376
1592
|
png: "png";
|
|
@@ -1390,6 +1606,9 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1390
1606
|
base64: z.ZodString;
|
|
1391
1607
|
jbig2GlobalsBase64: z.ZodOptional<z.ZodString>;
|
|
1392
1608
|
}, z.core.$strip>>;
|
|
1609
|
+
anchorRunIndex: z.ZodOptional<z.ZodNumber>;
|
|
1610
|
+
anchorOffset: z.ZodOptional<z.ZodNumber>;
|
|
1611
|
+
caption: z.ZodOptional<z.ZodString>;
|
|
1393
1612
|
floatPosition: z.ZodOptional<z.ZodObject<{
|
|
1394
1613
|
horizontal: z.ZodUnion<readonly [z.ZodObject<{
|
|
1395
1614
|
relativeTo: z.ZodEnum<{
|
|
@@ -1426,10 +1645,10 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1426
1645
|
}>;
|
|
1427
1646
|
align: z.ZodEnum<{
|
|
1428
1647
|
left: "left";
|
|
1648
|
+
center: "center";
|
|
1429
1649
|
right: "right";
|
|
1430
1650
|
top: "top";
|
|
1431
1651
|
bottom: "bottom";
|
|
1432
|
-
center: "center";
|
|
1433
1652
|
inside: "inside";
|
|
1434
1653
|
outside: "outside";
|
|
1435
1654
|
}>;
|
|
@@ -1469,10 +1688,10 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1469
1688
|
}>;
|
|
1470
1689
|
align: z.ZodEnum<{
|
|
1471
1690
|
left: "left";
|
|
1691
|
+
center: "center";
|
|
1472
1692
|
right: "right";
|
|
1473
1693
|
top: "top";
|
|
1474
1694
|
bottom: "bottom";
|
|
1475
|
-
center: "center";
|
|
1476
1695
|
inside: "inside";
|
|
1477
1696
|
outside: "outside";
|
|
1478
1697
|
}>;
|
|
@@ -2223,9 +2442,9 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2223
2442
|
symbol: z.ZodString;
|
|
2224
2443
|
name: z.ZodOptional<z.ZodString>;
|
|
2225
2444
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
2445
|
+
time: "time";
|
|
2226
2446
|
length: "length";
|
|
2227
2447
|
mass: "mass";
|
|
2228
|
-
time: "time";
|
|
2229
2448
|
electricCurrent: "electricCurrent";
|
|
2230
2449
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
2231
2450
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -2278,11 +2497,66 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2278
2497
|
}, z.core.$strip>;
|
|
2279
2498
|
}, z.core.$strip>, z.ZodObject<{
|
|
2280
2499
|
pages: z.ZodArray<z.ZodObject<{
|
|
2500
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
2501
|
+
chart: "chart";
|
|
2502
|
+
diagram: "diagram";
|
|
2503
|
+
table: "table";
|
|
2504
|
+
image: "image";
|
|
2505
|
+
notes: "notes";
|
|
2506
|
+
body: "body";
|
|
2507
|
+
}>>;
|
|
2508
|
+
interpretation: z.ZodOptional<z.ZodObject<{
|
|
2509
|
+
transcript: z.ZodOptional<z.ZodObject<{
|
|
2510
|
+
text: z.ZodString;
|
|
2511
|
+
confidence: z.ZodEnum<{
|
|
2512
|
+
high: "high";
|
|
2513
|
+
medium: "medium";
|
|
2514
|
+
low: "low";
|
|
2515
|
+
}>;
|
|
2516
|
+
mechanism: z.ZodEnum<{
|
|
2517
|
+
deterministic: "deterministic";
|
|
2518
|
+
model: "model";
|
|
2519
|
+
}>;
|
|
2520
|
+
}, z.core.$strip>>;
|
|
2521
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2522
|
+
by: z.ZodOptional<z.ZodObject<{
|
|
2523
|
+
model: z.ZodString;
|
|
2524
|
+
at: z.ZodString;
|
|
2525
|
+
}, z.core.$strip>>;
|
|
2526
|
+
}, z.core.$strip>>;
|
|
2281
2527
|
size: z.ZodObject<{
|
|
2282
2528
|
widthPt: z.ZodNumber;
|
|
2283
2529
|
heightPt: z.ZodNumber;
|
|
2284
2530
|
}, z.core.$strip>;
|
|
2285
2531
|
shapes: z.ZodArray<z.ZodObject<{
|
|
2532
|
+
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>>>>;
|
|
2533
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
2534
|
+
chart: "chart";
|
|
2535
|
+
diagram: "diagram";
|
|
2536
|
+
table: "table";
|
|
2537
|
+
image: "image";
|
|
2538
|
+
notes: "notes";
|
|
2539
|
+
body: "body";
|
|
2540
|
+
}>>;
|
|
2541
|
+
interpretation: z.ZodOptional<z.ZodObject<{
|
|
2542
|
+
transcript: z.ZodOptional<z.ZodObject<{
|
|
2543
|
+
text: z.ZodString;
|
|
2544
|
+
confidence: z.ZodEnum<{
|
|
2545
|
+
high: "high";
|
|
2546
|
+
medium: "medium";
|
|
2547
|
+
low: "low";
|
|
2548
|
+
}>;
|
|
2549
|
+
mechanism: z.ZodEnum<{
|
|
2550
|
+
deterministic: "deterministic";
|
|
2551
|
+
model: "model";
|
|
2552
|
+
}>;
|
|
2553
|
+
}, z.core.$strip>>;
|
|
2554
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2555
|
+
by: z.ZodOptional<z.ZodObject<{
|
|
2556
|
+
model: z.ZodString;
|
|
2557
|
+
at: z.ZodString;
|
|
2558
|
+
}, z.core.$strip>>;
|
|
2559
|
+
}, z.core.$strip>>;
|
|
2286
2560
|
name: z.ZodOptional<z.ZodString>;
|
|
2287
2561
|
frame: z.ZodObject<{
|
|
2288
2562
|
xPt: z.ZodNumber;
|
|
@@ -2326,9 +2600,35 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2326
2600
|
widthPt: z.ZodNumber;
|
|
2327
2601
|
heightPt: z.ZodNumber;
|
|
2328
2602
|
}, z.core.$strip>>>;
|
|
2329
|
-
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>>>>;
|
|
2330
2603
|
}, z.core.$strip>>;
|
|
2331
2604
|
vectors: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2605
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
2606
|
+
chart: "chart";
|
|
2607
|
+
diagram: "diagram";
|
|
2608
|
+
table: "table";
|
|
2609
|
+
image: "image";
|
|
2610
|
+
notes: "notes";
|
|
2611
|
+
body: "body";
|
|
2612
|
+
}>>;
|
|
2613
|
+
interpretation: z.ZodOptional<z.ZodObject<{
|
|
2614
|
+
transcript: z.ZodOptional<z.ZodObject<{
|
|
2615
|
+
text: z.ZodString;
|
|
2616
|
+
confidence: z.ZodEnum<{
|
|
2617
|
+
high: "high";
|
|
2618
|
+
medium: "medium";
|
|
2619
|
+
low: "low";
|
|
2620
|
+
}>;
|
|
2621
|
+
mechanism: z.ZodEnum<{
|
|
2622
|
+
deterministic: "deterministic";
|
|
2623
|
+
model: "model";
|
|
2624
|
+
}>;
|
|
2625
|
+
}, z.core.$strip>>;
|
|
2626
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2627
|
+
by: z.ZodOptional<z.ZodObject<{
|
|
2628
|
+
model: z.ZodString;
|
|
2629
|
+
at: z.ZodString;
|
|
2630
|
+
}, z.core.$strip>>;
|
|
2631
|
+
}, z.core.$strip>>;
|
|
2332
2632
|
kind: z.ZodLiteral<"rect">;
|
|
2333
2633
|
frame: z.ZodObject<{
|
|
2334
2634
|
xPt: z.ZodNumber;
|
|
@@ -2440,6 +2740,33 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2440
2740
|
heightPt: z.ZodNumber;
|
|
2441
2741
|
}, z.core.$strip>>>;
|
|
2442
2742
|
}, z.core.$strip>, z.ZodObject<{
|
|
2743
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
2744
|
+
chart: "chart";
|
|
2745
|
+
diagram: "diagram";
|
|
2746
|
+
table: "table";
|
|
2747
|
+
image: "image";
|
|
2748
|
+
notes: "notes";
|
|
2749
|
+
body: "body";
|
|
2750
|
+
}>>;
|
|
2751
|
+
interpretation: z.ZodOptional<z.ZodObject<{
|
|
2752
|
+
transcript: z.ZodOptional<z.ZodObject<{
|
|
2753
|
+
text: z.ZodString;
|
|
2754
|
+
confidence: z.ZodEnum<{
|
|
2755
|
+
high: "high";
|
|
2756
|
+
medium: "medium";
|
|
2757
|
+
low: "low";
|
|
2758
|
+
}>;
|
|
2759
|
+
mechanism: z.ZodEnum<{
|
|
2760
|
+
deterministic: "deterministic";
|
|
2761
|
+
model: "model";
|
|
2762
|
+
}>;
|
|
2763
|
+
}, z.core.$strip>>;
|
|
2764
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2765
|
+
by: z.ZodOptional<z.ZodObject<{
|
|
2766
|
+
model: z.ZodString;
|
|
2767
|
+
at: z.ZodString;
|
|
2768
|
+
}, z.core.$strip>>;
|
|
2769
|
+
}, z.core.$strip>>;
|
|
2443
2770
|
kind: z.ZodLiteral<"ellipse">;
|
|
2444
2771
|
frame: z.ZodObject<{
|
|
2445
2772
|
xPt: z.ZodNumber;
|
|
@@ -2551,6 +2878,33 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2551
2878
|
heightPt: z.ZodNumber;
|
|
2552
2879
|
}, z.core.$strip>>>;
|
|
2553
2880
|
}, z.core.$strip>, z.ZodObject<{
|
|
2881
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
2882
|
+
chart: "chart";
|
|
2883
|
+
diagram: "diagram";
|
|
2884
|
+
table: "table";
|
|
2885
|
+
image: "image";
|
|
2886
|
+
notes: "notes";
|
|
2887
|
+
body: "body";
|
|
2888
|
+
}>>;
|
|
2889
|
+
interpretation: z.ZodOptional<z.ZodObject<{
|
|
2890
|
+
transcript: z.ZodOptional<z.ZodObject<{
|
|
2891
|
+
text: z.ZodString;
|
|
2892
|
+
confidence: z.ZodEnum<{
|
|
2893
|
+
high: "high";
|
|
2894
|
+
medium: "medium";
|
|
2895
|
+
low: "low";
|
|
2896
|
+
}>;
|
|
2897
|
+
mechanism: z.ZodEnum<{
|
|
2898
|
+
deterministic: "deterministic";
|
|
2899
|
+
model: "model";
|
|
2900
|
+
}>;
|
|
2901
|
+
}, z.core.$strip>>;
|
|
2902
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2903
|
+
by: z.ZodOptional<z.ZodObject<{
|
|
2904
|
+
model: z.ZodString;
|
|
2905
|
+
at: z.ZodString;
|
|
2906
|
+
}, z.core.$strip>>;
|
|
2907
|
+
}, z.core.$strip>>;
|
|
2554
2908
|
kind: z.ZodLiteral<"line">;
|
|
2555
2909
|
from: z.ZodObject<{
|
|
2556
2910
|
xPt: z.ZodNumber;
|
|
@@ -2612,6 +2966,33 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2612
2966
|
heightPt: z.ZodNumber;
|
|
2613
2967
|
}, z.core.$strip>>>;
|
|
2614
2968
|
}, z.core.$strip>, z.ZodObject<{
|
|
2969
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
2970
|
+
chart: "chart";
|
|
2971
|
+
diagram: "diagram";
|
|
2972
|
+
table: "table";
|
|
2973
|
+
image: "image";
|
|
2974
|
+
notes: "notes";
|
|
2975
|
+
body: "body";
|
|
2976
|
+
}>>;
|
|
2977
|
+
interpretation: z.ZodOptional<z.ZodObject<{
|
|
2978
|
+
transcript: z.ZodOptional<z.ZodObject<{
|
|
2979
|
+
text: z.ZodString;
|
|
2980
|
+
confidence: z.ZodEnum<{
|
|
2981
|
+
high: "high";
|
|
2982
|
+
medium: "medium";
|
|
2983
|
+
low: "low";
|
|
2984
|
+
}>;
|
|
2985
|
+
mechanism: z.ZodEnum<{
|
|
2986
|
+
deterministic: "deterministic";
|
|
2987
|
+
model: "model";
|
|
2988
|
+
}>;
|
|
2989
|
+
}, z.core.$strip>>;
|
|
2990
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2991
|
+
by: z.ZodOptional<z.ZodObject<{
|
|
2992
|
+
model: z.ZodString;
|
|
2993
|
+
at: z.ZodString;
|
|
2994
|
+
}, z.core.$strip>>;
|
|
2995
|
+
}, z.core.$strip>>;
|
|
2615
2996
|
kind: z.ZodLiteral<"path">;
|
|
2616
2997
|
frame: z.ZodObject<{
|
|
2617
2998
|
xPt: z.ZodNumber;
|
|
@@ -2790,9 +3171,9 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2790
3171
|
symbol: z.ZodString;
|
|
2791
3172
|
name: z.ZodOptional<z.ZodString>;
|
|
2792
3173
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
3174
|
+
time: "time";
|
|
2793
3175
|
length: "length";
|
|
2794
3176
|
mass: "mass";
|
|
2795
|
-
time: "time";
|
|
2796
3177
|
electricCurrent: "electricCurrent";
|
|
2797
3178
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
2798
3179
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -2845,6 +3226,33 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2845
3226
|
}, z.core.$strip>;
|
|
2846
3227
|
}, z.core.$strip>, z.ZodObject<{
|
|
2847
3228
|
formula: z.ZodObject<{
|
|
3229
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
3230
|
+
chart: "chart";
|
|
3231
|
+
diagram: "diagram";
|
|
3232
|
+
table: "table";
|
|
3233
|
+
image: "image";
|
|
3234
|
+
notes: "notes";
|
|
3235
|
+
body: "body";
|
|
3236
|
+
}>>;
|
|
3237
|
+
interpretation: z.ZodOptional<z.ZodObject<{
|
|
3238
|
+
transcript: z.ZodOptional<z.ZodObject<{
|
|
3239
|
+
text: z.ZodString;
|
|
3240
|
+
confidence: z.ZodEnum<{
|
|
3241
|
+
high: "high";
|
|
3242
|
+
medium: "medium";
|
|
3243
|
+
low: "low";
|
|
3244
|
+
}>;
|
|
3245
|
+
mechanism: z.ZodEnum<{
|
|
3246
|
+
deterministic: "deterministic";
|
|
3247
|
+
model: "model";
|
|
3248
|
+
}>;
|
|
3249
|
+
}, z.core.$strip>>;
|
|
3250
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3251
|
+
by: z.ZodOptional<z.ZodObject<{
|
|
3252
|
+
model: z.ZodString;
|
|
3253
|
+
at: z.ZodString;
|
|
3254
|
+
}, z.core.$strip>>;
|
|
3255
|
+
}, z.core.$strip>>;
|
|
2848
3256
|
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>>>;
|
|
2849
3257
|
starMath: z.ZodOptional<z.ZodString>;
|
|
2850
3258
|
presentation: z.ZodOptional<z.ZodObject<{
|
|
@@ -2891,9 +3299,9 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2891
3299
|
symbol: z.ZodString;
|
|
2892
3300
|
name: z.ZodOptional<z.ZodString>;
|
|
2893
3301
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
3302
|
+
time: "time";
|
|
2894
3303
|
length: "length";
|
|
2895
3304
|
mass: "mass";
|
|
2896
|
-
time: "time";
|
|
2897
3305
|
electricCurrent: "electricCurrent";
|
|
2898
3306
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
2899
3307
|
amountOfSubstance: "amountOfSubstance";
|