mrkdwn.js 11.2.3 → 11.2.5

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
@@ -1,7 +1,7 @@
1
1
  import { z } from "zod";
2
2
  //#region src/codec.d.ts
3
- declare const MarkdownBytesSchema: z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
4
- declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, z.ZodDiscriminatedUnion<[z.ZodObject<{
3
+ declare const MarkdownBytesSchema: z.ZodInstanceOf<Uint8Array<ArrayBuffer>>;
4
+ declare const markdownCodec: z.ZodCodec<z.ZodInstanceOf<Uint8Array<ArrayBuffer>>, z.ZodDiscriminatedUnion<[z.ZodObject<{
5
5
  children: z.ZodArray<z.ZodCustom<import("document-schema.js").SectionGroupNode, import("document-schema.js").SectionGroupNode>>;
6
6
  pages: z.ZodOptional<z.ZodArray<z.ZodObject<{
7
7
  widthPt: z.ZodNumber;
@@ -630,11 +630,11 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
630
630
  children: z.ZodArray<z.ZodObject<{
631
631
  origin: z.ZodOptional<z.ZodEnum<{
632
632
  chart: "chart";
633
+ body: "body";
633
634
  diagram: "diagram";
634
635
  table: "table";
635
636
  image: "image";
636
637
  notes: "notes";
637
- body: "body";
638
638
  }>>;
639
639
  interpretation: z.ZodOptional<z.ZodObject<{
640
640
  transcript: z.ZodOptional<z.ZodObject<{
@@ -841,15 +841,15 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
841
841
  }, z.core.$strip>;
842
842
  kind: z.ZodLiteral<"formula">;
843
843
  }, z.core.$strip>], "kind">>;
844
- declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, z.ZodDiscriminatedUnion<[z.ZodObject<{
844
+ declare const markdownContentCodec: z.ZodCodec<z.ZodInstanceOf<Uint8Array<ArrayBuffer>>, z.ZodDiscriminatedUnion<[z.ZodObject<{
845
845
  sections: z.ZodArray<z.ZodObject<{
846
846
  origin: z.ZodOptional<z.ZodEnum<{
847
847
  chart: "chart";
848
+ body: "body";
848
849
  diagram: "diagram";
849
850
  table: "table";
850
851
  image: "image";
851
852
  notes: "notes";
852
- body: "body";
853
853
  }>>;
854
854
  interpretation: z.ZodOptional<z.ZodObject<{
855
855
  transcript: z.ZodOptional<z.ZodObject<{
@@ -994,11 +994,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
994
994
  slides: z.ZodArray<z.ZodObject<{
995
995
  origin: z.ZodOptional<z.ZodEnum<{
996
996
  chart: "chart";
997
+ body: "body";
997
998
  diagram: "diagram";
998
999
  table: "table";
999
1000
  image: "image";
1000
1001
  notes: "notes";
1001
- body: "body";
1002
1002
  }>>;
1003
1003
  interpretation: z.ZodOptional<z.ZodObject<{
1004
1004
  transcript: z.ZodOptional<z.ZodObject<{
@@ -1027,11 +1027,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
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
1029
  chart: "chart";
1030
+ body: "body";
1030
1031
  diagram: "diagram";
1031
1032
  table: "table";
1032
1033
  image: "image";
1033
1034
  notes: "notes";
1034
- body: "body";
1035
1035
  }>>;
1036
1036
  interpretation: z.ZodOptional<z.ZodObject<{
1037
1037
  transcript: z.ZodOptional<z.ZodObject<{
@@ -1190,11 +1190,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1190
1190
  sheets: z.ZodArray<z.ZodObject<{
1191
1191
  origin: z.ZodOptional<z.ZodEnum<{
1192
1192
  chart: "chart";
1193
+ body: "body";
1193
1194
  diagram: "diagram";
1194
1195
  table: "table";
1195
1196
  image: "image";
1196
1197
  notes: "notes";
1197
- body: "body";
1198
1198
  }>>;
1199
1199
  interpretation: z.ZodOptional<z.ZodObject<{
1200
1200
  transcript: z.ZodOptional<z.ZodObject<{
@@ -1219,11 +1219,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1219
1219
  cells: z.ZodArray<z.ZodObject<{
1220
1220
  origin: z.ZodOptional<z.ZodEnum<{
1221
1221
  chart: "chart";
1222
+ body: "body";
1222
1223
  diagram: "diagram";
1223
1224
  table: "table";
1224
1225
  image: "image";
1225
1226
  notes: "notes";
1226
- body: "body";
1227
1227
  }>>;
1228
1228
  interpretation: z.ZodOptional<z.ZodObject<{
1229
1229
  transcript: z.ZodOptional<z.ZodObject<{
@@ -1299,11 +1299,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1299
1299
  runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1300
1300
  origin: z.ZodOptional<z.ZodEnum<{
1301
1301
  chart: "chart";
1302
+ body: "body";
1302
1303
  diagram: "diagram";
1303
1304
  table: "table";
1304
1305
  image: "image";
1305
1306
  notes: "notes";
1306
- body: "body";
1307
1307
  }>>;
1308
1308
  interpretation: z.ZodOptional<z.ZodObject<{
1309
1309
  transcript: z.ZodOptional<z.ZodObject<{
@@ -1598,11 +1598,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1598
1598
  images: z.ZodArray<z.ZodObject<{
1599
1599
  origin: z.ZodOptional<z.ZodEnum<{
1600
1600
  chart: "chart";
1601
+ body: "body";
1601
1602
  diagram: "diagram";
1602
1603
  table: "table";
1603
1604
  image: "image";
1604
1605
  notes: "notes";
1605
- body: "body";
1606
1606
  }>>;
1607
1607
  interpretation: z.ZodOptional<z.ZodObject<{
1608
1608
  transcript: z.ZodOptional<z.ZodObject<{
@@ -1648,7 +1648,6 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1648
1648
  floatPosition: z.ZodOptional<z.ZodObject<{
1649
1649
  horizontal: z.ZodUnion<readonly [z.ZodObject<{
1650
1650
  relativeTo: z.ZodEnum<{
1651
- frame: "frame";
1652
1651
  paragraph: "paragraph";
1653
1652
  page: "page";
1654
1653
  margin: "margin";
@@ -1661,11 +1660,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1661
1660
  column: "column";
1662
1661
  character: "character";
1663
1662
  line: "line";
1663
+ frame: "frame";
1664
1664
  }>;
1665
1665
  offsetPt: z.ZodNumber;
1666
1666
  }, z.core.$strict>, z.ZodObject<{
1667
1667
  relativeTo: z.ZodEnum<{
1668
- frame: "frame";
1669
1668
  paragraph: "paragraph";
1670
1669
  page: "page";
1671
1670
  margin: "margin";
@@ -1678,6 +1677,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1678
1677
  column: "column";
1679
1678
  character: "character";
1680
1679
  line: "line";
1680
+ frame: "frame";
1681
1681
  }>;
1682
1682
  align: z.ZodEnum<{
1683
1683
  left: "left";
@@ -1691,7 +1691,6 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1691
1691
  }, z.core.$strict>]>;
1692
1692
  vertical: z.ZodUnion<readonly [z.ZodObject<{
1693
1693
  relativeTo: z.ZodEnum<{
1694
- frame: "frame";
1695
1694
  paragraph: "paragraph";
1696
1695
  page: "page";
1697
1696
  margin: "margin";
@@ -1704,11 +1703,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1704
1703
  column: "column";
1705
1704
  character: "character";
1706
1705
  line: "line";
1706
+ frame: "frame";
1707
1707
  }>;
1708
1708
  offsetPt: z.ZodNumber;
1709
1709
  }, z.core.$strict>, z.ZodObject<{
1710
1710
  relativeTo: z.ZodEnum<{
1711
- frame: "frame";
1712
1711
  paragraph: "paragraph";
1713
1712
  page: "page";
1714
1713
  margin: "margin";
@@ -1721,6 +1720,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1721
1720
  column: "column";
1722
1721
  character: "character";
1723
1722
  line: "line";
1723
+ frame: "frame";
1724
1724
  }>;
1725
1725
  align: z.ZodEnum<{
1726
1726
  left: "left";
@@ -1816,10 +1816,10 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1816
1816
  endColumn: z.ZodNumber;
1817
1817
  }, z.core.$strip>>;
1818
1818
  type: z.ZodEnum<{
1819
- date: "date";
1820
- custom: "custom";
1821
1819
  decimal: "decimal";
1822
1820
  list: "list";
1821
+ date: "date";
1822
+ custom: "custom";
1823
1823
  time: "time";
1824
1824
  whole: "whole";
1825
1825
  textLength: "textLength";
@@ -2292,10 +2292,10 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2292
2292
  value: z.ZodObject<{
2293
2293
  type: z.ZodEnum<{
2294
2294
  formula: "formula";
2295
- percent: "percent";
2296
2295
  num: "num";
2297
- max: "max";
2298
2296
  min: "min";
2297
+ max: "max";
2298
+ percent: "percent";
2299
2299
  percentile: "percentile";
2300
2300
  }>;
2301
2301
  value: z.ZodOptional<z.ZodString>;
@@ -2339,10 +2339,10 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2339
2339
  min: z.ZodObject<{
2340
2340
  type: z.ZodEnum<{
2341
2341
  formula: "formula";
2342
- percent: "percent";
2343
2342
  num: "num";
2344
- max: "max";
2345
2343
  min: "min";
2344
+ max: "max";
2345
+ percent: "percent";
2346
2346
  percentile: "percentile";
2347
2347
  }>;
2348
2348
  value: z.ZodOptional<z.ZodString>;
@@ -2350,10 +2350,10 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2350
2350
  max: z.ZodObject<{
2351
2351
  type: z.ZodEnum<{
2352
2352
  formula: "formula";
2353
- percent: "percent";
2354
2353
  num: "num";
2355
- max: "max";
2356
2354
  min: "min";
2355
+ max: "max";
2356
+ percent: "percent";
2357
2357
  percentile: "percentile";
2358
2358
  }>;
2359
2359
  value: z.ZodOptional<z.ZodString>;
@@ -2398,10 +2398,10 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2398
2398
  thresholds: z.ZodArray<z.ZodObject<{
2399
2399
  type: z.ZodEnum<{
2400
2400
  formula: "formula";
2401
- percent: "percent";
2402
2401
  num: "num";
2403
- max: "max";
2404
2402
  min: "min";
2403
+ max: "max";
2404
+ percent: "percent";
2405
2405
  percentile: "percentile";
2406
2406
  }>;
2407
2407
  value: z.ZodOptional<z.ZodString>;
@@ -2535,11 +2535,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2535
2535
  pages: z.ZodArray<z.ZodObject<{
2536
2536
  origin: z.ZodOptional<z.ZodEnum<{
2537
2537
  chart: "chart";
2538
+ body: "body";
2538
2539
  diagram: "diagram";
2539
2540
  table: "table";
2540
2541
  image: "image";
2541
2542
  notes: "notes";
2542
- body: "body";
2543
2543
  }>>;
2544
2544
  interpretation: z.ZodOptional<z.ZodObject<{
2545
2545
  transcript: z.ZodOptional<z.ZodObject<{
@@ -2568,11 +2568,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
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
2570
  chart: "chart";
2571
+ body: "body";
2571
2572
  diagram: "diagram";
2572
2573
  table: "table";
2573
2574
  image: "image";
2574
2575
  notes: "notes";
2575
- body: "body";
2576
2576
  }>>;
2577
2577
  interpretation: z.ZodOptional<z.ZodObject<{
2578
2578
  transcript: z.ZodOptional<z.ZodObject<{
@@ -2641,11 +2641,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2641
2641
  vectors: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2642
2642
  origin: z.ZodOptional<z.ZodEnum<{
2643
2643
  chart: "chart";
2644
+ body: "body";
2644
2645
  diagram: "diagram";
2645
2646
  table: "table";
2646
2647
  image: "image";
2647
2648
  notes: "notes";
2648
- body: "body";
2649
2649
  }>>;
2650
2650
  interpretation: z.ZodOptional<z.ZodObject<{
2651
2651
  transcript: z.ZodOptional<z.ZodObject<{
@@ -2779,11 +2779,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2779
2779
  }, z.core.$strip>, z.ZodObject<{
2780
2780
  origin: z.ZodOptional<z.ZodEnum<{
2781
2781
  chart: "chart";
2782
+ body: "body";
2782
2783
  diagram: "diagram";
2783
2784
  table: "table";
2784
2785
  image: "image";
2785
2786
  notes: "notes";
2786
- body: "body";
2787
2787
  }>>;
2788
2788
  interpretation: z.ZodOptional<z.ZodObject<{
2789
2789
  transcript: z.ZodOptional<z.ZodObject<{
@@ -2917,11 +2917,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2917
2917
  }, z.core.$strip>, z.ZodObject<{
2918
2918
  origin: z.ZodOptional<z.ZodEnum<{
2919
2919
  chart: "chart";
2920
+ body: "body";
2920
2921
  diagram: "diagram";
2921
2922
  table: "table";
2922
2923
  image: "image";
2923
2924
  notes: "notes";
2924
- body: "body";
2925
2925
  }>>;
2926
2926
  interpretation: z.ZodOptional<z.ZodObject<{
2927
2927
  transcript: z.ZodOptional<z.ZodObject<{
@@ -3005,11 +3005,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
3005
3005
  }, z.core.$strip>, z.ZodObject<{
3006
3006
  origin: z.ZodOptional<z.ZodEnum<{
3007
3007
  chart: "chart";
3008
+ body: "body";
3008
3009
  diagram: "diagram";
3009
3010
  table: "table";
3010
3011
  image: "image";
3011
3012
  notes: "notes";
3012
- body: "body";
3013
3013
  }>>;
3014
3014
  interpretation: z.ZodOptional<z.ZodObject<{
3015
3015
  transcript: z.ZodOptional<z.ZodObject<{
@@ -3265,11 +3265,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
3265
3265
  formula: z.ZodObject<{
3266
3266
  origin: z.ZodOptional<z.ZodEnum<{
3267
3267
  chart: "chart";
3268
+ body: "body";
3268
3269
  diagram: "diagram";
3269
3270
  table: "table";
3270
3271
  image: "image";
3271
3272
  notes: "notes";
3272
- body: "body";
3273
3273
  }>>;
3274
3274
  interpretation: z.ZodOptional<z.ZodObject<{
3275
3275
  transcript: z.ZodOptional<z.ZodObject<{
package/dist/codec.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { z } from "zod";
2
2
  //#region src/codec.d.ts
3
- declare const MarkdownBytesSchema: z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
4
- declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, z.ZodDiscriminatedUnion<[z.ZodObject<{
3
+ declare const MarkdownBytesSchema: z.ZodInstanceOf<Uint8Array<ArrayBuffer>>;
4
+ declare const markdownCodec: z.ZodCodec<z.ZodInstanceOf<Uint8Array<ArrayBuffer>>, z.ZodDiscriminatedUnion<[z.ZodObject<{
5
5
  children: z.ZodArray<z.ZodCustom<import("document-schema.js").SectionGroupNode, import("document-schema.js").SectionGroupNode>>;
6
6
  pages: z.ZodOptional<z.ZodArray<z.ZodObject<{
7
7
  widthPt: z.ZodNumber;
@@ -630,11 +630,11 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
630
630
  children: z.ZodArray<z.ZodObject<{
631
631
  origin: z.ZodOptional<z.ZodEnum<{
632
632
  chart: "chart";
633
+ body: "body";
633
634
  diagram: "diagram";
634
635
  table: "table";
635
636
  image: "image";
636
637
  notes: "notes";
637
- body: "body";
638
638
  }>>;
639
639
  interpretation: z.ZodOptional<z.ZodObject<{
640
640
  transcript: z.ZodOptional<z.ZodObject<{
@@ -841,15 +841,15 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
841
841
  }, z.core.$strip>;
842
842
  kind: z.ZodLiteral<"formula">;
843
843
  }, z.core.$strip>], "kind">>;
844
- declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, z.ZodDiscriminatedUnion<[z.ZodObject<{
844
+ declare const markdownContentCodec: z.ZodCodec<z.ZodInstanceOf<Uint8Array<ArrayBuffer>>, z.ZodDiscriminatedUnion<[z.ZodObject<{
845
845
  sections: z.ZodArray<z.ZodObject<{
846
846
  origin: z.ZodOptional<z.ZodEnum<{
847
847
  chart: "chart";
848
+ body: "body";
848
849
  diagram: "diagram";
849
850
  table: "table";
850
851
  image: "image";
851
852
  notes: "notes";
852
- body: "body";
853
853
  }>>;
854
854
  interpretation: z.ZodOptional<z.ZodObject<{
855
855
  transcript: z.ZodOptional<z.ZodObject<{
@@ -994,11 +994,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
994
994
  slides: z.ZodArray<z.ZodObject<{
995
995
  origin: z.ZodOptional<z.ZodEnum<{
996
996
  chart: "chart";
997
+ body: "body";
997
998
  diagram: "diagram";
998
999
  table: "table";
999
1000
  image: "image";
1000
1001
  notes: "notes";
1001
- body: "body";
1002
1002
  }>>;
1003
1003
  interpretation: z.ZodOptional<z.ZodObject<{
1004
1004
  transcript: z.ZodOptional<z.ZodObject<{
@@ -1027,11 +1027,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
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
1029
  chart: "chart";
1030
+ body: "body";
1030
1031
  diagram: "diagram";
1031
1032
  table: "table";
1032
1033
  image: "image";
1033
1034
  notes: "notes";
1034
- body: "body";
1035
1035
  }>>;
1036
1036
  interpretation: z.ZodOptional<z.ZodObject<{
1037
1037
  transcript: z.ZodOptional<z.ZodObject<{
@@ -1190,11 +1190,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1190
1190
  sheets: z.ZodArray<z.ZodObject<{
1191
1191
  origin: z.ZodOptional<z.ZodEnum<{
1192
1192
  chart: "chart";
1193
+ body: "body";
1193
1194
  diagram: "diagram";
1194
1195
  table: "table";
1195
1196
  image: "image";
1196
1197
  notes: "notes";
1197
- body: "body";
1198
1198
  }>>;
1199
1199
  interpretation: z.ZodOptional<z.ZodObject<{
1200
1200
  transcript: z.ZodOptional<z.ZodObject<{
@@ -1219,11 +1219,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1219
1219
  cells: z.ZodArray<z.ZodObject<{
1220
1220
  origin: z.ZodOptional<z.ZodEnum<{
1221
1221
  chart: "chart";
1222
+ body: "body";
1222
1223
  diagram: "diagram";
1223
1224
  table: "table";
1224
1225
  image: "image";
1225
1226
  notes: "notes";
1226
- body: "body";
1227
1227
  }>>;
1228
1228
  interpretation: z.ZodOptional<z.ZodObject<{
1229
1229
  transcript: z.ZodOptional<z.ZodObject<{
@@ -1299,11 +1299,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1299
1299
  runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1300
1300
  origin: z.ZodOptional<z.ZodEnum<{
1301
1301
  chart: "chart";
1302
+ body: "body";
1302
1303
  diagram: "diagram";
1303
1304
  table: "table";
1304
1305
  image: "image";
1305
1306
  notes: "notes";
1306
- body: "body";
1307
1307
  }>>;
1308
1308
  interpretation: z.ZodOptional<z.ZodObject<{
1309
1309
  transcript: z.ZodOptional<z.ZodObject<{
@@ -1598,11 +1598,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1598
1598
  images: z.ZodArray<z.ZodObject<{
1599
1599
  origin: z.ZodOptional<z.ZodEnum<{
1600
1600
  chart: "chart";
1601
+ body: "body";
1601
1602
  diagram: "diagram";
1602
1603
  table: "table";
1603
1604
  image: "image";
1604
1605
  notes: "notes";
1605
- body: "body";
1606
1606
  }>>;
1607
1607
  interpretation: z.ZodOptional<z.ZodObject<{
1608
1608
  transcript: z.ZodOptional<z.ZodObject<{
@@ -1648,7 +1648,6 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1648
1648
  floatPosition: z.ZodOptional<z.ZodObject<{
1649
1649
  horizontal: z.ZodUnion<readonly [z.ZodObject<{
1650
1650
  relativeTo: z.ZodEnum<{
1651
- frame: "frame";
1652
1651
  paragraph: "paragraph";
1653
1652
  page: "page";
1654
1653
  margin: "margin";
@@ -1661,11 +1660,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1661
1660
  column: "column";
1662
1661
  character: "character";
1663
1662
  line: "line";
1663
+ frame: "frame";
1664
1664
  }>;
1665
1665
  offsetPt: z.ZodNumber;
1666
1666
  }, z.core.$strict>, z.ZodObject<{
1667
1667
  relativeTo: z.ZodEnum<{
1668
- frame: "frame";
1669
1668
  paragraph: "paragraph";
1670
1669
  page: "page";
1671
1670
  margin: "margin";
@@ -1678,6 +1677,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1678
1677
  column: "column";
1679
1678
  character: "character";
1680
1679
  line: "line";
1680
+ frame: "frame";
1681
1681
  }>;
1682
1682
  align: z.ZodEnum<{
1683
1683
  left: "left";
@@ -1691,7 +1691,6 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1691
1691
  }, z.core.$strict>]>;
1692
1692
  vertical: z.ZodUnion<readonly [z.ZodObject<{
1693
1693
  relativeTo: z.ZodEnum<{
1694
- frame: "frame";
1695
1694
  paragraph: "paragraph";
1696
1695
  page: "page";
1697
1696
  margin: "margin";
@@ -1704,11 +1703,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1704
1703
  column: "column";
1705
1704
  character: "character";
1706
1705
  line: "line";
1706
+ frame: "frame";
1707
1707
  }>;
1708
1708
  offsetPt: z.ZodNumber;
1709
1709
  }, z.core.$strict>, z.ZodObject<{
1710
1710
  relativeTo: z.ZodEnum<{
1711
- frame: "frame";
1712
1711
  paragraph: "paragraph";
1713
1712
  page: "page";
1714
1713
  margin: "margin";
@@ -1721,6 +1720,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1721
1720
  column: "column";
1722
1721
  character: "character";
1723
1722
  line: "line";
1723
+ frame: "frame";
1724
1724
  }>;
1725
1725
  align: z.ZodEnum<{
1726
1726
  left: "left";
@@ -1816,10 +1816,10 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1816
1816
  endColumn: z.ZodNumber;
1817
1817
  }, z.core.$strip>>;
1818
1818
  type: z.ZodEnum<{
1819
- date: "date";
1820
- custom: "custom";
1821
1819
  decimal: "decimal";
1822
1820
  list: "list";
1821
+ date: "date";
1822
+ custom: "custom";
1823
1823
  time: "time";
1824
1824
  whole: "whole";
1825
1825
  textLength: "textLength";
@@ -2292,10 +2292,10 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2292
2292
  value: z.ZodObject<{
2293
2293
  type: z.ZodEnum<{
2294
2294
  formula: "formula";
2295
- percent: "percent";
2296
2295
  num: "num";
2297
- max: "max";
2298
2296
  min: "min";
2297
+ max: "max";
2298
+ percent: "percent";
2299
2299
  percentile: "percentile";
2300
2300
  }>;
2301
2301
  value: z.ZodOptional<z.ZodString>;
@@ -2339,10 +2339,10 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2339
2339
  min: z.ZodObject<{
2340
2340
  type: z.ZodEnum<{
2341
2341
  formula: "formula";
2342
- percent: "percent";
2343
2342
  num: "num";
2344
- max: "max";
2345
2343
  min: "min";
2344
+ max: "max";
2345
+ percent: "percent";
2346
2346
  percentile: "percentile";
2347
2347
  }>;
2348
2348
  value: z.ZodOptional<z.ZodString>;
@@ -2350,10 +2350,10 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2350
2350
  max: z.ZodObject<{
2351
2351
  type: z.ZodEnum<{
2352
2352
  formula: "formula";
2353
- percent: "percent";
2354
2353
  num: "num";
2355
- max: "max";
2356
2354
  min: "min";
2355
+ max: "max";
2356
+ percent: "percent";
2357
2357
  percentile: "percentile";
2358
2358
  }>;
2359
2359
  value: z.ZodOptional<z.ZodString>;
@@ -2398,10 +2398,10 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2398
2398
  thresholds: z.ZodArray<z.ZodObject<{
2399
2399
  type: z.ZodEnum<{
2400
2400
  formula: "formula";
2401
- percent: "percent";
2402
2401
  num: "num";
2403
- max: "max";
2404
2402
  min: "min";
2403
+ max: "max";
2404
+ percent: "percent";
2405
2405
  percentile: "percentile";
2406
2406
  }>;
2407
2407
  value: z.ZodOptional<z.ZodString>;
@@ -2535,11 +2535,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2535
2535
  pages: z.ZodArray<z.ZodObject<{
2536
2536
  origin: z.ZodOptional<z.ZodEnum<{
2537
2537
  chart: "chart";
2538
+ body: "body";
2538
2539
  diagram: "diagram";
2539
2540
  table: "table";
2540
2541
  image: "image";
2541
2542
  notes: "notes";
2542
- body: "body";
2543
2543
  }>>;
2544
2544
  interpretation: z.ZodOptional<z.ZodObject<{
2545
2545
  transcript: z.ZodOptional<z.ZodObject<{
@@ -2568,11 +2568,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
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
2570
  chart: "chart";
2571
+ body: "body";
2571
2572
  diagram: "diagram";
2572
2573
  table: "table";
2573
2574
  image: "image";
2574
2575
  notes: "notes";
2575
- body: "body";
2576
2576
  }>>;
2577
2577
  interpretation: z.ZodOptional<z.ZodObject<{
2578
2578
  transcript: z.ZodOptional<z.ZodObject<{
@@ -2641,11 +2641,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2641
2641
  vectors: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2642
2642
  origin: z.ZodOptional<z.ZodEnum<{
2643
2643
  chart: "chart";
2644
+ body: "body";
2644
2645
  diagram: "diagram";
2645
2646
  table: "table";
2646
2647
  image: "image";
2647
2648
  notes: "notes";
2648
- body: "body";
2649
2649
  }>>;
2650
2650
  interpretation: z.ZodOptional<z.ZodObject<{
2651
2651
  transcript: z.ZodOptional<z.ZodObject<{
@@ -2779,11 +2779,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2779
2779
  }, z.core.$strip>, z.ZodObject<{
2780
2780
  origin: z.ZodOptional<z.ZodEnum<{
2781
2781
  chart: "chart";
2782
+ body: "body";
2782
2783
  diagram: "diagram";
2783
2784
  table: "table";
2784
2785
  image: "image";
2785
2786
  notes: "notes";
2786
- body: "body";
2787
2787
  }>>;
2788
2788
  interpretation: z.ZodOptional<z.ZodObject<{
2789
2789
  transcript: z.ZodOptional<z.ZodObject<{
@@ -2917,11 +2917,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2917
2917
  }, z.core.$strip>, z.ZodObject<{
2918
2918
  origin: z.ZodOptional<z.ZodEnum<{
2919
2919
  chart: "chart";
2920
+ body: "body";
2920
2921
  diagram: "diagram";
2921
2922
  table: "table";
2922
2923
  image: "image";
2923
2924
  notes: "notes";
2924
- body: "body";
2925
2925
  }>>;
2926
2926
  interpretation: z.ZodOptional<z.ZodObject<{
2927
2927
  transcript: z.ZodOptional<z.ZodObject<{
@@ -3005,11 +3005,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
3005
3005
  }, z.core.$strip>, z.ZodObject<{
3006
3006
  origin: z.ZodOptional<z.ZodEnum<{
3007
3007
  chart: "chart";
3008
+ body: "body";
3008
3009
  diagram: "diagram";
3009
3010
  table: "table";
3010
3011
  image: "image";
3011
3012
  notes: "notes";
3012
- body: "body";
3013
3013
  }>>;
3014
3014
  interpretation: z.ZodOptional<z.ZodObject<{
3015
3015
  transcript: z.ZodOptional<z.ZodObject<{
@@ -3265,11 +3265,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
3265
3265
  formula: z.ZodObject<{
3266
3266
  origin: z.ZodOptional<z.ZodEnum<{
3267
3267
  chart: "chart";
3268
+ body: "body";
3268
3269
  diagram: "diagram";
3269
3270
  table: "table";
3270
3271
  image: "image";
3271
3272
  notes: "notes";
3272
- body: "body";
3273
3273
  }>>;
3274
3274
  interpretation: z.ZodOptional<z.ZodObject<{
3275
3275
  transcript: z.ZodOptional<z.ZodObject<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mrkdwn.js",
3
- "version": "11.2.3",
3
+ "version": "11.2.5",
4
4
  "description": "Hand-written CommonMark+GFM <-> DocumentTree codec, built on document-schema.js",
5
5
  "type": "module",
6
6
  "repository": {
@@ -56,9 +56,9 @@
56
56
  ],
57
57
  "license": "MIT",
58
58
  "dependencies": {
59
- "byte-codec": "2.1.0",
60
- "document-schema.js": "7.16.3",
61
- "zod": "4.4.3"
59
+ "byte-codec": "2.1.1",
60
+ "document-schema.js": "7.16.5",
61
+ "zod": "4.6.6"
62
62
  },
63
63
  "devDependencies": {
64
64
  "@arethetypeswrong/cli": "0.18.5",