rtf-codec 4.0.2 → 4.0.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/dist/codec.d.cts +103 -15
- package/dist/codec.d.ts +103 -15
- package/package.json +3 -3
package/dist/codec.d.cts
CHANGED
|
@@ -11,8 +11,8 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
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<{
|
|
@@ -159,8 +159,8 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
159
159
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
160
160
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
161
161
|
left: "left";
|
|
162
|
-
center: "center";
|
|
163
162
|
right: "right";
|
|
163
|
+
center: "center";
|
|
164
164
|
justify: "justify";
|
|
165
165
|
}>>;
|
|
166
166
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -307,8 +307,8 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
307
307
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
308
308
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
309
309
|
left: "left";
|
|
310
|
-
center: "center";
|
|
311
310
|
right: "right";
|
|
311
|
+
center: "center";
|
|
312
312
|
justify: "justify";
|
|
313
313
|
}>>;
|
|
314
314
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -455,8 +455,8 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
455
455
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
456
456
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
457
457
|
left: "left";
|
|
458
|
-
center: "center";
|
|
459
458
|
right: "right";
|
|
459
|
+
center: "center";
|
|
460
460
|
justify: "justify";
|
|
461
461
|
}>>;
|
|
462
462
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -634,8 +634,8 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
634
634
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
635
635
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
636
636
|
left: "left";
|
|
637
|
-
center: "center";
|
|
638
637
|
right: "right";
|
|
638
|
+
center: "center";
|
|
639
639
|
justify: "justify";
|
|
640
640
|
}>>;
|
|
641
641
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -1275,8 +1275,8 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1275
1275
|
}, z.core.$strip>>;
|
|
1276
1276
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
1277
1277
|
left: "left";
|
|
1278
|
-
center: "center";
|
|
1279
1278
|
right: "right";
|
|
1279
|
+
center: "center";
|
|
1280
1280
|
justify: "justify";
|
|
1281
1281
|
}>>;
|
|
1282
1282
|
verticalAlignment: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1343,6 +1343,94 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1343
1343
|
widthPt: z.ZodNumber;
|
|
1344
1344
|
heightPt: z.ZodNumber;
|
|
1345
1345
|
altText: z.ZodOptional<z.ZodString>;
|
|
1346
|
+
floatPosition: z.ZodOptional<z.ZodObject<{
|
|
1347
|
+
horizontal: z.ZodUnion<readonly [z.ZodObject<{
|
|
1348
|
+
relativeTo: z.ZodEnum<{
|
|
1349
|
+
paragraph: "paragraph";
|
|
1350
|
+
page: "page";
|
|
1351
|
+
margin: "margin";
|
|
1352
|
+
leftMargin: "leftMargin";
|
|
1353
|
+
rightMargin: "rightMargin";
|
|
1354
|
+
topMargin: "topMargin";
|
|
1355
|
+
bottomMargin: "bottomMargin";
|
|
1356
|
+
insideMargin: "insideMargin";
|
|
1357
|
+
outsideMargin: "outsideMargin";
|
|
1358
|
+
column: "column";
|
|
1359
|
+
character: "character";
|
|
1360
|
+
line: "line";
|
|
1361
|
+
frame: "frame";
|
|
1362
|
+
}>;
|
|
1363
|
+
offsetPt: z.ZodNumber;
|
|
1364
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1365
|
+
relativeTo: z.ZodEnum<{
|
|
1366
|
+
paragraph: "paragraph";
|
|
1367
|
+
page: "page";
|
|
1368
|
+
margin: "margin";
|
|
1369
|
+
leftMargin: "leftMargin";
|
|
1370
|
+
rightMargin: "rightMargin";
|
|
1371
|
+
topMargin: "topMargin";
|
|
1372
|
+
bottomMargin: "bottomMargin";
|
|
1373
|
+
insideMargin: "insideMargin";
|
|
1374
|
+
outsideMargin: "outsideMargin";
|
|
1375
|
+
column: "column";
|
|
1376
|
+
character: "character";
|
|
1377
|
+
line: "line";
|
|
1378
|
+
frame: "frame";
|
|
1379
|
+
}>;
|
|
1380
|
+
align: z.ZodEnum<{
|
|
1381
|
+
left: "left";
|
|
1382
|
+
right: "right";
|
|
1383
|
+
top: "top";
|
|
1384
|
+
bottom: "bottom";
|
|
1385
|
+
center: "center";
|
|
1386
|
+
inside: "inside";
|
|
1387
|
+
outside: "outside";
|
|
1388
|
+
}>;
|
|
1389
|
+
}, z.core.$strict>]>;
|
|
1390
|
+
vertical: z.ZodUnion<readonly [z.ZodObject<{
|
|
1391
|
+
relativeTo: z.ZodEnum<{
|
|
1392
|
+
paragraph: "paragraph";
|
|
1393
|
+
page: "page";
|
|
1394
|
+
margin: "margin";
|
|
1395
|
+
leftMargin: "leftMargin";
|
|
1396
|
+
rightMargin: "rightMargin";
|
|
1397
|
+
topMargin: "topMargin";
|
|
1398
|
+
bottomMargin: "bottomMargin";
|
|
1399
|
+
insideMargin: "insideMargin";
|
|
1400
|
+
outsideMargin: "outsideMargin";
|
|
1401
|
+
column: "column";
|
|
1402
|
+
character: "character";
|
|
1403
|
+
line: "line";
|
|
1404
|
+
frame: "frame";
|
|
1405
|
+
}>;
|
|
1406
|
+
offsetPt: z.ZodNumber;
|
|
1407
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1408
|
+
relativeTo: z.ZodEnum<{
|
|
1409
|
+
paragraph: "paragraph";
|
|
1410
|
+
page: "page";
|
|
1411
|
+
margin: "margin";
|
|
1412
|
+
leftMargin: "leftMargin";
|
|
1413
|
+
rightMargin: "rightMargin";
|
|
1414
|
+
topMargin: "topMargin";
|
|
1415
|
+
bottomMargin: "bottomMargin";
|
|
1416
|
+
insideMargin: "insideMargin";
|
|
1417
|
+
outsideMargin: "outsideMargin";
|
|
1418
|
+
column: "column";
|
|
1419
|
+
character: "character";
|
|
1420
|
+
line: "line";
|
|
1421
|
+
frame: "frame";
|
|
1422
|
+
}>;
|
|
1423
|
+
align: z.ZodEnum<{
|
|
1424
|
+
left: "left";
|
|
1425
|
+
right: "right";
|
|
1426
|
+
top: "top";
|
|
1427
|
+
bottom: "bottom";
|
|
1428
|
+
center: "center";
|
|
1429
|
+
inside: "inside";
|
|
1430
|
+
outside: "outside";
|
|
1431
|
+
}>;
|
|
1432
|
+
}, z.core.$strict>]>;
|
|
1433
|
+
}, z.core.$strip>>;
|
|
1346
1434
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
1347
1435
|
source: z.ZodOptional<z.ZodObject<{
|
|
1348
1436
|
format: z.ZodEnum<{
|
|
@@ -1427,9 +1515,9 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1427
1515
|
type: z.ZodEnum<{
|
|
1428
1516
|
date: "date";
|
|
1429
1517
|
custom: "custom";
|
|
1430
|
-
time: "time";
|
|
1431
1518
|
decimal: "decimal";
|
|
1432
1519
|
list: "list";
|
|
1520
|
+
time: "time";
|
|
1433
1521
|
whole: "whole";
|
|
1434
1522
|
textLength: "textLength";
|
|
1435
1523
|
}>;
|
|
@@ -1885,10 +1973,10 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1885
1973
|
value: z.ZodObject<{
|
|
1886
1974
|
type: z.ZodEnum<{
|
|
1887
1975
|
formula: "formula";
|
|
1976
|
+
percent: "percent";
|
|
1888
1977
|
num: "num";
|
|
1889
|
-
min: "min";
|
|
1890
1978
|
max: "max";
|
|
1891
|
-
|
|
1979
|
+
min: "min";
|
|
1892
1980
|
percentile: "percentile";
|
|
1893
1981
|
}>;
|
|
1894
1982
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -1931,10 +2019,10 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1931
2019
|
min: z.ZodObject<{
|
|
1932
2020
|
type: z.ZodEnum<{
|
|
1933
2021
|
formula: "formula";
|
|
2022
|
+
percent: "percent";
|
|
1934
2023
|
num: "num";
|
|
1935
|
-
min: "min";
|
|
1936
2024
|
max: "max";
|
|
1937
|
-
|
|
2025
|
+
min: "min";
|
|
1938
2026
|
percentile: "percentile";
|
|
1939
2027
|
}>;
|
|
1940
2028
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -1942,10 +2030,10 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1942
2030
|
max: z.ZodObject<{
|
|
1943
2031
|
type: z.ZodEnum<{
|
|
1944
2032
|
formula: "formula";
|
|
2033
|
+
percent: "percent";
|
|
1945
2034
|
num: "num";
|
|
1946
|
-
min: "min";
|
|
1947
2035
|
max: "max";
|
|
1948
|
-
|
|
2036
|
+
min: "min";
|
|
1949
2037
|
percentile: "percentile";
|
|
1950
2038
|
}>;
|
|
1951
2039
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -1989,10 +2077,10 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1989
2077
|
thresholds: z.ZodArray<z.ZodObject<{
|
|
1990
2078
|
type: z.ZodEnum<{
|
|
1991
2079
|
formula: "formula";
|
|
2080
|
+
percent: "percent";
|
|
1992
2081
|
num: "num";
|
|
1993
|
-
min: "min";
|
|
1994
2082
|
max: "max";
|
|
1995
|
-
|
|
2083
|
+
min: "min";
|
|
1996
2084
|
percentile: "percentile";
|
|
1997
2085
|
}>;
|
|
1998
2086
|
value: z.ZodOptional<z.ZodString>;
|
package/dist/codec.d.ts
CHANGED
|
@@ -11,8 +11,8 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
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<{
|
|
@@ -159,8 +159,8 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
159
159
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
160
160
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
161
161
|
left: "left";
|
|
162
|
-
center: "center";
|
|
163
162
|
right: "right";
|
|
163
|
+
center: "center";
|
|
164
164
|
justify: "justify";
|
|
165
165
|
}>>;
|
|
166
166
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -307,8 +307,8 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
307
307
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
308
308
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
309
309
|
left: "left";
|
|
310
|
-
center: "center";
|
|
311
310
|
right: "right";
|
|
311
|
+
center: "center";
|
|
312
312
|
justify: "justify";
|
|
313
313
|
}>>;
|
|
314
314
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -455,8 +455,8 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
455
455
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
456
456
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
457
457
|
left: "left";
|
|
458
|
-
center: "center";
|
|
459
458
|
right: "right";
|
|
459
|
+
center: "center";
|
|
460
460
|
justify: "justify";
|
|
461
461
|
}>>;
|
|
462
462
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -634,8 +634,8 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
634
634
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
635
635
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
636
636
|
left: "left";
|
|
637
|
-
center: "center";
|
|
638
637
|
right: "right";
|
|
638
|
+
center: "center";
|
|
639
639
|
justify: "justify";
|
|
640
640
|
}>>;
|
|
641
641
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -1275,8 +1275,8 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1275
1275
|
}, z.core.$strip>>;
|
|
1276
1276
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
1277
1277
|
left: "left";
|
|
1278
|
-
center: "center";
|
|
1279
1278
|
right: "right";
|
|
1279
|
+
center: "center";
|
|
1280
1280
|
justify: "justify";
|
|
1281
1281
|
}>>;
|
|
1282
1282
|
verticalAlignment: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1343,6 +1343,94 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1343
1343
|
widthPt: z.ZodNumber;
|
|
1344
1344
|
heightPt: z.ZodNumber;
|
|
1345
1345
|
altText: z.ZodOptional<z.ZodString>;
|
|
1346
|
+
floatPosition: z.ZodOptional<z.ZodObject<{
|
|
1347
|
+
horizontal: z.ZodUnion<readonly [z.ZodObject<{
|
|
1348
|
+
relativeTo: z.ZodEnum<{
|
|
1349
|
+
paragraph: "paragraph";
|
|
1350
|
+
page: "page";
|
|
1351
|
+
margin: "margin";
|
|
1352
|
+
leftMargin: "leftMargin";
|
|
1353
|
+
rightMargin: "rightMargin";
|
|
1354
|
+
topMargin: "topMargin";
|
|
1355
|
+
bottomMargin: "bottomMargin";
|
|
1356
|
+
insideMargin: "insideMargin";
|
|
1357
|
+
outsideMargin: "outsideMargin";
|
|
1358
|
+
column: "column";
|
|
1359
|
+
character: "character";
|
|
1360
|
+
line: "line";
|
|
1361
|
+
frame: "frame";
|
|
1362
|
+
}>;
|
|
1363
|
+
offsetPt: z.ZodNumber;
|
|
1364
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1365
|
+
relativeTo: z.ZodEnum<{
|
|
1366
|
+
paragraph: "paragraph";
|
|
1367
|
+
page: "page";
|
|
1368
|
+
margin: "margin";
|
|
1369
|
+
leftMargin: "leftMargin";
|
|
1370
|
+
rightMargin: "rightMargin";
|
|
1371
|
+
topMargin: "topMargin";
|
|
1372
|
+
bottomMargin: "bottomMargin";
|
|
1373
|
+
insideMargin: "insideMargin";
|
|
1374
|
+
outsideMargin: "outsideMargin";
|
|
1375
|
+
column: "column";
|
|
1376
|
+
character: "character";
|
|
1377
|
+
line: "line";
|
|
1378
|
+
frame: "frame";
|
|
1379
|
+
}>;
|
|
1380
|
+
align: z.ZodEnum<{
|
|
1381
|
+
left: "left";
|
|
1382
|
+
right: "right";
|
|
1383
|
+
top: "top";
|
|
1384
|
+
bottom: "bottom";
|
|
1385
|
+
center: "center";
|
|
1386
|
+
inside: "inside";
|
|
1387
|
+
outside: "outside";
|
|
1388
|
+
}>;
|
|
1389
|
+
}, z.core.$strict>]>;
|
|
1390
|
+
vertical: z.ZodUnion<readonly [z.ZodObject<{
|
|
1391
|
+
relativeTo: z.ZodEnum<{
|
|
1392
|
+
paragraph: "paragraph";
|
|
1393
|
+
page: "page";
|
|
1394
|
+
margin: "margin";
|
|
1395
|
+
leftMargin: "leftMargin";
|
|
1396
|
+
rightMargin: "rightMargin";
|
|
1397
|
+
topMargin: "topMargin";
|
|
1398
|
+
bottomMargin: "bottomMargin";
|
|
1399
|
+
insideMargin: "insideMargin";
|
|
1400
|
+
outsideMargin: "outsideMargin";
|
|
1401
|
+
column: "column";
|
|
1402
|
+
character: "character";
|
|
1403
|
+
line: "line";
|
|
1404
|
+
frame: "frame";
|
|
1405
|
+
}>;
|
|
1406
|
+
offsetPt: z.ZodNumber;
|
|
1407
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1408
|
+
relativeTo: z.ZodEnum<{
|
|
1409
|
+
paragraph: "paragraph";
|
|
1410
|
+
page: "page";
|
|
1411
|
+
margin: "margin";
|
|
1412
|
+
leftMargin: "leftMargin";
|
|
1413
|
+
rightMargin: "rightMargin";
|
|
1414
|
+
topMargin: "topMargin";
|
|
1415
|
+
bottomMargin: "bottomMargin";
|
|
1416
|
+
insideMargin: "insideMargin";
|
|
1417
|
+
outsideMargin: "outsideMargin";
|
|
1418
|
+
column: "column";
|
|
1419
|
+
character: "character";
|
|
1420
|
+
line: "line";
|
|
1421
|
+
frame: "frame";
|
|
1422
|
+
}>;
|
|
1423
|
+
align: z.ZodEnum<{
|
|
1424
|
+
left: "left";
|
|
1425
|
+
right: "right";
|
|
1426
|
+
top: "top";
|
|
1427
|
+
bottom: "bottom";
|
|
1428
|
+
center: "center";
|
|
1429
|
+
inside: "inside";
|
|
1430
|
+
outside: "outside";
|
|
1431
|
+
}>;
|
|
1432
|
+
}, z.core.$strict>]>;
|
|
1433
|
+
}, z.core.$strip>>;
|
|
1346
1434
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
1347
1435
|
source: z.ZodOptional<z.ZodObject<{
|
|
1348
1436
|
format: z.ZodEnum<{
|
|
@@ -1427,9 +1515,9 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1427
1515
|
type: z.ZodEnum<{
|
|
1428
1516
|
date: "date";
|
|
1429
1517
|
custom: "custom";
|
|
1430
|
-
time: "time";
|
|
1431
1518
|
decimal: "decimal";
|
|
1432
1519
|
list: "list";
|
|
1520
|
+
time: "time";
|
|
1433
1521
|
whole: "whole";
|
|
1434
1522
|
textLength: "textLength";
|
|
1435
1523
|
}>;
|
|
@@ -1885,10 +1973,10 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1885
1973
|
value: z.ZodObject<{
|
|
1886
1974
|
type: z.ZodEnum<{
|
|
1887
1975
|
formula: "formula";
|
|
1976
|
+
percent: "percent";
|
|
1888
1977
|
num: "num";
|
|
1889
|
-
min: "min";
|
|
1890
1978
|
max: "max";
|
|
1891
|
-
|
|
1979
|
+
min: "min";
|
|
1892
1980
|
percentile: "percentile";
|
|
1893
1981
|
}>;
|
|
1894
1982
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -1931,10 +2019,10 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1931
2019
|
min: z.ZodObject<{
|
|
1932
2020
|
type: z.ZodEnum<{
|
|
1933
2021
|
formula: "formula";
|
|
2022
|
+
percent: "percent";
|
|
1934
2023
|
num: "num";
|
|
1935
|
-
min: "min";
|
|
1936
2024
|
max: "max";
|
|
1937
|
-
|
|
2025
|
+
min: "min";
|
|
1938
2026
|
percentile: "percentile";
|
|
1939
2027
|
}>;
|
|
1940
2028
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -1942,10 +2030,10 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1942
2030
|
max: z.ZodObject<{
|
|
1943
2031
|
type: z.ZodEnum<{
|
|
1944
2032
|
formula: "formula";
|
|
2033
|
+
percent: "percent";
|
|
1945
2034
|
num: "num";
|
|
1946
|
-
min: "min";
|
|
1947
2035
|
max: "max";
|
|
1948
|
-
|
|
2036
|
+
min: "min";
|
|
1949
2037
|
percentile: "percentile";
|
|
1950
2038
|
}>;
|
|
1951
2039
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -1989,10 +2077,10 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1989
2077
|
thresholds: z.ZodArray<z.ZodObject<{
|
|
1990
2078
|
type: z.ZodEnum<{
|
|
1991
2079
|
formula: "formula";
|
|
2080
|
+
percent: "percent";
|
|
1992
2081
|
num: "num";
|
|
1993
|
-
min: "min";
|
|
1994
2082
|
max: "max";
|
|
1995
|
-
|
|
2083
|
+
min: "min";
|
|
1996
2084
|
percentile: "percentile";
|
|
1997
2085
|
}>;
|
|
1998
2086
|
value: z.ZodOptional<z.ZodString>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rtf-codec",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.3",
|
|
4
4
|
"description": "Hand-written Rich Text Format (RTF 1.9.1) reader and writer against the shared document-schema.js content pivot.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -80,8 +80,8 @@
|
|
|
80
80
|
"license": "MIT",
|
|
81
81
|
"packageManager": "pnpm@11.6.0",
|
|
82
82
|
"dependencies": {
|
|
83
|
-
"archive-codec": "^1.6.
|
|
84
|
-
"document-schema.js": "^7.
|
|
83
|
+
"archive-codec": "^1.6.7",
|
|
84
|
+
"document-schema.js": "^7.2.0",
|
|
85
85
|
"zod": "^4.4.3"
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|