@superdoc-dev/sdk 1.7.0 → 1.8.0-next.2

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