@alloy-js/csharp 0.18.0-dev.10 → 0.18.0-dev.11

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/temp/api.json CHANGED
@@ -1512,6 +1512,552 @@
1512
1512
  ],
1513
1513
  "extendsTokenRanges": []
1514
1514
  },
1515
+ {
1516
+ "kind": "Function",
1517
+ "canonicalReference": "@alloy-js/csharp!ClassProperty:function(1)",
1518
+ "docComment": "/**\n * Render a C# class property.\n *\n * @example\n *\n * `<ClassProperty public name=\"My\" get set />`\n *\n * ```cs\n * public int My { get; set; };\n * ```\n *\n */\n",
1519
+ "excerptTokens": [
1520
+ {
1521
+ "kind": "Content",
1522
+ "text": "export declare function ClassProperty(props: "
1523
+ },
1524
+ {
1525
+ "kind": "Reference",
1526
+ "text": "ClassPropertyProps",
1527
+ "canonicalReference": "@alloy-js/csharp!ClassPropertyProps:interface"
1528
+ },
1529
+ {
1530
+ "kind": "Content",
1531
+ "text": "): "
1532
+ },
1533
+ {
1534
+ "kind": "Reference",
1535
+ "text": "Children",
1536
+ "canonicalReference": "@alloy-js/core!Children:type"
1537
+ },
1538
+ {
1539
+ "kind": "Content",
1540
+ "text": ";"
1541
+ }
1542
+ ],
1543
+ "fileUrlPath": "src/components/class/property.tsx",
1544
+ "returnTypeTokenRange": {
1545
+ "startIndex": 3,
1546
+ "endIndex": 4
1547
+ },
1548
+ "releaseTag": "Public",
1549
+ "overloadIndex": 1,
1550
+ "parameters": [
1551
+ {
1552
+ "parameterName": "props",
1553
+ "parameterTypeTokenRange": {
1554
+ "startIndex": 1,
1555
+ "endIndex": 2
1556
+ },
1557
+ "isOptional": false
1558
+ }
1559
+ ],
1560
+ "name": "ClassProperty"
1561
+ },
1562
+ {
1563
+ "kind": "Interface",
1564
+ "canonicalReference": "@alloy-js/csharp!ClassPropertyModifiers:interface",
1565
+ "docComment": "/**\n * Method modifiers. Can only be one.\n */\n",
1566
+ "excerptTokens": [
1567
+ {
1568
+ "kind": "Content",
1569
+ "text": "export interface ClassPropertyModifiers "
1570
+ }
1571
+ ],
1572
+ "fileUrlPath": "src/components/class/property.tsx",
1573
+ "releaseTag": "Public",
1574
+ "name": "ClassPropertyModifiers",
1575
+ "preserveMemberOrder": false,
1576
+ "members": [
1577
+ {
1578
+ "kind": "PropertySignature",
1579
+ "canonicalReference": "@alloy-js/csharp!ClassPropertyModifiers#abstract:member",
1580
+ "docComment": "",
1581
+ "excerptTokens": [
1582
+ {
1583
+ "kind": "Content",
1584
+ "text": "readonly abstract?: "
1585
+ },
1586
+ {
1587
+ "kind": "Content",
1588
+ "text": "boolean"
1589
+ },
1590
+ {
1591
+ "kind": "Content",
1592
+ "text": ";"
1593
+ }
1594
+ ],
1595
+ "isReadonly": true,
1596
+ "isOptional": true,
1597
+ "releaseTag": "Public",
1598
+ "name": "abstract",
1599
+ "propertyTypeTokenRange": {
1600
+ "startIndex": 1,
1601
+ "endIndex": 2
1602
+ }
1603
+ },
1604
+ {
1605
+ "kind": "PropertySignature",
1606
+ "canonicalReference": "@alloy-js/csharp!ClassPropertyModifiers#extern:member",
1607
+ "docComment": "",
1608
+ "excerptTokens": [
1609
+ {
1610
+ "kind": "Content",
1611
+ "text": "readonly extern?: "
1612
+ },
1613
+ {
1614
+ "kind": "Content",
1615
+ "text": "boolean"
1616
+ },
1617
+ {
1618
+ "kind": "Content",
1619
+ "text": ";"
1620
+ }
1621
+ ],
1622
+ "isReadonly": true,
1623
+ "isOptional": true,
1624
+ "releaseTag": "Public",
1625
+ "name": "extern",
1626
+ "propertyTypeTokenRange": {
1627
+ "startIndex": 1,
1628
+ "endIndex": 2
1629
+ }
1630
+ },
1631
+ {
1632
+ "kind": "PropertySignature",
1633
+ "canonicalReference": "@alloy-js/csharp!ClassPropertyModifiers#new:member",
1634
+ "docComment": "",
1635
+ "excerptTokens": [
1636
+ {
1637
+ "kind": "Content",
1638
+ "text": "readonly new?: "
1639
+ },
1640
+ {
1641
+ "kind": "Content",
1642
+ "text": "boolean"
1643
+ },
1644
+ {
1645
+ "kind": "Content",
1646
+ "text": ";"
1647
+ }
1648
+ ],
1649
+ "isReadonly": true,
1650
+ "isOptional": true,
1651
+ "releaseTag": "Public",
1652
+ "name": "new",
1653
+ "propertyTypeTokenRange": {
1654
+ "startIndex": 1,
1655
+ "endIndex": 2
1656
+ }
1657
+ },
1658
+ {
1659
+ "kind": "PropertySignature",
1660
+ "canonicalReference": "@alloy-js/csharp!ClassPropertyModifiers#override:member",
1661
+ "docComment": "",
1662
+ "excerptTokens": [
1663
+ {
1664
+ "kind": "Content",
1665
+ "text": "readonly override?: "
1666
+ },
1667
+ {
1668
+ "kind": "Content",
1669
+ "text": "boolean"
1670
+ },
1671
+ {
1672
+ "kind": "Content",
1673
+ "text": ";"
1674
+ }
1675
+ ],
1676
+ "isReadonly": true,
1677
+ "isOptional": true,
1678
+ "releaseTag": "Public",
1679
+ "name": "override",
1680
+ "propertyTypeTokenRange": {
1681
+ "startIndex": 1,
1682
+ "endIndex": 2
1683
+ }
1684
+ },
1685
+ {
1686
+ "kind": "PropertySignature",
1687
+ "canonicalReference": "@alloy-js/csharp!ClassPropertyModifiers#readonly:member",
1688
+ "docComment": "",
1689
+ "excerptTokens": [
1690
+ {
1691
+ "kind": "Content",
1692
+ "text": "readonly readonly?: "
1693
+ },
1694
+ {
1695
+ "kind": "Content",
1696
+ "text": "boolean"
1697
+ },
1698
+ {
1699
+ "kind": "Content",
1700
+ "text": ";"
1701
+ }
1702
+ ],
1703
+ "isReadonly": true,
1704
+ "isOptional": true,
1705
+ "releaseTag": "Public",
1706
+ "name": "readonly",
1707
+ "propertyTypeTokenRange": {
1708
+ "startIndex": 1,
1709
+ "endIndex": 2
1710
+ }
1711
+ },
1712
+ {
1713
+ "kind": "PropertySignature",
1714
+ "canonicalReference": "@alloy-js/csharp!ClassPropertyModifiers#sealed:member",
1715
+ "docComment": "",
1716
+ "excerptTokens": [
1717
+ {
1718
+ "kind": "Content",
1719
+ "text": "readonly sealed?: "
1720
+ },
1721
+ {
1722
+ "kind": "Content",
1723
+ "text": "boolean"
1724
+ },
1725
+ {
1726
+ "kind": "Content",
1727
+ "text": ";"
1728
+ }
1729
+ ],
1730
+ "isReadonly": true,
1731
+ "isOptional": true,
1732
+ "releaseTag": "Public",
1733
+ "name": "sealed",
1734
+ "propertyTypeTokenRange": {
1735
+ "startIndex": 1,
1736
+ "endIndex": 2
1737
+ }
1738
+ },
1739
+ {
1740
+ "kind": "PropertySignature",
1741
+ "canonicalReference": "@alloy-js/csharp!ClassPropertyModifiers#static:member",
1742
+ "docComment": "",
1743
+ "excerptTokens": [
1744
+ {
1745
+ "kind": "Content",
1746
+ "text": "readonly static?: "
1747
+ },
1748
+ {
1749
+ "kind": "Content",
1750
+ "text": "boolean"
1751
+ },
1752
+ {
1753
+ "kind": "Content",
1754
+ "text": ";"
1755
+ }
1756
+ ],
1757
+ "isReadonly": true,
1758
+ "isOptional": true,
1759
+ "releaseTag": "Public",
1760
+ "name": "static",
1761
+ "propertyTypeTokenRange": {
1762
+ "startIndex": 1,
1763
+ "endIndex": 2
1764
+ }
1765
+ },
1766
+ {
1767
+ "kind": "PropertySignature",
1768
+ "canonicalReference": "@alloy-js/csharp!ClassPropertyModifiers#virtual:member",
1769
+ "docComment": "",
1770
+ "excerptTokens": [
1771
+ {
1772
+ "kind": "Content",
1773
+ "text": "readonly virtual?: "
1774
+ },
1775
+ {
1776
+ "kind": "Content",
1777
+ "text": "boolean"
1778
+ },
1779
+ {
1780
+ "kind": "Content",
1781
+ "text": ";"
1782
+ }
1783
+ ],
1784
+ "isReadonly": true,
1785
+ "isOptional": true,
1786
+ "releaseTag": "Public",
1787
+ "name": "virtual",
1788
+ "propertyTypeTokenRange": {
1789
+ "startIndex": 1,
1790
+ "endIndex": 2
1791
+ }
1792
+ }
1793
+ ],
1794
+ "extendsTokenRanges": []
1795
+ },
1796
+ {
1797
+ "kind": "Interface",
1798
+ "canonicalReference": "@alloy-js/csharp!ClassPropertyProps:interface",
1799
+ "docComment": "/**\n * Properties for {@link ClassProperty} component\n */\n",
1800
+ "excerptTokens": [
1801
+ {
1802
+ "kind": "Content",
1803
+ "text": "export interface ClassPropertyProps extends "
1804
+ },
1805
+ {
1806
+ "kind": "Reference",
1807
+ "text": "AccessModifiers",
1808
+ "canonicalReference": "@alloy-js/csharp!AccessModifiers:interface"
1809
+ },
1810
+ {
1811
+ "kind": "Content",
1812
+ "text": ", "
1813
+ },
1814
+ {
1815
+ "kind": "Reference",
1816
+ "text": "ClassPropertyModifiers",
1817
+ "canonicalReference": "@alloy-js/csharp!ClassPropertyModifiers:interface"
1818
+ },
1819
+ {
1820
+ "kind": "Content",
1821
+ "text": " "
1822
+ }
1823
+ ],
1824
+ "fileUrlPath": "src/components/class/property.tsx",
1825
+ "releaseTag": "Public",
1826
+ "name": "ClassPropertyProps",
1827
+ "preserveMemberOrder": false,
1828
+ "members": [
1829
+ {
1830
+ "kind": "PropertySignature",
1831
+ "canonicalReference": "@alloy-js/csharp!ClassPropertyProps#doc:member",
1832
+ "docComment": "/**\n * Doc comment\n */\n",
1833
+ "excerptTokens": [
1834
+ {
1835
+ "kind": "Content",
1836
+ "text": "doc?: "
1837
+ },
1838
+ {
1839
+ "kind": "Reference",
1840
+ "text": "Children",
1841
+ "canonicalReference": "@alloy-js/core!Children:type"
1842
+ },
1843
+ {
1844
+ "kind": "Content",
1845
+ "text": ";"
1846
+ }
1847
+ ],
1848
+ "isReadonly": false,
1849
+ "isOptional": true,
1850
+ "releaseTag": "Public",
1851
+ "name": "doc",
1852
+ "propertyTypeTokenRange": {
1853
+ "startIndex": 1,
1854
+ "endIndex": 2
1855
+ }
1856
+ },
1857
+ {
1858
+ "kind": "PropertySignature",
1859
+ "canonicalReference": "@alloy-js/csharp!ClassPropertyProps#get:member",
1860
+ "docComment": "/**\n * If property should have a getter\n */\n",
1861
+ "excerptTokens": [
1862
+ {
1863
+ "kind": "Content",
1864
+ "text": "get?: "
1865
+ },
1866
+ {
1867
+ "kind": "Content",
1868
+ "text": "boolean"
1869
+ },
1870
+ {
1871
+ "kind": "Content",
1872
+ "text": ";"
1873
+ }
1874
+ ],
1875
+ "isReadonly": false,
1876
+ "isOptional": true,
1877
+ "releaseTag": "Public",
1878
+ "name": "get",
1879
+ "propertyTypeTokenRange": {
1880
+ "startIndex": 1,
1881
+ "endIndex": 2
1882
+ }
1883
+ },
1884
+ {
1885
+ "kind": "PropertySignature",
1886
+ "canonicalReference": "@alloy-js/csharp!ClassPropertyProps#init:member",
1887
+ "docComment": "/**\n * Property initializer\n *\n * @example\n *\n * `<ClassProperty name=\"My\" get set init={42} />`\n *\n * ```cs\n * int My { get; set; } = 42;\n * ```\n *\n */\n",
1888
+ "excerptTokens": [
1889
+ {
1890
+ "kind": "Content",
1891
+ "text": "init?: "
1892
+ },
1893
+ {
1894
+ "kind": "Reference",
1895
+ "text": "Children",
1896
+ "canonicalReference": "@alloy-js/core!Children:type"
1897
+ },
1898
+ {
1899
+ "kind": "Content",
1900
+ "text": ";"
1901
+ }
1902
+ ],
1903
+ "isReadonly": false,
1904
+ "isOptional": true,
1905
+ "releaseTag": "Public",
1906
+ "name": "init",
1907
+ "propertyTypeTokenRange": {
1908
+ "startIndex": 1,
1909
+ "endIndex": 2
1910
+ }
1911
+ },
1912
+ {
1913
+ "kind": "PropertySignature",
1914
+ "canonicalReference": "@alloy-js/csharp!ClassPropertyProps#name:member",
1915
+ "docComment": "",
1916
+ "excerptTokens": [
1917
+ {
1918
+ "kind": "Content",
1919
+ "text": "name: "
1920
+ },
1921
+ {
1922
+ "kind": "Content",
1923
+ "text": "string"
1924
+ },
1925
+ {
1926
+ "kind": "Content",
1927
+ "text": ";"
1928
+ }
1929
+ ],
1930
+ "isReadonly": false,
1931
+ "isOptional": false,
1932
+ "releaseTag": "Public",
1933
+ "name": "name",
1934
+ "propertyTypeTokenRange": {
1935
+ "startIndex": 1,
1936
+ "endIndex": 2
1937
+ }
1938
+ },
1939
+ {
1940
+ "kind": "PropertySignature",
1941
+ "canonicalReference": "@alloy-js/csharp!ClassPropertyProps#nullable:member",
1942
+ "docComment": "/**\n * Property initializer\n *\n * @example\n *\n * `<ClassProperty name=\"My\" get set nullable />`\n *\n * ```cs\n * int? My { get; set; };\n * ```\n *\n */\n",
1943
+ "excerptTokens": [
1944
+ {
1945
+ "kind": "Content",
1946
+ "text": "nullable?: "
1947
+ },
1948
+ {
1949
+ "kind": "Content",
1950
+ "text": "boolean"
1951
+ },
1952
+ {
1953
+ "kind": "Content",
1954
+ "text": ";"
1955
+ }
1956
+ ],
1957
+ "isReadonly": false,
1958
+ "isOptional": true,
1959
+ "releaseTag": "Public",
1960
+ "name": "nullable",
1961
+ "propertyTypeTokenRange": {
1962
+ "startIndex": 1,
1963
+ "endIndex": 2
1964
+ }
1965
+ },
1966
+ {
1967
+ "kind": "PropertySignature",
1968
+ "canonicalReference": "@alloy-js/csharp!ClassPropertyProps#refkey:member",
1969
+ "docComment": "",
1970
+ "excerptTokens": [
1971
+ {
1972
+ "kind": "Content",
1973
+ "text": "refkey?: "
1974
+ },
1975
+ {
1976
+ "kind": "Reference",
1977
+ "text": "Refkey",
1978
+ "canonicalReference": "@alloy-js/core!Refkey:type"
1979
+ },
1980
+ {
1981
+ "kind": "Content",
1982
+ "text": ";"
1983
+ }
1984
+ ],
1985
+ "isReadonly": false,
1986
+ "isOptional": true,
1987
+ "releaseTag": "Public",
1988
+ "name": "refkey",
1989
+ "propertyTypeTokenRange": {
1990
+ "startIndex": 1,
1991
+ "endIndex": 2
1992
+ }
1993
+ },
1994
+ {
1995
+ "kind": "PropertySignature",
1996
+ "canonicalReference": "@alloy-js/csharp!ClassPropertyProps#set:member",
1997
+ "docComment": "/**\n * If property should have a setter\n */\n",
1998
+ "excerptTokens": [
1999
+ {
2000
+ "kind": "Content",
2001
+ "text": "set?: "
2002
+ },
2003
+ {
2004
+ "kind": "Content",
2005
+ "text": "boolean"
2006
+ },
2007
+ {
2008
+ "kind": "Content",
2009
+ "text": ";"
2010
+ }
2011
+ ],
2012
+ "isReadonly": false,
2013
+ "isOptional": true,
2014
+ "releaseTag": "Public",
2015
+ "name": "set",
2016
+ "propertyTypeTokenRange": {
2017
+ "startIndex": 1,
2018
+ "endIndex": 2
2019
+ }
2020
+ },
2021
+ {
2022
+ "kind": "PropertySignature",
2023
+ "canonicalReference": "@alloy-js/csharp!ClassPropertyProps#type:member",
2024
+ "docComment": "/**\n * Property type\n */\n",
2025
+ "excerptTokens": [
2026
+ {
2027
+ "kind": "Content",
2028
+ "text": "type: "
2029
+ },
2030
+ {
2031
+ "kind": "Reference",
2032
+ "text": "Children",
2033
+ "canonicalReference": "@alloy-js/core!Children:type"
2034
+ },
2035
+ {
2036
+ "kind": "Content",
2037
+ "text": ";"
2038
+ }
2039
+ ],
2040
+ "isReadonly": false,
2041
+ "isOptional": false,
2042
+ "releaseTag": "Public",
2043
+ "name": "type",
2044
+ "propertyTypeTokenRange": {
2045
+ "startIndex": 1,
2046
+ "endIndex": 2
2047
+ }
2048
+ }
2049
+ ],
2050
+ "extendsTokenRanges": [
2051
+ {
2052
+ "startIndex": 1,
2053
+ "endIndex": 2
2054
+ },
2055
+ {
2056
+ "startIndex": 3,
2057
+ "endIndex": 4
2058
+ }
2059
+ ]
2060
+ },
1515
2061
  {
1516
2062
  "kind": "Function",
1517
2063
  "canonicalReference": "@alloy-js/csharp!computeModifiersPrefix:function(1)",
@@ -3899,28 +4445,190 @@
3899
4445
  "isReadonly": false,
3900
4446
  "isOptional": false,
3901
4447
  "releaseTag": "Public",
3902
- "name": "doc",
4448
+ "name": "doc",
4449
+ "propertyTypeTokenRange": {
4450
+ "startIndex": 1,
4451
+ "endIndex": 3
4452
+ }
4453
+ }
4454
+ ],
4455
+ "extendsTokenRanges": []
4456
+ },
4457
+ {
4458
+ "kind": "Function",
4459
+ "canonicalReference": "@alloy-js/csharp!EnumDeclaration:function(1)",
4460
+ "docComment": "/**\n * A C# enum declaration\n *\n * @example\n * ```tsx\n * <EnumDeclaration public name=\"Color\">\n * <EnumMember name=\"Red\" />\n * <EnumMember name=\"Green\" />\n * <EnumMember name=\"Blue\" />\n * </EnumDeclaration>\n * ```\n *\n * This will produce:\n * ```csharp\n * public enum Color\n * {\n * Red,\n * Green,\n * Blue\n * }\n * ```\n *\n */\n",
4461
+ "excerptTokens": [
4462
+ {
4463
+ "kind": "Content",
4464
+ "text": "export declare function EnumDeclaration(props: "
4465
+ },
4466
+ {
4467
+ "kind": "Reference",
4468
+ "text": "EnumDeclarationProps",
4469
+ "canonicalReference": "@alloy-js/csharp!EnumDeclarationProps:interface"
4470
+ },
4471
+ {
4472
+ "kind": "Content",
4473
+ "text": "): "
4474
+ },
4475
+ {
4476
+ "kind": "Reference",
4477
+ "text": "core.Children",
4478
+ "canonicalReference": "@alloy-js/core!Children:type"
4479
+ },
4480
+ {
4481
+ "kind": "Content",
4482
+ "text": ";"
4483
+ }
4484
+ ],
4485
+ "fileUrlPath": "src/components/EnumDeclaration.tsx",
4486
+ "returnTypeTokenRange": {
4487
+ "startIndex": 3,
4488
+ "endIndex": 4
4489
+ },
4490
+ "releaseTag": "Public",
4491
+ "overloadIndex": 1,
4492
+ "parameters": [
4493
+ {
4494
+ "parameterName": "props",
4495
+ "parameterTypeTokenRange": {
4496
+ "startIndex": 1,
4497
+ "endIndex": 2
4498
+ },
4499
+ "isOptional": false
4500
+ }
4501
+ ],
4502
+ "name": "EnumDeclaration"
4503
+ },
4504
+ {
4505
+ "kind": "Interface",
4506
+ "canonicalReference": "@alloy-js/csharp!EnumDeclarationProps:interface",
4507
+ "docComment": "",
4508
+ "excerptTokens": [
4509
+ {
4510
+ "kind": "Content",
4511
+ "text": "export interface EnumDeclarationProps extends "
4512
+ },
4513
+ {
4514
+ "kind": "Reference",
4515
+ "text": "AccessModifiers",
4516
+ "canonicalReference": "@alloy-js/csharp!AccessModifiers:interface"
4517
+ },
4518
+ {
4519
+ "kind": "Content",
4520
+ "text": " "
4521
+ }
4522
+ ],
4523
+ "fileUrlPath": "src/components/EnumDeclaration.tsx",
4524
+ "releaseTag": "Public",
4525
+ "name": "EnumDeclarationProps",
4526
+ "preserveMemberOrder": false,
4527
+ "members": [
4528
+ {
4529
+ "kind": "PropertySignature",
4530
+ "canonicalReference": "@alloy-js/csharp!EnumDeclarationProps#children:member",
4531
+ "docComment": "",
4532
+ "excerptTokens": [
4533
+ {
4534
+ "kind": "Content",
4535
+ "text": "children?: "
4536
+ },
4537
+ {
4538
+ "kind": "Reference",
4539
+ "text": "core.Children",
4540
+ "canonicalReference": "@alloy-js/core!Children:type"
4541
+ },
4542
+ {
4543
+ "kind": "Content",
4544
+ "text": ";"
4545
+ }
4546
+ ],
4547
+ "isReadonly": false,
4548
+ "isOptional": true,
4549
+ "releaseTag": "Public",
4550
+ "name": "children",
4551
+ "propertyTypeTokenRange": {
4552
+ "startIndex": 1,
4553
+ "endIndex": 2
4554
+ }
4555
+ },
4556
+ {
4557
+ "kind": "PropertySignature",
4558
+ "canonicalReference": "@alloy-js/csharp!EnumDeclarationProps#name:member",
4559
+ "docComment": "",
4560
+ "excerptTokens": [
4561
+ {
4562
+ "kind": "Content",
4563
+ "text": "name: "
4564
+ },
4565
+ {
4566
+ "kind": "Content",
4567
+ "text": "string"
4568
+ },
4569
+ {
4570
+ "kind": "Content",
4571
+ "text": ";"
4572
+ }
4573
+ ],
4574
+ "isReadonly": false,
4575
+ "isOptional": false,
4576
+ "releaseTag": "Public",
4577
+ "name": "name",
4578
+ "propertyTypeTokenRange": {
4579
+ "startIndex": 1,
4580
+ "endIndex": 2
4581
+ }
4582
+ },
4583
+ {
4584
+ "kind": "PropertySignature",
4585
+ "canonicalReference": "@alloy-js/csharp!EnumDeclarationProps#refkey:member",
4586
+ "docComment": "",
4587
+ "excerptTokens": [
4588
+ {
4589
+ "kind": "Content",
4590
+ "text": "refkey?: "
4591
+ },
4592
+ {
4593
+ "kind": "Reference",
4594
+ "text": "core.Refkey",
4595
+ "canonicalReference": "@alloy-js/core!Refkey:type"
4596
+ },
4597
+ {
4598
+ "kind": "Content",
4599
+ "text": ";"
4600
+ }
4601
+ ],
4602
+ "isReadonly": false,
4603
+ "isOptional": true,
4604
+ "releaseTag": "Public",
4605
+ "name": "refkey",
3903
4606
  "propertyTypeTokenRange": {
3904
4607
  "startIndex": 1,
3905
- "endIndex": 3
4608
+ "endIndex": 2
3906
4609
  }
3907
4610
  }
3908
4611
  ],
3909
- "extendsTokenRanges": []
4612
+ "extendsTokenRanges": [
4613
+ {
4614
+ "startIndex": 1,
4615
+ "endIndex": 2
4616
+ }
4617
+ ]
3910
4618
  },
3911
4619
  {
3912
4620
  "kind": "Function",
3913
- "canonicalReference": "@alloy-js/csharp!EnumDeclaration:function(1)",
3914
- "docComment": "/**\n * A C# enum declaration\n *\n * @example\n * ```tsx\n * <EnumDeclaration public name=\"Color\">\n * <EnumMember name=\"Red\" />\n * <EnumMember name=\"Green\" />\n * <EnumMember name=\"Blue\" />\n * </EnumDeclaration>\n * ```\n *\n * This will produce:\n * ```csharp\n * public enum Color\n * {\n * Red,\n * Green,\n * Blue\n * }\n * ```\n *\n */\n",
4621
+ "canonicalReference": "@alloy-js/csharp!EnumMember:function(1)",
4622
+ "docComment": "",
3915
4623
  "excerptTokens": [
3916
4624
  {
3917
4625
  "kind": "Content",
3918
- "text": "export declare function EnumDeclaration(props: "
4626
+ "text": "export declare function EnumMember(props: "
3919
4627
  },
3920
4628
  {
3921
4629
  "kind": "Reference",
3922
- "text": "EnumDeclarationProps",
3923
- "canonicalReference": "@alloy-js/csharp!EnumDeclarationProps:interface"
4630
+ "text": "EnumMemberProps",
4631
+ "canonicalReference": "@alloy-js/csharp!EnumMemberProps:interface"
3924
4632
  },
3925
4633
  {
3926
4634
  "kind": "Content",
@@ -3953,63 +4661,26 @@
3953
4661
  "isOptional": false
3954
4662
  }
3955
4663
  ],
3956
- "name": "EnumDeclaration"
4664
+ "name": "EnumMember"
3957
4665
  },
3958
4666
  {
3959
4667
  "kind": "Interface",
3960
- "canonicalReference": "@alloy-js/csharp!EnumDeclarationProps:interface",
4668
+ "canonicalReference": "@alloy-js/csharp!EnumMemberProps:interface",
3961
4669
  "docComment": "",
3962
4670
  "excerptTokens": [
3963
4671
  {
3964
4672
  "kind": "Content",
3965
- "text": "export interface EnumDeclarationProps extends "
3966
- },
3967
- {
3968
- "kind": "Reference",
3969
- "text": "AccessModifiers",
3970
- "canonicalReference": "@alloy-js/csharp!AccessModifiers:interface"
3971
- },
3972
- {
3973
- "kind": "Content",
3974
- "text": " "
4673
+ "text": "export interface EnumMemberProps "
3975
4674
  }
3976
4675
  ],
3977
4676
  "fileUrlPath": "src/components/EnumDeclaration.tsx",
3978
4677
  "releaseTag": "Public",
3979
- "name": "EnumDeclarationProps",
4678
+ "name": "EnumMemberProps",
3980
4679
  "preserveMemberOrder": false,
3981
4680
  "members": [
3982
4681
  {
3983
4682
  "kind": "PropertySignature",
3984
- "canonicalReference": "@alloy-js/csharp!EnumDeclarationProps#children:member",
3985
- "docComment": "",
3986
- "excerptTokens": [
3987
- {
3988
- "kind": "Content",
3989
- "text": "children?: "
3990
- },
3991
- {
3992
- "kind": "Reference",
3993
- "text": "core.Children",
3994
- "canonicalReference": "@alloy-js/core!Children:type"
3995
- },
3996
- {
3997
- "kind": "Content",
3998
- "text": ";"
3999
- }
4000
- ],
4001
- "isReadonly": false,
4002
- "isOptional": true,
4003
- "releaseTag": "Public",
4004
- "name": "children",
4005
- "propertyTypeTokenRange": {
4006
- "startIndex": 1,
4007
- "endIndex": 2
4008
- }
4009
- },
4010
- {
4011
- "kind": "PropertySignature",
4012
- "canonicalReference": "@alloy-js/csharp!EnumDeclarationProps#name:member",
4683
+ "canonicalReference": "@alloy-js/csharp!EnumMemberProps#name:member",
4013
4684
  "docComment": "",
4014
4685
  "excerptTokens": [
4015
4686
  {
@@ -4036,7 +4707,7 @@
4036
4707
  },
4037
4708
  {
4038
4709
  "kind": "PropertySignature",
4039
- "canonicalReference": "@alloy-js/csharp!EnumDeclarationProps#refkey:member",
4710
+ "canonicalReference": "@alloy-js/csharp!EnumMemberProps#refkey:member",
4040
4711
  "docComment": "",
4041
4712
  "excerptTokens": [
4042
4713
  {
@@ -4063,26 +4734,108 @@
4063
4734
  }
4064
4735
  }
4065
4736
  ],
4066
- "extendsTokenRanges": [
4737
+ "extendsTokenRanges": []
4738
+ },
4739
+ {
4740
+ "kind": "Function",
4741
+ "canonicalReference": "@alloy-js/csharp!getAccessModifier:function(1)",
4742
+ "docComment": "",
4743
+ "excerptTokens": [
4067
4744
  {
4068
- "startIndex": 1,
4069
- "endIndex": 2
4745
+ "kind": "Content",
4746
+ "text": "getAccessModifier: (data: "
4747
+ },
4748
+ {
4749
+ "kind": "Reference",
4750
+ "text": "AccessModifiers",
4751
+ "canonicalReference": "@alloy-js/csharp!AccessModifiers:interface"
4752
+ },
4753
+ {
4754
+ "kind": "Content",
4755
+ "text": ") => "
4756
+ },
4757
+ {
4758
+ "kind": "Content",
4759
+ "text": "string"
4070
4760
  }
4071
- ]
4761
+ ],
4762
+ "fileUrlPath": "src/modifiers.ts",
4763
+ "returnTypeTokenRange": {
4764
+ "startIndex": 3,
4765
+ "endIndex": 4
4766
+ },
4767
+ "releaseTag": "Public",
4768
+ "overloadIndex": 1,
4769
+ "parameters": [
4770
+ {
4771
+ "parameterName": "data",
4772
+ "parameterTypeTokenRange": {
4773
+ "startIndex": 1,
4774
+ "endIndex": 2
4775
+ },
4776
+ "isOptional": false
4777
+ }
4778
+ ],
4779
+ "name": "getAccessModifier"
4072
4780
  },
4073
4781
  {
4074
4782
  "kind": "Function",
4075
- "canonicalReference": "@alloy-js/csharp!EnumMember:function(1)",
4783
+ "canonicalReference": "@alloy-js/csharp!getAsyncModifier:function(1)",
4076
4784
  "docComment": "",
4077
4785
  "excerptTokens": [
4078
4786
  {
4079
4787
  "kind": "Content",
4080
- "text": "export declare function EnumMember(props: "
4788
+ "text": "export declare function getAsyncModifier(async?: "
4789
+ },
4790
+ {
4791
+ "kind": "Content",
4792
+ "text": "boolean"
4793
+ },
4794
+ {
4795
+ "kind": "Content",
4796
+ "text": "): "
4797
+ },
4798
+ {
4799
+ "kind": "Content",
4800
+ "text": "string"
4801
+ },
4802
+ {
4803
+ "kind": "Content",
4804
+ "text": ";"
4805
+ }
4806
+ ],
4807
+ "fileUrlPath": "src/modifiers.ts",
4808
+ "returnTypeTokenRange": {
4809
+ "startIndex": 3,
4810
+ "endIndex": 4
4811
+ },
4812
+ "releaseTag": "Public",
4813
+ "overloadIndex": 1,
4814
+ "parameters": [
4815
+ {
4816
+ "parameterName": "async",
4817
+ "parameterTypeTokenRange": {
4818
+ "startIndex": 1,
4819
+ "endIndex": 2
4820
+ },
4821
+ "isOptional": true
4822
+ }
4823
+ ],
4824
+ "name": "getAsyncModifier"
4825
+ },
4826
+ {
4827
+ "kind": "Function",
4828
+ "canonicalReference": "@alloy-js/csharp!InterfaceDeclaration:function(1)",
4829
+ "docComment": "/**\n * CSharp interface declaration.\n *\n * @example\n * ```tsx\n * <InterfaceDeclaration public name=\"IMyInterface\">\n * <InterfaceMember public name=\"MyProperty\" type=\"int\" />\n * <InterfaceMethod public name=\"MyMethod\" returnType=\"void\">\n * <Parameter name=\"value\" type=\"int\" />\n * </InterfaceMethod>\n * </InterfaceDeclaration>\n * ```\n *\n * This will produce:\n * ```csharp\n * public interface MyIface\n * {\n * public int MyProperty { get; set; }\n * public void MyMethod(int value);\n * }\n * ```\n *\n */\n",
4830
+ "excerptTokens": [
4831
+ {
4832
+ "kind": "Content",
4833
+ "text": "export declare function InterfaceDeclaration(props: "
4081
4834
  },
4082
4835
  {
4083
4836
  "kind": "Reference",
4084
- "text": "EnumMemberProps",
4085
- "canonicalReference": "@alloy-js/csharp!EnumMemberProps:interface"
4837
+ "text": "InterfaceDeclarationProps",
4838
+ "canonicalReference": "@alloy-js/csharp!InterfaceDeclarationProps:interface"
4086
4839
  },
4087
4840
  {
4088
4841
  "kind": "Content",
@@ -4098,7 +4851,7 @@
4098
4851
  "text": ";"
4099
4852
  }
4100
4853
  ],
4101
- "fileUrlPath": "src/components/EnumDeclaration.tsx",
4854
+ "fileUrlPath": "src/components/interface/declaration.tsx",
4102
4855
  "returnTypeTokenRange": {
4103
4856
  "startIndex": 3,
4104
4857
  "endIndex": 4
@@ -4111,30 +4864,98 @@
4111
4864
  "parameterTypeTokenRange": {
4112
4865
  "startIndex": 1,
4113
4866
  "endIndex": 2
4114
- },
4115
- "isOptional": false
4116
- }
4117
- ],
4118
- "name": "EnumMember"
4119
- },
4120
- {
4121
- "kind": "Interface",
4122
- "canonicalReference": "@alloy-js/csharp!EnumMemberProps:interface",
4123
- "docComment": "",
4124
- "excerptTokens": [
4125
- {
4126
- "kind": "Content",
4127
- "text": "export interface EnumMemberProps "
4128
- }
4129
- ],
4130
- "fileUrlPath": "src/components/EnumDeclaration.tsx",
4131
- "releaseTag": "Public",
4132
- "name": "EnumMemberProps",
4133
- "preserveMemberOrder": false,
4134
- "members": [
4867
+ },
4868
+ "isOptional": false
4869
+ }
4870
+ ],
4871
+ "name": "InterfaceDeclaration"
4872
+ },
4873
+ {
4874
+ "kind": "Interface",
4875
+ "canonicalReference": "@alloy-js/csharp!InterfaceDeclarationProps:interface",
4876
+ "docComment": "",
4877
+ "excerptTokens": [
4878
+ {
4879
+ "kind": "Content",
4880
+ "text": "export interface InterfaceDeclarationProps extends "
4881
+ },
4882
+ {
4883
+ "kind": "Reference",
4884
+ "text": "Omit",
4885
+ "canonicalReference": "!Omit:type"
4886
+ },
4887
+ {
4888
+ "kind": "Content",
4889
+ "text": "<"
4890
+ },
4891
+ {
4892
+ "kind": "Reference",
4893
+ "text": "core.DeclarationProps",
4894
+ "canonicalReference": "@alloy-js/core!DeclarationProps:type"
4895
+ },
4896
+ {
4897
+ "kind": "Content",
4898
+ "text": ", \"nameKind\">"
4899
+ },
4900
+ {
4901
+ "kind": "Content",
4902
+ "text": ", "
4903
+ },
4904
+ {
4905
+ "kind": "Reference",
4906
+ "text": "AccessModifiers",
4907
+ "canonicalReference": "@alloy-js/csharp!AccessModifiers:interface"
4908
+ },
4909
+ {
4910
+ "kind": "Content",
4911
+ "text": ", "
4912
+ },
4913
+ {
4914
+ "kind": "Reference",
4915
+ "text": "InterfaceModifiers",
4916
+ "canonicalReference": "@alloy-js/csharp!InterfaceModifiers:interface"
4917
+ },
4918
+ {
4919
+ "kind": "Content",
4920
+ "text": " "
4921
+ }
4922
+ ],
4923
+ "fileUrlPath": "src/components/interface/declaration.tsx",
4924
+ "releaseTag": "Public",
4925
+ "name": "InterfaceDeclarationProps",
4926
+ "preserveMemberOrder": false,
4927
+ "members": [
4928
+ {
4929
+ "kind": "PropertySignature",
4930
+ "canonicalReference": "@alloy-js/csharp!InterfaceDeclarationProps#doc:member",
4931
+ "docComment": "/**\n * Doc comment\n */\n",
4932
+ "excerptTokens": [
4933
+ {
4934
+ "kind": "Content",
4935
+ "text": "doc?: "
4936
+ },
4937
+ {
4938
+ "kind": "Reference",
4939
+ "text": "core.Children",
4940
+ "canonicalReference": "@alloy-js/core!Children:type"
4941
+ },
4942
+ {
4943
+ "kind": "Content",
4944
+ "text": ";"
4945
+ }
4946
+ ],
4947
+ "isReadonly": false,
4948
+ "isOptional": true,
4949
+ "releaseTag": "Public",
4950
+ "name": "doc",
4951
+ "propertyTypeTokenRange": {
4952
+ "startIndex": 1,
4953
+ "endIndex": 2
4954
+ }
4955
+ },
4135
4956
  {
4136
4957
  "kind": "PropertySignature",
4137
- "canonicalReference": "@alloy-js/csharp!EnumMemberProps#name:member",
4958
+ "canonicalReference": "@alloy-js/csharp!InterfaceDeclarationProps#name:member",
4138
4959
  "docComment": "",
4139
4960
  "excerptTokens": [
4140
4961
  {
@@ -4161,7 +4982,7 @@
4161
4982
  },
4162
4983
  {
4163
4984
  "kind": "PropertySignature",
4164
- "canonicalReference": "@alloy-js/csharp!EnumMemberProps#refkey:member",
4985
+ "canonicalReference": "@alloy-js/csharp!InterfaceDeclarationProps#refkey:member",
4165
4986
  "docComment": "",
4166
4987
  "excerptTokens": [
4167
4988
  {
@@ -4186,79 +5007,93 @@
4186
5007
  "startIndex": 1,
4187
5008
  "endIndex": 2
4188
5009
  }
5010
+ },
5011
+ {
5012
+ "kind": "PropertySignature",
5013
+ "canonicalReference": "@alloy-js/csharp!InterfaceDeclarationProps#typeParameters:member",
5014
+ "docComment": "",
5015
+ "excerptTokens": [
5016
+ {
5017
+ "kind": "Content",
5018
+ "text": "typeParameters?: "
5019
+ },
5020
+ {
5021
+ "kind": "Reference",
5022
+ "text": "Record",
5023
+ "canonicalReference": "!Record:type"
5024
+ },
5025
+ {
5026
+ "kind": "Content",
5027
+ "text": "<string, "
5028
+ },
5029
+ {
5030
+ "kind": "Reference",
5031
+ "text": "core.Refkey",
5032
+ "canonicalReference": "@alloy-js/core!Refkey:type"
5033
+ },
5034
+ {
5035
+ "kind": "Content",
5036
+ "text": ">"
5037
+ },
5038
+ {
5039
+ "kind": "Content",
5040
+ "text": ";"
5041
+ }
5042
+ ],
5043
+ "isReadonly": false,
5044
+ "isOptional": true,
5045
+ "releaseTag": "Public",
5046
+ "name": "typeParameters",
5047
+ "propertyTypeTokenRange": {
5048
+ "startIndex": 1,
5049
+ "endIndex": 5
5050
+ }
4189
5051
  }
4190
5052
  ],
4191
- "extendsTokenRanges": []
4192
- },
4193
- {
4194
- "kind": "Function",
4195
- "canonicalReference": "@alloy-js/csharp!getAccessModifier:function(1)",
4196
- "docComment": "",
4197
- "excerptTokens": [
4198
- {
4199
- "kind": "Content",
4200
- "text": "getAccessModifier: (data: "
4201
- },
5053
+ "extendsTokenRanges": [
4202
5054
  {
4203
- "kind": "Reference",
4204
- "text": "AccessModifiers",
4205
- "canonicalReference": "@alloy-js/csharp!AccessModifiers:interface"
5055
+ "startIndex": 1,
5056
+ "endIndex": 5
4206
5057
  },
4207
5058
  {
4208
- "kind": "Content",
4209
- "text": ") => "
5059
+ "startIndex": 6,
5060
+ "endIndex": 7
4210
5061
  },
4211
5062
  {
4212
- "kind": "Content",
4213
- "text": "string"
4214
- }
4215
- ],
4216
- "fileUrlPath": "src/modifiers.ts",
4217
- "returnTypeTokenRange": {
4218
- "startIndex": 3,
4219
- "endIndex": 4
4220
- },
4221
- "releaseTag": "Public",
4222
- "overloadIndex": 1,
4223
- "parameters": [
4224
- {
4225
- "parameterName": "data",
4226
- "parameterTypeTokenRange": {
4227
- "startIndex": 1,
4228
- "endIndex": 2
4229
- },
4230
- "isOptional": false
5063
+ "startIndex": 8,
5064
+ "endIndex": 9
4231
5065
  }
4232
- ],
4233
- "name": "getAccessModifier"
5066
+ ]
4234
5067
  },
4235
5068
  {
4236
5069
  "kind": "Function",
4237
- "canonicalReference": "@alloy-js/csharp!getAsyncModifier:function(1)",
5070
+ "canonicalReference": "@alloy-js/csharp!InterfaceMethod:function(1)",
4238
5071
  "docComment": "",
4239
5072
  "excerptTokens": [
4240
5073
  {
4241
5074
  "kind": "Content",
4242
- "text": "export declare function getAsyncModifier(async?: "
5075
+ "text": "export declare function InterfaceMethod(props: "
4243
5076
  },
4244
5077
  {
4245
- "kind": "Content",
4246
- "text": "boolean"
5078
+ "kind": "Reference",
5079
+ "text": "InterfaceMethodProps",
5080
+ "canonicalReference": "@alloy-js/csharp!InterfaceMethodProps:interface"
4247
5081
  },
4248
5082
  {
4249
5083
  "kind": "Content",
4250
5084
  "text": "): "
4251
5085
  },
4252
5086
  {
4253
- "kind": "Content",
4254
- "text": "string"
5087
+ "kind": "Reference",
5088
+ "text": "Children",
5089
+ "canonicalReference": "@alloy-js/core!Children:type"
4255
5090
  },
4256
5091
  {
4257
5092
  "kind": "Content",
4258
5093
  "text": ";"
4259
5094
  }
4260
5095
  ],
4261
- "fileUrlPath": "src/modifiers.ts",
5096
+ "fileUrlPath": "src/components/interface/method.tsx",
4262
5097
  "returnTypeTokenRange": {
4263
5098
  "startIndex": 3,
4264
5099
  "endIndex": 4
@@ -4267,93 +5102,69 @@
4267
5102
  "overloadIndex": 1,
4268
5103
  "parameters": [
4269
5104
  {
4270
- "parameterName": "async",
5105
+ "parameterName": "props",
4271
5106
  "parameterTypeTokenRange": {
4272
5107
  "startIndex": 1,
4273
5108
  "endIndex": 2
4274
5109
  },
4275
- "isOptional": true
5110
+ "isOptional": false
4276
5111
  }
4277
5112
  ],
4278
- "name": "getAsyncModifier"
5113
+ "name": "InterfaceMethod"
4279
5114
  },
4280
5115
  {
4281
- "kind": "Function",
4282
- "canonicalReference": "@alloy-js/csharp!InterfaceDeclaration:function(1)",
4283
- "docComment": "/**\n * CSharp interface declaration.\n *\n * @example\n * ```tsx\n * <InterfaceDeclaration public name=\"IMyInterface\">\n * <InterfaceMember public name=\"MyProperty\" type=\"int\" />\n * <InterfaceMethod public name=\"MyMethod\" returnType=\"void\">\n * <Parameter name=\"value\" type=\"int\" />\n * </InterfaceMethod>\n * </InterfaceDeclaration>\n * ```\n *\n * This will produce:\n * ```csharp\n * public interface MyIface\n * {\n * public int MyProperty { get; set; }\n * public void MyMethod(int value);\n * }\n * ```\n *\n */\n",
5116
+ "kind": "Interface",
5117
+ "canonicalReference": "@alloy-js/csharp!InterfaceMethodModifiers:interface",
5118
+ "docComment": "/**\n * Method modifiers. Can only be one.\n */\n",
4284
5119
  "excerptTokens": [
4285
5120
  {
4286
5121
  "kind": "Content",
4287
- "text": "export declare function InterfaceDeclaration(props: "
4288
- },
4289
- {
4290
- "kind": "Reference",
4291
- "text": "InterfaceDeclarationProps",
4292
- "canonicalReference": "@alloy-js/csharp!InterfaceDeclarationProps:interface"
4293
- },
4294
- {
4295
- "kind": "Content",
4296
- "text": "): "
4297
- },
4298
- {
4299
- "kind": "Reference",
4300
- "text": "core.Children",
4301
- "canonicalReference": "@alloy-js/core!Children:type"
4302
- },
4303
- {
4304
- "kind": "Content",
4305
- "text": ";"
5122
+ "text": "export interface InterfaceMethodModifiers "
4306
5123
  }
4307
5124
  ],
4308
- "fileUrlPath": "src/components/interface/declaration.tsx",
4309
- "returnTypeTokenRange": {
4310
- "startIndex": 3,
4311
- "endIndex": 4
4312
- },
5125
+ "fileUrlPath": "src/components/interface/method.tsx",
4313
5126
  "releaseTag": "Public",
4314
- "overloadIndex": 1,
4315
- "parameters": [
5127
+ "name": "InterfaceMethodModifiers",
5128
+ "preserveMemberOrder": false,
5129
+ "members": [
4316
5130
  {
4317
- "parameterName": "props",
4318
- "parameterTypeTokenRange": {
5131
+ "kind": "PropertySignature",
5132
+ "canonicalReference": "@alloy-js/csharp!InterfaceMethodModifiers#new:member",
5133
+ "docComment": "",
5134
+ "excerptTokens": [
5135
+ {
5136
+ "kind": "Content",
5137
+ "text": "readonly new?: "
5138
+ },
5139
+ {
5140
+ "kind": "Content",
5141
+ "text": "boolean"
5142
+ },
5143
+ {
5144
+ "kind": "Content",
5145
+ "text": ";"
5146
+ }
5147
+ ],
5148
+ "isReadonly": true,
5149
+ "isOptional": true,
5150
+ "releaseTag": "Public",
5151
+ "name": "new",
5152
+ "propertyTypeTokenRange": {
4319
5153
  "startIndex": 1,
4320
5154
  "endIndex": 2
4321
- },
4322
- "isOptional": false
5155
+ }
4323
5156
  }
4324
5157
  ],
4325
- "name": "InterfaceDeclaration"
5158
+ "extendsTokenRanges": []
4326
5159
  },
4327
5160
  {
4328
5161
  "kind": "Interface",
4329
- "canonicalReference": "@alloy-js/csharp!InterfaceDeclarationProps:interface",
5162
+ "canonicalReference": "@alloy-js/csharp!InterfaceMethodProps:interface",
4330
5163
  "docComment": "",
4331
5164
  "excerptTokens": [
4332
5165
  {
4333
5166
  "kind": "Content",
4334
- "text": "export interface InterfaceDeclarationProps extends "
4335
- },
4336
- {
4337
- "kind": "Reference",
4338
- "text": "Omit",
4339
- "canonicalReference": "!Omit:type"
4340
- },
4341
- {
4342
- "kind": "Content",
4343
- "text": "<"
4344
- },
4345
- {
4346
- "kind": "Reference",
4347
- "text": "core.DeclarationProps",
4348
- "canonicalReference": "@alloy-js/core!DeclarationProps:type"
4349
- },
4350
- {
4351
- "kind": "Content",
4352
- "text": ", \"nameKind\">"
4353
- },
4354
- {
4355
- "kind": "Content",
4356
- "text": ", "
5167
+ "text": "export interface InterfaceMethodProps extends "
4357
5168
  },
4358
5169
  {
4359
5170
  "kind": "Reference",
@@ -4366,22 +5177,50 @@
4366
5177
  },
4367
5178
  {
4368
5179
  "kind": "Reference",
4369
- "text": "InterfaceModifiers",
4370
- "canonicalReference": "@alloy-js/csharp!InterfaceModifiers:interface"
5180
+ "text": "InterfaceMethodModifiers",
5181
+ "canonicalReference": "@alloy-js/csharp!InterfaceMethodModifiers:interface"
4371
5182
  },
4372
5183
  {
4373
5184
  "kind": "Content",
4374
5185
  "text": " "
4375
5186
  }
4376
5187
  ],
4377
- "fileUrlPath": "src/components/interface/declaration.tsx",
5188
+ "fileUrlPath": "src/components/interface/method.tsx",
4378
5189
  "releaseTag": "Public",
4379
- "name": "InterfaceDeclarationProps",
5190
+ "name": "InterfaceMethodProps",
4380
5191
  "preserveMemberOrder": false,
4381
5192
  "members": [
4382
5193
  {
4383
5194
  "kind": "PropertySignature",
4384
- "canonicalReference": "@alloy-js/csharp!InterfaceDeclarationProps#doc:member",
5195
+ "canonicalReference": "@alloy-js/csharp!InterfaceMethodProps#children:member",
5196
+ "docComment": "",
5197
+ "excerptTokens": [
5198
+ {
5199
+ "kind": "Content",
5200
+ "text": "children?: "
5201
+ },
5202
+ {
5203
+ "kind": "Reference",
5204
+ "text": "Children",
5205
+ "canonicalReference": "@alloy-js/core!Children:type"
5206
+ },
5207
+ {
5208
+ "kind": "Content",
5209
+ "text": ";"
5210
+ }
5211
+ ],
5212
+ "isReadonly": false,
5213
+ "isOptional": true,
5214
+ "releaseTag": "Public",
5215
+ "name": "children",
5216
+ "propertyTypeTokenRange": {
5217
+ "startIndex": 1,
5218
+ "endIndex": 2
5219
+ }
5220
+ },
5221
+ {
5222
+ "kind": "PropertySignature",
5223
+ "canonicalReference": "@alloy-js/csharp!InterfaceMethodProps#doc:member",
4385
5224
  "docComment": "/**\n * Doc comment\n */\n",
4386
5225
  "excerptTokens": [
4387
5226
  {
@@ -4390,7 +5229,7 @@
4390
5229
  },
4391
5230
  {
4392
5231
  "kind": "Reference",
4393
- "text": "core.Children",
5232
+ "text": "Children",
4394
5233
  "canonicalReference": "@alloy-js/core!Children:type"
4395
5234
  },
4396
5235
  {
@@ -4409,7 +5248,7 @@
4409
5248
  },
4410
5249
  {
4411
5250
  "kind": "PropertySignature",
4412
- "canonicalReference": "@alloy-js/csharp!InterfaceDeclarationProps#name:member",
5251
+ "canonicalReference": "@alloy-js/csharp!InterfaceMethodProps#name:member",
4413
5252
  "docComment": "",
4414
5253
  "excerptTokens": [
4415
5254
  {
@@ -4436,17 +5275,30 @@
4436
5275
  },
4437
5276
  {
4438
5277
  "kind": "PropertySignature",
4439
- "canonicalReference": "@alloy-js/csharp!InterfaceDeclarationProps#refkey:member",
5278
+ "canonicalReference": "@alloy-js/csharp!InterfaceMethodProps#parameters:member",
4440
5279
  "docComment": "",
4441
5280
  "excerptTokens": [
4442
5281
  {
4443
5282
  "kind": "Content",
4444
- "text": "refkey?: "
5283
+ "text": "parameters?: "
4445
5284
  },
4446
5285
  {
4447
5286
  "kind": "Reference",
4448
- "text": "core.Refkey",
4449
- "canonicalReference": "@alloy-js/core!Refkey:type"
5287
+ "text": "Array",
5288
+ "canonicalReference": "!Array:interface"
5289
+ },
5290
+ {
5291
+ "kind": "Content",
5292
+ "text": "<"
5293
+ },
5294
+ {
5295
+ "kind": "Reference",
5296
+ "text": "ParameterProps",
5297
+ "canonicalReference": "@alloy-js/csharp!ParameterProps:interface"
5298
+ },
5299
+ {
5300
+ "kind": "Content",
5301
+ "text": ">"
4450
5302
  },
4451
5303
  {
4452
5304
  "kind": "Content",
@@ -4456,38 +5308,53 @@
4456
5308
  "isReadonly": false,
4457
5309
  "isOptional": true,
4458
5310
  "releaseTag": "Public",
4459
- "name": "refkey",
5311
+ "name": "parameters",
4460
5312
  "propertyTypeTokenRange": {
4461
5313
  "startIndex": 1,
4462
- "endIndex": 2
5314
+ "endIndex": 5
4463
5315
  }
4464
5316
  },
4465
5317
  {
4466
5318
  "kind": "PropertySignature",
4467
- "canonicalReference": "@alloy-js/csharp!InterfaceDeclarationProps#typeParameters:member",
5319
+ "canonicalReference": "@alloy-js/csharp!InterfaceMethodProps#refkey:member",
4468
5320
  "docComment": "",
4469
5321
  "excerptTokens": [
4470
5322
  {
4471
5323
  "kind": "Content",
4472
- "text": "typeParameters?: "
5324
+ "text": "refkey?: "
4473
5325
  },
4474
5326
  {
4475
5327
  "kind": "Reference",
4476
- "text": "Record",
4477
- "canonicalReference": "!Record:type"
5328
+ "text": "Refkey",
5329
+ "canonicalReference": "@alloy-js/core!Refkey:type"
4478
5330
  },
4479
5331
  {
4480
5332
  "kind": "Content",
4481
- "text": "<string, "
4482
- },
5333
+ "text": ";"
5334
+ }
5335
+ ],
5336
+ "isReadonly": false,
5337
+ "isOptional": true,
5338
+ "releaseTag": "Public",
5339
+ "name": "refkey",
5340
+ "propertyTypeTokenRange": {
5341
+ "startIndex": 1,
5342
+ "endIndex": 2
5343
+ }
5344
+ },
5345
+ {
5346
+ "kind": "PropertySignature",
5347
+ "canonicalReference": "@alloy-js/csharp!InterfaceMethodProps#returns:member",
5348
+ "docComment": "",
5349
+ "excerptTokens": [
4483
5350
  {
4484
- "kind": "Reference",
4485
- "text": "core.Refkey",
4486
- "canonicalReference": "@alloy-js/core!Refkey:type"
5351
+ "kind": "Content",
5352
+ "text": "returns?: "
4487
5353
  },
4488
5354
  {
4489
- "kind": "Content",
4490
- "text": ">"
5355
+ "kind": "Reference",
5356
+ "text": "Children",
5357
+ "canonicalReference": "@alloy-js/core!Children:type"
4491
5358
  },
4492
5359
  {
4493
5360
  "kind": "Content",
@@ -4497,41 +5364,82 @@
4497
5364
  "isReadonly": false,
4498
5365
  "isOptional": true,
4499
5366
  "releaseTag": "Public",
4500
- "name": "typeParameters",
5367
+ "name": "returns",
4501
5368
  "propertyTypeTokenRange": {
4502
5369
  "startIndex": 1,
4503
- "endIndex": 5
5370
+ "endIndex": 2
4504
5371
  }
4505
5372
  }
4506
5373
  ],
4507
5374
  "extendsTokenRanges": [
4508
5375
  {
4509
5376
  "startIndex": 1,
4510
- "endIndex": 5
4511
- },
4512
- {
4513
- "startIndex": 6,
4514
- "endIndex": 7
5377
+ "endIndex": 2
4515
5378
  },
4516
5379
  {
4517
- "startIndex": 8,
4518
- "endIndex": 9
5380
+ "startIndex": 3,
5381
+ "endIndex": 4
4519
5382
  }
4520
5383
  ]
4521
5384
  },
4522
5385
  {
4523
- "kind": "Function",
4524
- "canonicalReference": "@alloy-js/csharp!InterfaceMethod:function(1)",
5386
+ "kind": "Interface",
5387
+ "canonicalReference": "@alloy-js/csharp!InterfaceModifiers:interface",
4525
5388
  "docComment": "",
4526
5389
  "excerptTokens": [
4527
5390
  {
4528
5391
  "kind": "Content",
4529
- "text": "export declare function InterfaceMethod(props: "
5392
+ "text": "export interface InterfaceModifiers "
5393
+ }
5394
+ ],
5395
+ "fileUrlPath": "src/components/interface/declaration.tsx",
5396
+ "releaseTag": "Public",
5397
+ "name": "InterfaceModifiers",
5398
+ "preserveMemberOrder": false,
5399
+ "members": [
5400
+ {
5401
+ "kind": "PropertySignature",
5402
+ "canonicalReference": "@alloy-js/csharp!InterfaceModifiers#partial:member",
5403
+ "docComment": "",
5404
+ "excerptTokens": [
5405
+ {
5406
+ "kind": "Content",
5407
+ "text": "readonly partial?: "
5408
+ },
5409
+ {
5410
+ "kind": "Content",
5411
+ "text": "boolean"
5412
+ },
5413
+ {
5414
+ "kind": "Content",
5415
+ "text": ";"
5416
+ }
5417
+ ],
5418
+ "isReadonly": true,
5419
+ "isOptional": true,
5420
+ "releaseTag": "Public",
5421
+ "name": "partial",
5422
+ "propertyTypeTokenRange": {
5423
+ "startIndex": 1,
5424
+ "endIndex": 2
5425
+ }
5426
+ }
5427
+ ],
5428
+ "extendsTokenRanges": []
5429
+ },
5430
+ {
5431
+ "kind": "Function",
5432
+ "canonicalReference": "@alloy-js/csharp!InterfaceProperty:function(1)",
5433
+ "docComment": "/**\n * Render a C# interface property.\n *\n * @example\n *\n * `<InterfaceProperty public name=\"My\" get set />`\n *\n * ```cs\n * public int My { get; set; };\n * ```\n *\n */\n",
5434
+ "excerptTokens": [
5435
+ {
5436
+ "kind": "Content",
5437
+ "text": "export declare function InterfaceProperty(props: "
4530
5438
  },
4531
5439
  {
4532
5440
  "kind": "Reference",
4533
- "text": "InterfaceMethodProps",
4534
- "canonicalReference": "@alloy-js/csharp!InterfaceMethodProps:interface"
5441
+ "text": "InterfacePropertyProps",
5442
+ "canonicalReference": "@alloy-js/csharp!InterfacePropertyProps:interface"
4535
5443
  },
4536
5444
  {
4537
5445
  "kind": "Content",
@@ -4547,7 +5455,7 @@
4547
5455
  "text": ";"
4548
5456
  }
4549
5457
  ],
4550
- "fileUrlPath": "src/components/interface/method.tsx",
5458
+ "fileUrlPath": "src/components/interface/property.tsx",
4551
5459
  "returnTypeTokenRange": {
4552
5460
  "startIndex": 3,
4553
5461
  "endIndex": 4
@@ -4564,26 +5472,26 @@
4564
5472
  "isOptional": false
4565
5473
  }
4566
5474
  ],
4567
- "name": "InterfaceMethod"
5475
+ "name": "InterfaceProperty"
4568
5476
  },
4569
5477
  {
4570
5478
  "kind": "Interface",
4571
- "canonicalReference": "@alloy-js/csharp!InterfaceMethodModifiers:interface",
5479
+ "canonicalReference": "@alloy-js/csharp!InterfacePropertyModifiers:interface",
4572
5480
  "docComment": "/**\n * Method modifiers. Can only be one.\n */\n",
4573
5481
  "excerptTokens": [
4574
5482
  {
4575
5483
  "kind": "Content",
4576
- "text": "export interface InterfaceMethodModifiers "
5484
+ "text": "export interface InterfacePropertyModifiers "
4577
5485
  }
4578
5486
  ],
4579
- "fileUrlPath": "src/components/interface/method.tsx",
5487
+ "fileUrlPath": "src/components/interface/property.tsx",
4580
5488
  "releaseTag": "Public",
4581
- "name": "InterfaceMethodModifiers",
5489
+ "name": "InterfacePropertyModifiers",
4582
5490
  "preserveMemberOrder": false,
4583
5491
  "members": [
4584
5492
  {
4585
5493
  "kind": "PropertySignature",
4586
- "canonicalReference": "@alloy-js/csharp!InterfaceMethodModifiers#new:member",
5494
+ "canonicalReference": "@alloy-js/csharp!InterfacePropertyModifiers#new:member",
4587
5495
  "docComment": "",
4588
5496
  "excerptTokens": [
4589
5497
  {
@@ -4613,12 +5521,12 @@
4613
5521
  },
4614
5522
  {
4615
5523
  "kind": "Interface",
4616
- "canonicalReference": "@alloy-js/csharp!InterfaceMethodProps:interface",
5524
+ "canonicalReference": "@alloy-js/csharp!InterfacePropertyProps:interface",
4617
5525
  "docComment": "",
4618
5526
  "excerptTokens": [
4619
5527
  {
4620
5528
  "kind": "Content",
4621
- "text": "export interface InterfaceMethodProps extends "
5529
+ "text": "export interface InterfacePropertyProps extends "
4622
5530
  },
4623
5531
  {
4624
5532
  "kind": "Reference",
@@ -4631,27 +5539,27 @@
4631
5539
  },
4632
5540
  {
4633
5541
  "kind": "Reference",
4634
- "text": "InterfaceMethodModifiers",
4635
- "canonicalReference": "@alloy-js/csharp!InterfaceMethodModifiers:interface"
5542
+ "text": "InterfacePropertyModifiers",
5543
+ "canonicalReference": "@alloy-js/csharp!InterfacePropertyModifiers:interface"
4636
5544
  },
4637
5545
  {
4638
5546
  "kind": "Content",
4639
5547
  "text": " "
4640
5548
  }
4641
5549
  ],
4642
- "fileUrlPath": "src/components/interface/method.tsx",
5550
+ "fileUrlPath": "src/components/interface/property.tsx",
4643
5551
  "releaseTag": "Public",
4644
- "name": "InterfaceMethodProps",
5552
+ "name": "InterfacePropertyProps",
4645
5553
  "preserveMemberOrder": false,
4646
5554
  "members": [
4647
5555
  {
4648
5556
  "kind": "PropertySignature",
4649
- "canonicalReference": "@alloy-js/csharp!InterfaceMethodProps#children:member",
4650
- "docComment": "",
5557
+ "canonicalReference": "@alloy-js/csharp!InterfacePropertyProps#doc:member",
5558
+ "docComment": "/**\n * Doc comment\n */\n",
4651
5559
  "excerptTokens": [
4652
5560
  {
4653
5561
  "kind": "Content",
4654
- "text": "children?: "
5562
+ "text": "doc?: "
4655
5563
  },
4656
5564
  {
4657
5565
  "kind": "Reference",
@@ -4666,7 +5574,7 @@
4666
5574
  "isReadonly": false,
4667
5575
  "isOptional": true,
4668
5576
  "releaseTag": "Public",
4669
- "name": "children",
5577
+ "name": "doc",
4670
5578
  "propertyTypeTokenRange": {
4671
5579
  "startIndex": 1,
4672
5580
  "endIndex": 2
@@ -4674,17 +5582,16 @@
4674
5582
  },
4675
5583
  {
4676
5584
  "kind": "PropertySignature",
4677
- "canonicalReference": "@alloy-js/csharp!InterfaceMethodProps#doc:member",
4678
- "docComment": "/**\n * Doc comment\n */\n",
5585
+ "canonicalReference": "@alloy-js/csharp!InterfacePropertyProps#get:member",
5586
+ "docComment": "/**\n * If property should have a getter\n */\n",
4679
5587
  "excerptTokens": [
4680
5588
  {
4681
5589
  "kind": "Content",
4682
- "text": "doc?: "
5590
+ "text": "get?: "
4683
5591
  },
4684
5592
  {
4685
- "kind": "Reference",
4686
- "text": "Children",
4687
- "canonicalReference": "@alloy-js/core!Children:type"
5593
+ "kind": "Content",
5594
+ "text": "boolean"
4688
5595
  },
4689
5596
  {
4690
5597
  "kind": "Content",
@@ -4694,7 +5601,7 @@
4694
5601
  "isReadonly": false,
4695
5602
  "isOptional": true,
4696
5603
  "releaseTag": "Public",
4697
- "name": "doc",
5604
+ "name": "get",
4698
5605
  "propertyTypeTokenRange": {
4699
5606
  "startIndex": 1,
4700
5607
  "endIndex": 2
@@ -4702,7 +5609,7 @@
4702
5609
  },
4703
5610
  {
4704
5611
  "kind": "PropertySignature",
4705
- "canonicalReference": "@alloy-js/csharp!InterfaceMethodProps#name:member",
5612
+ "canonicalReference": "@alloy-js/csharp!InterfacePropertyProps#name:member",
4706
5613
  "docComment": "",
4707
5614
  "excerptTokens": [
4708
5615
  {
@@ -4729,30 +5636,16 @@
4729
5636
  },
4730
5637
  {
4731
5638
  "kind": "PropertySignature",
4732
- "canonicalReference": "@alloy-js/csharp!InterfaceMethodProps#parameters:member",
4733
- "docComment": "",
5639
+ "canonicalReference": "@alloy-js/csharp!InterfacePropertyProps#nullable:member",
5640
+ "docComment": "/**\n * Property initializer\n *\n * @example\n *\n * `<ClassProperty name=\"My\" get set nullable />`\n *\n * ```cs\n * int? My { get; set; };\n * ```\n *\n */\n",
4734
5641
  "excerptTokens": [
4735
5642
  {
4736
5643
  "kind": "Content",
4737
- "text": "parameters?: "
4738
- },
4739
- {
4740
- "kind": "Reference",
4741
- "text": "Array",
4742
- "canonicalReference": "!Array:interface"
4743
- },
4744
- {
4745
- "kind": "Content",
4746
- "text": "<"
4747
- },
4748
- {
4749
- "kind": "Reference",
4750
- "text": "ParameterProps",
4751
- "canonicalReference": "@alloy-js/csharp!ParameterProps:interface"
5644
+ "text": "nullable?: "
4752
5645
  },
4753
5646
  {
4754
5647
  "kind": "Content",
4755
- "text": ">"
5648
+ "text": "boolean"
4756
5649
  },
4757
5650
  {
4758
5651
  "kind": "Content",
@@ -4762,15 +5655,15 @@
4762
5655
  "isReadonly": false,
4763
5656
  "isOptional": true,
4764
5657
  "releaseTag": "Public",
4765
- "name": "parameters",
5658
+ "name": "nullable",
4766
5659
  "propertyTypeTokenRange": {
4767
5660
  "startIndex": 1,
4768
- "endIndex": 5
5661
+ "endIndex": 2
4769
5662
  }
4770
5663
  },
4771
5664
  {
4772
5665
  "kind": "PropertySignature",
4773
- "canonicalReference": "@alloy-js/csharp!InterfaceMethodProps#refkey:member",
5666
+ "canonicalReference": "@alloy-js/csharp!InterfacePropertyProps#refkey:member",
4774
5667
  "docComment": "",
4775
5668
  "excerptTokens": [
4776
5669
  {
@@ -4798,17 +5691,16 @@
4798
5691
  },
4799
5692
  {
4800
5693
  "kind": "PropertySignature",
4801
- "canonicalReference": "@alloy-js/csharp!InterfaceMethodProps#returns:member",
4802
- "docComment": "",
5694
+ "canonicalReference": "@alloy-js/csharp!InterfacePropertyProps#set:member",
5695
+ "docComment": "/**\n * If property should have a setter\n */\n",
4803
5696
  "excerptTokens": [
4804
5697
  {
4805
5698
  "kind": "Content",
4806
- "text": "returns?: "
5699
+ "text": "set?: "
4807
5700
  },
4808
5701
  {
4809
- "kind": "Reference",
4810
- "text": "Children",
4811
- "canonicalReference": "@alloy-js/core!Children:type"
5702
+ "kind": "Content",
5703
+ "text": "boolean"
4812
5704
  },
4813
5705
  {
4814
5706
  "kind": "Content",
@@ -4818,68 +5710,51 @@
4818
5710
  "isReadonly": false,
4819
5711
  "isOptional": true,
4820
5712
  "releaseTag": "Public",
4821
- "name": "returns",
5713
+ "name": "set",
4822
5714
  "propertyTypeTokenRange": {
4823
5715
  "startIndex": 1,
4824
5716
  "endIndex": 2
4825
5717
  }
4826
- }
4827
- ],
4828
- "extendsTokenRanges": [
4829
- {
4830
- "startIndex": 1,
4831
- "endIndex": 2
4832
5718
  },
4833
- {
4834
- "startIndex": 3,
4835
- "endIndex": 4
4836
- }
4837
- ]
4838
- },
4839
- {
4840
- "kind": "Interface",
4841
- "canonicalReference": "@alloy-js/csharp!InterfaceModifiers:interface",
4842
- "docComment": "",
4843
- "excerptTokens": [
4844
- {
4845
- "kind": "Content",
4846
- "text": "export interface InterfaceModifiers "
4847
- }
4848
- ],
4849
- "fileUrlPath": "src/components/interface/declaration.tsx",
4850
- "releaseTag": "Public",
4851
- "name": "InterfaceModifiers",
4852
- "preserveMemberOrder": false,
4853
- "members": [
4854
5719
  {
4855
5720
  "kind": "PropertySignature",
4856
- "canonicalReference": "@alloy-js/csharp!InterfaceModifiers#partial:member",
4857
- "docComment": "",
5721
+ "canonicalReference": "@alloy-js/csharp!InterfacePropertyProps#type:member",
5722
+ "docComment": "/**\n * Property type\n */\n",
4858
5723
  "excerptTokens": [
4859
5724
  {
4860
5725
  "kind": "Content",
4861
- "text": "readonly partial?: "
5726
+ "text": "type: "
4862
5727
  },
4863
5728
  {
4864
- "kind": "Content",
4865
- "text": "boolean"
5729
+ "kind": "Reference",
5730
+ "text": "Children",
5731
+ "canonicalReference": "@alloy-js/core!Children:type"
4866
5732
  },
4867
5733
  {
4868
5734
  "kind": "Content",
4869
5735
  "text": ";"
4870
5736
  }
4871
5737
  ],
4872
- "isReadonly": true,
4873
- "isOptional": true,
5738
+ "isReadonly": false,
5739
+ "isOptional": false,
4874
5740
  "releaseTag": "Public",
4875
- "name": "partial",
5741
+ "name": "type",
4876
5742
  "propertyTypeTokenRange": {
4877
5743
  "startIndex": 1,
4878
5744
  "endIndex": 2
4879
5745
  }
4880
5746
  }
4881
5747
  ],
4882
- "extendsTokenRanges": []
5748
+ "extendsTokenRanges": [
5749
+ {
5750
+ "startIndex": 1,
5751
+ "endIndex": 2
5752
+ },
5753
+ {
5754
+ "startIndex": 3,
5755
+ "endIndex": 4
5756
+ }
5757
+ ]
4883
5758
  },
4884
5759
  {
4885
5760
  "kind": "Function",