markdown-codec 4.0.11 → 4.0.13

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 CHANGED
@@ -51,6 +51,23 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
51
51
  destinations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
52
52
  kind: z.ZodString;
53
53
  }, z.core.$loose>>>;
54
+ source: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
55
+ format: z.ZodEnum<{
56
+ docx: "docx";
57
+ pptx: "pptx";
58
+ xlsx: "xlsx";
59
+ odt: "odt";
60
+ ods: "ods";
61
+ odp: "odp";
62
+ odg: "odg";
63
+ odm: "odm";
64
+ odb: "odb";
65
+ odf: "odf";
66
+ markdown: "markdown";
67
+ pdf: "pdf";
68
+ }>;
69
+ xml: z.ZodString;
70
+ }, z.core.$strict>>>;
54
71
  symbolTable: z.ZodOptional<z.ZodObject<{
55
72
  symbols: z.ZodArray<z.ZodObject<{
56
73
  glyph: z.ZodString;
@@ -65,9 +82,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
65
82
  symbol: z.ZodString;
66
83
  name: z.ZodOptional<z.ZodString>;
67
84
  dimension: z.ZodRecord<z.ZodEnum<{
68
- time: "time";
69
85
  length: "length";
70
86
  mass: "mass";
87
+ time: "time";
71
88
  electricCurrent: "electricCurrent";
72
89
  thermodynamicTemperature: "thermodynamicTemperature";
73
90
  amountOfSubstance: "amountOfSubstance";
@@ -155,6 +172,23 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
155
172
  destinations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
156
173
  kind: z.ZodString;
157
174
  }, z.core.$loose>>>;
175
+ source: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
176
+ format: z.ZodEnum<{
177
+ docx: "docx";
178
+ pptx: "pptx";
179
+ xlsx: "xlsx";
180
+ odt: "odt";
181
+ ods: "ods";
182
+ odp: "odp";
183
+ odg: "odg";
184
+ odm: "odm";
185
+ odb: "odb";
186
+ odf: "odf";
187
+ markdown: "markdown";
188
+ pdf: "pdf";
189
+ }>;
190
+ xml: z.ZodString;
191
+ }, z.core.$strict>>>;
158
192
  symbolTable: z.ZodOptional<z.ZodObject<{
159
193
  symbols: z.ZodArray<z.ZodObject<{
160
194
  glyph: z.ZodString;
@@ -169,9 +203,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
169
203
  symbol: z.ZodString;
170
204
  name: z.ZodOptional<z.ZodString>;
171
205
  dimension: z.ZodRecord<z.ZodEnum<{
172
- time: "time";
173
206
  length: "length";
174
207
  mass: "mass";
208
+ time: "time";
175
209
  electricCurrent: "electricCurrent";
176
210
  thermodynamicTemperature: "thermodynamicTemperature";
177
211
  amountOfSubstance: "amountOfSubstance";
@@ -259,6 +293,23 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
259
293
  destinations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
260
294
  kind: z.ZodString;
261
295
  }, z.core.$loose>>>;
296
+ source: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
297
+ format: z.ZodEnum<{
298
+ docx: "docx";
299
+ pptx: "pptx";
300
+ xlsx: "xlsx";
301
+ odt: "odt";
302
+ ods: "ods";
303
+ odp: "odp";
304
+ odg: "odg";
305
+ odm: "odm";
306
+ odb: "odb";
307
+ odf: "odf";
308
+ markdown: "markdown";
309
+ pdf: "pdf";
310
+ }>;
311
+ xml: z.ZodString;
312
+ }, z.core.$strict>>>;
262
313
  symbolTable: z.ZodOptional<z.ZodObject<{
263
314
  symbols: z.ZodArray<z.ZodObject<{
264
315
  glyph: z.ZodString;
@@ -273,9 +324,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
273
324
  symbol: z.ZodString;
274
325
  name: z.ZodOptional<z.ZodString>;
275
326
  dimension: z.ZodRecord<z.ZodEnum<{
276
- time: "time";
277
327
  length: "length";
278
328
  mass: "mass";
329
+ time: "time";
279
330
  electricCurrent: "electricCurrent";
280
331
  thermodynamicTemperature: "thermodynamicTemperature";
281
332
  amountOfSubstance: "amountOfSubstance";
@@ -363,6 +414,23 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
363
414
  destinations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
364
415
  kind: z.ZodString;
365
416
  }, z.core.$loose>>>;
417
+ source: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
418
+ format: z.ZodEnum<{
419
+ docx: "docx";
420
+ pptx: "pptx";
421
+ xlsx: "xlsx";
422
+ odt: "odt";
423
+ ods: "ods";
424
+ odp: "odp";
425
+ odg: "odg";
426
+ odm: "odm";
427
+ odb: "odb";
428
+ odf: "odf";
429
+ markdown: "markdown";
430
+ pdf: "pdf";
431
+ }>;
432
+ xml: z.ZodString;
433
+ }, z.core.$strict>>>;
366
434
  symbolTable: z.ZodOptional<z.ZodObject<{
367
435
  symbols: z.ZodArray<z.ZodObject<{
368
436
  glyph: z.ZodString;
@@ -377,9 +445,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
377
445
  symbol: z.ZodString;
378
446
  name: z.ZodOptional<z.ZodString>;
379
447
  dimension: z.ZodRecord<z.ZodEnum<{
380
- time: "time";
381
448
  length: "length";
382
449
  mass: "mass";
450
+ time: "time";
383
451
  electricCurrent: "electricCurrent";
384
452
  thermodynamicTemperature: "thermodynamicTemperature";
385
453
  amountOfSubstance: "amountOfSubstance";
@@ -430,6 +498,23 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
430
498
  pageRef: z.ZodOptional<z.ZodString>;
431
499
  editTrail: z.ZodArray<z.ZodString>;
432
500
  }, z.core.$strip>>;
501
+ source: z.ZodOptional<z.ZodObject<{
502
+ format: z.ZodEnum<{
503
+ docx: "docx";
504
+ pptx: "pptx";
505
+ xlsx: "xlsx";
506
+ odt: "odt";
507
+ ods: "ods";
508
+ odp: "odp";
509
+ odg: "odg";
510
+ odm: "odm";
511
+ odb: "odb";
512
+ odf: "odf";
513
+ markdown: "markdown";
514
+ pdf: "pdf";
515
+ }>;
516
+ xml: z.ZodString;
517
+ }, z.core.$strict>>;
433
518
  }, z.core.$strip>>;
434
519
  pages: z.ZodOptional<z.ZodArray<z.ZodObject<{
435
520
  widthPt: z.ZodNumber;
@@ -479,6 +564,23 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
479
564
  destinations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
480
565
  kind: z.ZodString;
481
566
  }, z.core.$loose>>>;
567
+ source: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
568
+ format: z.ZodEnum<{
569
+ docx: "docx";
570
+ pptx: "pptx";
571
+ xlsx: "xlsx";
572
+ odt: "odt";
573
+ ods: "ods";
574
+ odp: "odp";
575
+ odg: "odg";
576
+ odm: "odm";
577
+ odb: "odb";
578
+ odf: "odf";
579
+ markdown: "markdown";
580
+ pdf: "pdf";
581
+ }>;
582
+ xml: z.ZodString;
583
+ }, z.core.$strict>>>;
482
584
  symbolTable: z.ZodOptional<z.ZodObject<{
483
585
  symbols: z.ZodArray<z.ZodObject<{
484
586
  glyph: z.ZodString;
@@ -493,9 +595,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
493
595
  symbol: z.ZodString;
494
596
  name: z.ZodOptional<z.ZodString>;
495
597
  dimension: z.ZodRecord<z.ZodEnum<{
496
- time: "time";
497
598
  length: "length";
498
599
  mass: "mass";
600
+ time: "time";
499
601
  electricCurrent: "electricCurrent";
500
602
  thermodynamicTemperature: "thermodynamicTemperature";
501
603
  amountOfSubstance: "amountOfSubstance";
@@ -547,6 +649,23 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
547
649
  leftPt: z.ZodNumber;
548
650
  }, z.core.$strip>;
549
651
  blocks: z.ZodArray<z.ZodCustom<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>;
652
+ source: z.ZodOptional<z.ZodObject<{
653
+ format: z.ZodEnum<{
654
+ docx: "docx";
655
+ pptx: "pptx";
656
+ xlsx: "xlsx";
657
+ odt: "odt";
658
+ ods: "ods";
659
+ odp: "odp";
660
+ odg: "odg";
661
+ odm: "odm";
662
+ odb: "odb";
663
+ odf: "odf";
664
+ markdown: "markdown";
665
+ pdf: "pdf";
666
+ }>;
667
+ xml: z.ZodString;
668
+ }, z.core.$strict>>;
550
669
  }, z.core.$strip>>;
551
670
  symbolTable: z.ZodOptional<z.ZodObject<{
552
671
  symbols: z.ZodArray<z.ZodObject<{
@@ -562,9 +681,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
562
681
  symbol: z.ZodString;
563
682
  name: z.ZodOptional<z.ZodString>;
564
683
  dimension: z.ZodRecord<z.ZodEnum<{
565
- time: "time";
566
684
  length: "length";
567
685
  mass: "mass";
686
+ time: "time";
568
687
  electricCurrent: "electricCurrent";
569
688
  thermodynamicTemperature: "thermodynamicTemperature";
570
689
  amountOfSubstance: "amountOfSubstance";
@@ -625,6 +744,23 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
625
744
  lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
626
745
  paintOrder: z.ZodOptional<z.ZodNumber>;
627
746
  sourcePath: z.ZodOptional<z.ZodString>;
747
+ source: z.ZodOptional<z.ZodObject<{
748
+ format: z.ZodEnum<{
749
+ docx: "docx";
750
+ pptx: "pptx";
751
+ xlsx: "xlsx";
752
+ odt: "odt";
753
+ ods: "ods";
754
+ odp: "odp";
755
+ odg: "odg";
756
+ odm: "odm";
757
+ odb: "odb";
758
+ odf: "odf";
759
+ markdown: "markdown";
760
+ pdf: "pdf";
761
+ }>;
762
+ xml: z.ZodString;
763
+ }, z.core.$strict>>;
628
764
  frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
629
765
  pageIndex: z.ZodNumber;
630
766
  xPt: z.ZodNumber;
@@ -635,6 +771,23 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
635
771
  blocks: z.ZodArray<z.ZodCustom<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>;
636
772
  }, z.core.$strip>>;
637
773
  notes: z.ZodString;
774
+ source: z.ZodOptional<z.ZodObject<{
775
+ format: z.ZodEnum<{
776
+ docx: "docx";
777
+ pptx: "pptx";
778
+ xlsx: "xlsx";
779
+ odt: "odt";
780
+ ods: "ods";
781
+ odp: "odp";
782
+ odg: "odg";
783
+ odm: "odm";
784
+ odb: "odb";
785
+ odf: "odf";
786
+ markdown: "markdown";
787
+ pdf: "pdf";
788
+ }>;
789
+ xml: z.ZodString;
790
+ }, z.core.$strict>>;
638
791
  }, z.core.$strip>>;
639
792
  symbolTable: z.ZodOptional<z.ZodObject<{
640
793
  symbols: z.ZodArray<z.ZodObject<{
@@ -650,9 +803,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
650
803
  symbol: z.ZodString;
651
804
  name: z.ZodOptional<z.ZodString>;
652
805
  dimension: z.ZodRecord<z.ZodEnum<{
653
- time: "time";
654
806
  length: "length";
655
807
  mass: "mass";
808
+ time: "time";
656
809
  electricCurrent: "electricCurrent";
657
810
  thermodynamicTemperature: "thermodynamicTemperature";
658
811
  amountOfSubstance: "amountOfSubstance";
@@ -747,6 +900,23 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
747
900
  }, z.core.$strip>>;
748
901
  hyperlink: z.ZodOptional<z.ZodString>;
749
902
  sourcePath: z.ZodOptional<z.ZodString>;
903
+ source: z.ZodOptional<z.ZodObject<{
904
+ format: z.ZodEnum<{
905
+ docx: "docx";
906
+ pptx: "pptx";
907
+ xlsx: "xlsx";
908
+ odt: "odt";
909
+ ods: "ods";
910
+ odp: "odp";
911
+ odg: "odg";
912
+ odm: "odm";
913
+ odb: "odb";
914
+ odf: "odf";
915
+ markdown: "markdown";
916
+ pdf: "pdf";
917
+ }>;
918
+ xml: z.ZodString;
919
+ }, z.core.$strict>>;
750
920
  frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
751
921
  pageIndex: z.ZodNumber;
752
922
  xPt: z.ZodNumber;
@@ -841,6 +1011,23 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
841
1011
  }, z.core.$strip>>>;
842
1012
  }, z.core.$strip>>;
843
1013
  sourcePath: z.ZodOptional<z.ZodString>;
1014
+ source: z.ZodOptional<z.ZodObject<{
1015
+ format: z.ZodEnum<{
1016
+ docx: "docx";
1017
+ pptx: "pptx";
1018
+ xlsx: "xlsx";
1019
+ odt: "odt";
1020
+ ods: "ods";
1021
+ odp: "odp";
1022
+ odg: "odg";
1023
+ odm: "odm";
1024
+ odb: "odb";
1025
+ odf: "odf";
1026
+ markdown: "markdown";
1027
+ pdf: "pdf";
1028
+ }>;
1029
+ xml: z.ZodString;
1030
+ }, z.core.$strict>>;
844
1031
  frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
845
1032
  pageIndex: z.ZodNumber;
846
1033
  xPt: z.ZodNumber;
@@ -870,6 +1057,23 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
870
1057
  heightPt: z.ZodNumber;
871
1058
  altText: z.ZodOptional<z.ZodString>;
872
1059
  sourcePath: z.ZodOptional<z.ZodString>;
1060
+ source: z.ZodOptional<z.ZodObject<{
1061
+ format: z.ZodEnum<{
1062
+ docx: "docx";
1063
+ pptx: "pptx";
1064
+ xlsx: "xlsx";
1065
+ odt: "odt";
1066
+ ods: "ods";
1067
+ odp: "odp";
1068
+ odg: "odg";
1069
+ odm: "odm";
1070
+ odb: "odb";
1071
+ odf: "odf";
1072
+ markdown: "markdown";
1073
+ pdf: "pdf";
1074
+ }>;
1075
+ xml: z.ZodString;
1076
+ }, z.core.$strict>>;
873
1077
  frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
874
1078
  pageIndex: z.ZodNumber;
875
1079
  xPt: z.ZodNumber;
@@ -924,6 +1128,23 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
924
1128
  }, z.core.$strip>>;
925
1129
  }, z.core.$strip>;
926
1130
  embeddedObjects: z.ZodOptional<z.ZodArray<z.ZodCustom<import("document-schema.js").ContentEmbeddedObject, import("document-schema.js").ContentEmbeddedObject>>>;
1131
+ source: z.ZodOptional<z.ZodObject<{
1132
+ format: z.ZodEnum<{
1133
+ docx: "docx";
1134
+ pptx: "pptx";
1135
+ xlsx: "xlsx";
1136
+ odt: "odt";
1137
+ ods: "ods";
1138
+ odp: "odp";
1139
+ odg: "odg";
1140
+ odm: "odm";
1141
+ odb: "odb";
1142
+ odf: "odf";
1143
+ markdown: "markdown";
1144
+ pdf: "pdf";
1145
+ }>;
1146
+ xml: z.ZodString;
1147
+ }, z.core.$strict>>;
927
1148
  }, z.core.$strip>>;
928
1149
  symbolTable: z.ZodOptional<z.ZodObject<{
929
1150
  symbols: z.ZodArray<z.ZodObject<{
@@ -939,9 +1160,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
939
1160
  symbol: z.ZodString;
940
1161
  name: z.ZodOptional<z.ZodString>;
941
1162
  dimension: z.ZodRecord<z.ZodEnum<{
942
- time: "time";
943
1163
  length: "length";
944
1164
  mass: "mass";
1165
+ time: "time";
945
1166
  electricCurrent: "electricCurrent";
946
1167
  thermodynamicTemperature: "thermodynamicTemperature";
947
1168
  amountOfSubstance: "amountOfSubstance";
@@ -1002,6 +1223,23 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1002
1223
  lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
1003
1224
  paintOrder: z.ZodOptional<z.ZodNumber>;
1004
1225
  sourcePath: z.ZodOptional<z.ZodString>;
1226
+ source: z.ZodOptional<z.ZodObject<{
1227
+ format: z.ZodEnum<{
1228
+ docx: "docx";
1229
+ pptx: "pptx";
1230
+ xlsx: "xlsx";
1231
+ odt: "odt";
1232
+ ods: "ods";
1233
+ odp: "odp";
1234
+ odg: "odg";
1235
+ odm: "odm";
1236
+ odb: "odb";
1237
+ odf: "odf";
1238
+ markdown: "markdown";
1239
+ pdf: "pdf";
1240
+ }>;
1241
+ xml: z.ZodString;
1242
+ }, z.core.$strict>>;
1005
1243
  frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
1006
1244
  pageIndex: z.ZodNumber;
1007
1245
  xPt: z.ZodNumber;
@@ -1041,6 +1279,23 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1041
1279
  }, z.core.$strip>>;
1042
1280
  paintOrder: z.ZodOptional<z.ZodNumber>;
1043
1281
  sourcePath: z.ZodOptional<z.ZodString>;
1282
+ source: z.ZodOptional<z.ZodObject<{
1283
+ format: z.ZodEnum<{
1284
+ docx: "docx";
1285
+ pptx: "pptx";
1286
+ xlsx: "xlsx";
1287
+ odt: "odt";
1288
+ ods: "ods";
1289
+ odp: "odp";
1290
+ odg: "odg";
1291
+ odm: "odm";
1292
+ odb: "odb";
1293
+ odf: "odf";
1294
+ markdown: "markdown";
1295
+ pdf: "pdf";
1296
+ }>;
1297
+ xml: z.ZodString;
1298
+ }, z.core.$strict>>;
1044
1299
  frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
1045
1300
  pageIndex: z.ZodNumber;
1046
1301
  xPt: z.ZodNumber;
@@ -1078,6 +1333,23 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1078
1333
  }, z.core.$strip>>;
1079
1334
  paintOrder: z.ZodOptional<z.ZodNumber>;
1080
1335
  sourcePath: z.ZodOptional<z.ZodString>;
1336
+ source: z.ZodOptional<z.ZodObject<{
1337
+ format: z.ZodEnum<{
1338
+ docx: "docx";
1339
+ pptx: "pptx";
1340
+ xlsx: "xlsx";
1341
+ odt: "odt";
1342
+ ods: "ods";
1343
+ odp: "odp";
1344
+ odg: "odg";
1345
+ odm: "odm";
1346
+ odb: "odb";
1347
+ odf: "odf";
1348
+ markdown: "markdown";
1349
+ pdf: "pdf";
1350
+ }>;
1351
+ xml: z.ZodString;
1352
+ }, z.core.$strict>>;
1081
1353
  frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
1082
1354
  pageIndex: z.ZodNumber;
1083
1355
  xPt: z.ZodNumber;
@@ -1111,6 +1383,23 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1111
1383
  }, z.core.$strip>;
1112
1384
  paintOrder: z.ZodOptional<z.ZodNumber>;
1113
1385
  sourcePath: z.ZodOptional<z.ZodString>;
1386
+ source: z.ZodOptional<z.ZodObject<{
1387
+ format: z.ZodEnum<{
1388
+ docx: "docx";
1389
+ pptx: "pptx";
1390
+ xlsx: "xlsx";
1391
+ odt: "odt";
1392
+ ods: "ods";
1393
+ odp: "odp";
1394
+ odg: "odg";
1395
+ odm: "odm";
1396
+ odb: "odb";
1397
+ odf: "odf";
1398
+ markdown: "markdown";
1399
+ pdf: "pdf";
1400
+ }>;
1401
+ xml: z.ZodString;
1402
+ }, z.core.$strict>>;
1114
1403
  frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
1115
1404
  pageIndex: z.ZodNumber;
1116
1405
  xPt: z.ZodNumber;
@@ -1180,6 +1469,23 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1180
1469
  }, z.core.$strip>>;
1181
1470
  paintOrder: z.ZodOptional<z.ZodNumber>;
1182
1471
  sourcePath: z.ZodOptional<z.ZodString>;
1472
+ source: z.ZodOptional<z.ZodObject<{
1473
+ format: z.ZodEnum<{
1474
+ docx: "docx";
1475
+ pptx: "pptx";
1476
+ xlsx: "xlsx";
1477
+ odt: "odt";
1478
+ ods: "ods";
1479
+ odp: "odp";
1480
+ odg: "odg";
1481
+ odm: "odm";
1482
+ odb: "odb";
1483
+ odf: "odf";
1484
+ markdown: "markdown";
1485
+ pdf: "pdf";
1486
+ }>;
1487
+ xml: z.ZodString;
1488
+ }, z.core.$strict>>;
1183
1489
  frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
1184
1490
  pageIndex: z.ZodNumber;
1185
1491
  xPt: z.ZodNumber;
@@ -1188,6 +1494,23 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1188
1494
  heightPt: z.ZodNumber;
1189
1495
  }, z.core.$strip>>>;
1190
1496
  }, z.core.$strip>], "kind">>;
1497
+ source: z.ZodOptional<z.ZodObject<{
1498
+ format: z.ZodEnum<{
1499
+ docx: "docx";
1500
+ pptx: "pptx";
1501
+ xlsx: "xlsx";
1502
+ odt: "odt";
1503
+ ods: "ods";
1504
+ odp: "odp";
1505
+ odg: "odg";
1506
+ odm: "odm";
1507
+ odb: "odb";
1508
+ odf: "odf";
1509
+ markdown: "markdown";
1510
+ pdf: "pdf";
1511
+ }>;
1512
+ xml: z.ZodString;
1513
+ }, z.core.$strict>>;
1191
1514
  }, z.core.$strip>>;
1192
1515
  symbolTable: z.ZodOptional<z.ZodObject<{
1193
1516
  symbols: z.ZodArray<z.ZodObject<{
@@ -1203,9 +1526,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1203
1526
  symbol: z.ZodString;
1204
1527
  name: z.ZodOptional<z.ZodString>;
1205
1528
  dimension: z.ZodRecord<z.ZodEnum<{
1206
- time: "time";
1207
1529
  length: "length";
1208
1530
  mass: "mass";
1531
+ time: "time";
1209
1532
  electricCurrent: "electricCurrent";
1210
1533
  thermodynamicTemperature: "thermodynamicTemperature";
1211
1534
  amountOfSubstance: "amountOfSubstance";
@@ -1256,6 +1579,23 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1256
1579
  pageRef: z.ZodOptional<z.ZodString>;
1257
1580
  editTrail: z.ZodArray<z.ZodString>;
1258
1581
  }, z.core.$strip>>;
1582
+ source: z.ZodOptional<z.ZodObject<{
1583
+ format: z.ZodEnum<{
1584
+ docx: "docx";
1585
+ pptx: "pptx";
1586
+ xlsx: "xlsx";
1587
+ odt: "odt";
1588
+ ods: "ods";
1589
+ odp: "odp";
1590
+ odg: "odg";
1591
+ odm: "odm";
1592
+ odb: "odb";
1593
+ odf: "odf";
1594
+ markdown: "markdown";
1595
+ pdf: "pdf";
1596
+ }>;
1597
+ xml: z.ZodString;
1598
+ }, z.core.$strict>>;
1259
1599
  }, z.core.$strip>;
1260
1600
  symbolTable: z.ZodOptional<z.ZodObject<{
1261
1601
  symbols: z.ZodArray<z.ZodObject<{
@@ -1271,9 +1611,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1271
1611
  symbol: z.ZodString;
1272
1612
  name: z.ZodOptional<z.ZodString>;
1273
1613
  dimension: z.ZodRecord<z.ZodEnum<{
1274
- time: "time";
1275
1614
  length: "length";
1276
1615
  mass: "mass";
1616
+ time: "time";
1277
1617
  electricCurrent: "electricCurrent";
1278
1618
  thermodynamicTemperature: "thermodynamicTemperature";
1279
1619
  amountOfSubstance: "amountOfSubstance";
package/dist/codec.d.ts CHANGED
@@ -51,6 +51,23 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
51
51
  destinations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
52
52
  kind: z.ZodString;
53
53
  }, z.core.$loose>>>;
54
+ source: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
55
+ format: z.ZodEnum<{
56
+ docx: "docx";
57
+ pptx: "pptx";
58
+ xlsx: "xlsx";
59
+ odt: "odt";
60
+ ods: "ods";
61
+ odp: "odp";
62
+ odg: "odg";
63
+ odm: "odm";
64
+ odb: "odb";
65
+ odf: "odf";
66
+ markdown: "markdown";
67
+ pdf: "pdf";
68
+ }>;
69
+ xml: z.ZodString;
70
+ }, z.core.$strict>>>;
54
71
  symbolTable: z.ZodOptional<z.ZodObject<{
55
72
  symbols: z.ZodArray<z.ZodObject<{
56
73
  glyph: z.ZodString;
@@ -65,9 +82,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
65
82
  symbol: z.ZodString;
66
83
  name: z.ZodOptional<z.ZodString>;
67
84
  dimension: z.ZodRecord<z.ZodEnum<{
68
- time: "time";
69
85
  length: "length";
70
86
  mass: "mass";
87
+ time: "time";
71
88
  electricCurrent: "electricCurrent";
72
89
  thermodynamicTemperature: "thermodynamicTemperature";
73
90
  amountOfSubstance: "amountOfSubstance";
@@ -155,6 +172,23 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
155
172
  destinations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
156
173
  kind: z.ZodString;
157
174
  }, z.core.$loose>>>;
175
+ source: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
176
+ format: z.ZodEnum<{
177
+ docx: "docx";
178
+ pptx: "pptx";
179
+ xlsx: "xlsx";
180
+ odt: "odt";
181
+ ods: "ods";
182
+ odp: "odp";
183
+ odg: "odg";
184
+ odm: "odm";
185
+ odb: "odb";
186
+ odf: "odf";
187
+ markdown: "markdown";
188
+ pdf: "pdf";
189
+ }>;
190
+ xml: z.ZodString;
191
+ }, z.core.$strict>>>;
158
192
  symbolTable: z.ZodOptional<z.ZodObject<{
159
193
  symbols: z.ZodArray<z.ZodObject<{
160
194
  glyph: z.ZodString;
@@ -169,9 +203,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
169
203
  symbol: z.ZodString;
170
204
  name: z.ZodOptional<z.ZodString>;
171
205
  dimension: z.ZodRecord<z.ZodEnum<{
172
- time: "time";
173
206
  length: "length";
174
207
  mass: "mass";
208
+ time: "time";
175
209
  electricCurrent: "electricCurrent";
176
210
  thermodynamicTemperature: "thermodynamicTemperature";
177
211
  amountOfSubstance: "amountOfSubstance";
@@ -259,6 +293,23 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
259
293
  destinations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
260
294
  kind: z.ZodString;
261
295
  }, z.core.$loose>>>;
296
+ source: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
297
+ format: z.ZodEnum<{
298
+ docx: "docx";
299
+ pptx: "pptx";
300
+ xlsx: "xlsx";
301
+ odt: "odt";
302
+ ods: "ods";
303
+ odp: "odp";
304
+ odg: "odg";
305
+ odm: "odm";
306
+ odb: "odb";
307
+ odf: "odf";
308
+ markdown: "markdown";
309
+ pdf: "pdf";
310
+ }>;
311
+ xml: z.ZodString;
312
+ }, z.core.$strict>>>;
262
313
  symbolTable: z.ZodOptional<z.ZodObject<{
263
314
  symbols: z.ZodArray<z.ZodObject<{
264
315
  glyph: z.ZodString;
@@ -273,9 +324,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
273
324
  symbol: z.ZodString;
274
325
  name: z.ZodOptional<z.ZodString>;
275
326
  dimension: z.ZodRecord<z.ZodEnum<{
276
- time: "time";
277
327
  length: "length";
278
328
  mass: "mass";
329
+ time: "time";
279
330
  electricCurrent: "electricCurrent";
280
331
  thermodynamicTemperature: "thermodynamicTemperature";
281
332
  amountOfSubstance: "amountOfSubstance";
@@ -363,6 +414,23 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
363
414
  destinations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
364
415
  kind: z.ZodString;
365
416
  }, z.core.$loose>>>;
417
+ source: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
418
+ format: z.ZodEnum<{
419
+ docx: "docx";
420
+ pptx: "pptx";
421
+ xlsx: "xlsx";
422
+ odt: "odt";
423
+ ods: "ods";
424
+ odp: "odp";
425
+ odg: "odg";
426
+ odm: "odm";
427
+ odb: "odb";
428
+ odf: "odf";
429
+ markdown: "markdown";
430
+ pdf: "pdf";
431
+ }>;
432
+ xml: z.ZodString;
433
+ }, z.core.$strict>>>;
366
434
  symbolTable: z.ZodOptional<z.ZodObject<{
367
435
  symbols: z.ZodArray<z.ZodObject<{
368
436
  glyph: z.ZodString;
@@ -377,9 +445,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
377
445
  symbol: z.ZodString;
378
446
  name: z.ZodOptional<z.ZodString>;
379
447
  dimension: z.ZodRecord<z.ZodEnum<{
380
- time: "time";
381
448
  length: "length";
382
449
  mass: "mass";
450
+ time: "time";
383
451
  electricCurrent: "electricCurrent";
384
452
  thermodynamicTemperature: "thermodynamicTemperature";
385
453
  amountOfSubstance: "amountOfSubstance";
@@ -430,6 +498,23 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
430
498
  pageRef: z.ZodOptional<z.ZodString>;
431
499
  editTrail: z.ZodArray<z.ZodString>;
432
500
  }, z.core.$strip>>;
501
+ source: z.ZodOptional<z.ZodObject<{
502
+ format: z.ZodEnum<{
503
+ docx: "docx";
504
+ pptx: "pptx";
505
+ xlsx: "xlsx";
506
+ odt: "odt";
507
+ ods: "ods";
508
+ odp: "odp";
509
+ odg: "odg";
510
+ odm: "odm";
511
+ odb: "odb";
512
+ odf: "odf";
513
+ markdown: "markdown";
514
+ pdf: "pdf";
515
+ }>;
516
+ xml: z.ZodString;
517
+ }, z.core.$strict>>;
433
518
  }, z.core.$strip>>;
434
519
  pages: z.ZodOptional<z.ZodArray<z.ZodObject<{
435
520
  widthPt: z.ZodNumber;
@@ -479,6 +564,23 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
479
564
  destinations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
480
565
  kind: z.ZodString;
481
566
  }, z.core.$loose>>>;
567
+ source: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
568
+ format: z.ZodEnum<{
569
+ docx: "docx";
570
+ pptx: "pptx";
571
+ xlsx: "xlsx";
572
+ odt: "odt";
573
+ ods: "ods";
574
+ odp: "odp";
575
+ odg: "odg";
576
+ odm: "odm";
577
+ odb: "odb";
578
+ odf: "odf";
579
+ markdown: "markdown";
580
+ pdf: "pdf";
581
+ }>;
582
+ xml: z.ZodString;
583
+ }, z.core.$strict>>>;
482
584
  symbolTable: z.ZodOptional<z.ZodObject<{
483
585
  symbols: z.ZodArray<z.ZodObject<{
484
586
  glyph: z.ZodString;
@@ -493,9 +595,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
493
595
  symbol: z.ZodString;
494
596
  name: z.ZodOptional<z.ZodString>;
495
597
  dimension: z.ZodRecord<z.ZodEnum<{
496
- time: "time";
497
598
  length: "length";
498
599
  mass: "mass";
600
+ time: "time";
499
601
  electricCurrent: "electricCurrent";
500
602
  thermodynamicTemperature: "thermodynamicTemperature";
501
603
  amountOfSubstance: "amountOfSubstance";
@@ -547,6 +649,23 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
547
649
  leftPt: z.ZodNumber;
548
650
  }, z.core.$strip>;
549
651
  blocks: z.ZodArray<z.ZodCustom<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>;
652
+ source: z.ZodOptional<z.ZodObject<{
653
+ format: z.ZodEnum<{
654
+ docx: "docx";
655
+ pptx: "pptx";
656
+ xlsx: "xlsx";
657
+ odt: "odt";
658
+ ods: "ods";
659
+ odp: "odp";
660
+ odg: "odg";
661
+ odm: "odm";
662
+ odb: "odb";
663
+ odf: "odf";
664
+ markdown: "markdown";
665
+ pdf: "pdf";
666
+ }>;
667
+ xml: z.ZodString;
668
+ }, z.core.$strict>>;
550
669
  }, z.core.$strip>>;
551
670
  symbolTable: z.ZodOptional<z.ZodObject<{
552
671
  symbols: z.ZodArray<z.ZodObject<{
@@ -562,9 +681,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
562
681
  symbol: z.ZodString;
563
682
  name: z.ZodOptional<z.ZodString>;
564
683
  dimension: z.ZodRecord<z.ZodEnum<{
565
- time: "time";
566
684
  length: "length";
567
685
  mass: "mass";
686
+ time: "time";
568
687
  electricCurrent: "electricCurrent";
569
688
  thermodynamicTemperature: "thermodynamicTemperature";
570
689
  amountOfSubstance: "amountOfSubstance";
@@ -625,6 +744,23 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
625
744
  lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
626
745
  paintOrder: z.ZodOptional<z.ZodNumber>;
627
746
  sourcePath: z.ZodOptional<z.ZodString>;
747
+ source: z.ZodOptional<z.ZodObject<{
748
+ format: z.ZodEnum<{
749
+ docx: "docx";
750
+ pptx: "pptx";
751
+ xlsx: "xlsx";
752
+ odt: "odt";
753
+ ods: "ods";
754
+ odp: "odp";
755
+ odg: "odg";
756
+ odm: "odm";
757
+ odb: "odb";
758
+ odf: "odf";
759
+ markdown: "markdown";
760
+ pdf: "pdf";
761
+ }>;
762
+ xml: z.ZodString;
763
+ }, z.core.$strict>>;
628
764
  frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
629
765
  pageIndex: z.ZodNumber;
630
766
  xPt: z.ZodNumber;
@@ -635,6 +771,23 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
635
771
  blocks: z.ZodArray<z.ZodCustom<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>;
636
772
  }, z.core.$strip>>;
637
773
  notes: z.ZodString;
774
+ source: z.ZodOptional<z.ZodObject<{
775
+ format: z.ZodEnum<{
776
+ docx: "docx";
777
+ pptx: "pptx";
778
+ xlsx: "xlsx";
779
+ odt: "odt";
780
+ ods: "ods";
781
+ odp: "odp";
782
+ odg: "odg";
783
+ odm: "odm";
784
+ odb: "odb";
785
+ odf: "odf";
786
+ markdown: "markdown";
787
+ pdf: "pdf";
788
+ }>;
789
+ xml: z.ZodString;
790
+ }, z.core.$strict>>;
638
791
  }, z.core.$strip>>;
639
792
  symbolTable: z.ZodOptional<z.ZodObject<{
640
793
  symbols: z.ZodArray<z.ZodObject<{
@@ -650,9 +803,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
650
803
  symbol: z.ZodString;
651
804
  name: z.ZodOptional<z.ZodString>;
652
805
  dimension: z.ZodRecord<z.ZodEnum<{
653
- time: "time";
654
806
  length: "length";
655
807
  mass: "mass";
808
+ time: "time";
656
809
  electricCurrent: "electricCurrent";
657
810
  thermodynamicTemperature: "thermodynamicTemperature";
658
811
  amountOfSubstance: "amountOfSubstance";
@@ -747,6 +900,23 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
747
900
  }, z.core.$strip>>;
748
901
  hyperlink: z.ZodOptional<z.ZodString>;
749
902
  sourcePath: z.ZodOptional<z.ZodString>;
903
+ source: z.ZodOptional<z.ZodObject<{
904
+ format: z.ZodEnum<{
905
+ docx: "docx";
906
+ pptx: "pptx";
907
+ xlsx: "xlsx";
908
+ odt: "odt";
909
+ ods: "ods";
910
+ odp: "odp";
911
+ odg: "odg";
912
+ odm: "odm";
913
+ odb: "odb";
914
+ odf: "odf";
915
+ markdown: "markdown";
916
+ pdf: "pdf";
917
+ }>;
918
+ xml: z.ZodString;
919
+ }, z.core.$strict>>;
750
920
  frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
751
921
  pageIndex: z.ZodNumber;
752
922
  xPt: z.ZodNumber;
@@ -841,6 +1011,23 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
841
1011
  }, z.core.$strip>>>;
842
1012
  }, z.core.$strip>>;
843
1013
  sourcePath: z.ZodOptional<z.ZodString>;
1014
+ source: z.ZodOptional<z.ZodObject<{
1015
+ format: z.ZodEnum<{
1016
+ docx: "docx";
1017
+ pptx: "pptx";
1018
+ xlsx: "xlsx";
1019
+ odt: "odt";
1020
+ ods: "ods";
1021
+ odp: "odp";
1022
+ odg: "odg";
1023
+ odm: "odm";
1024
+ odb: "odb";
1025
+ odf: "odf";
1026
+ markdown: "markdown";
1027
+ pdf: "pdf";
1028
+ }>;
1029
+ xml: z.ZodString;
1030
+ }, z.core.$strict>>;
844
1031
  frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
845
1032
  pageIndex: z.ZodNumber;
846
1033
  xPt: z.ZodNumber;
@@ -870,6 +1057,23 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
870
1057
  heightPt: z.ZodNumber;
871
1058
  altText: z.ZodOptional<z.ZodString>;
872
1059
  sourcePath: z.ZodOptional<z.ZodString>;
1060
+ source: z.ZodOptional<z.ZodObject<{
1061
+ format: z.ZodEnum<{
1062
+ docx: "docx";
1063
+ pptx: "pptx";
1064
+ xlsx: "xlsx";
1065
+ odt: "odt";
1066
+ ods: "ods";
1067
+ odp: "odp";
1068
+ odg: "odg";
1069
+ odm: "odm";
1070
+ odb: "odb";
1071
+ odf: "odf";
1072
+ markdown: "markdown";
1073
+ pdf: "pdf";
1074
+ }>;
1075
+ xml: z.ZodString;
1076
+ }, z.core.$strict>>;
873
1077
  frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
874
1078
  pageIndex: z.ZodNumber;
875
1079
  xPt: z.ZodNumber;
@@ -924,6 +1128,23 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
924
1128
  }, z.core.$strip>>;
925
1129
  }, z.core.$strip>;
926
1130
  embeddedObjects: z.ZodOptional<z.ZodArray<z.ZodCustom<import("document-schema.js").ContentEmbeddedObject, import("document-schema.js").ContentEmbeddedObject>>>;
1131
+ source: z.ZodOptional<z.ZodObject<{
1132
+ format: z.ZodEnum<{
1133
+ docx: "docx";
1134
+ pptx: "pptx";
1135
+ xlsx: "xlsx";
1136
+ odt: "odt";
1137
+ ods: "ods";
1138
+ odp: "odp";
1139
+ odg: "odg";
1140
+ odm: "odm";
1141
+ odb: "odb";
1142
+ odf: "odf";
1143
+ markdown: "markdown";
1144
+ pdf: "pdf";
1145
+ }>;
1146
+ xml: z.ZodString;
1147
+ }, z.core.$strict>>;
927
1148
  }, z.core.$strip>>;
928
1149
  symbolTable: z.ZodOptional<z.ZodObject<{
929
1150
  symbols: z.ZodArray<z.ZodObject<{
@@ -939,9 +1160,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
939
1160
  symbol: z.ZodString;
940
1161
  name: z.ZodOptional<z.ZodString>;
941
1162
  dimension: z.ZodRecord<z.ZodEnum<{
942
- time: "time";
943
1163
  length: "length";
944
1164
  mass: "mass";
1165
+ time: "time";
945
1166
  electricCurrent: "electricCurrent";
946
1167
  thermodynamicTemperature: "thermodynamicTemperature";
947
1168
  amountOfSubstance: "amountOfSubstance";
@@ -1002,6 +1223,23 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1002
1223
  lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
1003
1224
  paintOrder: z.ZodOptional<z.ZodNumber>;
1004
1225
  sourcePath: z.ZodOptional<z.ZodString>;
1226
+ source: z.ZodOptional<z.ZodObject<{
1227
+ format: z.ZodEnum<{
1228
+ docx: "docx";
1229
+ pptx: "pptx";
1230
+ xlsx: "xlsx";
1231
+ odt: "odt";
1232
+ ods: "ods";
1233
+ odp: "odp";
1234
+ odg: "odg";
1235
+ odm: "odm";
1236
+ odb: "odb";
1237
+ odf: "odf";
1238
+ markdown: "markdown";
1239
+ pdf: "pdf";
1240
+ }>;
1241
+ xml: z.ZodString;
1242
+ }, z.core.$strict>>;
1005
1243
  frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
1006
1244
  pageIndex: z.ZodNumber;
1007
1245
  xPt: z.ZodNumber;
@@ -1041,6 +1279,23 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1041
1279
  }, z.core.$strip>>;
1042
1280
  paintOrder: z.ZodOptional<z.ZodNumber>;
1043
1281
  sourcePath: z.ZodOptional<z.ZodString>;
1282
+ source: z.ZodOptional<z.ZodObject<{
1283
+ format: z.ZodEnum<{
1284
+ docx: "docx";
1285
+ pptx: "pptx";
1286
+ xlsx: "xlsx";
1287
+ odt: "odt";
1288
+ ods: "ods";
1289
+ odp: "odp";
1290
+ odg: "odg";
1291
+ odm: "odm";
1292
+ odb: "odb";
1293
+ odf: "odf";
1294
+ markdown: "markdown";
1295
+ pdf: "pdf";
1296
+ }>;
1297
+ xml: z.ZodString;
1298
+ }, z.core.$strict>>;
1044
1299
  frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
1045
1300
  pageIndex: z.ZodNumber;
1046
1301
  xPt: z.ZodNumber;
@@ -1078,6 +1333,23 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1078
1333
  }, z.core.$strip>>;
1079
1334
  paintOrder: z.ZodOptional<z.ZodNumber>;
1080
1335
  sourcePath: z.ZodOptional<z.ZodString>;
1336
+ source: z.ZodOptional<z.ZodObject<{
1337
+ format: z.ZodEnum<{
1338
+ docx: "docx";
1339
+ pptx: "pptx";
1340
+ xlsx: "xlsx";
1341
+ odt: "odt";
1342
+ ods: "ods";
1343
+ odp: "odp";
1344
+ odg: "odg";
1345
+ odm: "odm";
1346
+ odb: "odb";
1347
+ odf: "odf";
1348
+ markdown: "markdown";
1349
+ pdf: "pdf";
1350
+ }>;
1351
+ xml: z.ZodString;
1352
+ }, z.core.$strict>>;
1081
1353
  frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
1082
1354
  pageIndex: z.ZodNumber;
1083
1355
  xPt: z.ZodNumber;
@@ -1111,6 +1383,23 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1111
1383
  }, z.core.$strip>;
1112
1384
  paintOrder: z.ZodOptional<z.ZodNumber>;
1113
1385
  sourcePath: z.ZodOptional<z.ZodString>;
1386
+ source: z.ZodOptional<z.ZodObject<{
1387
+ format: z.ZodEnum<{
1388
+ docx: "docx";
1389
+ pptx: "pptx";
1390
+ xlsx: "xlsx";
1391
+ odt: "odt";
1392
+ ods: "ods";
1393
+ odp: "odp";
1394
+ odg: "odg";
1395
+ odm: "odm";
1396
+ odb: "odb";
1397
+ odf: "odf";
1398
+ markdown: "markdown";
1399
+ pdf: "pdf";
1400
+ }>;
1401
+ xml: z.ZodString;
1402
+ }, z.core.$strict>>;
1114
1403
  frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
1115
1404
  pageIndex: z.ZodNumber;
1116
1405
  xPt: z.ZodNumber;
@@ -1180,6 +1469,23 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1180
1469
  }, z.core.$strip>>;
1181
1470
  paintOrder: z.ZodOptional<z.ZodNumber>;
1182
1471
  sourcePath: z.ZodOptional<z.ZodString>;
1472
+ source: z.ZodOptional<z.ZodObject<{
1473
+ format: z.ZodEnum<{
1474
+ docx: "docx";
1475
+ pptx: "pptx";
1476
+ xlsx: "xlsx";
1477
+ odt: "odt";
1478
+ ods: "ods";
1479
+ odp: "odp";
1480
+ odg: "odg";
1481
+ odm: "odm";
1482
+ odb: "odb";
1483
+ odf: "odf";
1484
+ markdown: "markdown";
1485
+ pdf: "pdf";
1486
+ }>;
1487
+ xml: z.ZodString;
1488
+ }, z.core.$strict>>;
1183
1489
  frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
1184
1490
  pageIndex: z.ZodNumber;
1185
1491
  xPt: z.ZodNumber;
@@ -1188,6 +1494,23 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1188
1494
  heightPt: z.ZodNumber;
1189
1495
  }, z.core.$strip>>>;
1190
1496
  }, z.core.$strip>], "kind">>;
1497
+ source: z.ZodOptional<z.ZodObject<{
1498
+ format: z.ZodEnum<{
1499
+ docx: "docx";
1500
+ pptx: "pptx";
1501
+ xlsx: "xlsx";
1502
+ odt: "odt";
1503
+ ods: "ods";
1504
+ odp: "odp";
1505
+ odg: "odg";
1506
+ odm: "odm";
1507
+ odb: "odb";
1508
+ odf: "odf";
1509
+ markdown: "markdown";
1510
+ pdf: "pdf";
1511
+ }>;
1512
+ xml: z.ZodString;
1513
+ }, z.core.$strict>>;
1191
1514
  }, z.core.$strip>>;
1192
1515
  symbolTable: z.ZodOptional<z.ZodObject<{
1193
1516
  symbols: z.ZodArray<z.ZodObject<{
@@ -1203,9 +1526,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1203
1526
  symbol: z.ZodString;
1204
1527
  name: z.ZodOptional<z.ZodString>;
1205
1528
  dimension: z.ZodRecord<z.ZodEnum<{
1206
- time: "time";
1207
1529
  length: "length";
1208
1530
  mass: "mass";
1531
+ time: "time";
1209
1532
  electricCurrent: "electricCurrent";
1210
1533
  thermodynamicTemperature: "thermodynamicTemperature";
1211
1534
  amountOfSubstance: "amountOfSubstance";
@@ -1256,6 +1579,23 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1256
1579
  pageRef: z.ZodOptional<z.ZodString>;
1257
1580
  editTrail: z.ZodArray<z.ZodString>;
1258
1581
  }, z.core.$strip>>;
1582
+ source: z.ZodOptional<z.ZodObject<{
1583
+ format: z.ZodEnum<{
1584
+ docx: "docx";
1585
+ pptx: "pptx";
1586
+ xlsx: "xlsx";
1587
+ odt: "odt";
1588
+ ods: "ods";
1589
+ odp: "odp";
1590
+ odg: "odg";
1591
+ odm: "odm";
1592
+ odb: "odb";
1593
+ odf: "odf";
1594
+ markdown: "markdown";
1595
+ pdf: "pdf";
1596
+ }>;
1597
+ xml: z.ZodString;
1598
+ }, z.core.$strict>>;
1259
1599
  }, z.core.$strip>;
1260
1600
  symbolTable: z.ZodOptional<z.ZodObject<{
1261
1601
  symbols: z.ZodArray<z.ZodObject<{
@@ -1271,9 +1611,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1271
1611
  symbol: z.ZodString;
1272
1612
  name: z.ZodOptional<z.ZodString>;
1273
1613
  dimension: z.ZodRecord<z.ZodEnum<{
1274
- time: "time";
1275
1614
  length: "length";
1276
1615
  mass: "mass";
1616
+ time: "time";
1277
1617
  electricCurrent: "electricCurrent";
1278
1618
  thermodynamicTemperature: "thermodynamicTemperature";
1279
1619
  amountOfSubstance: "amountOfSubstance";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "markdown-codec",
3
- "version": "4.0.11",
3
+ "version": "4.0.13",
4
4
  "description": "Hand-written CommonMark+GFM <-> DocumentPackage codec, built on document-schema.js",
5
5
  "type": "module",
6
6
  "repository": {
@@ -81,7 +81,7 @@
81
81
  "license": "MIT",
82
82
  "packageManager": "pnpm@11.6.0",
83
83
  "dependencies": {
84
- "document-schema.js": "^4.3.7",
84
+ "document-schema.js": "^4.5.0",
85
85
  "zod": "^4.4.3"
86
86
  },
87
87
  "devDependencies": {