mrkdwn.js 6.6.6 → 6.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/codec.d.cts CHANGED
@@ -7,6 +7,12 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
7
7
  widthPt: z.ZodNumber;
8
8
  heightPt: z.ZodNumber;
9
9
  }, z.core.$strip>>>;
10
+ fonts: z.ZodOptional<z.ZodArray<z.ZodObject<{
11
+ family: z.ZodString;
12
+ bold: z.ZodBoolean;
13
+ italic: z.ZodBoolean;
14
+ base64: z.ZodString;
15
+ }, z.core.$strip>>>;
10
16
  styles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
11
17
  paragraph: z.ZodOptional<z.ZodObject<{
12
18
  alignment: z.ZodOptional<z.ZodEnum<{
@@ -97,9 +103,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
97
103
  symbol: z.ZodString;
98
104
  name: z.ZodOptional<z.ZodString>;
99
105
  dimension: z.ZodRecord<z.ZodEnum<{
106
+ time: "time";
100
107
  length: "length";
101
108
  mass: "mass";
102
- time: "time";
103
109
  electricCurrent: "electricCurrent";
104
110
  thermodynamicTemperature: "thermodynamicTemperature";
105
111
  amountOfSubstance: "amountOfSubstance";
@@ -156,6 +162,12 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
156
162
  widthPt: z.ZodNumber;
157
163
  heightPt: z.ZodNumber;
158
164
  }, z.core.$strip>>>;
165
+ fonts: z.ZodOptional<z.ZodArray<z.ZodObject<{
166
+ family: z.ZodString;
167
+ bold: z.ZodBoolean;
168
+ italic: z.ZodBoolean;
169
+ base64: z.ZodString;
170
+ }, z.core.$strip>>>;
159
171
  styles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
160
172
  paragraph: z.ZodOptional<z.ZodObject<{
161
173
  alignment: z.ZodOptional<z.ZodEnum<{
@@ -246,9 +258,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
246
258
  symbol: z.ZodString;
247
259
  name: z.ZodOptional<z.ZodString>;
248
260
  dimension: z.ZodRecord<z.ZodEnum<{
261
+ time: "time";
249
262
  length: "length";
250
263
  mass: "mass";
251
- time: "time";
252
264
  electricCurrent: "electricCurrent";
253
265
  thermodynamicTemperature: "thermodynamicTemperature";
254
266
  amountOfSubstance: "amountOfSubstance";
@@ -310,6 +322,12 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
310
322
  widthPt: z.ZodNumber;
311
323
  heightPt: z.ZodNumber;
312
324
  }, z.core.$strip>>>;
325
+ fonts: z.ZodOptional<z.ZodArray<z.ZodObject<{
326
+ family: z.ZodString;
327
+ bold: z.ZodBoolean;
328
+ italic: z.ZodBoolean;
329
+ base64: z.ZodString;
330
+ }, z.core.$strip>>>;
313
331
  styles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
314
332
  paragraph: z.ZodOptional<z.ZodObject<{
315
333
  alignment: z.ZodOptional<z.ZodEnum<{
@@ -400,9 +418,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
400
418
  symbol: z.ZodString;
401
419
  name: z.ZodOptional<z.ZodString>;
402
420
  dimension: z.ZodRecord<z.ZodEnum<{
421
+ time: "time";
403
422
  length: "length";
404
423
  mass: "mass";
405
- time: "time";
406
424
  electricCurrent: "electricCurrent";
407
425
  thermodynamicTemperature: "thermodynamicTemperature";
408
426
  amountOfSubstance: "amountOfSubstance";
@@ -459,6 +477,12 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
459
477
  widthPt: z.ZodNumber;
460
478
  heightPt: z.ZodNumber;
461
479
  }, z.core.$strip>>>;
480
+ fonts: z.ZodOptional<z.ZodArray<z.ZodObject<{
481
+ family: z.ZodString;
482
+ bold: z.ZodBoolean;
483
+ italic: z.ZodBoolean;
484
+ base64: z.ZodString;
485
+ }, z.core.$strip>>>;
462
486
  styles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
463
487
  paragraph: z.ZodOptional<z.ZodObject<{
464
488
  alignment: z.ZodOptional<z.ZodEnum<{
@@ -549,9 +573,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
549
573
  symbol: z.ZodString;
550
574
  name: z.ZodOptional<z.ZodString>;
551
575
  dimension: z.ZodRecord<z.ZodEnum<{
576
+ time: "time";
552
577
  length: "length";
553
578
  mass: "mass";
554
- time: "time";
555
579
  electricCurrent: "electricCurrent";
556
580
  thermodynamicTemperature: "thermodynamicTemperature";
557
581
  amountOfSubstance: "amountOfSubstance";
@@ -605,12 +629,12 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
605
629
  }, z.core.$strip>, z.ZodObject<{
606
630
  children: z.ZodArray<z.ZodObject<{
607
631
  origin: z.ZodOptional<z.ZodEnum<{
608
- body: "body";
609
632
  chart: "chart";
610
633
  diagram: "diagram";
611
634
  table: "table";
612
635
  image: "image";
613
636
  notes: "notes";
637
+ body: "body";
614
638
  }>>;
615
639
  interpretation: z.ZodOptional<z.ZodObject<{
616
640
  transcript: z.ZodOptional<z.ZodObject<{
@@ -667,6 +691,12 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
667
691
  widthPt: z.ZodNumber;
668
692
  heightPt: z.ZodNumber;
669
693
  }, z.core.$strip>>>;
694
+ fonts: z.ZodOptional<z.ZodArray<z.ZodObject<{
695
+ family: z.ZodString;
696
+ bold: z.ZodBoolean;
697
+ italic: z.ZodBoolean;
698
+ base64: z.ZodString;
699
+ }, z.core.$strip>>>;
670
700
  styles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
671
701
  paragraph: z.ZodOptional<z.ZodObject<{
672
702
  alignment: z.ZodOptional<z.ZodEnum<{
@@ -757,9 +787,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
757
787
  symbol: z.ZodString;
758
788
  name: z.ZodOptional<z.ZodString>;
759
789
  dimension: z.ZodRecord<z.ZodEnum<{
790
+ time: "time";
760
791
  length: "length";
761
792
  mass: "mass";
762
- time: "time";
763
793
  electricCurrent: "electricCurrent";
764
794
  thermodynamicTemperature: "thermodynamicTemperature";
765
795
  amountOfSubstance: "amountOfSubstance";
@@ -814,12 +844,12 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
814
844
  declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, z.ZodDiscriminatedUnion<[z.ZodObject<{
815
845
  sections: z.ZodArray<z.ZodObject<{
816
846
  origin: z.ZodOptional<z.ZodEnum<{
817
- body: "body";
818
847
  chart: "chart";
819
848
  diagram: "diagram";
820
849
  table: "table";
821
850
  image: "image";
822
851
  notes: "notes";
852
+ body: "body";
823
853
  }>>;
824
854
  interpretation: z.ZodOptional<z.ZodObject<{
825
855
  transcript: z.ZodOptional<z.ZodObject<{
@@ -867,6 +897,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
867
897
  even: z.ZodOptional<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>>>>>;
868
898
  first: z.ZodOptional<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>>>>>;
869
899
  }, z.core.$strip>>;
900
+ watermarks: z.ZodOptional<z.ZodObject<{
901
+ default: z.ZodOptional<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>>>>>;
902
+ even: z.ZodOptional<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>>>>>;
903
+ first: z.ZodOptional<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>>>>>;
904
+ }, z.core.$strip>>;
870
905
  source: z.ZodOptional<z.ZodObject<{
871
906
  format: z.ZodEnum<{
872
907
  docx: "docx";
@@ -902,9 +937,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
902
937
  symbol: z.ZodString;
903
938
  name: z.ZodOptional<z.ZodString>;
904
939
  dimension: z.ZodRecord<z.ZodEnum<{
940
+ time: "time";
905
941
  length: "length";
906
942
  mass: "mass";
907
- time: "time";
908
943
  electricCurrent: "electricCurrent";
909
944
  thermodynamicTemperature: "thermodynamicTemperature";
910
945
  amountOfSubstance: "amountOfSubstance";
@@ -958,12 +993,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
958
993
  }, z.core.$strip>, z.ZodObject<{
959
994
  slides: z.ZodArray<z.ZodObject<{
960
995
  origin: z.ZodOptional<z.ZodEnum<{
961
- body: "body";
962
996
  chart: "chart";
963
997
  diagram: "diagram";
964
998
  table: "table";
965
999
  image: "image";
966
1000
  notes: "notes";
1001
+ body: "body";
967
1002
  }>>;
968
1003
  interpretation: z.ZodOptional<z.ZodObject<{
969
1004
  transcript: z.ZodOptional<z.ZodObject<{
@@ -991,12 +1026,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
991
1026
  shapes: z.ZodArray<z.ZodObject<{
992
1027
  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
1028
  origin: z.ZodOptional<z.ZodEnum<{
994
- body: "body";
995
1029
  chart: "chart";
996
1030
  diagram: "diagram";
997
1031
  table: "table";
998
1032
  image: "image";
999
1033
  notes: "notes";
1034
+ body: "body";
1000
1035
  }>>;
1001
1036
  interpretation: z.ZodOptional<z.ZodObject<{
1002
1037
  transcript: z.ZodOptional<z.ZodObject<{
@@ -1032,6 +1067,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1032
1067
  fontScale: z.ZodOptional<z.ZodNumber>;
1033
1068
  lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
1034
1069
  paintOrder: z.ZodOptional<z.ZodNumber>;
1070
+ readingOrder: z.ZodOptional<z.ZodNumber>;
1035
1071
  sourcePath: z.ZodOptional<z.ZodString>;
1036
1072
  source: z.ZodOptional<z.ZodObject<{
1037
1073
  format: z.ZodEnum<{
@@ -1097,9 +1133,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1097
1133
  symbol: z.ZodString;
1098
1134
  name: z.ZodOptional<z.ZodString>;
1099
1135
  dimension: z.ZodRecord<z.ZodEnum<{
1136
+ time: "time";
1100
1137
  length: "length";
1101
1138
  mass: "mass";
1102
- time: "time";
1103
1139
  electricCurrent: "electricCurrent";
1104
1140
  thermodynamicTemperature: "thermodynamicTemperature";
1105
1141
  amountOfSubstance: "amountOfSubstance";
@@ -1153,12 +1189,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1153
1189
  }, z.core.$strip>, z.ZodObject<{
1154
1190
  sheets: z.ZodArray<z.ZodObject<{
1155
1191
  origin: z.ZodOptional<z.ZodEnum<{
1156
- body: "body";
1157
1192
  chart: "chart";
1158
1193
  diagram: "diagram";
1159
1194
  table: "table";
1160
1195
  image: "image";
1161
1196
  notes: "notes";
1197
+ body: "body";
1162
1198
  }>>;
1163
1199
  interpretation: z.ZodOptional<z.ZodObject<{
1164
1200
  transcript: z.ZodOptional<z.ZodObject<{
@@ -1182,12 +1218,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1182
1218
  name: z.ZodString;
1183
1219
  cells: z.ZodArray<z.ZodObject<{
1184
1220
  origin: z.ZodOptional<z.ZodEnum<{
1185
- body: "body";
1186
1221
  chart: "chart";
1187
1222
  diagram: "diagram";
1188
1223
  table: "table";
1189
1224
  image: "image";
1190
1225
  notes: "notes";
1226
+ body: "body";
1191
1227
  }>>;
1192
1228
  interpretation: z.ZodOptional<z.ZodObject<{
1193
1229
  transcript: z.ZodOptional<z.ZodObject<{
@@ -1262,12 +1298,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1262
1298
  }, z.core.$strip>>;
1263
1299
  runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1264
1300
  origin: z.ZodOptional<z.ZodEnum<{
1265
- body: "body";
1266
1301
  chart: "chart";
1267
1302
  diagram: "diagram";
1268
1303
  table: "table";
1269
1304
  image: "image";
1270
1305
  notes: "notes";
1306
+ body: "body";
1271
1307
  }>>;
1272
1308
  interpretation: z.ZodOptional<z.ZodObject<{
1273
1309
  transcript: z.ZodOptional<z.ZodObject<{
@@ -1561,12 +1597,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1561
1597
  }, z.core.$strip>>;
1562
1598
  images: z.ZodArray<z.ZodObject<{
1563
1599
  origin: z.ZodOptional<z.ZodEnum<{
1564
- body: "body";
1565
1600
  chart: "chart";
1566
1601
  diagram: "diagram";
1567
1602
  table: "table";
1568
1603
  image: "image";
1569
1604
  notes: "notes";
1605
+ body: "body";
1570
1606
  }>>;
1571
1607
  interpretation: z.ZodOptional<z.ZodObject<{
1572
1608
  transcript: z.ZodOptional<z.ZodObject<{
@@ -1780,11 +1816,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1780
1816
  endColumn: z.ZodNumber;
1781
1817
  }, z.core.$strip>>;
1782
1818
  type: z.ZodEnum<{
1783
- time: "time";
1784
1819
  date: "date";
1785
1820
  custom: "custom";
1786
1821
  decimal: "decimal";
1787
1822
  list: "list";
1823
+ time: "time";
1788
1824
  whole: "whole";
1789
1825
  textLength: "textLength";
1790
1826
  }>;
@@ -2255,11 +2291,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2255
2291
  stops: z.ZodArray<z.ZodObject<{
2256
2292
  value: z.ZodObject<{
2257
2293
  type: z.ZodEnum<{
2258
- num: "num";
2259
- min: "min";
2260
- max: "max";
2261
2294
  formula: "formula";
2262
2295
  percent: "percent";
2296
+ num: "num";
2297
+ max: "max";
2298
+ min: "min";
2263
2299
  percentile: "percentile";
2264
2300
  }>;
2265
2301
  value: z.ZodOptional<z.ZodString>;
@@ -2302,22 +2338,22 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2302
2338
  }, z.core.$strip>, z.ZodObject<{
2303
2339
  min: z.ZodObject<{
2304
2340
  type: z.ZodEnum<{
2305
- num: "num";
2306
- min: "min";
2307
- max: "max";
2308
2341
  formula: "formula";
2309
2342
  percent: "percent";
2343
+ num: "num";
2344
+ max: "max";
2345
+ min: "min";
2310
2346
  percentile: "percentile";
2311
2347
  }>;
2312
2348
  value: z.ZodOptional<z.ZodString>;
2313
2349
  }, z.core.$strip>;
2314
2350
  max: z.ZodObject<{
2315
2351
  type: z.ZodEnum<{
2316
- num: "num";
2317
- min: "min";
2318
- max: "max";
2319
2352
  formula: "formula";
2320
2353
  percent: "percent";
2354
+ num: "num";
2355
+ max: "max";
2356
+ min: "min";
2321
2357
  percentile: "percentile";
2322
2358
  }>;
2323
2359
  value: z.ZodOptional<z.ZodString>;
@@ -2361,11 +2397,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2361
2397
  iconSetType: z.ZodString;
2362
2398
  thresholds: z.ZodArray<z.ZodObject<{
2363
2399
  type: z.ZodEnum<{
2364
- num: "num";
2365
- min: "min";
2366
- max: "max";
2367
2400
  formula: "formula";
2368
2401
  percent: "percent";
2402
+ num: "num";
2403
+ max: "max";
2404
+ min: "min";
2369
2405
  percentile: "percentile";
2370
2406
  }>;
2371
2407
  value: z.ZodOptional<z.ZodString>;
@@ -2442,9 +2478,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2442
2478
  symbol: z.ZodString;
2443
2479
  name: z.ZodOptional<z.ZodString>;
2444
2480
  dimension: z.ZodRecord<z.ZodEnum<{
2481
+ time: "time";
2445
2482
  length: "length";
2446
2483
  mass: "mass";
2447
- time: "time";
2448
2484
  electricCurrent: "electricCurrent";
2449
2485
  thermodynamicTemperature: "thermodynamicTemperature";
2450
2486
  amountOfSubstance: "amountOfSubstance";
@@ -2498,12 +2534,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2498
2534
  }, z.core.$strip>, z.ZodObject<{
2499
2535
  pages: z.ZodArray<z.ZodObject<{
2500
2536
  origin: z.ZodOptional<z.ZodEnum<{
2501
- body: "body";
2502
2537
  chart: "chart";
2503
2538
  diagram: "diagram";
2504
2539
  table: "table";
2505
2540
  image: "image";
2506
2541
  notes: "notes";
2542
+ body: "body";
2507
2543
  }>>;
2508
2544
  interpretation: z.ZodOptional<z.ZodObject<{
2509
2545
  transcript: z.ZodOptional<z.ZodObject<{
@@ -2531,12 +2567,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2531
2567
  shapes: z.ZodArray<z.ZodObject<{
2532
2568
  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
2569
  origin: z.ZodOptional<z.ZodEnum<{
2534
- body: "body";
2535
2570
  chart: "chart";
2536
2571
  diagram: "diagram";
2537
2572
  table: "table";
2538
2573
  image: "image";
2539
2574
  notes: "notes";
2575
+ body: "body";
2540
2576
  }>>;
2541
2577
  interpretation: z.ZodOptional<z.ZodObject<{
2542
2578
  transcript: z.ZodOptional<z.ZodObject<{
@@ -2572,6 +2608,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2572
2608
  fontScale: z.ZodOptional<z.ZodNumber>;
2573
2609
  lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
2574
2610
  paintOrder: z.ZodOptional<z.ZodNumber>;
2611
+ readingOrder: z.ZodOptional<z.ZodNumber>;
2575
2612
  sourcePath: z.ZodOptional<z.ZodString>;
2576
2613
  source: z.ZodOptional<z.ZodObject<{
2577
2614
  format: z.ZodEnum<{
@@ -2603,12 +2640,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2603
2640
  }, z.core.$strip>>;
2604
2641
  vectors: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2605
2642
  origin: z.ZodOptional<z.ZodEnum<{
2606
- body: "body";
2607
2643
  chart: "chart";
2608
2644
  diagram: "diagram";
2609
2645
  table: "table";
2610
2646
  image: "image";
2611
2647
  notes: "notes";
2648
+ body: "body";
2612
2649
  }>>;
2613
2650
  interpretation: z.ZodOptional<z.ZodObject<{
2614
2651
  transcript: z.ZodOptional<z.ZodObject<{
@@ -2741,12 +2778,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2741
2778
  }, z.core.$strip>>>;
2742
2779
  }, z.core.$strip>, z.ZodObject<{
2743
2780
  origin: z.ZodOptional<z.ZodEnum<{
2744
- body: "body";
2745
2781
  chart: "chart";
2746
2782
  diagram: "diagram";
2747
2783
  table: "table";
2748
2784
  image: "image";
2749
2785
  notes: "notes";
2786
+ body: "body";
2750
2787
  }>>;
2751
2788
  interpretation: z.ZodOptional<z.ZodObject<{
2752
2789
  transcript: z.ZodOptional<z.ZodObject<{
@@ -2879,12 +2916,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2879
2916
  }, z.core.$strip>>>;
2880
2917
  }, z.core.$strip>, z.ZodObject<{
2881
2918
  origin: z.ZodOptional<z.ZodEnum<{
2882
- body: "body";
2883
2919
  chart: "chart";
2884
2920
  diagram: "diagram";
2885
2921
  table: "table";
2886
2922
  image: "image";
2887
2923
  notes: "notes";
2924
+ body: "body";
2888
2925
  }>>;
2889
2926
  interpretation: z.ZodOptional<z.ZodObject<{
2890
2927
  transcript: z.ZodOptional<z.ZodObject<{
@@ -2967,12 +3004,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2967
3004
  }, z.core.$strip>>>;
2968
3005
  }, z.core.$strip>, z.ZodObject<{
2969
3006
  origin: z.ZodOptional<z.ZodEnum<{
2970
- body: "body";
2971
3007
  chart: "chart";
2972
3008
  diagram: "diagram";
2973
3009
  table: "table";
2974
3010
  image: "image";
2975
3011
  notes: "notes";
3012
+ body: "body";
2976
3013
  }>>;
2977
3014
  interpretation: z.ZodOptional<z.ZodObject<{
2978
3015
  transcript: z.ZodOptional<z.ZodObject<{
@@ -3171,9 +3208,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
3171
3208
  symbol: z.ZodString;
3172
3209
  name: z.ZodOptional<z.ZodString>;
3173
3210
  dimension: z.ZodRecord<z.ZodEnum<{
3211
+ time: "time";
3174
3212
  length: "length";
3175
3213
  mass: "mass";
3176
- time: "time";
3177
3214
  electricCurrent: "electricCurrent";
3178
3215
  thermodynamicTemperature: "thermodynamicTemperature";
3179
3216
  amountOfSubstance: "amountOfSubstance";
@@ -3227,12 +3264,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
3227
3264
  }, z.core.$strip>, z.ZodObject<{
3228
3265
  formula: z.ZodObject<{
3229
3266
  origin: z.ZodOptional<z.ZodEnum<{
3230
- body: "body";
3231
3267
  chart: "chart";
3232
3268
  diagram: "diagram";
3233
3269
  table: "table";
3234
3270
  image: "image";
3235
3271
  notes: "notes";
3272
+ body: "body";
3236
3273
  }>>;
3237
3274
  interpretation: z.ZodOptional<z.ZodObject<{
3238
3275
  transcript: z.ZodOptional<z.ZodObject<{
@@ -3299,9 +3336,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
3299
3336
  symbol: z.ZodString;
3300
3337
  name: z.ZodOptional<z.ZodString>;
3301
3338
  dimension: z.ZodRecord<z.ZodEnum<{
3339
+ time: "time";
3302
3340
  length: "length";
3303
3341
  mass: "mass";
3304
- time: "time";
3305
3342
  electricCurrent: "electricCurrent";
3306
3343
  thermodynamicTemperature: "thermodynamicTemperature";
3307
3344
  amountOfSubstance: "amountOfSubstance";
package/dist/codec.d.ts CHANGED
@@ -7,6 +7,12 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
7
7
  widthPt: z.ZodNumber;
8
8
  heightPt: z.ZodNumber;
9
9
  }, z.core.$strip>>>;
10
+ fonts: z.ZodOptional<z.ZodArray<z.ZodObject<{
11
+ family: z.ZodString;
12
+ bold: z.ZodBoolean;
13
+ italic: z.ZodBoolean;
14
+ base64: z.ZodString;
15
+ }, z.core.$strip>>>;
10
16
  styles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
11
17
  paragraph: z.ZodOptional<z.ZodObject<{
12
18
  alignment: z.ZodOptional<z.ZodEnum<{
@@ -97,9 +103,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
97
103
  symbol: z.ZodString;
98
104
  name: z.ZodOptional<z.ZodString>;
99
105
  dimension: z.ZodRecord<z.ZodEnum<{
106
+ time: "time";
100
107
  length: "length";
101
108
  mass: "mass";
102
- time: "time";
103
109
  electricCurrent: "electricCurrent";
104
110
  thermodynamicTemperature: "thermodynamicTemperature";
105
111
  amountOfSubstance: "amountOfSubstance";
@@ -156,6 +162,12 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
156
162
  widthPt: z.ZodNumber;
157
163
  heightPt: z.ZodNumber;
158
164
  }, z.core.$strip>>>;
165
+ fonts: z.ZodOptional<z.ZodArray<z.ZodObject<{
166
+ family: z.ZodString;
167
+ bold: z.ZodBoolean;
168
+ italic: z.ZodBoolean;
169
+ base64: z.ZodString;
170
+ }, z.core.$strip>>>;
159
171
  styles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
160
172
  paragraph: z.ZodOptional<z.ZodObject<{
161
173
  alignment: z.ZodOptional<z.ZodEnum<{
@@ -246,9 +258,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
246
258
  symbol: z.ZodString;
247
259
  name: z.ZodOptional<z.ZodString>;
248
260
  dimension: z.ZodRecord<z.ZodEnum<{
261
+ time: "time";
249
262
  length: "length";
250
263
  mass: "mass";
251
- time: "time";
252
264
  electricCurrent: "electricCurrent";
253
265
  thermodynamicTemperature: "thermodynamicTemperature";
254
266
  amountOfSubstance: "amountOfSubstance";
@@ -310,6 +322,12 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
310
322
  widthPt: z.ZodNumber;
311
323
  heightPt: z.ZodNumber;
312
324
  }, z.core.$strip>>>;
325
+ fonts: z.ZodOptional<z.ZodArray<z.ZodObject<{
326
+ family: z.ZodString;
327
+ bold: z.ZodBoolean;
328
+ italic: z.ZodBoolean;
329
+ base64: z.ZodString;
330
+ }, z.core.$strip>>>;
313
331
  styles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
314
332
  paragraph: z.ZodOptional<z.ZodObject<{
315
333
  alignment: z.ZodOptional<z.ZodEnum<{
@@ -400,9 +418,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
400
418
  symbol: z.ZodString;
401
419
  name: z.ZodOptional<z.ZodString>;
402
420
  dimension: z.ZodRecord<z.ZodEnum<{
421
+ time: "time";
403
422
  length: "length";
404
423
  mass: "mass";
405
- time: "time";
406
424
  electricCurrent: "electricCurrent";
407
425
  thermodynamicTemperature: "thermodynamicTemperature";
408
426
  amountOfSubstance: "amountOfSubstance";
@@ -459,6 +477,12 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
459
477
  widthPt: z.ZodNumber;
460
478
  heightPt: z.ZodNumber;
461
479
  }, z.core.$strip>>>;
480
+ fonts: z.ZodOptional<z.ZodArray<z.ZodObject<{
481
+ family: z.ZodString;
482
+ bold: z.ZodBoolean;
483
+ italic: z.ZodBoolean;
484
+ base64: z.ZodString;
485
+ }, z.core.$strip>>>;
462
486
  styles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
463
487
  paragraph: z.ZodOptional<z.ZodObject<{
464
488
  alignment: z.ZodOptional<z.ZodEnum<{
@@ -549,9 +573,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
549
573
  symbol: z.ZodString;
550
574
  name: z.ZodOptional<z.ZodString>;
551
575
  dimension: z.ZodRecord<z.ZodEnum<{
576
+ time: "time";
552
577
  length: "length";
553
578
  mass: "mass";
554
- time: "time";
555
579
  electricCurrent: "electricCurrent";
556
580
  thermodynamicTemperature: "thermodynamicTemperature";
557
581
  amountOfSubstance: "amountOfSubstance";
@@ -605,12 +629,12 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
605
629
  }, z.core.$strip>, z.ZodObject<{
606
630
  children: z.ZodArray<z.ZodObject<{
607
631
  origin: z.ZodOptional<z.ZodEnum<{
608
- body: "body";
609
632
  chart: "chart";
610
633
  diagram: "diagram";
611
634
  table: "table";
612
635
  image: "image";
613
636
  notes: "notes";
637
+ body: "body";
614
638
  }>>;
615
639
  interpretation: z.ZodOptional<z.ZodObject<{
616
640
  transcript: z.ZodOptional<z.ZodObject<{
@@ -667,6 +691,12 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
667
691
  widthPt: z.ZodNumber;
668
692
  heightPt: z.ZodNumber;
669
693
  }, z.core.$strip>>>;
694
+ fonts: z.ZodOptional<z.ZodArray<z.ZodObject<{
695
+ family: z.ZodString;
696
+ bold: z.ZodBoolean;
697
+ italic: z.ZodBoolean;
698
+ base64: z.ZodString;
699
+ }, z.core.$strip>>>;
670
700
  styles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
671
701
  paragraph: z.ZodOptional<z.ZodObject<{
672
702
  alignment: z.ZodOptional<z.ZodEnum<{
@@ -757,9 +787,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
757
787
  symbol: z.ZodString;
758
788
  name: z.ZodOptional<z.ZodString>;
759
789
  dimension: z.ZodRecord<z.ZodEnum<{
790
+ time: "time";
760
791
  length: "length";
761
792
  mass: "mass";
762
- time: "time";
763
793
  electricCurrent: "electricCurrent";
764
794
  thermodynamicTemperature: "thermodynamicTemperature";
765
795
  amountOfSubstance: "amountOfSubstance";
@@ -814,12 +844,12 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
814
844
  declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, z.ZodDiscriminatedUnion<[z.ZodObject<{
815
845
  sections: z.ZodArray<z.ZodObject<{
816
846
  origin: z.ZodOptional<z.ZodEnum<{
817
- body: "body";
818
847
  chart: "chart";
819
848
  diagram: "diagram";
820
849
  table: "table";
821
850
  image: "image";
822
851
  notes: "notes";
852
+ body: "body";
823
853
  }>>;
824
854
  interpretation: z.ZodOptional<z.ZodObject<{
825
855
  transcript: z.ZodOptional<z.ZodObject<{
@@ -867,6 +897,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
867
897
  even: z.ZodOptional<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>>>>>;
868
898
  first: z.ZodOptional<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>>>>>;
869
899
  }, z.core.$strip>>;
900
+ watermarks: z.ZodOptional<z.ZodObject<{
901
+ default: z.ZodOptional<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>>>>>;
902
+ even: z.ZodOptional<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>>>>>;
903
+ first: z.ZodOptional<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>>>>>;
904
+ }, z.core.$strip>>;
870
905
  source: z.ZodOptional<z.ZodObject<{
871
906
  format: z.ZodEnum<{
872
907
  docx: "docx";
@@ -902,9 +937,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
902
937
  symbol: z.ZodString;
903
938
  name: z.ZodOptional<z.ZodString>;
904
939
  dimension: z.ZodRecord<z.ZodEnum<{
940
+ time: "time";
905
941
  length: "length";
906
942
  mass: "mass";
907
- time: "time";
908
943
  electricCurrent: "electricCurrent";
909
944
  thermodynamicTemperature: "thermodynamicTemperature";
910
945
  amountOfSubstance: "amountOfSubstance";
@@ -958,12 +993,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
958
993
  }, z.core.$strip>, z.ZodObject<{
959
994
  slides: z.ZodArray<z.ZodObject<{
960
995
  origin: z.ZodOptional<z.ZodEnum<{
961
- body: "body";
962
996
  chart: "chart";
963
997
  diagram: "diagram";
964
998
  table: "table";
965
999
  image: "image";
966
1000
  notes: "notes";
1001
+ body: "body";
967
1002
  }>>;
968
1003
  interpretation: z.ZodOptional<z.ZodObject<{
969
1004
  transcript: z.ZodOptional<z.ZodObject<{
@@ -991,12 +1026,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
991
1026
  shapes: z.ZodArray<z.ZodObject<{
992
1027
  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
1028
  origin: z.ZodOptional<z.ZodEnum<{
994
- body: "body";
995
1029
  chart: "chart";
996
1030
  diagram: "diagram";
997
1031
  table: "table";
998
1032
  image: "image";
999
1033
  notes: "notes";
1034
+ body: "body";
1000
1035
  }>>;
1001
1036
  interpretation: z.ZodOptional<z.ZodObject<{
1002
1037
  transcript: z.ZodOptional<z.ZodObject<{
@@ -1032,6 +1067,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1032
1067
  fontScale: z.ZodOptional<z.ZodNumber>;
1033
1068
  lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
1034
1069
  paintOrder: z.ZodOptional<z.ZodNumber>;
1070
+ readingOrder: z.ZodOptional<z.ZodNumber>;
1035
1071
  sourcePath: z.ZodOptional<z.ZodString>;
1036
1072
  source: z.ZodOptional<z.ZodObject<{
1037
1073
  format: z.ZodEnum<{
@@ -1097,9 +1133,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1097
1133
  symbol: z.ZodString;
1098
1134
  name: z.ZodOptional<z.ZodString>;
1099
1135
  dimension: z.ZodRecord<z.ZodEnum<{
1136
+ time: "time";
1100
1137
  length: "length";
1101
1138
  mass: "mass";
1102
- time: "time";
1103
1139
  electricCurrent: "electricCurrent";
1104
1140
  thermodynamicTemperature: "thermodynamicTemperature";
1105
1141
  amountOfSubstance: "amountOfSubstance";
@@ -1153,12 +1189,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1153
1189
  }, z.core.$strip>, z.ZodObject<{
1154
1190
  sheets: z.ZodArray<z.ZodObject<{
1155
1191
  origin: z.ZodOptional<z.ZodEnum<{
1156
- body: "body";
1157
1192
  chart: "chart";
1158
1193
  diagram: "diagram";
1159
1194
  table: "table";
1160
1195
  image: "image";
1161
1196
  notes: "notes";
1197
+ body: "body";
1162
1198
  }>>;
1163
1199
  interpretation: z.ZodOptional<z.ZodObject<{
1164
1200
  transcript: z.ZodOptional<z.ZodObject<{
@@ -1182,12 +1218,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1182
1218
  name: z.ZodString;
1183
1219
  cells: z.ZodArray<z.ZodObject<{
1184
1220
  origin: z.ZodOptional<z.ZodEnum<{
1185
- body: "body";
1186
1221
  chart: "chart";
1187
1222
  diagram: "diagram";
1188
1223
  table: "table";
1189
1224
  image: "image";
1190
1225
  notes: "notes";
1226
+ body: "body";
1191
1227
  }>>;
1192
1228
  interpretation: z.ZodOptional<z.ZodObject<{
1193
1229
  transcript: z.ZodOptional<z.ZodObject<{
@@ -1262,12 +1298,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1262
1298
  }, z.core.$strip>>;
1263
1299
  runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1264
1300
  origin: z.ZodOptional<z.ZodEnum<{
1265
- body: "body";
1266
1301
  chart: "chart";
1267
1302
  diagram: "diagram";
1268
1303
  table: "table";
1269
1304
  image: "image";
1270
1305
  notes: "notes";
1306
+ body: "body";
1271
1307
  }>>;
1272
1308
  interpretation: z.ZodOptional<z.ZodObject<{
1273
1309
  transcript: z.ZodOptional<z.ZodObject<{
@@ -1561,12 +1597,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1561
1597
  }, z.core.$strip>>;
1562
1598
  images: z.ZodArray<z.ZodObject<{
1563
1599
  origin: z.ZodOptional<z.ZodEnum<{
1564
- body: "body";
1565
1600
  chart: "chart";
1566
1601
  diagram: "diagram";
1567
1602
  table: "table";
1568
1603
  image: "image";
1569
1604
  notes: "notes";
1605
+ body: "body";
1570
1606
  }>>;
1571
1607
  interpretation: z.ZodOptional<z.ZodObject<{
1572
1608
  transcript: z.ZodOptional<z.ZodObject<{
@@ -1780,11 +1816,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1780
1816
  endColumn: z.ZodNumber;
1781
1817
  }, z.core.$strip>>;
1782
1818
  type: z.ZodEnum<{
1783
- time: "time";
1784
1819
  date: "date";
1785
1820
  custom: "custom";
1786
1821
  decimal: "decimal";
1787
1822
  list: "list";
1823
+ time: "time";
1788
1824
  whole: "whole";
1789
1825
  textLength: "textLength";
1790
1826
  }>;
@@ -2255,11 +2291,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2255
2291
  stops: z.ZodArray<z.ZodObject<{
2256
2292
  value: z.ZodObject<{
2257
2293
  type: z.ZodEnum<{
2258
- num: "num";
2259
- min: "min";
2260
- max: "max";
2261
2294
  formula: "formula";
2262
2295
  percent: "percent";
2296
+ num: "num";
2297
+ max: "max";
2298
+ min: "min";
2263
2299
  percentile: "percentile";
2264
2300
  }>;
2265
2301
  value: z.ZodOptional<z.ZodString>;
@@ -2302,22 +2338,22 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2302
2338
  }, z.core.$strip>, z.ZodObject<{
2303
2339
  min: z.ZodObject<{
2304
2340
  type: z.ZodEnum<{
2305
- num: "num";
2306
- min: "min";
2307
- max: "max";
2308
2341
  formula: "formula";
2309
2342
  percent: "percent";
2343
+ num: "num";
2344
+ max: "max";
2345
+ min: "min";
2310
2346
  percentile: "percentile";
2311
2347
  }>;
2312
2348
  value: z.ZodOptional<z.ZodString>;
2313
2349
  }, z.core.$strip>;
2314
2350
  max: z.ZodObject<{
2315
2351
  type: z.ZodEnum<{
2316
- num: "num";
2317
- min: "min";
2318
- max: "max";
2319
2352
  formula: "formula";
2320
2353
  percent: "percent";
2354
+ num: "num";
2355
+ max: "max";
2356
+ min: "min";
2321
2357
  percentile: "percentile";
2322
2358
  }>;
2323
2359
  value: z.ZodOptional<z.ZodString>;
@@ -2361,11 +2397,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2361
2397
  iconSetType: z.ZodString;
2362
2398
  thresholds: z.ZodArray<z.ZodObject<{
2363
2399
  type: z.ZodEnum<{
2364
- num: "num";
2365
- min: "min";
2366
- max: "max";
2367
2400
  formula: "formula";
2368
2401
  percent: "percent";
2402
+ num: "num";
2403
+ max: "max";
2404
+ min: "min";
2369
2405
  percentile: "percentile";
2370
2406
  }>;
2371
2407
  value: z.ZodOptional<z.ZodString>;
@@ -2442,9 +2478,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2442
2478
  symbol: z.ZodString;
2443
2479
  name: z.ZodOptional<z.ZodString>;
2444
2480
  dimension: z.ZodRecord<z.ZodEnum<{
2481
+ time: "time";
2445
2482
  length: "length";
2446
2483
  mass: "mass";
2447
- time: "time";
2448
2484
  electricCurrent: "electricCurrent";
2449
2485
  thermodynamicTemperature: "thermodynamicTemperature";
2450
2486
  amountOfSubstance: "amountOfSubstance";
@@ -2498,12 +2534,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2498
2534
  }, z.core.$strip>, z.ZodObject<{
2499
2535
  pages: z.ZodArray<z.ZodObject<{
2500
2536
  origin: z.ZodOptional<z.ZodEnum<{
2501
- body: "body";
2502
2537
  chart: "chart";
2503
2538
  diagram: "diagram";
2504
2539
  table: "table";
2505
2540
  image: "image";
2506
2541
  notes: "notes";
2542
+ body: "body";
2507
2543
  }>>;
2508
2544
  interpretation: z.ZodOptional<z.ZodObject<{
2509
2545
  transcript: z.ZodOptional<z.ZodObject<{
@@ -2531,12 +2567,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2531
2567
  shapes: z.ZodArray<z.ZodObject<{
2532
2568
  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
2569
  origin: z.ZodOptional<z.ZodEnum<{
2534
- body: "body";
2535
2570
  chart: "chart";
2536
2571
  diagram: "diagram";
2537
2572
  table: "table";
2538
2573
  image: "image";
2539
2574
  notes: "notes";
2575
+ body: "body";
2540
2576
  }>>;
2541
2577
  interpretation: z.ZodOptional<z.ZodObject<{
2542
2578
  transcript: z.ZodOptional<z.ZodObject<{
@@ -2572,6 +2608,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2572
2608
  fontScale: z.ZodOptional<z.ZodNumber>;
2573
2609
  lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
2574
2610
  paintOrder: z.ZodOptional<z.ZodNumber>;
2611
+ readingOrder: z.ZodOptional<z.ZodNumber>;
2575
2612
  sourcePath: z.ZodOptional<z.ZodString>;
2576
2613
  source: z.ZodOptional<z.ZodObject<{
2577
2614
  format: z.ZodEnum<{
@@ -2603,12 +2640,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2603
2640
  }, z.core.$strip>>;
2604
2641
  vectors: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2605
2642
  origin: z.ZodOptional<z.ZodEnum<{
2606
- body: "body";
2607
2643
  chart: "chart";
2608
2644
  diagram: "diagram";
2609
2645
  table: "table";
2610
2646
  image: "image";
2611
2647
  notes: "notes";
2648
+ body: "body";
2612
2649
  }>>;
2613
2650
  interpretation: z.ZodOptional<z.ZodObject<{
2614
2651
  transcript: z.ZodOptional<z.ZodObject<{
@@ -2741,12 +2778,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2741
2778
  }, z.core.$strip>>>;
2742
2779
  }, z.core.$strip>, z.ZodObject<{
2743
2780
  origin: z.ZodOptional<z.ZodEnum<{
2744
- body: "body";
2745
2781
  chart: "chart";
2746
2782
  diagram: "diagram";
2747
2783
  table: "table";
2748
2784
  image: "image";
2749
2785
  notes: "notes";
2786
+ body: "body";
2750
2787
  }>>;
2751
2788
  interpretation: z.ZodOptional<z.ZodObject<{
2752
2789
  transcript: z.ZodOptional<z.ZodObject<{
@@ -2879,12 +2916,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2879
2916
  }, z.core.$strip>>>;
2880
2917
  }, z.core.$strip>, z.ZodObject<{
2881
2918
  origin: z.ZodOptional<z.ZodEnum<{
2882
- body: "body";
2883
2919
  chart: "chart";
2884
2920
  diagram: "diagram";
2885
2921
  table: "table";
2886
2922
  image: "image";
2887
2923
  notes: "notes";
2924
+ body: "body";
2888
2925
  }>>;
2889
2926
  interpretation: z.ZodOptional<z.ZodObject<{
2890
2927
  transcript: z.ZodOptional<z.ZodObject<{
@@ -2967,12 +3004,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2967
3004
  }, z.core.$strip>>>;
2968
3005
  }, z.core.$strip>, z.ZodObject<{
2969
3006
  origin: z.ZodOptional<z.ZodEnum<{
2970
- body: "body";
2971
3007
  chart: "chart";
2972
3008
  diagram: "diagram";
2973
3009
  table: "table";
2974
3010
  image: "image";
2975
3011
  notes: "notes";
3012
+ body: "body";
2976
3013
  }>>;
2977
3014
  interpretation: z.ZodOptional<z.ZodObject<{
2978
3015
  transcript: z.ZodOptional<z.ZodObject<{
@@ -3171,9 +3208,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
3171
3208
  symbol: z.ZodString;
3172
3209
  name: z.ZodOptional<z.ZodString>;
3173
3210
  dimension: z.ZodRecord<z.ZodEnum<{
3211
+ time: "time";
3174
3212
  length: "length";
3175
3213
  mass: "mass";
3176
- time: "time";
3177
3214
  electricCurrent: "electricCurrent";
3178
3215
  thermodynamicTemperature: "thermodynamicTemperature";
3179
3216
  amountOfSubstance: "amountOfSubstance";
@@ -3227,12 +3264,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
3227
3264
  }, z.core.$strip>, z.ZodObject<{
3228
3265
  formula: z.ZodObject<{
3229
3266
  origin: z.ZodOptional<z.ZodEnum<{
3230
- body: "body";
3231
3267
  chart: "chart";
3232
3268
  diagram: "diagram";
3233
3269
  table: "table";
3234
3270
  image: "image";
3235
3271
  notes: "notes";
3272
+ body: "body";
3236
3273
  }>>;
3237
3274
  interpretation: z.ZodOptional<z.ZodObject<{
3238
3275
  transcript: z.ZodOptional<z.ZodObject<{
@@ -3299,9 +3336,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
3299
3336
  symbol: z.ZodString;
3300
3337
  name: z.ZodOptional<z.ZodString>;
3301
3338
  dimension: z.ZodRecord<z.ZodEnum<{
3339
+ time: "time";
3302
3340
  length: "length";
3303
3341
  mass: "mass";
3304
- time: "time";
3305
3342
  electricCurrent: "electricCurrent";
3306
3343
  thermodynamicTemperature: "thermodynamicTemperature";
3307
3344
  amountOfSubstance: "amountOfSubstance";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mrkdwn.js",
3
- "version": "6.6.6",
3
+ "version": "6.7.0",
4
4
  "description": "Hand-written CommonMark+GFM <-> DocumentTree codec, built on document-schema.js",
5
5
  "type": "module",
6
6
  "repository": {
@@ -56,7 +56,7 @@
56
56
  ],
57
57
  "license": "MIT",
58
58
  "dependencies": {
59
- "document-schema.js": "7.9.1",
59
+ "document-schema.js": "7.11.0",
60
60
  "zod": "4.4.3"
61
61
  },
62
62
  "devDependencies": {