@superdoc-dev/sdk 1.8.0-next.22 → 1.8.0-next.26

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superdoc-dev/sdk",
3
- "version": "1.8.0-next.22",
3
+ "version": "1.8.0-next.26",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -26,11 +26,11 @@
26
26
  "typescript": "^5.9.2"
27
27
  },
28
28
  "optionalDependencies": {
29
- "@superdoc-dev/sdk-darwin-arm64": "1.8.0-next.22",
30
- "@superdoc-dev/sdk-darwin-x64": "1.8.0-next.22",
31
- "@superdoc-dev/sdk-linux-x64": "1.8.0-next.22",
32
- "@superdoc-dev/sdk-linux-arm64": "1.8.0-next.22",
33
- "@superdoc-dev/sdk-windows-x64": "1.8.0-next.22"
29
+ "@superdoc-dev/sdk-darwin-arm64": "1.8.0-next.26",
30
+ "@superdoc-dev/sdk-linux-arm64": "1.8.0-next.26",
31
+ "@superdoc-dev/sdk-darwin-x64": "1.8.0-next.26",
32
+ "@superdoc-dev/sdk-linux-x64": "1.8.0-next.26",
33
+ "@superdoc-dev/sdk-windows-x64": "1.8.0-next.26"
34
34
  },
35
35
  "publishConfig": {
36
36
  "access": "public"
@@ -1759,6 +1759,153 @@
1759
1759
  "range"
1760
1760
  ]
1761
1761
  }
1762
+ },
1763
+ "story": {
1764
+ "oneOf": [
1765
+ {
1766
+ "type": "object",
1767
+ "properties": {
1768
+ "kind": {
1769
+ "const": "story",
1770
+ "type": "string"
1771
+ },
1772
+ "storyType": {
1773
+ "const": "body",
1774
+ "type": "string"
1775
+ }
1776
+ },
1777
+ "required": [
1778
+ "kind",
1779
+ "storyType"
1780
+ ]
1781
+ },
1782
+ {
1783
+ "type": "object",
1784
+ "properties": {
1785
+ "kind": {
1786
+ "const": "story",
1787
+ "type": "string"
1788
+ },
1789
+ "storyType": {
1790
+ "const": "headerFooterSlot",
1791
+ "type": "string"
1792
+ },
1793
+ "section": {
1794
+ "type": "object",
1795
+ "properties": {
1796
+ "kind": {
1797
+ "const": "section",
1798
+ "type": "string"
1799
+ },
1800
+ "sectionId": {
1801
+ "type": "string"
1802
+ }
1803
+ },
1804
+ "required": [
1805
+ "kind",
1806
+ "sectionId"
1807
+ ]
1808
+ },
1809
+ "headerFooterKind": {
1810
+ "enum": [
1811
+ "header",
1812
+ "footer"
1813
+ ]
1814
+ },
1815
+ "variant": {
1816
+ "enum": [
1817
+ "default",
1818
+ "first",
1819
+ "even"
1820
+ ]
1821
+ },
1822
+ "resolution": {
1823
+ "enum": [
1824
+ "effective",
1825
+ "explicit"
1826
+ ]
1827
+ },
1828
+ "onWrite": {
1829
+ "enum": [
1830
+ "materializeIfInherited",
1831
+ "editResolvedPart",
1832
+ "error"
1833
+ ]
1834
+ }
1835
+ },
1836
+ "required": [
1837
+ "kind",
1838
+ "storyType",
1839
+ "section",
1840
+ "headerFooterKind",
1841
+ "variant"
1842
+ ]
1843
+ },
1844
+ {
1845
+ "type": "object",
1846
+ "properties": {
1847
+ "kind": {
1848
+ "const": "story",
1849
+ "type": "string"
1850
+ },
1851
+ "storyType": {
1852
+ "const": "headerFooterPart",
1853
+ "type": "string"
1854
+ },
1855
+ "refId": {
1856
+ "type": "string"
1857
+ }
1858
+ },
1859
+ "required": [
1860
+ "kind",
1861
+ "storyType",
1862
+ "refId"
1863
+ ]
1864
+ },
1865
+ {
1866
+ "type": "object",
1867
+ "properties": {
1868
+ "kind": {
1869
+ "const": "story",
1870
+ "type": "string"
1871
+ },
1872
+ "storyType": {
1873
+ "const": "footnote",
1874
+ "type": "string"
1875
+ },
1876
+ "noteId": {
1877
+ "type": "string"
1878
+ }
1879
+ },
1880
+ "required": [
1881
+ "kind",
1882
+ "storyType",
1883
+ "noteId"
1884
+ ]
1885
+ },
1886
+ {
1887
+ "type": "object",
1888
+ "properties": {
1889
+ "kind": {
1890
+ "const": "story",
1891
+ "type": "string"
1892
+ },
1893
+ "storyType": {
1894
+ "const": "endnote",
1895
+ "type": "string"
1896
+ },
1897
+ "noteId": {
1898
+ "type": "string"
1899
+ }
1900
+ },
1901
+ "required": [
1902
+ "kind",
1903
+ "storyType",
1904
+ "noteId"
1905
+ ]
1906
+ }
1907
+ ],
1908
+ "description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
1762
1909
  }
1763
1910
  },
1764
1911
  "required": [
@@ -39,5 +39,5 @@
39
39
  "mutates": true
40
40
  }
41
41
  ],
42
- "contractHash": "20f0873e29e8589387d0776cc53e6eea8d5fce102a3eba9a47a183c49b5f0b13"
42
+ "contractHash": "4bf17bc67642d4faf64f7427e2110f04a5377f5b18474b0012e1c26da8fdc654"
43
43
  }
@@ -1477,6 +1477,153 @@
1477
1477
  "range"
1478
1478
  ]
1479
1479
  }
1480
+ },
1481
+ "story": {
1482
+ "oneOf": [
1483
+ {
1484
+ "type": "object",
1485
+ "properties": {
1486
+ "kind": {
1487
+ "const": "story",
1488
+ "type": "string"
1489
+ },
1490
+ "storyType": {
1491
+ "const": "body",
1492
+ "type": "string"
1493
+ }
1494
+ },
1495
+ "required": [
1496
+ "kind",
1497
+ "storyType"
1498
+ ]
1499
+ },
1500
+ {
1501
+ "type": "object",
1502
+ "properties": {
1503
+ "kind": {
1504
+ "const": "story",
1505
+ "type": "string"
1506
+ },
1507
+ "storyType": {
1508
+ "const": "headerFooterSlot",
1509
+ "type": "string"
1510
+ },
1511
+ "section": {
1512
+ "type": "object",
1513
+ "properties": {
1514
+ "kind": {
1515
+ "const": "section",
1516
+ "type": "string"
1517
+ },
1518
+ "sectionId": {
1519
+ "type": "string"
1520
+ }
1521
+ },
1522
+ "required": [
1523
+ "kind",
1524
+ "sectionId"
1525
+ ]
1526
+ },
1527
+ "headerFooterKind": {
1528
+ "enum": [
1529
+ "header",
1530
+ "footer"
1531
+ ]
1532
+ },
1533
+ "variant": {
1534
+ "enum": [
1535
+ "default",
1536
+ "first",
1537
+ "even"
1538
+ ]
1539
+ },
1540
+ "resolution": {
1541
+ "enum": [
1542
+ "effective",
1543
+ "explicit"
1544
+ ]
1545
+ },
1546
+ "onWrite": {
1547
+ "enum": [
1548
+ "materializeIfInherited",
1549
+ "editResolvedPart",
1550
+ "error"
1551
+ ]
1552
+ }
1553
+ },
1554
+ "required": [
1555
+ "kind",
1556
+ "storyType",
1557
+ "section",
1558
+ "headerFooterKind",
1559
+ "variant"
1560
+ ]
1561
+ },
1562
+ {
1563
+ "type": "object",
1564
+ "properties": {
1565
+ "kind": {
1566
+ "const": "story",
1567
+ "type": "string"
1568
+ },
1569
+ "storyType": {
1570
+ "const": "headerFooterPart",
1571
+ "type": "string"
1572
+ },
1573
+ "refId": {
1574
+ "type": "string"
1575
+ }
1576
+ },
1577
+ "required": [
1578
+ "kind",
1579
+ "storyType",
1580
+ "refId"
1581
+ ]
1582
+ },
1583
+ {
1584
+ "type": "object",
1585
+ "properties": {
1586
+ "kind": {
1587
+ "const": "story",
1588
+ "type": "string"
1589
+ },
1590
+ "storyType": {
1591
+ "const": "footnote",
1592
+ "type": "string"
1593
+ },
1594
+ "noteId": {
1595
+ "type": "string"
1596
+ }
1597
+ },
1598
+ "required": [
1599
+ "kind",
1600
+ "storyType",
1601
+ "noteId"
1602
+ ]
1603
+ },
1604
+ {
1605
+ "type": "object",
1606
+ "properties": {
1607
+ "kind": {
1608
+ "const": "story",
1609
+ "type": "string"
1610
+ },
1611
+ "storyType": {
1612
+ "const": "endnote",
1613
+ "type": "string"
1614
+ },
1615
+ "noteId": {
1616
+ "type": "string"
1617
+ }
1618
+ },
1619
+ "required": [
1620
+ "kind",
1621
+ "storyType",
1622
+ "noteId"
1623
+ ]
1624
+ }
1625
+ ],
1626
+ "description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
1480
1627
  }
1481
1628
  },
1482
1629
  "required": [
@@ -1585,6 +1585,153 @@
1585
1585
  "range"
1586
1586
  ]
1587
1587
  }
1588
+ },
1589
+ "story": {
1590
+ "oneOf": [
1591
+ {
1592
+ "type": "object",
1593
+ "properties": {
1594
+ "kind": {
1595
+ "const": "story",
1596
+ "type": "string"
1597
+ },
1598
+ "storyType": {
1599
+ "const": "body",
1600
+ "type": "string"
1601
+ }
1602
+ },
1603
+ "required": [
1604
+ "kind",
1605
+ "storyType"
1606
+ ]
1607
+ },
1608
+ {
1609
+ "type": "object",
1610
+ "properties": {
1611
+ "kind": {
1612
+ "const": "story",
1613
+ "type": "string"
1614
+ },
1615
+ "storyType": {
1616
+ "const": "headerFooterSlot",
1617
+ "type": "string"
1618
+ },
1619
+ "section": {
1620
+ "type": "object",
1621
+ "properties": {
1622
+ "kind": {
1623
+ "const": "section",
1624
+ "type": "string"
1625
+ },
1626
+ "sectionId": {
1627
+ "type": "string"
1628
+ }
1629
+ },
1630
+ "required": [
1631
+ "kind",
1632
+ "sectionId"
1633
+ ]
1634
+ },
1635
+ "headerFooterKind": {
1636
+ "enum": [
1637
+ "header",
1638
+ "footer"
1639
+ ]
1640
+ },
1641
+ "variant": {
1642
+ "enum": [
1643
+ "default",
1644
+ "first",
1645
+ "even"
1646
+ ]
1647
+ },
1648
+ "resolution": {
1649
+ "enum": [
1650
+ "effective",
1651
+ "explicit"
1652
+ ]
1653
+ },
1654
+ "onWrite": {
1655
+ "enum": [
1656
+ "materializeIfInherited",
1657
+ "editResolvedPart",
1658
+ "error"
1659
+ ]
1660
+ }
1661
+ },
1662
+ "required": [
1663
+ "kind",
1664
+ "storyType",
1665
+ "section",
1666
+ "headerFooterKind",
1667
+ "variant"
1668
+ ]
1669
+ },
1670
+ {
1671
+ "type": "object",
1672
+ "properties": {
1673
+ "kind": {
1674
+ "const": "story",
1675
+ "type": "string"
1676
+ },
1677
+ "storyType": {
1678
+ "const": "headerFooterPart",
1679
+ "type": "string"
1680
+ },
1681
+ "refId": {
1682
+ "type": "string"
1683
+ }
1684
+ },
1685
+ "required": [
1686
+ "kind",
1687
+ "storyType",
1688
+ "refId"
1689
+ ]
1690
+ },
1691
+ {
1692
+ "type": "object",
1693
+ "properties": {
1694
+ "kind": {
1695
+ "const": "story",
1696
+ "type": "string"
1697
+ },
1698
+ "storyType": {
1699
+ "const": "footnote",
1700
+ "type": "string"
1701
+ },
1702
+ "noteId": {
1703
+ "type": "string"
1704
+ }
1705
+ },
1706
+ "required": [
1707
+ "kind",
1708
+ "storyType",
1709
+ "noteId"
1710
+ ]
1711
+ },
1712
+ {
1713
+ "type": "object",
1714
+ "properties": {
1715
+ "kind": {
1716
+ "const": "story",
1717
+ "type": "string"
1718
+ },
1719
+ "storyType": {
1720
+ "const": "endnote",
1721
+ "type": "string"
1722
+ },
1723
+ "noteId": {
1724
+ "type": "string"
1725
+ }
1726
+ },
1727
+ "required": [
1728
+ "kind",
1729
+ "storyType",
1730
+ "noteId"
1731
+ ]
1732
+ }
1733
+ ],
1734
+ "description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
1588
1735
  }
1589
1736
  },
1590
1737
  "required": [
@@ -1494,6 +1494,153 @@
1494
1494
  "range"
1495
1495
  ]
1496
1496
  }
1497
+ },
1498
+ "story": {
1499
+ "oneOf": [
1500
+ {
1501
+ "type": "object",
1502
+ "properties": {
1503
+ "kind": {
1504
+ "const": "story",
1505
+ "type": "string"
1506
+ },
1507
+ "storyType": {
1508
+ "const": "body",
1509
+ "type": "string"
1510
+ }
1511
+ },
1512
+ "required": [
1513
+ "kind",
1514
+ "storyType"
1515
+ ]
1516
+ },
1517
+ {
1518
+ "type": "object",
1519
+ "properties": {
1520
+ "kind": {
1521
+ "const": "story",
1522
+ "type": "string"
1523
+ },
1524
+ "storyType": {
1525
+ "const": "headerFooterSlot",
1526
+ "type": "string"
1527
+ },
1528
+ "section": {
1529
+ "type": "object",
1530
+ "properties": {
1531
+ "kind": {
1532
+ "const": "section",
1533
+ "type": "string"
1534
+ },
1535
+ "sectionId": {
1536
+ "type": "string"
1537
+ }
1538
+ },
1539
+ "required": [
1540
+ "kind",
1541
+ "sectionId"
1542
+ ]
1543
+ },
1544
+ "headerFooterKind": {
1545
+ "enum": [
1546
+ "header",
1547
+ "footer"
1548
+ ]
1549
+ },
1550
+ "variant": {
1551
+ "enum": [
1552
+ "default",
1553
+ "first",
1554
+ "even"
1555
+ ]
1556
+ },
1557
+ "resolution": {
1558
+ "enum": [
1559
+ "effective",
1560
+ "explicit"
1561
+ ]
1562
+ },
1563
+ "onWrite": {
1564
+ "enum": [
1565
+ "materializeIfInherited",
1566
+ "editResolvedPart",
1567
+ "error"
1568
+ ]
1569
+ }
1570
+ },
1571
+ "required": [
1572
+ "kind",
1573
+ "storyType",
1574
+ "section",
1575
+ "headerFooterKind",
1576
+ "variant"
1577
+ ]
1578
+ },
1579
+ {
1580
+ "type": "object",
1581
+ "properties": {
1582
+ "kind": {
1583
+ "const": "story",
1584
+ "type": "string"
1585
+ },
1586
+ "storyType": {
1587
+ "const": "headerFooterPart",
1588
+ "type": "string"
1589
+ },
1590
+ "refId": {
1591
+ "type": "string"
1592
+ }
1593
+ },
1594
+ "required": [
1595
+ "kind",
1596
+ "storyType",
1597
+ "refId"
1598
+ ]
1599
+ },
1600
+ {
1601
+ "type": "object",
1602
+ "properties": {
1603
+ "kind": {
1604
+ "const": "story",
1605
+ "type": "string"
1606
+ },
1607
+ "storyType": {
1608
+ "const": "footnote",
1609
+ "type": "string"
1610
+ },
1611
+ "noteId": {
1612
+ "type": "string"
1613
+ }
1614
+ },
1615
+ "required": [
1616
+ "kind",
1617
+ "storyType",
1618
+ "noteId"
1619
+ ]
1620
+ },
1621
+ {
1622
+ "type": "object",
1623
+ "properties": {
1624
+ "kind": {
1625
+ "const": "story",
1626
+ "type": "string"
1627
+ },
1628
+ "storyType": {
1629
+ "const": "endnote",
1630
+ "type": "string"
1631
+ },
1632
+ "noteId": {
1633
+ "type": "string"
1634
+ }
1635
+ },
1636
+ "required": [
1637
+ "kind",
1638
+ "storyType",
1639
+ "noteId"
1640
+ ]
1641
+ }
1642
+ ],
1643
+ "description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
1497
1644
  }
1498
1645
  },
1499
1646
  "required": [