markdown-codec 6.7.5 → 7.0.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
@@ -17,8 +17,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
17
17
  paragraph: z.ZodOptional<z.ZodObject<{
18
18
  alignment: z.ZodOptional<z.ZodEnum<{
19
19
  left: "left";
20
- right: "right";
21
20
  center: "center";
21
+ right: "right";
22
22
  justify: "justify";
23
23
  }>>;
24
24
  list: z.ZodOptional<z.ZodObject<{
@@ -172,8 +172,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
172
172
  paragraph: z.ZodOptional<z.ZodObject<{
173
173
  alignment: z.ZodOptional<z.ZodEnum<{
174
174
  left: "left";
175
- right: "right";
176
175
  center: "center";
176
+ right: "right";
177
177
  justify: "justify";
178
178
  }>>;
179
179
  list: z.ZodOptional<z.ZodObject<{
@@ -332,8 +332,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
332
332
  paragraph: z.ZodOptional<z.ZodObject<{
333
333
  alignment: z.ZodOptional<z.ZodEnum<{
334
334
  left: "left";
335
- right: "right";
336
335
  center: "center";
336
+ right: "right";
337
337
  justify: "justify";
338
338
  }>>;
339
339
  list: z.ZodOptional<z.ZodObject<{
@@ -487,8 +487,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
487
487
  paragraph: z.ZodOptional<z.ZodObject<{
488
488
  alignment: z.ZodOptional<z.ZodEnum<{
489
489
  left: "left";
490
- right: "right";
491
490
  center: "center";
491
+ right: "right";
492
492
  justify: "justify";
493
493
  }>>;
494
494
  list: z.ZodOptional<z.ZodObject<{
@@ -629,12 +629,12 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
629
629
  }, z.core.$strip>, z.ZodObject<{
630
630
  children: z.ZodArray<z.ZodObject<{
631
631
  origin: z.ZodOptional<z.ZodEnum<{
632
- body: "body";
633
632
  chart: "chart";
634
633
  diagram: "diagram";
635
634
  table: "table";
636
635
  image: "image";
637
636
  notes: "notes";
637
+ body: "body";
638
638
  }>>;
639
639
  interpretation: z.ZodOptional<z.ZodObject<{
640
640
  transcript: z.ZodOptional<z.ZodObject<{
@@ -701,8 +701,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
701
701
  paragraph: z.ZodOptional<z.ZodObject<{
702
702
  alignment: z.ZodOptional<z.ZodEnum<{
703
703
  left: "left";
704
- right: "right";
705
704
  center: "center";
705
+ right: "right";
706
706
  justify: "justify";
707
707
  }>>;
708
708
  list: z.ZodOptional<z.ZodObject<{
@@ -844,12 +844,12 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
844
844
  declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, z.ZodDiscriminatedUnion<[z.ZodObject<{
845
845
  sections: z.ZodArray<z.ZodObject<{
846
846
  origin: z.ZodOptional<z.ZodEnum<{
847
- body: "body";
848
847
  chart: "chart";
849
848
  diagram: "diagram";
850
849
  table: "table";
851
850
  image: "image";
852
851
  notes: "notes";
852
+ body: "body";
853
853
  }>>;
854
854
  interpretation: z.ZodOptional<z.ZodObject<{
855
855
  transcript: z.ZodOptional<z.ZodObject<{
@@ -993,12 +993,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
993
993
  }, z.core.$strip>, z.ZodObject<{
994
994
  slides: z.ZodArray<z.ZodObject<{
995
995
  origin: z.ZodOptional<z.ZodEnum<{
996
- body: "body";
997
996
  chart: "chart";
998
997
  diagram: "diagram";
999
998
  table: "table";
1000
999
  image: "image";
1001
1000
  notes: "notes";
1001
+ body: "body";
1002
1002
  }>>;
1003
1003
  interpretation: z.ZodOptional<z.ZodObject<{
1004
1004
  transcript: z.ZodOptional<z.ZodObject<{
@@ -1026,12 +1026,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1026
1026
  shapes: z.ZodArray<z.ZodObject<{
1027
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>>>>;
1028
1028
  origin: z.ZodOptional<z.ZodEnum<{
1029
- body: "body";
1030
1029
  chart: "chart";
1031
1030
  diagram: "diagram";
1032
1031
  table: "table";
1033
1032
  image: "image";
1034
1033
  notes: "notes";
1034
+ body: "body";
1035
1035
  }>>;
1036
1036
  interpretation: z.ZodOptional<z.ZodObject<{
1037
1037
  transcript: z.ZodOptional<z.ZodObject<{
@@ -1189,12 +1189,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1189
1189
  }, z.core.$strip>, z.ZodObject<{
1190
1190
  sheets: z.ZodArray<z.ZodObject<{
1191
1191
  origin: z.ZodOptional<z.ZodEnum<{
1192
- body: "body";
1193
1192
  chart: "chart";
1194
1193
  diagram: "diagram";
1195
1194
  table: "table";
1196
1195
  image: "image";
1197
1196
  notes: "notes";
1197
+ body: "body";
1198
1198
  }>>;
1199
1199
  interpretation: z.ZodOptional<z.ZodObject<{
1200
1200
  transcript: z.ZodOptional<z.ZodObject<{
@@ -1218,12 +1218,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1218
1218
  name: z.ZodString;
1219
1219
  cells: z.ZodArray<z.ZodObject<{
1220
1220
  origin: z.ZodOptional<z.ZodEnum<{
1221
- body: "body";
1222
1221
  chart: "chart";
1223
1222
  diagram: "diagram";
1224
1223
  table: "table";
1225
1224
  image: "image";
1226
1225
  notes: "notes";
1226
+ body: "body";
1227
1227
  }>>;
1228
1228
  interpretation: z.ZodOptional<z.ZodObject<{
1229
1229
  transcript: z.ZodOptional<z.ZodObject<{
@@ -1298,12 +1298,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1298
1298
  }, z.core.$strip>>;
1299
1299
  runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1300
1300
  origin: z.ZodOptional<z.ZodEnum<{
1301
- body: "body";
1302
1301
  chart: "chart";
1303
1302
  diagram: "diagram";
1304
1303
  table: "table";
1305
1304
  image: "image";
1306
1305
  notes: "notes";
1306
+ body: "body";
1307
1307
  }>>;
1308
1308
  interpretation: z.ZodOptional<z.ZodObject<{
1309
1309
  transcript: z.ZodOptional<z.ZodObject<{
@@ -1538,8 +1538,8 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1538
1538
  }, z.core.$strip>>;
1539
1539
  alignment: z.ZodOptional<z.ZodEnum<{
1540
1540
  left: "left";
1541
- right: "right";
1542
1541
  center: "center";
1542
+ right: "right";
1543
1543
  justify: "justify";
1544
1544
  }>>;
1545
1545
  verticalAlignment: z.ZodOptional<z.ZodEnum<{
@@ -1597,12 +1597,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1597
1597
  }, z.core.$strip>>;
1598
1598
  images: z.ZodArray<z.ZodObject<{
1599
1599
  origin: z.ZodOptional<z.ZodEnum<{
1600
- body: "body";
1601
1600
  chart: "chart";
1602
1601
  diagram: "diagram";
1603
1602
  table: "table";
1604
1603
  image: "image";
1605
1604
  notes: "notes";
1605
+ body: "body";
1606
1606
  }>>;
1607
1607
  interpretation: z.ZodOptional<z.ZodObject<{
1608
1608
  transcript: z.ZodOptional<z.ZodObject<{
@@ -1681,10 +1681,10 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1681
1681
  }>;
1682
1682
  align: z.ZodEnum<{
1683
1683
  left: "left";
1684
+ center: "center";
1684
1685
  right: "right";
1685
1686
  top: "top";
1686
1687
  bottom: "bottom";
1687
- center: "center";
1688
1688
  inside: "inside";
1689
1689
  outside: "outside";
1690
1690
  }>;
@@ -1724,10 +1724,10 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1724
1724
  }>;
1725
1725
  align: z.ZodEnum<{
1726
1726
  left: "left";
1727
+ center: "center";
1727
1728
  right: "right";
1728
1729
  top: "top";
1729
1730
  bottom: "bottom";
1730
- center: "center";
1731
1731
  inside: "inside";
1732
1732
  outside: "outside";
1733
1733
  }>;
@@ -1818,9 +1818,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1818
1818
  type: z.ZodEnum<{
1819
1819
  date: "date";
1820
1820
  custom: "custom";
1821
- time: "time";
1822
1821
  decimal: "decimal";
1823
1822
  list: "list";
1823
+ time: "time";
1824
1824
  whole: "whole";
1825
1825
  textLength: "textLength";
1826
1826
  }>;
@@ -2291,11 +2291,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2291
2291
  stops: z.ZodArray<z.ZodObject<{
2292
2292
  value: z.ZodObject<{
2293
2293
  type: z.ZodEnum<{
2294
- num: "num";
2295
- min: "min";
2296
- max: "max";
2297
2294
  formula: "formula";
2298
2295
  percent: "percent";
2296
+ num: "num";
2297
+ max: "max";
2298
+ min: "min";
2299
2299
  percentile: "percentile";
2300
2300
  }>;
2301
2301
  value: z.ZodOptional<z.ZodString>;
@@ -2338,22 +2338,22 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2338
2338
  }, z.core.$strip>, z.ZodObject<{
2339
2339
  min: z.ZodObject<{
2340
2340
  type: z.ZodEnum<{
2341
- num: "num";
2342
- min: "min";
2343
- max: "max";
2344
2341
  formula: "formula";
2345
2342
  percent: "percent";
2343
+ num: "num";
2344
+ max: "max";
2345
+ min: "min";
2346
2346
  percentile: "percentile";
2347
2347
  }>;
2348
2348
  value: z.ZodOptional<z.ZodString>;
2349
2349
  }, z.core.$strip>;
2350
2350
  max: z.ZodObject<{
2351
2351
  type: z.ZodEnum<{
2352
- num: "num";
2353
- min: "min";
2354
- max: "max";
2355
2352
  formula: "formula";
2356
2353
  percent: "percent";
2354
+ num: "num";
2355
+ max: "max";
2356
+ min: "min";
2357
2357
  percentile: "percentile";
2358
2358
  }>;
2359
2359
  value: z.ZodOptional<z.ZodString>;
@@ -2397,11 +2397,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2397
2397
  iconSetType: z.ZodString;
2398
2398
  thresholds: z.ZodArray<z.ZodObject<{
2399
2399
  type: z.ZodEnum<{
2400
- num: "num";
2401
- min: "min";
2402
- max: "max";
2403
2400
  formula: "formula";
2404
2401
  percent: "percent";
2402
+ num: "num";
2403
+ max: "max";
2404
+ min: "min";
2405
2405
  percentile: "percentile";
2406
2406
  }>;
2407
2407
  value: z.ZodOptional<z.ZodString>;
@@ -2534,12 +2534,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2534
2534
  }, z.core.$strip>, z.ZodObject<{
2535
2535
  pages: z.ZodArray<z.ZodObject<{
2536
2536
  origin: z.ZodOptional<z.ZodEnum<{
2537
- body: "body";
2538
2537
  chart: "chart";
2539
2538
  diagram: "diagram";
2540
2539
  table: "table";
2541
2540
  image: "image";
2542
2541
  notes: "notes";
2542
+ body: "body";
2543
2543
  }>>;
2544
2544
  interpretation: z.ZodOptional<z.ZodObject<{
2545
2545
  transcript: z.ZodOptional<z.ZodObject<{
@@ -2567,12 +2567,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2567
2567
  shapes: z.ZodArray<z.ZodObject<{
2568
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>>>>;
2569
2569
  origin: z.ZodOptional<z.ZodEnum<{
2570
- body: "body";
2571
2570
  chart: "chart";
2572
2571
  diagram: "diagram";
2573
2572
  table: "table";
2574
2573
  image: "image";
2575
2574
  notes: "notes";
2575
+ body: "body";
2576
2576
  }>>;
2577
2577
  interpretation: z.ZodOptional<z.ZodObject<{
2578
2578
  transcript: z.ZodOptional<z.ZodObject<{
@@ -2640,12 +2640,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2640
2640
  }, z.core.$strip>>;
2641
2641
  vectors: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2642
2642
  origin: z.ZodOptional<z.ZodEnum<{
2643
- body: "body";
2644
2643
  chart: "chart";
2645
2644
  diagram: "diagram";
2646
2645
  table: "table";
2647
2646
  image: "image";
2648
2647
  notes: "notes";
2648
+ body: "body";
2649
2649
  }>>;
2650
2650
  interpretation: z.ZodOptional<z.ZodObject<{
2651
2651
  transcript: z.ZodOptional<z.ZodObject<{
@@ -2778,12 +2778,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2778
2778
  }, z.core.$strip>>>;
2779
2779
  }, z.core.$strip>, z.ZodObject<{
2780
2780
  origin: z.ZodOptional<z.ZodEnum<{
2781
- body: "body";
2782
2781
  chart: "chart";
2783
2782
  diagram: "diagram";
2784
2783
  table: "table";
2785
2784
  image: "image";
2786
2785
  notes: "notes";
2786
+ body: "body";
2787
2787
  }>>;
2788
2788
  interpretation: z.ZodOptional<z.ZodObject<{
2789
2789
  transcript: z.ZodOptional<z.ZodObject<{
@@ -2916,12 +2916,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2916
2916
  }, z.core.$strip>>>;
2917
2917
  }, z.core.$strip>, z.ZodObject<{
2918
2918
  origin: z.ZodOptional<z.ZodEnum<{
2919
- body: "body";
2920
2919
  chart: "chart";
2921
2920
  diagram: "diagram";
2922
2921
  table: "table";
2923
2922
  image: "image";
2924
2923
  notes: "notes";
2924
+ body: "body";
2925
2925
  }>>;
2926
2926
  interpretation: z.ZodOptional<z.ZodObject<{
2927
2927
  transcript: z.ZodOptional<z.ZodObject<{
@@ -3004,12 +3004,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
3004
3004
  }, z.core.$strip>>>;
3005
3005
  }, z.core.$strip>, z.ZodObject<{
3006
3006
  origin: z.ZodOptional<z.ZodEnum<{
3007
- body: "body";
3008
3007
  chart: "chart";
3009
3008
  diagram: "diagram";
3010
3009
  table: "table";
3011
3010
  image: "image";
3012
3011
  notes: "notes";
3012
+ body: "body";
3013
3013
  }>>;
3014
3014
  interpretation: z.ZodOptional<z.ZodObject<{
3015
3015
  transcript: z.ZodOptional<z.ZodObject<{
@@ -3264,12 +3264,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
3264
3264
  }, z.core.$strip>, z.ZodObject<{
3265
3265
  formula: z.ZodObject<{
3266
3266
  origin: z.ZodOptional<z.ZodEnum<{
3267
- body: "body";
3268
3267
  chart: "chart";
3269
3268
  diagram: "diagram";
3270
3269
  table: "table";
3271
3270
  image: "image";
3272
3271
  notes: "notes";
3272
+ body: "body";
3273
3273
  }>>;
3274
3274
  interpretation: z.ZodOptional<z.ZodObject<{
3275
3275
  transcript: z.ZodOptional<z.ZodObject<{