markdown-codec 6.6.1 → 6.6.3
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/README.md +1 -1
- package/dist/codec.d.cts +55 -24
- package/dist/codec.d.ts +55 -24
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -277,7 +277,7 @@ This package also published under an alternate name from the pre-monorepo pipeli
|
|
|
277
277
|
|
|
278
278
|
- [mrkdwn.js](https://www.npmjs.com/package/mrkdwn.js)
|
|
279
279
|
|
|
280
|
-
**
|
|
280
|
+
**Republished automatically** — the alias's trusted publisher is registered against this repository and workflow (2026-09-10), so every release from the [backfill run](https://github.com/ExaDev/documents.js/actions/runs/34449796133) onward publishes under this name too; the registration evidence is on [ExaDev/documents.js#728](https://github.com/ExaDev/documents.js/issues/728).
|
|
281
281
|
|
|
282
282
|
## License
|
|
283
283
|
|
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
|
-
center: "center";
|
|
15
14
|
right: "right";
|
|
15
|
+
center: "center";
|
|
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
|
-
center: "center";
|
|
164
163
|
right: "right";
|
|
164
|
+
center: "center";
|
|
165
165
|
justify: "justify";
|
|
166
166
|
}>>;
|
|
167
167
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -300,6 +300,11 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
|
|
|
300
300
|
}, z.core.$strip>;
|
|
301
301
|
kind: z.ZodLiteral<"presentation">;
|
|
302
302
|
}, z.core.$strip>, z.ZodObject<{
|
|
303
|
+
names: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
304
|
+
name: z.ZodString;
|
|
305
|
+
refersTo: z.ZodString;
|
|
306
|
+
scopeSheetIndex: z.ZodOptional<z.ZodNumber>;
|
|
307
|
+
}, z.core.$strip>>>;
|
|
303
308
|
children: z.ZodArray<z.ZodCustom<import("document-schema.js").SheetGroupNode, import("document-schema.js").SheetGroupNode>>;
|
|
304
309
|
pages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
305
310
|
widthPt: z.ZodNumber;
|
|
@@ -309,8 +314,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
|
|
|
309
314
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
310
315
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
311
316
|
left: "left";
|
|
312
|
-
center: "center";
|
|
313
317
|
right: "right";
|
|
318
|
+
center: "center";
|
|
314
319
|
justify: "justify";
|
|
315
320
|
}>>;
|
|
316
321
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -458,8 +463,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
|
|
|
458
463
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
459
464
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
460
465
|
left: "left";
|
|
461
|
-
center: "center";
|
|
462
466
|
right: "right";
|
|
467
|
+
center: "center";
|
|
463
468
|
justify: "justify";
|
|
464
469
|
}>>;
|
|
465
470
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -639,8 +644,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
|
|
|
639
644
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
640
645
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
641
646
|
left: "left";
|
|
642
|
-
center: "center";
|
|
643
647
|
right: "right";
|
|
648
|
+
center: "center";
|
|
644
649
|
justify: "justify";
|
|
645
650
|
}>>;
|
|
646
651
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -1080,8 +1085,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1080
1085
|
formula: z.ZodOptional<z.ZodString>;
|
|
1081
1086
|
displayText: z.ZodString;
|
|
1082
1087
|
numberFormatCode: z.ZodOptional<z.ZodString>;
|
|
1083
|
-
|
|
1084
|
-
text: z.ZodString;
|
|
1088
|
+
font: z.ZodOptional<z.ZodObject<{
|
|
1085
1089
|
bold: z.ZodOptional<z.ZodBoolean>;
|
|
1086
1090
|
italic: z.ZodOptional<z.ZodBoolean>;
|
|
1087
1091
|
underline: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1093,6 +1097,8 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1093
1097
|
g: z.ZodNumber;
|
|
1094
1098
|
b: z.ZodNumber;
|
|
1095
1099
|
}, z.core.$strip>>;
|
|
1100
|
+
}, z.core.$strip>>;
|
|
1101
|
+
runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1096
1102
|
hyperlink: z.ZodOptional<z.ZodString>;
|
|
1097
1103
|
verticalAlign: z.ZodOptional<z.ZodEnum<{
|
|
1098
1104
|
superscript: "superscript";
|
|
@@ -1130,6 +1136,18 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1130
1136
|
widthPt: z.ZodNumber;
|
|
1131
1137
|
heightPt: z.ZodNumber;
|
|
1132
1138
|
}, z.core.$strip>>>;
|
|
1139
|
+
bold: z.ZodOptional<z.ZodBoolean>;
|
|
1140
|
+
italic: z.ZodOptional<z.ZodBoolean>;
|
|
1141
|
+
underline: z.ZodOptional<z.ZodBoolean>;
|
|
1142
|
+
strike: z.ZodOptional<z.ZodBoolean>;
|
|
1143
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
1144
|
+
sizePt: z.ZodOptional<z.ZodNumber>;
|
|
1145
|
+
color: z.ZodOptional<z.ZodObject<{
|
|
1146
|
+
r: z.ZodNumber;
|
|
1147
|
+
g: z.ZodNumber;
|
|
1148
|
+
b: z.ZodNumber;
|
|
1149
|
+
}, z.core.$strip>>;
|
|
1150
|
+
text: z.ZodString;
|
|
1133
1151
|
}, z.core.$strip>>>;
|
|
1134
1152
|
colSpan: z.ZodOptional<z.ZodNumber>;
|
|
1135
1153
|
rowSpan: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1295,8 +1313,8 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1295
1313
|
}, z.core.$strip>>;
|
|
1296
1314
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
1297
1315
|
left: "left";
|
|
1298
|
-
center: "center";
|
|
1299
1316
|
right: "right";
|
|
1317
|
+
center: "center";
|
|
1300
1318
|
justify: "justify";
|
|
1301
1319
|
}>>;
|
|
1302
1320
|
verticalAlignment: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1364,6 +1382,14 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1364
1382
|
widthPt: z.ZodNumber;
|
|
1365
1383
|
heightPt: z.ZodNumber;
|
|
1366
1384
|
altText: z.ZodOptional<z.ZodString>;
|
|
1385
|
+
original: z.ZodOptional<z.ZodObject<{
|
|
1386
|
+
filter: z.ZodEnum<{
|
|
1387
|
+
jbig2: "jbig2";
|
|
1388
|
+
jpeg2000: "jpeg2000";
|
|
1389
|
+
}>;
|
|
1390
|
+
base64: z.ZodString;
|
|
1391
|
+
jbig2GlobalsBase64: z.ZodOptional<z.ZodString>;
|
|
1392
|
+
}, z.core.$strip>>;
|
|
1367
1393
|
floatPosition: z.ZodOptional<z.ZodObject<{
|
|
1368
1394
|
horizontal: z.ZodUnion<readonly [z.ZodObject<{
|
|
1369
1395
|
relativeTo: z.ZodEnum<{
|
|
@@ -1400,10 +1426,10 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1400
1426
|
}>;
|
|
1401
1427
|
align: z.ZodEnum<{
|
|
1402
1428
|
left: "left";
|
|
1403
|
-
center: "center";
|
|
1404
1429
|
right: "right";
|
|
1405
1430
|
top: "top";
|
|
1406
1431
|
bottom: "bottom";
|
|
1432
|
+
center: "center";
|
|
1407
1433
|
inside: "inside";
|
|
1408
1434
|
outside: "outside";
|
|
1409
1435
|
}>;
|
|
@@ -1443,10 +1469,10 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1443
1469
|
}>;
|
|
1444
1470
|
align: z.ZodEnum<{
|
|
1445
1471
|
left: "left";
|
|
1446
|
-
center: "center";
|
|
1447
1472
|
right: "right";
|
|
1448
1473
|
top: "top";
|
|
1449
1474
|
bottom: "bottom";
|
|
1475
|
+
center: "center";
|
|
1450
1476
|
inside: "inside";
|
|
1451
1477
|
outside: "outside";
|
|
1452
1478
|
}>;
|
|
@@ -1535,10 +1561,10 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1535
1561
|
endColumn: z.ZodNumber;
|
|
1536
1562
|
}, z.core.$strip>>;
|
|
1537
1563
|
type: z.ZodEnum<{
|
|
1538
|
-
decimal: "decimal";
|
|
1539
|
-
list: "list";
|
|
1540
1564
|
date: "date";
|
|
1541
1565
|
custom: "custom";
|
|
1566
|
+
decimal: "decimal";
|
|
1567
|
+
list: "list";
|
|
1542
1568
|
time: "time";
|
|
1543
1569
|
whole: "whole";
|
|
1544
1570
|
textLength: "textLength";
|
|
@@ -2010,11 +2036,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
2010
2036
|
stops: z.ZodArray<z.ZodObject<{
|
|
2011
2037
|
value: z.ZodObject<{
|
|
2012
2038
|
type: z.ZodEnum<{
|
|
2013
|
-
num: "num";
|
|
2014
|
-
min: "min";
|
|
2015
|
-
max: "max";
|
|
2016
2039
|
formula: "formula";
|
|
2017
2040
|
percent: "percent";
|
|
2041
|
+
num: "num";
|
|
2042
|
+
max: "max";
|
|
2043
|
+
min: "min";
|
|
2018
2044
|
percentile: "percentile";
|
|
2019
2045
|
}>;
|
|
2020
2046
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -2057,22 +2083,22 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
2057
2083
|
}, z.core.$strip>, z.ZodObject<{
|
|
2058
2084
|
min: z.ZodObject<{
|
|
2059
2085
|
type: z.ZodEnum<{
|
|
2060
|
-
num: "num";
|
|
2061
|
-
min: "min";
|
|
2062
|
-
max: "max";
|
|
2063
2086
|
formula: "formula";
|
|
2064
2087
|
percent: "percent";
|
|
2088
|
+
num: "num";
|
|
2089
|
+
max: "max";
|
|
2090
|
+
min: "min";
|
|
2065
2091
|
percentile: "percentile";
|
|
2066
2092
|
}>;
|
|
2067
2093
|
value: z.ZodOptional<z.ZodString>;
|
|
2068
2094
|
}, z.core.$strip>;
|
|
2069
2095
|
max: z.ZodObject<{
|
|
2070
2096
|
type: z.ZodEnum<{
|
|
2071
|
-
num: "num";
|
|
2072
|
-
min: "min";
|
|
2073
|
-
max: "max";
|
|
2074
2097
|
formula: "formula";
|
|
2075
2098
|
percent: "percent";
|
|
2099
|
+
num: "num";
|
|
2100
|
+
max: "max";
|
|
2101
|
+
min: "min";
|
|
2076
2102
|
percentile: "percentile";
|
|
2077
2103
|
}>;
|
|
2078
2104
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -2116,11 +2142,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
2116
2142
|
iconSetType: z.ZodString;
|
|
2117
2143
|
thresholds: z.ZodArray<z.ZodObject<{
|
|
2118
2144
|
type: z.ZodEnum<{
|
|
2119
|
-
num: "num";
|
|
2120
|
-
min: "min";
|
|
2121
|
-
max: "max";
|
|
2122
2145
|
formula: "formula";
|
|
2123
2146
|
percent: "percent";
|
|
2147
|
+
num: "num";
|
|
2148
|
+
max: "max";
|
|
2149
|
+
min: "min";
|
|
2124
2150
|
percentile: "percentile";
|
|
2125
2151
|
}>;
|
|
2126
2152
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -2178,6 +2204,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
2178
2204
|
xml: z.ZodString;
|
|
2179
2205
|
}, z.core.$strict>>;
|
|
2180
2206
|
}, z.core.$strip>>;
|
|
2207
|
+
names: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2208
|
+
name: z.ZodString;
|
|
2209
|
+
refersTo: z.ZodString;
|
|
2210
|
+
scopeSheetIndex: z.ZodOptional<z.ZodNumber>;
|
|
2211
|
+
}, z.core.$strip>>>;
|
|
2181
2212
|
symbolTable: z.ZodOptional<z.ZodObject<{
|
|
2182
2213
|
symbols: z.ZodArray<z.ZodObject<{
|
|
2183
2214
|
glyph: z.ZodString;
|
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
|
-
center: "center";
|
|
15
14
|
right: "right";
|
|
15
|
+
center: "center";
|
|
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
|
-
center: "center";
|
|
164
163
|
right: "right";
|
|
164
|
+
center: "center";
|
|
165
165
|
justify: "justify";
|
|
166
166
|
}>>;
|
|
167
167
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -300,6 +300,11 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
|
|
|
300
300
|
}, z.core.$strip>;
|
|
301
301
|
kind: z.ZodLiteral<"presentation">;
|
|
302
302
|
}, z.core.$strip>, z.ZodObject<{
|
|
303
|
+
names: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
304
|
+
name: z.ZodString;
|
|
305
|
+
refersTo: z.ZodString;
|
|
306
|
+
scopeSheetIndex: z.ZodOptional<z.ZodNumber>;
|
|
307
|
+
}, z.core.$strip>>>;
|
|
303
308
|
children: z.ZodArray<z.ZodCustom<import("document-schema.js").SheetGroupNode, import("document-schema.js").SheetGroupNode>>;
|
|
304
309
|
pages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
305
310
|
widthPt: z.ZodNumber;
|
|
@@ -309,8 +314,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
|
|
|
309
314
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
310
315
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
311
316
|
left: "left";
|
|
312
|
-
center: "center";
|
|
313
317
|
right: "right";
|
|
318
|
+
center: "center";
|
|
314
319
|
justify: "justify";
|
|
315
320
|
}>>;
|
|
316
321
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -458,8 +463,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
|
|
|
458
463
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
459
464
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
460
465
|
left: "left";
|
|
461
|
-
center: "center";
|
|
462
466
|
right: "right";
|
|
467
|
+
center: "center";
|
|
463
468
|
justify: "justify";
|
|
464
469
|
}>>;
|
|
465
470
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -639,8 +644,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
|
|
|
639
644
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
640
645
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
641
646
|
left: "left";
|
|
642
|
-
center: "center";
|
|
643
647
|
right: "right";
|
|
648
|
+
center: "center";
|
|
644
649
|
justify: "justify";
|
|
645
650
|
}>>;
|
|
646
651
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -1080,8 +1085,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1080
1085
|
formula: z.ZodOptional<z.ZodString>;
|
|
1081
1086
|
displayText: z.ZodString;
|
|
1082
1087
|
numberFormatCode: z.ZodOptional<z.ZodString>;
|
|
1083
|
-
|
|
1084
|
-
text: z.ZodString;
|
|
1088
|
+
font: z.ZodOptional<z.ZodObject<{
|
|
1085
1089
|
bold: z.ZodOptional<z.ZodBoolean>;
|
|
1086
1090
|
italic: z.ZodOptional<z.ZodBoolean>;
|
|
1087
1091
|
underline: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1093,6 +1097,8 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1093
1097
|
g: z.ZodNumber;
|
|
1094
1098
|
b: z.ZodNumber;
|
|
1095
1099
|
}, z.core.$strip>>;
|
|
1100
|
+
}, z.core.$strip>>;
|
|
1101
|
+
runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1096
1102
|
hyperlink: z.ZodOptional<z.ZodString>;
|
|
1097
1103
|
verticalAlign: z.ZodOptional<z.ZodEnum<{
|
|
1098
1104
|
superscript: "superscript";
|
|
@@ -1130,6 +1136,18 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1130
1136
|
widthPt: z.ZodNumber;
|
|
1131
1137
|
heightPt: z.ZodNumber;
|
|
1132
1138
|
}, z.core.$strip>>>;
|
|
1139
|
+
bold: z.ZodOptional<z.ZodBoolean>;
|
|
1140
|
+
italic: z.ZodOptional<z.ZodBoolean>;
|
|
1141
|
+
underline: z.ZodOptional<z.ZodBoolean>;
|
|
1142
|
+
strike: z.ZodOptional<z.ZodBoolean>;
|
|
1143
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
1144
|
+
sizePt: z.ZodOptional<z.ZodNumber>;
|
|
1145
|
+
color: z.ZodOptional<z.ZodObject<{
|
|
1146
|
+
r: z.ZodNumber;
|
|
1147
|
+
g: z.ZodNumber;
|
|
1148
|
+
b: z.ZodNumber;
|
|
1149
|
+
}, z.core.$strip>>;
|
|
1150
|
+
text: z.ZodString;
|
|
1133
1151
|
}, z.core.$strip>>>;
|
|
1134
1152
|
colSpan: z.ZodOptional<z.ZodNumber>;
|
|
1135
1153
|
rowSpan: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1295,8 +1313,8 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1295
1313
|
}, z.core.$strip>>;
|
|
1296
1314
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
1297
1315
|
left: "left";
|
|
1298
|
-
center: "center";
|
|
1299
1316
|
right: "right";
|
|
1317
|
+
center: "center";
|
|
1300
1318
|
justify: "justify";
|
|
1301
1319
|
}>>;
|
|
1302
1320
|
verticalAlignment: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1364,6 +1382,14 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1364
1382
|
widthPt: z.ZodNumber;
|
|
1365
1383
|
heightPt: z.ZodNumber;
|
|
1366
1384
|
altText: z.ZodOptional<z.ZodString>;
|
|
1385
|
+
original: z.ZodOptional<z.ZodObject<{
|
|
1386
|
+
filter: z.ZodEnum<{
|
|
1387
|
+
jbig2: "jbig2";
|
|
1388
|
+
jpeg2000: "jpeg2000";
|
|
1389
|
+
}>;
|
|
1390
|
+
base64: z.ZodString;
|
|
1391
|
+
jbig2GlobalsBase64: z.ZodOptional<z.ZodString>;
|
|
1392
|
+
}, z.core.$strip>>;
|
|
1367
1393
|
floatPosition: z.ZodOptional<z.ZodObject<{
|
|
1368
1394
|
horizontal: z.ZodUnion<readonly [z.ZodObject<{
|
|
1369
1395
|
relativeTo: z.ZodEnum<{
|
|
@@ -1400,10 +1426,10 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1400
1426
|
}>;
|
|
1401
1427
|
align: z.ZodEnum<{
|
|
1402
1428
|
left: "left";
|
|
1403
|
-
center: "center";
|
|
1404
1429
|
right: "right";
|
|
1405
1430
|
top: "top";
|
|
1406
1431
|
bottom: "bottom";
|
|
1432
|
+
center: "center";
|
|
1407
1433
|
inside: "inside";
|
|
1408
1434
|
outside: "outside";
|
|
1409
1435
|
}>;
|
|
@@ -1443,10 +1469,10 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1443
1469
|
}>;
|
|
1444
1470
|
align: z.ZodEnum<{
|
|
1445
1471
|
left: "left";
|
|
1446
|
-
center: "center";
|
|
1447
1472
|
right: "right";
|
|
1448
1473
|
top: "top";
|
|
1449
1474
|
bottom: "bottom";
|
|
1475
|
+
center: "center";
|
|
1450
1476
|
inside: "inside";
|
|
1451
1477
|
outside: "outside";
|
|
1452
1478
|
}>;
|
|
@@ -1535,10 +1561,10 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1535
1561
|
endColumn: z.ZodNumber;
|
|
1536
1562
|
}, z.core.$strip>>;
|
|
1537
1563
|
type: z.ZodEnum<{
|
|
1538
|
-
decimal: "decimal";
|
|
1539
|
-
list: "list";
|
|
1540
1564
|
date: "date";
|
|
1541
1565
|
custom: "custom";
|
|
1566
|
+
decimal: "decimal";
|
|
1567
|
+
list: "list";
|
|
1542
1568
|
time: "time";
|
|
1543
1569
|
whole: "whole";
|
|
1544
1570
|
textLength: "textLength";
|
|
@@ -2010,11 +2036,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
2010
2036
|
stops: z.ZodArray<z.ZodObject<{
|
|
2011
2037
|
value: z.ZodObject<{
|
|
2012
2038
|
type: z.ZodEnum<{
|
|
2013
|
-
num: "num";
|
|
2014
|
-
min: "min";
|
|
2015
|
-
max: "max";
|
|
2016
2039
|
formula: "formula";
|
|
2017
2040
|
percent: "percent";
|
|
2041
|
+
num: "num";
|
|
2042
|
+
max: "max";
|
|
2043
|
+
min: "min";
|
|
2018
2044
|
percentile: "percentile";
|
|
2019
2045
|
}>;
|
|
2020
2046
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -2057,22 +2083,22 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
2057
2083
|
}, z.core.$strip>, z.ZodObject<{
|
|
2058
2084
|
min: z.ZodObject<{
|
|
2059
2085
|
type: z.ZodEnum<{
|
|
2060
|
-
num: "num";
|
|
2061
|
-
min: "min";
|
|
2062
|
-
max: "max";
|
|
2063
2086
|
formula: "formula";
|
|
2064
2087
|
percent: "percent";
|
|
2088
|
+
num: "num";
|
|
2089
|
+
max: "max";
|
|
2090
|
+
min: "min";
|
|
2065
2091
|
percentile: "percentile";
|
|
2066
2092
|
}>;
|
|
2067
2093
|
value: z.ZodOptional<z.ZodString>;
|
|
2068
2094
|
}, z.core.$strip>;
|
|
2069
2095
|
max: z.ZodObject<{
|
|
2070
2096
|
type: z.ZodEnum<{
|
|
2071
|
-
num: "num";
|
|
2072
|
-
min: "min";
|
|
2073
|
-
max: "max";
|
|
2074
2097
|
formula: "formula";
|
|
2075
2098
|
percent: "percent";
|
|
2099
|
+
num: "num";
|
|
2100
|
+
max: "max";
|
|
2101
|
+
min: "min";
|
|
2076
2102
|
percentile: "percentile";
|
|
2077
2103
|
}>;
|
|
2078
2104
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -2116,11 +2142,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
2116
2142
|
iconSetType: z.ZodString;
|
|
2117
2143
|
thresholds: z.ZodArray<z.ZodObject<{
|
|
2118
2144
|
type: z.ZodEnum<{
|
|
2119
|
-
num: "num";
|
|
2120
|
-
min: "min";
|
|
2121
|
-
max: "max";
|
|
2122
2145
|
formula: "formula";
|
|
2123
2146
|
percent: "percent";
|
|
2147
|
+
num: "num";
|
|
2148
|
+
max: "max";
|
|
2149
|
+
min: "min";
|
|
2124
2150
|
percentile: "percentile";
|
|
2125
2151
|
}>;
|
|
2126
2152
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -2178,6 +2204,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
2178
2204
|
xml: z.ZodString;
|
|
2179
2205
|
}, z.core.$strict>>;
|
|
2180
2206
|
}, z.core.$strip>>;
|
|
2207
|
+
names: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2208
|
+
name: z.ZodString;
|
|
2209
|
+
refersTo: z.ZodString;
|
|
2210
|
+
scopeSheetIndex: z.ZodOptional<z.ZodNumber>;
|
|
2211
|
+
}, z.core.$strip>>>;
|
|
2181
2212
|
symbolTable: z.ZodOptional<z.ZodObject<{
|
|
2182
2213
|
symbols: z.ZodArray<z.ZodObject<{
|
|
2183
2214
|
glyph: z.ZodString;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "markdown-codec",
|
|
3
|
-
"version": "6.6.
|
|
3
|
+
"version": "6.6.3",
|
|
4
4
|
"description": "Hand-written CommonMark+GFM <-> DocumentTree codec, built on document-schema.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"license": "MIT",
|
|
84
84
|
"packageManager": "pnpm@11.6.0",
|
|
85
85
|
"dependencies": {
|
|
86
|
-
"document-schema.js": "7.
|
|
86
|
+
"document-schema.js": "7.7.0",
|
|
87
87
|
"zod": "4.4.3"
|
|
88
88
|
},
|
|
89
89
|
"devDependencies": {
|