rtf-codec 4.1.1 → 4.1.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 +36 -0
- package/dist/codec.d.ts +36 -0
- package/package.json +3 -3
package/dist/codec.d.cts
CHANGED
|
@@ -79,6 +79,7 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
79
79
|
pdf: "pdf";
|
|
80
80
|
epub: "epub";
|
|
81
81
|
rtf: "rtf";
|
|
82
|
+
wpd: "wpd";
|
|
82
83
|
}>;
|
|
83
84
|
xml: z.ZodString;
|
|
84
85
|
}, z.core.$strict>>>;
|
|
@@ -227,6 +228,7 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
227
228
|
pdf: "pdf";
|
|
228
229
|
epub: "epub";
|
|
229
230
|
rtf: "rtf";
|
|
231
|
+
wpd: "wpd";
|
|
230
232
|
}>;
|
|
231
233
|
xml: z.ZodString;
|
|
232
234
|
}, z.core.$strict>>>;
|
|
@@ -375,6 +377,7 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
375
377
|
pdf: "pdf";
|
|
376
378
|
epub: "epub";
|
|
377
379
|
rtf: "rtf";
|
|
380
|
+
wpd: "wpd";
|
|
378
381
|
}>;
|
|
379
382
|
xml: z.ZodString;
|
|
380
383
|
}, z.core.$strict>>>;
|
|
@@ -523,6 +526,7 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
523
526
|
pdf: "pdf";
|
|
524
527
|
epub: "epub";
|
|
525
528
|
rtf: "rtf";
|
|
529
|
+
wpd: "wpd";
|
|
526
530
|
}>;
|
|
527
531
|
xml: z.ZodString;
|
|
528
532
|
}, z.core.$strict>>>;
|
|
@@ -622,6 +626,7 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
622
626
|
pdf: "pdf";
|
|
623
627
|
epub: "epub";
|
|
624
628
|
rtf: "rtf";
|
|
629
|
+
wpd: "wpd";
|
|
625
630
|
}>;
|
|
626
631
|
xml: z.ZodString;
|
|
627
632
|
}, z.core.$strict>>;
|
|
@@ -702,6 +707,7 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
702
707
|
pdf: "pdf";
|
|
703
708
|
epub: "epub";
|
|
704
709
|
rtf: "rtf";
|
|
710
|
+
wpd: "wpd";
|
|
705
711
|
}>;
|
|
706
712
|
xml: z.ZodString;
|
|
707
713
|
}, z.core.$strict>>>;
|
|
@@ -808,6 +814,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
808
814
|
pdf: "pdf";
|
|
809
815
|
epub: "epub";
|
|
810
816
|
rtf: "rtf";
|
|
817
|
+
wpd: "wpd";
|
|
811
818
|
}>;
|
|
812
819
|
xml: z.ZodString;
|
|
813
820
|
}, z.core.$strict>>;
|
|
@@ -918,6 +925,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
918
925
|
pdf: "pdf";
|
|
919
926
|
epub: "epub";
|
|
920
927
|
rtf: "rtf";
|
|
928
|
+
wpd: "wpd";
|
|
921
929
|
}>;
|
|
922
930
|
xml: z.ZodString;
|
|
923
931
|
}, z.core.$strict>>;
|
|
@@ -947,6 +955,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
947
955
|
pdf: "pdf";
|
|
948
956
|
epub: "epub";
|
|
949
957
|
rtf: "rtf";
|
|
958
|
+
wpd: "wpd";
|
|
950
959
|
}>;
|
|
951
960
|
xml: z.ZodString;
|
|
952
961
|
}, z.core.$strict>>;
|
|
@@ -1100,6 +1109,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1100
1109
|
pdf: "pdf";
|
|
1101
1110
|
epub: "epub";
|
|
1102
1111
|
rtf: "rtf";
|
|
1112
|
+
wpd: "wpd";
|
|
1103
1113
|
}>;
|
|
1104
1114
|
xml: z.ZodString;
|
|
1105
1115
|
}, z.core.$strict>>;
|
|
@@ -1310,6 +1320,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1310
1320
|
pdf: "pdf";
|
|
1311
1321
|
epub: "epub";
|
|
1312
1322
|
rtf: "rtf";
|
|
1323
|
+
wpd: "wpd";
|
|
1313
1324
|
}>;
|
|
1314
1325
|
xml: z.ZodString;
|
|
1315
1326
|
}, z.core.$strict>>;
|
|
@@ -1448,6 +1459,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1448
1459
|
pdf: "pdf";
|
|
1449
1460
|
epub: "epub";
|
|
1450
1461
|
rtf: "rtf";
|
|
1462
|
+
wpd: "wpd";
|
|
1451
1463
|
}>;
|
|
1452
1464
|
xml: z.ZodString;
|
|
1453
1465
|
}, z.core.$strict>>;
|
|
@@ -1561,6 +1573,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1561
1573
|
pdf: "pdf";
|
|
1562
1574
|
epub: "epub";
|
|
1563
1575
|
rtf: "rtf";
|
|
1576
|
+
wpd: "wpd";
|
|
1564
1577
|
}>;
|
|
1565
1578
|
xml: z.ZodString;
|
|
1566
1579
|
}, z.core.$strict>>;
|
|
@@ -1605,6 +1618,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1605
1618
|
pdf: "pdf";
|
|
1606
1619
|
epub: "epub";
|
|
1607
1620
|
rtf: "rtf";
|
|
1621
|
+
wpd: "wpd";
|
|
1608
1622
|
}>;
|
|
1609
1623
|
xml: z.ZodString;
|
|
1610
1624
|
}, z.core.$strict>>;
|
|
@@ -1633,6 +1647,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1633
1647
|
pdf: "pdf";
|
|
1634
1648
|
epub: "epub";
|
|
1635
1649
|
rtf: "rtf";
|
|
1650
|
+
wpd: "wpd";
|
|
1636
1651
|
}>;
|
|
1637
1652
|
xml: z.ZodString;
|
|
1638
1653
|
}, z.core.$strict>>;
|
|
@@ -1666,6 +1681,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1666
1681
|
pdf: "pdf";
|
|
1667
1682
|
epub: "epub";
|
|
1668
1683
|
rtf: "rtf";
|
|
1684
|
+
wpd: "wpd";
|
|
1669
1685
|
}>;
|
|
1670
1686
|
xml: z.ZodString;
|
|
1671
1687
|
}, z.core.$strict>>;
|
|
@@ -1694,6 +1710,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1694
1710
|
pdf: "pdf";
|
|
1695
1711
|
epub: "epub";
|
|
1696
1712
|
rtf: "rtf";
|
|
1713
|
+
wpd: "wpd";
|
|
1697
1714
|
}>;
|
|
1698
1715
|
xml: z.ZodString;
|
|
1699
1716
|
}, z.core.$strict>>;
|
|
@@ -1731,6 +1748,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1731
1748
|
pdf: "pdf";
|
|
1732
1749
|
epub: "epub";
|
|
1733
1750
|
rtf: "rtf";
|
|
1751
|
+
wpd: "wpd";
|
|
1734
1752
|
}>;
|
|
1735
1753
|
xml: z.ZodString;
|
|
1736
1754
|
}, z.core.$strict>>;
|
|
@@ -1759,6 +1777,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1759
1777
|
pdf: "pdf";
|
|
1760
1778
|
epub: "epub";
|
|
1761
1779
|
rtf: "rtf";
|
|
1780
|
+
wpd: "wpd";
|
|
1762
1781
|
}>;
|
|
1763
1782
|
xml: z.ZodString;
|
|
1764
1783
|
}, z.core.$strict>>;
|
|
@@ -1801,6 +1820,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1801
1820
|
pdf: "pdf";
|
|
1802
1821
|
epub: "epub";
|
|
1803
1822
|
rtf: "rtf";
|
|
1823
|
+
wpd: "wpd";
|
|
1804
1824
|
}>;
|
|
1805
1825
|
xml: z.ZodString;
|
|
1806
1826
|
}, z.core.$strict>>;
|
|
@@ -1829,6 +1849,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1829
1849
|
pdf: "pdf";
|
|
1830
1850
|
epub: "epub";
|
|
1831
1851
|
rtf: "rtf";
|
|
1852
|
+
wpd: "wpd";
|
|
1832
1853
|
}>;
|
|
1833
1854
|
xml: z.ZodString;
|
|
1834
1855
|
}, z.core.$strict>>;
|
|
@@ -1864,6 +1885,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1864
1885
|
pdf: "pdf";
|
|
1865
1886
|
epub: "epub";
|
|
1866
1887
|
rtf: "rtf";
|
|
1888
|
+
wpd: "wpd";
|
|
1867
1889
|
}>;
|
|
1868
1890
|
xml: z.ZodString;
|
|
1869
1891
|
}, z.core.$strict>>;
|
|
@@ -1892,6 +1914,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1892
1914
|
pdf: "pdf";
|
|
1893
1915
|
epub: "epub";
|
|
1894
1916
|
rtf: "rtf";
|
|
1917
|
+
wpd: "wpd";
|
|
1895
1918
|
}>;
|
|
1896
1919
|
xml: z.ZodString;
|
|
1897
1920
|
}, z.core.$strict>>;
|
|
@@ -1939,6 +1962,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1939
1962
|
pdf: "pdf";
|
|
1940
1963
|
epub: "epub";
|
|
1941
1964
|
rtf: "rtf";
|
|
1965
|
+
wpd: "wpd";
|
|
1942
1966
|
}>;
|
|
1943
1967
|
xml: z.ZodString;
|
|
1944
1968
|
}, z.core.$strict>>;
|
|
@@ -1967,6 +1991,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1967
1991
|
pdf: "pdf";
|
|
1968
1992
|
epub: "epub";
|
|
1969
1993
|
rtf: "rtf";
|
|
1994
|
+
wpd: "wpd";
|
|
1970
1995
|
}>;
|
|
1971
1996
|
xml: z.ZodString;
|
|
1972
1997
|
}, z.core.$strict>>;
|
|
@@ -2014,6 +2039,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2014
2039
|
pdf: "pdf";
|
|
2015
2040
|
epub: "epub";
|
|
2016
2041
|
rtf: "rtf";
|
|
2042
|
+
wpd: "wpd";
|
|
2017
2043
|
}>;
|
|
2018
2044
|
xml: z.ZodString;
|
|
2019
2045
|
}, z.core.$strict>>;
|
|
@@ -2071,6 +2097,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2071
2097
|
pdf: "pdf";
|
|
2072
2098
|
epub: "epub";
|
|
2073
2099
|
rtf: "rtf";
|
|
2100
|
+
wpd: "wpd";
|
|
2074
2101
|
}>;
|
|
2075
2102
|
xml: z.ZodString;
|
|
2076
2103
|
}, z.core.$strict>>;
|
|
@@ -2114,6 +2141,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2114
2141
|
pdf: "pdf";
|
|
2115
2142
|
epub: "epub";
|
|
2116
2143
|
rtf: "rtf";
|
|
2144
|
+
wpd: "wpd";
|
|
2117
2145
|
}>;
|
|
2118
2146
|
xml: z.ZodString;
|
|
2119
2147
|
}, z.core.$strict>>;
|
|
@@ -2135,6 +2163,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2135
2163
|
pdf: "pdf";
|
|
2136
2164
|
epub: "epub";
|
|
2137
2165
|
rtf: "rtf";
|
|
2166
|
+
wpd: "wpd";
|
|
2138
2167
|
}>;
|
|
2139
2168
|
xml: z.ZodString;
|
|
2140
2169
|
}, z.core.$strict>>;
|
|
@@ -2245,6 +2274,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2245
2274
|
pdf: "pdf";
|
|
2246
2275
|
epub: "epub";
|
|
2247
2276
|
rtf: "rtf";
|
|
2277
|
+
wpd: "wpd";
|
|
2248
2278
|
}>;
|
|
2249
2279
|
xml: z.ZodString;
|
|
2250
2280
|
}, z.core.$strict>>;
|
|
@@ -2357,6 +2387,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2357
2387
|
pdf: "pdf";
|
|
2358
2388
|
epub: "epub";
|
|
2359
2389
|
rtf: "rtf";
|
|
2390
|
+
wpd: "wpd";
|
|
2360
2391
|
}>;
|
|
2361
2392
|
xml: z.ZodString;
|
|
2362
2393
|
}, z.core.$strict>>;
|
|
@@ -2467,6 +2498,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2467
2498
|
pdf: "pdf";
|
|
2468
2499
|
epub: "epub";
|
|
2469
2500
|
rtf: "rtf";
|
|
2501
|
+
wpd: "wpd";
|
|
2470
2502
|
}>;
|
|
2471
2503
|
xml: z.ZodString;
|
|
2472
2504
|
}, z.core.$strict>>;
|
|
@@ -2527,6 +2559,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2527
2559
|
pdf: "pdf";
|
|
2528
2560
|
epub: "epub";
|
|
2529
2561
|
rtf: "rtf";
|
|
2562
|
+
wpd: "wpd";
|
|
2530
2563
|
}>;
|
|
2531
2564
|
xml: z.ZodString;
|
|
2532
2565
|
}, z.core.$strict>>;
|
|
@@ -2669,6 +2702,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2669
2702
|
pdf: "pdf";
|
|
2670
2703
|
epub: "epub";
|
|
2671
2704
|
rtf: "rtf";
|
|
2705
|
+
wpd: "wpd";
|
|
2672
2706
|
}>;
|
|
2673
2707
|
xml: z.ZodString;
|
|
2674
2708
|
}, z.core.$strict>>;
|
|
@@ -2696,6 +2730,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2696
2730
|
pdf: "pdf";
|
|
2697
2731
|
epub: "epub";
|
|
2698
2732
|
rtf: "rtf";
|
|
2733
|
+
wpd: "wpd";
|
|
2699
2734
|
}>;
|
|
2700
2735
|
xml: z.ZodString;
|
|
2701
2736
|
}, z.core.$strict>>;
|
|
@@ -2796,6 +2831,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2796
2831
|
pdf: "pdf";
|
|
2797
2832
|
epub: "epub";
|
|
2798
2833
|
rtf: "rtf";
|
|
2834
|
+
wpd: "wpd";
|
|
2799
2835
|
}>;
|
|
2800
2836
|
xml: z.ZodString;
|
|
2801
2837
|
}, z.core.$strict>>;
|
package/dist/codec.d.ts
CHANGED
|
@@ -79,6 +79,7 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
79
79
|
pdf: "pdf";
|
|
80
80
|
epub: "epub";
|
|
81
81
|
rtf: "rtf";
|
|
82
|
+
wpd: "wpd";
|
|
82
83
|
}>;
|
|
83
84
|
xml: z.ZodString;
|
|
84
85
|
}, z.core.$strict>>>;
|
|
@@ -227,6 +228,7 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
227
228
|
pdf: "pdf";
|
|
228
229
|
epub: "epub";
|
|
229
230
|
rtf: "rtf";
|
|
231
|
+
wpd: "wpd";
|
|
230
232
|
}>;
|
|
231
233
|
xml: z.ZodString;
|
|
232
234
|
}, z.core.$strict>>>;
|
|
@@ -375,6 +377,7 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
375
377
|
pdf: "pdf";
|
|
376
378
|
epub: "epub";
|
|
377
379
|
rtf: "rtf";
|
|
380
|
+
wpd: "wpd";
|
|
378
381
|
}>;
|
|
379
382
|
xml: z.ZodString;
|
|
380
383
|
}, z.core.$strict>>>;
|
|
@@ -523,6 +526,7 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
523
526
|
pdf: "pdf";
|
|
524
527
|
epub: "epub";
|
|
525
528
|
rtf: "rtf";
|
|
529
|
+
wpd: "wpd";
|
|
526
530
|
}>;
|
|
527
531
|
xml: z.ZodString;
|
|
528
532
|
}, z.core.$strict>>>;
|
|
@@ -622,6 +626,7 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
622
626
|
pdf: "pdf";
|
|
623
627
|
epub: "epub";
|
|
624
628
|
rtf: "rtf";
|
|
629
|
+
wpd: "wpd";
|
|
625
630
|
}>;
|
|
626
631
|
xml: z.ZodString;
|
|
627
632
|
}, z.core.$strict>>;
|
|
@@ -702,6 +707,7 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
702
707
|
pdf: "pdf";
|
|
703
708
|
epub: "epub";
|
|
704
709
|
rtf: "rtf";
|
|
710
|
+
wpd: "wpd";
|
|
705
711
|
}>;
|
|
706
712
|
xml: z.ZodString;
|
|
707
713
|
}, z.core.$strict>>>;
|
|
@@ -808,6 +814,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
808
814
|
pdf: "pdf";
|
|
809
815
|
epub: "epub";
|
|
810
816
|
rtf: "rtf";
|
|
817
|
+
wpd: "wpd";
|
|
811
818
|
}>;
|
|
812
819
|
xml: z.ZodString;
|
|
813
820
|
}, z.core.$strict>>;
|
|
@@ -918,6 +925,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
918
925
|
pdf: "pdf";
|
|
919
926
|
epub: "epub";
|
|
920
927
|
rtf: "rtf";
|
|
928
|
+
wpd: "wpd";
|
|
921
929
|
}>;
|
|
922
930
|
xml: z.ZodString;
|
|
923
931
|
}, z.core.$strict>>;
|
|
@@ -947,6 +955,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
947
955
|
pdf: "pdf";
|
|
948
956
|
epub: "epub";
|
|
949
957
|
rtf: "rtf";
|
|
958
|
+
wpd: "wpd";
|
|
950
959
|
}>;
|
|
951
960
|
xml: z.ZodString;
|
|
952
961
|
}, z.core.$strict>>;
|
|
@@ -1100,6 +1109,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1100
1109
|
pdf: "pdf";
|
|
1101
1110
|
epub: "epub";
|
|
1102
1111
|
rtf: "rtf";
|
|
1112
|
+
wpd: "wpd";
|
|
1103
1113
|
}>;
|
|
1104
1114
|
xml: z.ZodString;
|
|
1105
1115
|
}, z.core.$strict>>;
|
|
@@ -1310,6 +1320,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1310
1320
|
pdf: "pdf";
|
|
1311
1321
|
epub: "epub";
|
|
1312
1322
|
rtf: "rtf";
|
|
1323
|
+
wpd: "wpd";
|
|
1313
1324
|
}>;
|
|
1314
1325
|
xml: z.ZodString;
|
|
1315
1326
|
}, z.core.$strict>>;
|
|
@@ -1448,6 +1459,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1448
1459
|
pdf: "pdf";
|
|
1449
1460
|
epub: "epub";
|
|
1450
1461
|
rtf: "rtf";
|
|
1462
|
+
wpd: "wpd";
|
|
1451
1463
|
}>;
|
|
1452
1464
|
xml: z.ZodString;
|
|
1453
1465
|
}, z.core.$strict>>;
|
|
@@ -1561,6 +1573,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1561
1573
|
pdf: "pdf";
|
|
1562
1574
|
epub: "epub";
|
|
1563
1575
|
rtf: "rtf";
|
|
1576
|
+
wpd: "wpd";
|
|
1564
1577
|
}>;
|
|
1565
1578
|
xml: z.ZodString;
|
|
1566
1579
|
}, z.core.$strict>>;
|
|
@@ -1605,6 +1618,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1605
1618
|
pdf: "pdf";
|
|
1606
1619
|
epub: "epub";
|
|
1607
1620
|
rtf: "rtf";
|
|
1621
|
+
wpd: "wpd";
|
|
1608
1622
|
}>;
|
|
1609
1623
|
xml: z.ZodString;
|
|
1610
1624
|
}, z.core.$strict>>;
|
|
@@ -1633,6 +1647,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1633
1647
|
pdf: "pdf";
|
|
1634
1648
|
epub: "epub";
|
|
1635
1649
|
rtf: "rtf";
|
|
1650
|
+
wpd: "wpd";
|
|
1636
1651
|
}>;
|
|
1637
1652
|
xml: z.ZodString;
|
|
1638
1653
|
}, z.core.$strict>>;
|
|
@@ -1666,6 +1681,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1666
1681
|
pdf: "pdf";
|
|
1667
1682
|
epub: "epub";
|
|
1668
1683
|
rtf: "rtf";
|
|
1684
|
+
wpd: "wpd";
|
|
1669
1685
|
}>;
|
|
1670
1686
|
xml: z.ZodString;
|
|
1671
1687
|
}, z.core.$strict>>;
|
|
@@ -1694,6 +1710,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1694
1710
|
pdf: "pdf";
|
|
1695
1711
|
epub: "epub";
|
|
1696
1712
|
rtf: "rtf";
|
|
1713
|
+
wpd: "wpd";
|
|
1697
1714
|
}>;
|
|
1698
1715
|
xml: z.ZodString;
|
|
1699
1716
|
}, z.core.$strict>>;
|
|
@@ -1731,6 +1748,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1731
1748
|
pdf: "pdf";
|
|
1732
1749
|
epub: "epub";
|
|
1733
1750
|
rtf: "rtf";
|
|
1751
|
+
wpd: "wpd";
|
|
1734
1752
|
}>;
|
|
1735
1753
|
xml: z.ZodString;
|
|
1736
1754
|
}, z.core.$strict>>;
|
|
@@ -1759,6 +1777,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1759
1777
|
pdf: "pdf";
|
|
1760
1778
|
epub: "epub";
|
|
1761
1779
|
rtf: "rtf";
|
|
1780
|
+
wpd: "wpd";
|
|
1762
1781
|
}>;
|
|
1763
1782
|
xml: z.ZodString;
|
|
1764
1783
|
}, z.core.$strict>>;
|
|
@@ -1801,6 +1820,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1801
1820
|
pdf: "pdf";
|
|
1802
1821
|
epub: "epub";
|
|
1803
1822
|
rtf: "rtf";
|
|
1823
|
+
wpd: "wpd";
|
|
1804
1824
|
}>;
|
|
1805
1825
|
xml: z.ZodString;
|
|
1806
1826
|
}, z.core.$strict>>;
|
|
@@ -1829,6 +1849,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1829
1849
|
pdf: "pdf";
|
|
1830
1850
|
epub: "epub";
|
|
1831
1851
|
rtf: "rtf";
|
|
1852
|
+
wpd: "wpd";
|
|
1832
1853
|
}>;
|
|
1833
1854
|
xml: z.ZodString;
|
|
1834
1855
|
}, z.core.$strict>>;
|
|
@@ -1864,6 +1885,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1864
1885
|
pdf: "pdf";
|
|
1865
1886
|
epub: "epub";
|
|
1866
1887
|
rtf: "rtf";
|
|
1888
|
+
wpd: "wpd";
|
|
1867
1889
|
}>;
|
|
1868
1890
|
xml: z.ZodString;
|
|
1869
1891
|
}, z.core.$strict>>;
|
|
@@ -1892,6 +1914,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1892
1914
|
pdf: "pdf";
|
|
1893
1915
|
epub: "epub";
|
|
1894
1916
|
rtf: "rtf";
|
|
1917
|
+
wpd: "wpd";
|
|
1895
1918
|
}>;
|
|
1896
1919
|
xml: z.ZodString;
|
|
1897
1920
|
}, z.core.$strict>>;
|
|
@@ -1939,6 +1962,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1939
1962
|
pdf: "pdf";
|
|
1940
1963
|
epub: "epub";
|
|
1941
1964
|
rtf: "rtf";
|
|
1965
|
+
wpd: "wpd";
|
|
1942
1966
|
}>;
|
|
1943
1967
|
xml: z.ZodString;
|
|
1944
1968
|
}, z.core.$strict>>;
|
|
@@ -1967,6 +1991,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1967
1991
|
pdf: "pdf";
|
|
1968
1992
|
epub: "epub";
|
|
1969
1993
|
rtf: "rtf";
|
|
1994
|
+
wpd: "wpd";
|
|
1970
1995
|
}>;
|
|
1971
1996
|
xml: z.ZodString;
|
|
1972
1997
|
}, z.core.$strict>>;
|
|
@@ -2014,6 +2039,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2014
2039
|
pdf: "pdf";
|
|
2015
2040
|
epub: "epub";
|
|
2016
2041
|
rtf: "rtf";
|
|
2042
|
+
wpd: "wpd";
|
|
2017
2043
|
}>;
|
|
2018
2044
|
xml: z.ZodString;
|
|
2019
2045
|
}, z.core.$strict>>;
|
|
@@ -2071,6 +2097,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2071
2097
|
pdf: "pdf";
|
|
2072
2098
|
epub: "epub";
|
|
2073
2099
|
rtf: "rtf";
|
|
2100
|
+
wpd: "wpd";
|
|
2074
2101
|
}>;
|
|
2075
2102
|
xml: z.ZodString;
|
|
2076
2103
|
}, z.core.$strict>>;
|
|
@@ -2114,6 +2141,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2114
2141
|
pdf: "pdf";
|
|
2115
2142
|
epub: "epub";
|
|
2116
2143
|
rtf: "rtf";
|
|
2144
|
+
wpd: "wpd";
|
|
2117
2145
|
}>;
|
|
2118
2146
|
xml: z.ZodString;
|
|
2119
2147
|
}, z.core.$strict>>;
|
|
@@ -2135,6 +2163,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2135
2163
|
pdf: "pdf";
|
|
2136
2164
|
epub: "epub";
|
|
2137
2165
|
rtf: "rtf";
|
|
2166
|
+
wpd: "wpd";
|
|
2138
2167
|
}>;
|
|
2139
2168
|
xml: z.ZodString;
|
|
2140
2169
|
}, z.core.$strict>>;
|
|
@@ -2245,6 +2274,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2245
2274
|
pdf: "pdf";
|
|
2246
2275
|
epub: "epub";
|
|
2247
2276
|
rtf: "rtf";
|
|
2277
|
+
wpd: "wpd";
|
|
2248
2278
|
}>;
|
|
2249
2279
|
xml: z.ZodString;
|
|
2250
2280
|
}, z.core.$strict>>;
|
|
@@ -2357,6 +2387,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2357
2387
|
pdf: "pdf";
|
|
2358
2388
|
epub: "epub";
|
|
2359
2389
|
rtf: "rtf";
|
|
2390
|
+
wpd: "wpd";
|
|
2360
2391
|
}>;
|
|
2361
2392
|
xml: z.ZodString;
|
|
2362
2393
|
}, z.core.$strict>>;
|
|
@@ -2467,6 +2498,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2467
2498
|
pdf: "pdf";
|
|
2468
2499
|
epub: "epub";
|
|
2469
2500
|
rtf: "rtf";
|
|
2501
|
+
wpd: "wpd";
|
|
2470
2502
|
}>;
|
|
2471
2503
|
xml: z.ZodString;
|
|
2472
2504
|
}, z.core.$strict>>;
|
|
@@ -2527,6 +2559,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2527
2559
|
pdf: "pdf";
|
|
2528
2560
|
epub: "epub";
|
|
2529
2561
|
rtf: "rtf";
|
|
2562
|
+
wpd: "wpd";
|
|
2530
2563
|
}>;
|
|
2531
2564
|
xml: z.ZodString;
|
|
2532
2565
|
}, z.core.$strict>>;
|
|
@@ -2669,6 +2702,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2669
2702
|
pdf: "pdf";
|
|
2670
2703
|
epub: "epub";
|
|
2671
2704
|
rtf: "rtf";
|
|
2705
|
+
wpd: "wpd";
|
|
2672
2706
|
}>;
|
|
2673
2707
|
xml: z.ZodString;
|
|
2674
2708
|
}, z.core.$strict>>;
|
|
@@ -2696,6 +2730,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2696
2730
|
pdf: "pdf";
|
|
2697
2731
|
epub: "epub";
|
|
2698
2732
|
rtf: "rtf";
|
|
2733
|
+
wpd: "wpd";
|
|
2699
2734
|
}>;
|
|
2700
2735
|
xml: z.ZodString;
|
|
2701
2736
|
}, z.core.$strict>>;
|
|
@@ -2796,6 +2831,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2796
2831
|
pdf: "pdf";
|
|
2797
2832
|
epub: "epub";
|
|
2798
2833
|
rtf: "rtf";
|
|
2834
|
+
wpd: "wpd";
|
|
2799
2835
|
}>;
|
|
2800
2836
|
xml: z.ZodString;
|
|
2801
2837
|
}, z.core.$strict>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rtf-codec",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.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.
|
|
84
|
-
"document-schema.js": "7.
|
|
83
|
+
"archive-codec": "1.10.0",
|
|
84
|
+
"document-schema.js": "7.5.0",
|
|
85
85
|
"zod": "4.4.3"
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|