mrkdwn.js 6.6.4 → 6.6.6

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
@@ -11,8 +11,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
11
11
  paragraph: z.ZodOptional<z.ZodObject<{
12
12
  alignment: z.ZodOptional<z.ZodEnum<{
13
13
  left: "left";
14
- right: "right";
15
14
  center: "center";
15
+ right: "right";
16
16
  justify: "justify";
17
17
  }>>;
18
18
  list: z.ZodOptional<z.ZodObject<{
@@ -160,8 +160,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
160
160
  paragraph: z.ZodOptional<z.ZodObject<{
161
161
  alignment: z.ZodOptional<z.ZodEnum<{
162
162
  left: "left";
163
- right: "right";
164
163
  center: "center";
164
+ right: "right";
165
165
  justify: "justify";
166
166
  }>>;
167
167
  list: z.ZodOptional<z.ZodObject<{
@@ -314,8 +314,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
314
314
  paragraph: z.ZodOptional<z.ZodObject<{
315
315
  alignment: z.ZodOptional<z.ZodEnum<{
316
316
  left: "left";
317
- right: "right";
318
317
  center: "center";
318
+ right: "right";
319
319
  justify: "justify";
320
320
  }>>;
321
321
  list: z.ZodOptional<z.ZodObject<{
@@ -463,8 +463,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
463
463
  paragraph: z.ZodOptional<z.ZodObject<{
464
464
  alignment: z.ZodOptional<z.ZodEnum<{
465
465
  left: "left";
466
- right: "right";
467
466
  center: "center";
467
+ right: "right";
468
468
  justify: "justify";
469
469
  }>>;
470
470
  list: z.ZodOptional<z.ZodObject<{
@@ -605,12 +605,12 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
605
605
  }, z.core.$strip>, z.ZodObject<{
606
606
  children: z.ZodArray<z.ZodObject<{
607
607
  origin: z.ZodOptional<z.ZodEnum<{
608
+ body: "body";
608
609
  chart: "chart";
609
610
  diagram: "diagram";
610
611
  table: "table";
611
612
  image: "image";
612
613
  notes: "notes";
613
- body: "body";
614
614
  }>>;
615
615
  interpretation: z.ZodOptional<z.ZodObject<{
616
616
  transcript: z.ZodOptional<z.ZodObject<{
@@ -671,8 +671,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
671
671
  paragraph: z.ZodOptional<z.ZodObject<{
672
672
  alignment: z.ZodOptional<z.ZodEnum<{
673
673
  left: "left";
674
- right: "right";
675
674
  center: "center";
675
+ right: "right";
676
676
  justify: "justify";
677
677
  }>>;
678
678
  list: z.ZodOptional<z.ZodObject<{
@@ -814,12 +814,12 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
814
814
  declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, z.ZodDiscriminatedUnion<[z.ZodObject<{
815
815
  sections: z.ZodArray<z.ZodObject<{
816
816
  origin: z.ZodOptional<z.ZodEnum<{
817
+ body: "body";
817
818
  chart: "chart";
818
819
  diagram: "diagram";
819
820
  table: "table";
820
821
  image: "image";
821
822
  notes: "notes";
822
- body: "body";
823
823
  }>>;
824
824
  interpretation: z.ZodOptional<z.ZodObject<{
825
825
  transcript: z.ZodOptional<z.ZodObject<{
@@ -958,12 +958,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
958
958
  }, z.core.$strip>, z.ZodObject<{
959
959
  slides: z.ZodArray<z.ZodObject<{
960
960
  origin: z.ZodOptional<z.ZodEnum<{
961
+ body: "body";
961
962
  chart: "chart";
962
963
  diagram: "diagram";
963
964
  table: "table";
964
965
  image: "image";
965
966
  notes: "notes";
966
- body: "body";
967
967
  }>>;
968
968
  interpretation: z.ZodOptional<z.ZodObject<{
969
969
  transcript: z.ZodOptional<z.ZodObject<{
@@ -991,12 +991,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
991
991
  shapes: z.ZodArray<z.ZodObject<{
992
992
  blocks: z.ZodLazy<z.ZodArray<z.ZodType<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock, z.core.$ZodTypeInternals<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>>>;
993
993
  origin: z.ZodOptional<z.ZodEnum<{
994
+ body: "body";
994
995
  chart: "chart";
995
996
  diagram: "diagram";
996
997
  table: "table";
997
998
  image: "image";
998
999
  notes: "notes";
999
- body: "body";
1000
1000
  }>>;
1001
1001
  interpretation: z.ZodOptional<z.ZodObject<{
1002
1002
  transcript: z.ZodOptional<z.ZodObject<{
@@ -1153,12 +1153,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1153
1153
  }, z.core.$strip>, z.ZodObject<{
1154
1154
  sheets: z.ZodArray<z.ZodObject<{
1155
1155
  origin: z.ZodOptional<z.ZodEnum<{
1156
+ body: "body";
1156
1157
  chart: "chart";
1157
1158
  diagram: "diagram";
1158
1159
  table: "table";
1159
1160
  image: "image";
1160
1161
  notes: "notes";
1161
- body: "body";
1162
1162
  }>>;
1163
1163
  interpretation: z.ZodOptional<z.ZodObject<{
1164
1164
  transcript: z.ZodOptional<z.ZodObject<{
@@ -1182,12 +1182,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1182
1182
  name: z.ZodString;
1183
1183
  cells: z.ZodArray<z.ZodObject<{
1184
1184
  origin: z.ZodOptional<z.ZodEnum<{
1185
+ body: "body";
1185
1186
  chart: "chart";
1186
1187
  diagram: "diagram";
1187
1188
  table: "table";
1188
1189
  image: "image";
1189
1190
  notes: "notes";
1190
- body: "body";
1191
1191
  }>>;
1192
1192
  interpretation: z.ZodOptional<z.ZodObject<{
1193
1193
  transcript: z.ZodOptional<z.ZodObject<{
@@ -1262,12 +1262,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1262
1262
  }, z.core.$strip>>;
1263
1263
  runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1264
1264
  origin: z.ZodOptional<z.ZodEnum<{
1265
+ body: "body";
1265
1266
  chart: "chart";
1266
1267
  diagram: "diagram";
1267
1268
  table: "table";
1268
1269
  image: "image";
1269
1270
  notes: "notes";
1270
- body: "body";
1271
1271
  }>>;
1272
1272
  interpretation: z.ZodOptional<z.ZodObject<{
1273
1273
  transcript: z.ZodOptional<z.ZodObject<{
@@ -1502,8 +1502,8 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1502
1502
  }, z.core.$strip>>;
1503
1503
  alignment: z.ZodOptional<z.ZodEnum<{
1504
1504
  left: "left";
1505
- right: "right";
1506
1505
  center: "center";
1506
+ right: "right";
1507
1507
  justify: "justify";
1508
1508
  }>>;
1509
1509
  verticalAlignment: z.ZodOptional<z.ZodEnum<{
@@ -1561,12 +1561,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1561
1561
  }, z.core.$strip>>;
1562
1562
  images: z.ZodArray<z.ZodObject<{
1563
1563
  origin: z.ZodOptional<z.ZodEnum<{
1564
+ body: "body";
1564
1565
  chart: "chart";
1565
1566
  diagram: "diagram";
1566
1567
  table: "table";
1567
1568
  image: "image";
1568
1569
  notes: "notes";
1569
- body: "body";
1570
1570
  }>>;
1571
1571
  interpretation: z.ZodOptional<z.ZodObject<{
1572
1572
  transcript: z.ZodOptional<z.ZodObject<{
@@ -1608,6 +1608,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1608
1608
  }, z.core.$strip>>;
1609
1609
  anchorRunIndex: z.ZodOptional<z.ZodNumber>;
1610
1610
  anchorOffset: z.ZodOptional<z.ZodNumber>;
1611
+ caption: z.ZodOptional<z.ZodString>;
1611
1612
  floatPosition: z.ZodOptional<z.ZodObject<{
1612
1613
  horizontal: z.ZodUnion<readonly [z.ZodObject<{
1613
1614
  relativeTo: z.ZodEnum<{
@@ -1644,10 +1645,10 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1644
1645
  }>;
1645
1646
  align: z.ZodEnum<{
1646
1647
  left: "left";
1648
+ center: "center";
1647
1649
  right: "right";
1648
1650
  top: "top";
1649
1651
  bottom: "bottom";
1650
- center: "center";
1651
1652
  inside: "inside";
1652
1653
  outside: "outside";
1653
1654
  }>;
@@ -1687,10 +1688,10 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1687
1688
  }>;
1688
1689
  align: z.ZodEnum<{
1689
1690
  left: "left";
1691
+ center: "center";
1690
1692
  right: "right";
1691
1693
  top: "top";
1692
1694
  bottom: "bottom";
1693
- center: "center";
1694
1695
  inside: "inside";
1695
1696
  outside: "outside";
1696
1697
  }>;
@@ -1779,11 +1780,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1779
1780
  endColumn: z.ZodNumber;
1780
1781
  }, z.core.$strip>>;
1781
1782
  type: z.ZodEnum<{
1783
+ time: "time";
1782
1784
  date: "date";
1783
1785
  custom: "custom";
1784
1786
  decimal: "decimal";
1785
1787
  list: "list";
1786
- time: "time";
1787
1788
  whole: "whole";
1788
1789
  textLength: "textLength";
1789
1790
  }>;
@@ -2254,11 +2255,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2254
2255
  stops: z.ZodArray<z.ZodObject<{
2255
2256
  value: z.ZodObject<{
2256
2257
  type: z.ZodEnum<{
2257
- formula: "formula";
2258
- percent: "percent";
2259
2258
  num: "num";
2260
- max: "max";
2261
2259
  min: "min";
2260
+ max: "max";
2261
+ formula: "formula";
2262
+ percent: "percent";
2262
2263
  percentile: "percentile";
2263
2264
  }>;
2264
2265
  value: z.ZodOptional<z.ZodString>;
@@ -2301,22 +2302,22 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2301
2302
  }, z.core.$strip>, z.ZodObject<{
2302
2303
  min: z.ZodObject<{
2303
2304
  type: z.ZodEnum<{
2304
- formula: "formula";
2305
- percent: "percent";
2306
2305
  num: "num";
2307
- max: "max";
2308
2306
  min: "min";
2307
+ max: "max";
2308
+ formula: "formula";
2309
+ percent: "percent";
2309
2310
  percentile: "percentile";
2310
2311
  }>;
2311
2312
  value: z.ZodOptional<z.ZodString>;
2312
2313
  }, z.core.$strip>;
2313
2314
  max: z.ZodObject<{
2314
2315
  type: z.ZodEnum<{
2315
- formula: "formula";
2316
- percent: "percent";
2317
2316
  num: "num";
2318
- max: "max";
2319
2317
  min: "min";
2318
+ max: "max";
2319
+ formula: "formula";
2320
+ percent: "percent";
2320
2321
  percentile: "percentile";
2321
2322
  }>;
2322
2323
  value: z.ZodOptional<z.ZodString>;
@@ -2360,11 +2361,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2360
2361
  iconSetType: z.ZodString;
2361
2362
  thresholds: z.ZodArray<z.ZodObject<{
2362
2363
  type: z.ZodEnum<{
2363
- formula: "formula";
2364
- percent: "percent";
2365
2364
  num: "num";
2366
- max: "max";
2367
2365
  min: "min";
2366
+ max: "max";
2367
+ formula: "formula";
2368
+ percent: "percent";
2368
2369
  percentile: "percentile";
2369
2370
  }>;
2370
2371
  value: z.ZodOptional<z.ZodString>;
@@ -2497,12 +2498,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2497
2498
  }, z.core.$strip>, z.ZodObject<{
2498
2499
  pages: z.ZodArray<z.ZodObject<{
2499
2500
  origin: z.ZodOptional<z.ZodEnum<{
2501
+ body: "body";
2500
2502
  chart: "chart";
2501
2503
  diagram: "diagram";
2502
2504
  table: "table";
2503
2505
  image: "image";
2504
2506
  notes: "notes";
2505
- body: "body";
2506
2507
  }>>;
2507
2508
  interpretation: z.ZodOptional<z.ZodObject<{
2508
2509
  transcript: z.ZodOptional<z.ZodObject<{
@@ -2530,12 +2531,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2530
2531
  shapes: z.ZodArray<z.ZodObject<{
2531
2532
  blocks: z.ZodLazy<z.ZodArray<z.ZodType<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock, z.core.$ZodTypeInternals<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>>>;
2532
2533
  origin: z.ZodOptional<z.ZodEnum<{
2534
+ body: "body";
2533
2535
  chart: "chart";
2534
2536
  diagram: "diagram";
2535
2537
  table: "table";
2536
2538
  image: "image";
2537
2539
  notes: "notes";
2538
- body: "body";
2539
2540
  }>>;
2540
2541
  interpretation: z.ZodOptional<z.ZodObject<{
2541
2542
  transcript: z.ZodOptional<z.ZodObject<{
@@ -2602,12 +2603,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2602
2603
  }, z.core.$strip>>;
2603
2604
  vectors: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2604
2605
  origin: z.ZodOptional<z.ZodEnum<{
2606
+ body: "body";
2605
2607
  chart: "chart";
2606
2608
  diagram: "diagram";
2607
2609
  table: "table";
2608
2610
  image: "image";
2609
2611
  notes: "notes";
2610
- body: "body";
2611
2612
  }>>;
2612
2613
  interpretation: z.ZodOptional<z.ZodObject<{
2613
2614
  transcript: z.ZodOptional<z.ZodObject<{
@@ -2740,12 +2741,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2740
2741
  }, z.core.$strip>>>;
2741
2742
  }, z.core.$strip>, z.ZodObject<{
2742
2743
  origin: z.ZodOptional<z.ZodEnum<{
2744
+ body: "body";
2743
2745
  chart: "chart";
2744
2746
  diagram: "diagram";
2745
2747
  table: "table";
2746
2748
  image: "image";
2747
2749
  notes: "notes";
2748
- body: "body";
2749
2750
  }>>;
2750
2751
  interpretation: z.ZodOptional<z.ZodObject<{
2751
2752
  transcript: z.ZodOptional<z.ZodObject<{
@@ -2878,12 +2879,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2878
2879
  }, z.core.$strip>>>;
2879
2880
  }, z.core.$strip>, z.ZodObject<{
2880
2881
  origin: z.ZodOptional<z.ZodEnum<{
2882
+ body: "body";
2881
2883
  chart: "chart";
2882
2884
  diagram: "diagram";
2883
2885
  table: "table";
2884
2886
  image: "image";
2885
2887
  notes: "notes";
2886
- body: "body";
2887
2888
  }>>;
2888
2889
  interpretation: z.ZodOptional<z.ZodObject<{
2889
2890
  transcript: z.ZodOptional<z.ZodObject<{
@@ -2966,12 +2967,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2966
2967
  }, z.core.$strip>>>;
2967
2968
  }, z.core.$strip>, z.ZodObject<{
2968
2969
  origin: z.ZodOptional<z.ZodEnum<{
2970
+ body: "body";
2969
2971
  chart: "chart";
2970
2972
  diagram: "diagram";
2971
2973
  table: "table";
2972
2974
  image: "image";
2973
2975
  notes: "notes";
2974
- body: "body";
2975
2976
  }>>;
2976
2977
  interpretation: z.ZodOptional<z.ZodObject<{
2977
2978
  transcript: z.ZodOptional<z.ZodObject<{
@@ -3226,12 +3227,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
3226
3227
  }, z.core.$strip>, z.ZodObject<{
3227
3228
  formula: z.ZodObject<{
3228
3229
  origin: z.ZodOptional<z.ZodEnum<{
3230
+ body: "body";
3229
3231
  chart: "chart";
3230
3232
  diagram: "diagram";
3231
3233
  table: "table";
3232
3234
  image: "image";
3233
3235
  notes: "notes";
3234
- body: "body";
3235
3236
  }>>;
3236
3237
  interpretation: z.ZodOptional<z.ZodObject<{
3237
3238
  transcript: z.ZodOptional<z.ZodObject<{
package/dist/codec.d.ts CHANGED
@@ -11,8 +11,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
11
11
  paragraph: z.ZodOptional<z.ZodObject<{
12
12
  alignment: z.ZodOptional<z.ZodEnum<{
13
13
  left: "left";
14
- right: "right";
15
14
  center: "center";
15
+ right: "right";
16
16
  justify: "justify";
17
17
  }>>;
18
18
  list: z.ZodOptional<z.ZodObject<{
@@ -160,8 +160,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
160
160
  paragraph: z.ZodOptional<z.ZodObject<{
161
161
  alignment: z.ZodOptional<z.ZodEnum<{
162
162
  left: "left";
163
- right: "right";
164
163
  center: "center";
164
+ right: "right";
165
165
  justify: "justify";
166
166
  }>>;
167
167
  list: z.ZodOptional<z.ZodObject<{
@@ -314,8 +314,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
314
314
  paragraph: z.ZodOptional<z.ZodObject<{
315
315
  alignment: z.ZodOptional<z.ZodEnum<{
316
316
  left: "left";
317
- right: "right";
318
317
  center: "center";
318
+ right: "right";
319
319
  justify: "justify";
320
320
  }>>;
321
321
  list: z.ZodOptional<z.ZodObject<{
@@ -463,8 +463,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
463
463
  paragraph: z.ZodOptional<z.ZodObject<{
464
464
  alignment: z.ZodOptional<z.ZodEnum<{
465
465
  left: "left";
466
- right: "right";
467
466
  center: "center";
467
+ right: "right";
468
468
  justify: "justify";
469
469
  }>>;
470
470
  list: z.ZodOptional<z.ZodObject<{
@@ -605,12 +605,12 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
605
605
  }, z.core.$strip>, z.ZodObject<{
606
606
  children: z.ZodArray<z.ZodObject<{
607
607
  origin: z.ZodOptional<z.ZodEnum<{
608
+ body: "body";
608
609
  chart: "chart";
609
610
  diagram: "diagram";
610
611
  table: "table";
611
612
  image: "image";
612
613
  notes: "notes";
613
- body: "body";
614
614
  }>>;
615
615
  interpretation: z.ZodOptional<z.ZodObject<{
616
616
  transcript: z.ZodOptional<z.ZodObject<{
@@ -671,8 +671,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
671
671
  paragraph: z.ZodOptional<z.ZodObject<{
672
672
  alignment: z.ZodOptional<z.ZodEnum<{
673
673
  left: "left";
674
- right: "right";
675
674
  center: "center";
675
+ right: "right";
676
676
  justify: "justify";
677
677
  }>>;
678
678
  list: z.ZodOptional<z.ZodObject<{
@@ -814,12 +814,12 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
814
814
  declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, z.ZodDiscriminatedUnion<[z.ZodObject<{
815
815
  sections: z.ZodArray<z.ZodObject<{
816
816
  origin: z.ZodOptional<z.ZodEnum<{
817
+ body: "body";
817
818
  chart: "chart";
818
819
  diagram: "diagram";
819
820
  table: "table";
820
821
  image: "image";
821
822
  notes: "notes";
822
- body: "body";
823
823
  }>>;
824
824
  interpretation: z.ZodOptional<z.ZodObject<{
825
825
  transcript: z.ZodOptional<z.ZodObject<{
@@ -958,12 +958,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
958
958
  }, z.core.$strip>, z.ZodObject<{
959
959
  slides: z.ZodArray<z.ZodObject<{
960
960
  origin: z.ZodOptional<z.ZodEnum<{
961
+ body: "body";
961
962
  chart: "chart";
962
963
  diagram: "diagram";
963
964
  table: "table";
964
965
  image: "image";
965
966
  notes: "notes";
966
- body: "body";
967
967
  }>>;
968
968
  interpretation: z.ZodOptional<z.ZodObject<{
969
969
  transcript: z.ZodOptional<z.ZodObject<{
@@ -991,12 +991,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
991
991
  shapes: z.ZodArray<z.ZodObject<{
992
992
  blocks: z.ZodLazy<z.ZodArray<z.ZodType<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock, z.core.$ZodTypeInternals<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>>>;
993
993
  origin: z.ZodOptional<z.ZodEnum<{
994
+ body: "body";
994
995
  chart: "chart";
995
996
  diagram: "diagram";
996
997
  table: "table";
997
998
  image: "image";
998
999
  notes: "notes";
999
- body: "body";
1000
1000
  }>>;
1001
1001
  interpretation: z.ZodOptional<z.ZodObject<{
1002
1002
  transcript: z.ZodOptional<z.ZodObject<{
@@ -1153,12 +1153,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1153
1153
  }, z.core.$strip>, z.ZodObject<{
1154
1154
  sheets: z.ZodArray<z.ZodObject<{
1155
1155
  origin: z.ZodOptional<z.ZodEnum<{
1156
+ body: "body";
1156
1157
  chart: "chart";
1157
1158
  diagram: "diagram";
1158
1159
  table: "table";
1159
1160
  image: "image";
1160
1161
  notes: "notes";
1161
- body: "body";
1162
1162
  }>>;
1163
1163
  interpretation: z.ZodOptional<z.ZodObject<{
1164
1164
  transcript: z.ZodOptional<z.ZodObject<{
@@ -1182,12 +1182,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1182
1182
  name: z.ZodString;
1183
1183
  cells: z.ZodArray<z.ZodObject<{
1184
1184
  origin: z.ZodOptional<z.ZodEnum<{
1185
+ body: "body";
1185
1186
  chart: "chart";
1186
1187
  diagram: "diagram";
1187
1188
  table: "table";
1188
1189
  image: "image";
1189
1190
  notes: "notes";
1190
- body: "body";
1191
1191
  }>>;
1192
1192
  interpretation: z.ZodOptional<z.ZodObject<{
1193
1193
  transcript: z.ZodOptional<z.ZodObject<{
@@ -1262,12 +1262,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1262
1262
  }, z.core.$strip>>;
1263
1263
  runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1264
1264
  origin: z.ZodOptional<z.ZodEnum<{
1265
+ body: "body";
1265
1266
  chart: "chart";
1266
1267
  diagram: "diagram";
1267
1268
  table: "table";
1268
1269
  image: "image";
1269
1270
  notes: "notes";
1270
- body: "body";
1271
1271
  }>>;
1272
1272
  interpretation: z.ZodOptional<z.ZodObject<{
1273
1273
  transcript: z.ZodOptional<z.ZodObject<{
@@ -1502,8 +1502,8 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1502
1502
  }, z.core.$strip>>;
1503
1503
  alignment: z.ZodOptional<z.ZodEnum<{
1504
1504
  left: "left";
1505
- right: "right";
1506
1505
  center: "center";
1506
+ right: "right";
1507
1507
  justify: "justify";
1508
1508
  }>>;
1509
1509
  verticalAlignment: z.ZodOptional<z.ZodEnum<{
@@ -1561,12 +1561,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1561
1561
  }, z.core.$strip>>;
1562
1562
  images: z.ZodArray<z.ZodObject<{
1563
1563
  origin: z.ZodOptional<z.ZodEnum<{
1564
+ body: "body";
1564
1565
  chart: "chart";
1565
1566
  diagram: "diagram";
1566
1567
  table: "table";
1567
1568
  image: "image";
1568
1569
  notes: "notes";
1569
- body: "body";
1570
1570
  }>>;
1571
1571
  interpretation: z.ZodOptional<z.ZodObject<{
1572
1572
  transcript: z.ZodOptional<z.ZodObject<{
@@ -1608,6 +1608,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1608
1608
  }, z.core.$strip>>;
1609
1609
  anchorRunIndex: z.ZodOptional<z.ZodNumber>;
1610
1610
  anchorOffset: z.ZodOptional<z.ZodNumber>;
1611
+ caption: z.ZodOptional<z.ZodString>;
1611
1612
  floatPosition: z.ZodOptional<z.ZodObject<{
1612
1613
  horizontal: z.ZodUnion<readonly [z.ZodObject<{
1613
1614
  relativeTo: z.ZodEnum<{
@@ -1644,10 +1645,10 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1644
1645
  }>;
1645
1646
  align: z.ZodEnum<{
1646
1647
  left: "left";
1648
+ center: "center";
1647
1649
  right: "right";
1648
1650
  top: "top";
1649
1651
  bottom: "bottom";
1650
- center: "center";
1651
1652
  inside: "inside";
1652
1653
  outside: "outside";
1653
1654
  }>;
@@ -1687,10 +1688,10 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1687
1688
  }>;
1688
1689
  align: z.ZodEnum<{
1689
1690
  left: "left";
1691
+ center: "center";
1690
1692
  right: "right";
1691
1693
  top: "top";
1692
1694
  bottom: "bottom";
1693
- center: "center";
1694
1695
  inside: "inside";
1695
1696
  outside: "outside";
1696
1697
  }>;
@@ -1779,11 +1780,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1779
1780
  endColumn: z.ZodNumber;
1780
1781
  }, z.core.$strip>>;
1781
1782
  type: z.ZodEnum<{
1783
+ time: "time";
1782
1784
  date: "date";
1783
1785
  custom: "custom";
1784
1786
  decimal: "decimal";
1785
1787
  list: "list";
1786
- time: "time";
1787
1788
  whole: "whole";
1788
1789
  textLength: "textLength";
1789
1790
  }>;
@@ -2254,11 +2255,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2254
2255
  stops: z.ZodArray<z.ZodObject<{
2255
2256
  value: z.ZodObject<{
2256
2257
  type: z.ZodEnum<{
2257
- formula: "formula";
2258
- percent: "percent";
2259
2258
  num: "num";
2260
- max: "max";
2261
2259
  min: "min";
2260
+ max: "max";
2261
+ formula: "formula";
2262
+ percent: "percent";
2262
2263
  percentile: "percentile";
2263
2264
  }>;
2264
2265
  value: z.ZodOptional<z.ZodString>;
@@ -2301,22 +2302,22 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2301
2302
  }, z.core.$strip>, z.ZodObject<{
2302
2303
  min: z.ZodObject<{
2303
2304
  type: z.ZodEnum<{
2304
- formula: "formula";
2305
- percent: "percent";
2306
2305
  num: "num";
2307
- max: "max";
2308
2306
  min: "min";
2307
+ max: "max";
2308
+ formula: "formula";
2309
+ percent: "percent";
2309
2310
  percentile: "percentile";
2310
2311
  }>;
2311
2312
  value: z.ZodOptional<z.ZodString>;
2312
2313
  }, z.core.$strip>;
2313
2314
  max: z.ZodObject<{
2314
2315
  type: z.ZodEnum<{
2315
- formula: "formula";
2316
- percent: "percent";
2317
2316
  num: "num";
2318
- max: "max";
2319
2317
  min: "min";
2318
+ max: "max";
2319
+ formula: "formula";
2320
+ percent: "percent";
2320
2321
  percentile: "percentile";
2321
2322
  }>;
2322
2323
  value: z.ZodOptional<z.ZodString>;
@@ -2360,11 +2361,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2360
2361
  iconSetType: z.ZodString;
2361
2362
  thresholds: z.ZodArray<z.ZodObject<{
2362
2363
  type: z.ZodEnum<{
2363
- formula: "formula";
2364
- percent: "percent";
2365
2364
  num: "num";
2366
- max: "max";
2367
2365
  min: "min";
2366
+ max: "max";
2367
+ formula: "formula";
2368
+ percent: "percent";
2368
2369
  percentile: "percentile";
2369
2370
  }>;
2370
2371
  value: z.ZodOptional<z.ZodString>;
@@ -2497,12 +2498,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2497
2498
  }, z.core.$strip>, z.ZodObject<{
2498
2499
  pages: z.ZodArray<z.ZodObject<{
2499
2500
  origin: z.ZodOptional<z.ZodEnum<{
2501
+ body: "body";
2500
2502
  chart: "chart";
2501
2503
  diagram: "diagram";
2502
2504
  table: "table";
2503
2505
  image: "image";
2504
2506
  notes: "notes";
2505
- body: "body";
2506
2507
  }>>;
2507
2508
  interpretation: z.ZodOptional<z.ZodObject<{
2508
2509
  transcript: z.ZodOptional<z.ZodObject<{
@@ -2530,12 +2531,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2530
2531
  shapes: z.ZodArray<z.ZodObject<{
2531
2532
  blocks: z.ZodLazy<z.ZodArray<z.ZodType<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock, z.core.$ZodTypeInternals<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>>>;
2532
2533
  origin: z.ZodOptional<z.ZodEnum<{
2534
+ body: "body";
2533
2535
  chart: "chart";
2534
2536
  diagram: "diagram";
2535
2537
  table: "table";
2536
2538
  image: "image";
2537
2539
  notes: "notes";
2538
- body: "body";
2539
2540
  }>>;
2540
2541
  interpretation: z.ZodOptional<z.ZodObject<{
2541
2542
  transcript: z.ZodOptional<z.ZodObject<{
@@ -2602,12 +2603,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2602
2603
  }, z.core.$strip>>;
2603
2604
  vectors: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2604
2605
  origin: z.ZodOptional<z.ZodEnum<{
2606
+ body: "body";
2605
2607
  chart: "chart";
2606
2608
  diagram: "diagram";
2607
2609
  table: "table";
2608
2610
  image: "image";
2609
2611
  notes: "notes";
2610
- body: "body";
2611
2612
  }>>;
2612
2613
  interpretation: z.ZodOptional<z.ZodObject<{
2613
2614
  transcript: z.ZodOptional<z.ZodObject<{
@@ -2740,12 +2741,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2740
2741
  }, z.core.$strip>>>;
2741
2742
  }, z.core.$strip>, z.ZodObject<{
2742
2743
  origin: z.ZodOptional<z.ZodEnum<{
2744
+ body: "body";
2743
2745
  chart: "chart";
2744
2746
  diagram: "diagram";
2745
2747
  table: "table";
2746
2748
  image: "image";
2747
2749
  notes: "notes";
2748
- body: "body";
2749
2750
  }>>;
2750
2751
  interpretation: z.ZodOptional<z.ZodObject<{
2751
2752
  transcript: z.ZodOptional<z.ZodObject<{
@@ -2878,12 +2879,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2878
2879
  }, z.core.$strip>>>;
2879
2880
  }, z.core.$strip>, z.ZodObject<{
2880
2881
  origin: z.ZodOptional<z.ZodEnum<{
2882
+ body: "body";
2881
2883
  chart: "chart";
2882
2884
  diagram: "diagram";
2883
2885
  table: "table";
2884
2886
  image: "image";
2885
2887
  notes: "notes";
2886
- body: "body";
2887
2888
  }>>;
2888
2889
  interpretation: z.ZodOptional<z.ZodObject<{
2889
2890
  transcript: z.ZodOptional<z.ZodObject<{
@@ -2966,12 +2967,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2966
2967
  }, z.core.$strip>>>;
2967
2968
  }, z.core.$strip>, z.ZodObject<{
2968
2969
  origin: z.ZodOptional<z.ZodEnum<{
2970
+ body: "body";
2969
2971
  chart: "chart";
2970
2972
  diagram: "diagram";
2971
2973
  table: "table";
2972
2974
  image: "image";
2973
2975
  notes: "notes";
2974
- body: "body";
2975
2976
  }>>;
2976
2977
  interpretation: z.ZodOptional<z.ZodObject<{
2977
2978
  transcript: z.ZodOptional<z.ZodObject<{
@@ -3226,12 +3227,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
3226
3227
  }, z.core.$strip>, z.ZodObject<{
3227
3228
  formula: z.ZodObject<{
3228
3229
  origin: z.ZodOptional<z.ZodEnum<{
3230
+ body: "body";
3229
3231
  chart: "chart";
3230
3232
  diagram: "diagram";
3231
3233
  table: "table";
3232
3234
  image: "image";
3233
3235
  notes: "notes";
3234
- body: "body";
3235
3236
  }>>;
3236
3237
  interpretation: z.ZodOptional<z.ZodObject<{
3237
3238
  transcript: z.ZodOptional<z.ZodObject<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mrkdwn.js",
3
- "version": "6.6.4",
3
+ "version": "6.6.6",
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.8.0",
59
+ "document-schema.js": "7.9.1",
60
60
  "zod": "4.4.3"
61
61
  },
62
62
  "devDependencies": {