@alloy-js/typescript 0.5.0 → 0.7.0

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.
Files changed (174) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/dist/src/components/ArrayExpression.d.ts +1 -1
  3. package/dist/src/components/ArrayExpression.d.ts.map +1 -1
  4. package/dist/src/components/ArrayExpression.js +18 -28
  5. package/dist/src/components/ArrayExpression.js.map +1 -1
  6. package/dist/src/components/BarrelFile.d.ts.map +1 -1
  7. package/dist/src/components/BarrelFile.js +11 -9
  8. package/dist/src/components/BarrelFile.js.map +1 -1
  9. package/dist/src/components/ClassDeclaration.d.ts.map +1 -1
  10. package/dist/src/components/ClassDeclaration.js +8 -9
  11. package/dist/src/components/ClassDeclaration.js.map +1 -1
  12. package/dist/src/components/CommaList.d.ts +12 -0
  13. package/dist/src/components/CommaList.d.ts.map +1 -0
  14. package/dist/src/components/CommaList.js +19 -0
  15. package/dist/src/components/CommaList.js.map +1 -0
  16. package/dist/src/components/Declaration.d.ts +4 -0
  17. package/dist/src/components/Declaration.d.ts.map +1 -1
  18. package/dist/src/components/Declaration.js +3 -2
  19. package/dist/src/components/Declaration.js.map +1 -1
  20. package/dist/src/components/EnumDeclaration.d.ts.map +1 -1
  21. package/dist/src/components/EnumDeclaration.js +21 -18
  22. package/dist/src/components/EnumDeclaration.js.map +1 -1
  23. package/dist/src/components/EnumMember.d.ts.map +1 -1
  24. package/dist/src/components/EnumMember.js.map +1 -1
  25. package/dist/src/components/ExportStatement.d.ts.map +1 -1
  26. package/dist/src/components/ExportStatement.js +3 -1
  27. package/dist/src/components/ExportStatement.js.map +1 -1
  28. package/dist/src/components/FunctionCallExpression.d.ts +2 -2
  29. package/dist/src/components/FunctionCallExpression.d.ts.map +1 -1
  30. package/dist/src/components/FunctionCallExpression.js +26 -9
  31. package/dist/src/components/FunctionCallExpression.js.map +1 -1
  32. package/dist/src/components/FunctionDeclaration.d.ts +10 -2
  33. package/dist/src/components/FunctionDeclaration.d.ts.map +1 -1
  34. package/dist/src/components/FunctionDeclaration.js +136 -33
  35. package/dist/src/components/FunctionDeclaration.js.map +1 -1
  36. package/dist/src/components/ImportStatement.d.ts.map +1 -1
  37. package/dist/src/components/ImportStatement.js +25 -31
  38. package/dist/src/components/ImportStatement.js.map +1 -1
  39. package/dist/src/components/Interface.d.ts +1 -1
  40. package/dist/src/components/Interface.d.ts.map +1 -1
  41. package/dist/src/components/Interface.js +5 -5
  42. package/dist/src/components/Interface.js.map +1 -1
  43. package/dist/src/components/JSDoc.d.ts +10 -0
  44. package/dist/src/components/JSDoc.d.ts.map +1 -0
  45. package/dist/src/components/JSDoc.js +24 -0
  46. package/dist/src/components/JSDoc.js.map +1 -0
  47. package/dist/src/components/JSDocComment.d.ts +11 -0
  48. package/dist/src/components/JSDocComment.d.ts.map +1 -0
  49. package/dist/src/components/JSDocComment.js +16 -0
  50. package/dist/src/components/JSDocComment.js.map +1 -0
  51. package/dist/src/components/JSDocExample.d.ts +12 -0
  52. package/dist/src/components/JSDocExample.d.ts.map +1 -0
  53. package/dist/src/components/JSDocExample.js +26 -0
  54. package/dist/src/components/JSDocExample.js.map +1 -0
  55. package/dist/src/components/JSDocParagraph.d.ts +10 -0
  56. package/dist/src/components/JSDocParagraph.d.ts.map +1 -0
  57. package/dist/src/components/JSDocParagraph.js +23 -0
  58. package/dist/src/components/JSDocParagraph.js.map +1 -0
  59. package/dist/src/components/MemberChainExpression.d.ts +11 -0
  60. package/dist/src/components/MemberChainExpression.d.ts.map +1 -0
  61. package/dist/src/components/MemberChainExpression.js +100 -0
  62. package/dist/src/components/MemberChainExpression.js.map +1 -0
  63. package/dist/src/components/ObjectExpression.d.ts +1 -1
  64. package/dist/src/components/ObjectExpression.d.ts.map +1 -1
  65. package/dist/src/components/ObjectExpression.js +45 -42
  66. package/dist/src/components/ObjectExpression.js.map +1 -1
  67. package/dist/src/components/PackageDirectory.d.ts +1 -3
  68. package/dist/src/components/PackageDirectory.d.ts.map +1 -1
  69. package/dist/src/components/PackageDirectory.js +9 -16
  70. package/dist/src/components/PackageDirectory.js.map +1 -1
  71. package/dist/src/components/PackageJson.d.ts +39 -0
  72. package/dist/src/components/PackageJson.d.ts.map +1 -1
  73. package/dist/src/components/PackageJson.js +30 -12
  74. package/dist/src/components/PackageJson.js.map +1 -1
  75. package/dist/src/components/Reference.js +1 -1
  76. package/dist/src/components/Reference.js.map +1 -1
  77. package/dist/src/components/SourceFile.d.ts.map +1 -1
  78. package/dist/src/components/SourceFile.js +13 -6
  79. package/dist/src/components/SourceFile.js.map +1 -1
  80. package/dist/src/components/TsConfigJson.d.ts.map +1 -1
  81. package/dist/src/components/TsConfigJson.js.map +1 -1
  82. package/dist/src/components/TypeDeclaration.d.ts.map +1 -1
  83. package/dist/src/components/TypeDeclaration.js.map +1 -1
  84. package/dist/src/components/ValueExpression.d.ts.map +1 -1
  85. package/dist/src/components/ValueExpression.js.map +1 -1
  86. package/dist/src/components/VarDeclaration.d.ts.map +1 -1
  87. package/dist/src/components/VarDeclaration.js +5 -4
  88. package/dist/src/components/VarDeclaration.js.map +1 -1
  89. package/dist/src/components/index.d.ts +2 -1
  90. package/dist/src/components/index.d.ts.map +1 -1
  91. package/dist/src/components/index.js +2 -1
  92. package/dist/src/components/index.js.map +1 -1
  93. package/dist/src/components/stc/index.d.ts +21 -21
  94. package/dist/src/components/stc/index.d.ts.map +1 -1
  95. package/dist/src/components/stc/index.js +1 -1
  96. package/dist/src/components/stc/index.js.map +1 -1
  97. package/dist/src/symbols/reference.d.ts.map +1 -1
  98. package/dist/src/symbols/reference.js +5 -2
  99. package/dist/src/symbols/reference.js.map +1 -1
  100. package/dist/src/symbols/ts-output-symbol.d.ts +2 -1
  101. package/dist/src/symbols/ts-output-symbol.d.ts.map +1 -1
  102. package/dist/src/symbols/ts-output-symbol.js +4 -1
  103. package/dist/src/symbols/ts-output-symbol.js.map +1 -1
  104. package/dist/src/symbols/ts-package-scope.d.ts +0 -15
  105. package/dist/src/symbols/ts-package-scope.d.ts.map +1 -1
  106. package/dist/src/symbols/ts-package-scope.js +0 -8
  107. package/dist/src/symbols/ts-package-scope.js.map +1 -1
  108. package/dist/test/imports.test.d.ts.map +1 -1
  109. package/dist/test/jsdoc.test.d.ts +2 -0
  110. package/dist/test/jsdoc.test.d.ts.map +1 -0
  111. package/dist/test/member-chain.test.d.ts +2 -0
  112. package/dist/test/member-chain.test.d.ts.map +1 -0
  113. package/dist/test/utils.d.ts +2 -2
  114. package/dist/test/utils.d.ts.map +1 -1
  115. package/dist/test/values.test.d.ts.map +1 -1
  116. package/dist/tsconfig.tsbuildinfo +1 -1
  117. package/package.json +3 -5
  118. package/src/components/ArrayExpression.tsx +22 -32
  119. package/src/components/BarrelFile.tsx +7 -13
  120. package/src/components/ClassDeclaration.tsx +33 -28
  121. package/src/components/CommaList.tsx +23 -0
  122. package/src/components/Declaration.tsx +14 -5
  123. package/src/components/EnumDeclaration.tsx +23 -16
  124. package/src/components/EnumMember.tsx +7 -4
  125. package/src/components/ExportStatement.tsx +9 -2
  126. package/src/components/FunctionCallExpression.tsx +18 -9
  127. package/src/components/FunctionDeclaration.tsx +173 -56
  128. package/src/components/ImportStatement.tsx +6 -9
  129. package/src/components/Interface.tsx +20 -13
  130. package/src/components/JSDoc.tsx +28 -0
  131. package/src/components/JSDocComment.tsx +23 -0
  132. package/src/components/JSDocExample.tsx +30 -0
  133. package/src/components/JSDocParagraph.tsx +35 -0
  134. package/src/components/MemberChainExpression.tsx +91 -0
  135. package/src/components/ObjectExpression.tsx +53 -48
  136. package/src/components/PackageDirectory.tsx +22 -30
  137. package/src/components/PackageJson.tsx +91 -29
  138. package/src/components/SourceFile.tsx +15 -8
  139. package/src/components/TsConfigJson.tsx +5 -3
  140. package/src/components/TypeDeclaration.tsx +5 -3
  141. package/src/components/ValueExpression.tsx +3 -1
  142. package/src/components/VarDeclaration.tsx +13 -7
  143. package/src/components/index.ts +2 -1
  144. package/src/components/stc/index.ts +1 -1
  145. package/src/symbols/reference.ts +7 -4
  146. package/src/symbols/ts-output-symbol.ts +6 -2
  147. package/src/symbols/ts-package-scope.ts +0 -28
  148. package/temp/api.json +802 -395
  149. package/test/array.test.tsx +40 -7
  150. package/test/basic.test.tsx +26 -21
  151. package/test/class.test.tsx +65 -53
  152. package/test/enum.test.tsx +18 -13
  153. package/test/externals.test.tsx +6 -7
  154. package/test/function-call-expression.test.tsx +39 -17
  155. package/test/function-declaration.test.tsx +96 -78
  156. package/test/imports.test.tsx +115 -75
  157. package/test/interface.test.tsx +32 -22
  158. package/test/jsdoc.test.tsx +154 -0
  159. package/test/member-chain.test.tsx +124 -0
  160. package/test/name-policy.test.tsx +33 -26
  161. package/test/package-external.test.tsx +106 -7
  162. package/test/package.test.tsx +57 -5
  163. package/test/reference.test.tsx +2 -6
  164. package/test/utils.tsx +3 -1
  165. package/test/value-expression.test.tsx +2 -6
  166. package/test/values.test.tsx +67 -73
  167. package/test/var-declaration.test.tsx +11 -5
  168. package/test/vitest.d.ts +6 -1
  169. package/tsconfig.json +8 -1
  170. package/dist/src/components/Block.d.ts +0 -6
  171. package/dist/src/components/Block.d.ts.map +0 -1
  172. package/dist/src/components/Block.js +0 -11
  173. package/dist/src/components/Block.js.map +0 -1
  174. package/src/components/Block.tsx +0 -12
package/temp/api.json CHANGED
@@ -190,19 +190,11 @@
190
190
  "kind": "Content",
191
191
  "text": "): "
192
192
  },
193
- {
194
- "kind": "Content",
195
- "text": "() => "
196
- },
197
193
  {
198
194
  "kind": "Reference",
199
195
  "text": "Children",
200
196
  "canonicalReference": "@alloy-js/core!Children:type"
201
197
  },
202
- {
203
- "kind": "Content",
204
- "text": "[] | \"[]\""
205
- },
206
198
  {
207
199
  "kind": "Content",
208
200
  "text": ";"
@@ -211,7 +203,7 @@
211
203
  "fileUrlPath": "src/components/ArrayExpression.tsx",
212
204
  "returnTypeTokenRange": {
213
205
  "startIndex": 3,
214
- "endIndex": 6
206
+ "endIndex": 4
215
207
  },
216
208
  "releaseTag": "Public",
217
209
  "overloadIndex": 1,
@@ -629,85 +621,24 @@
629
621
  "startIndex": 1,
630
622
  "endIndex": 2
631
623
  }
632
- }
633
- ],
634
- "extendsTokenRanges": []
635
- },
636
- {
637
- "kind": "Function",
638
- "canonicalReference": "@alloy-js/typescript!Block:function(1)",
639
- "docComment": "",
640
- "excerptTokens": [
641
- {
642
- "kind": "Content",
643
- "text": "export declare function Block(props: "
644
- },
645
- {
646
- "kind": "Reference",
647
- "text": "BlockProps",
648
- "canonicalReference": "@alloy-js/typescript!BlockProps:interface"
649
- },
650
- {
651
- "kind": "Content",
652
- "text": "): "
653
- },
654
- {
655
- "kind": "Reference",
656
- "text": "Children",
657
- "canonicalReference": "@alloy-js/core!Children:type"
658
624
  },
659
- {
660
- "kind": "Content",
661
- "text": ";"
662
- }
663
- ],
664
- "fileUrlPath": "src/components/Block.tsx",
665
- "returnTypeTokenRange": {
666
- "startIndex": 3,
667
- "endIndex": 4
668
- },
669
- "releaseTag": "Public",
670
- "overloadIndex": 1,
671
- "parameters": [
672
- {
673
- "parameterName": "props",
674
- "parameterTypeTokenRange": {
675
- "startIndex": 1,
676
- "endIndex": 2
677
- },
678
- "isOptional": false
679
- }
680
- ],
681
- "name": "Block"
682
- },
683
- {
684
- "kind": "Interface",
685
- "canonicalReference": "@alloy-js/typescript!BlockProps:interface",
686
- "docComment": "",
687
- "excerptTokens": [
688
- {
689
- "kind": "Content",
690
- "text": "export interface BlockProps "
691
- }
692
- ],
693
- "fileUrlPath": "src/components/Block.tsx",
694
- "releaseTag": "Public",
695
- "name": "BlockProps",
696
- "preserveMemberOrder": false,
697
- "members": [
698
625
  {
699
626
  "kind": "PropertySignature",
700
- "canonicalReference": "@alloy-js/typescript!BlockProps#children:member",
701
- "docComment": "",
627
+ "canonicalReference": "@alloy-js/typescript!BaseDeclarationProps#refkeys:member",
628
+ "docComment": "/**\n * Multiple unique keys for this declaration.\n */\n",
702
629
  "excerptTokens": [
703
630
  {
704
631
  "kind": "Content",
705
- "text": "children?: "
632
+ "text": "refkeys?: "
706
633
  },
707
634
  {
708
635
  "kind": "Reference",
709
- "text": "Children",
710
- "canonicalReference": "@alloy-js/core!Children:type"
636
+ "text": "Refkey",
637
+ "canonicalReference": "@alloy-js/core!Refkey:type"
638
+ },
639
+ {
640
+ "kind": "Content",
641
+ "text": "[]"
711
642
  },
712
643
  {
713
644
  "kind": "Content",
@@ -717,10 +648,10 @@
717
648
  "isReadonly": false,
718
649
  "isOptional": true,
719
650
  "releaseTag": "Public",
720
- "name": "children",
651
+ "name": "refkeys",
721
652
  "propertyTypeTokenRange": {
722
653
  "startIndex": 1,
723
- "endIndex": 2
654
+ "endIndex": 3
724
655
  }
725
656
  }
726
657
  ],
@@ -1463,6 +1394,153 @@
1463
1394
  }
1464
1395
  ]
1465
1396
  },
1397
+ {
1398
+ "kind": "Function",
1399
+ "canonicalReference": "@alloy-js/typescript!CommaList:function(1)",
1400
+ "docComment": "/**\n * A comma-separated list of items (e.g. arguments to a function call, parameters, etc).\n */\n",
1401
+ "excerptTokens": [
1402
+ {
1403
+ "kind": "Content",
1404
+ "text": "export declare function CommaList(props: "
1405
+ },
1406
+ {
1407
+ "kind": "Reference",
1408
+ "text": "CommaListProps",
1409
+ "canonicalReference": "@alloy-js/typescript!CommaListProps:interface"
1410
+ },
1411
+ {
1412
+ "kind": "Content",
1413
+ "text": "): "
1414
+ },
1415
+ {
1416
+ "kind": "Reference",
1417
+ "text": "Children",
1418
+ "canonicalReference": "@alloy-js/core!Children:type"
1419
+ },
1420
+ {
1421
+ "kind": "Content",
1422
+ "text": ";"
1423
+ }
1424
+ ],
1425
+ "fileUrlPath": "src/components/CommaList.tsx",
1426
+ "returnTypeTokenRange": {
1427
+ "startIndex": 3,
1428
+ "endIndex": 4
1429
+ },
1430
+ "releaseTag": "Public",
1431
+ "overloadIndex": 1,
1432
+ "parameters": [
1433
+ {
1434
+ "parameterName": "props",
1435
+ "parameterTypeTokenRange": {
1436
+ "startIndex": 1,
1437
+ "endIndex": 2
1438
+ },
1439
+ "isOptional": false
1440
+ }
1441
+ ],
1442
+ "name": "CommaList"
1443
+ },
1444
+ {
1445
+ "kind": "Interface",
1446
+ "canonicalReference": "@alloy-js/typescript!CommaListProps:interface",
1447
+ "docComment": "",
1448
+ "excerptTokens": [
1449
+ {
1450
+ "kind": "Content",
1451
+ "text": "export interface CommaListProps "
1452
+ }
1453
+ ],
1454
+ "fileUrlPath": "src/components/CommaList.tsx",
1455
+ "releaseTag": "Public",
1456
+ "name": "CommaListProps",
1457
+ "preserveMemberOrder": false,
1458
+ "members": [
1459
+ {
1460
+ "kind": "PropertySignature",
1461
+ "canonicalReference": "@alloy-js/typescript!CommaListProps#children:member",
1462
+ "docComment": "",
1463
+ "excerptTokens": [
1464
+ {
1465
+ "kind": "Content",
1466
+ "text": "children: "
1467
+ },
1468
+ {
1469
+ "kind": "Reference",
1470
+ "text": "Children",
1471
+ "canonicalReference": "@alloy-js/core!Children:type"
1472
+ },
1473
+ {
1474
+ "kind": "Content",
1475
+ "text": ";"
1476
+ }
1477
+ ],
1478
+ "isReadonly": false,
1479
+ "isOptional": false,
1480
+ "releaseTag": "Public",
1481
+ "name": "children",
1482
+ "propertyTypeTokenRange": {
1483
+ "startIndex": 1,
1484
+ "endIndex": 2
1485
+ }
1486
+ },
1487
+ {
1488
+ "kind": "PropertySignature",
1489
+ "canonicalReference": "@alloy-js/typescript!CommaListProps#hardline:member",
1490
+ "docComment": "",
1491
+ "excerptTokens": [
1492
+ {
1493
+ "kind": "Content",
1494
+ "text": "hardline?: "
1495
+ },
1496
+ {
1497
+ "kind": "Content",
1498
+ "text": "boolean"
1499
+ },
1500
+ {
1501
+ "kind": "Content",
1502
+ "text": ";"
1503
+ }
1504
+ ],
1505
+ "isReadonly": false,
1506
+ "isOptional": true,
1507
+ "releaseTag": "Public",
1508
+ "name": "hardline",
1509
+ "propertyTypeTokenRange": {
1510
+ "startIndex": 1,
1511
+ "endIndex": 2
1512
+ }
1513
+ },
1514
+ {
1515
+ "kind": "PropertySignature",
1516
+ "canonicalReference": "@alloy-js/typescript!CommaListProps#softline:member",
1517
+ "docComment": "",
1518
+ "excerptTokens": [
1519
+ {
1520
+ "kind": "Content",
1521
+ "text": "softline?: "
1522
+ },
1523
+ {
1524
+ "kind": "Content",
1525
+ "text": "boolean"
1526
+ },
1527
+ {
1528
+ "kind": "Content",
1529
+ "text": ";"
1530
+ }
1531
+ ],
1532
+ "isReadonly": false,
1533
+ "isOptional": true,
1534
+ "releaseTag": "Public",
1535
+ "name": "softline",
1536
+ "propertyTypeTokenRange": {
1537
+ "startIndex": 1,
1538
+ "endIndex": 2
1539
+ }
1540
+ }
1541
+ ],
1542
+ "extendsTokenRanges": []
1543
+ },
1466
1544
  {
1467
1545
  "kind": "Function",
1468
1546
  "canonicalReference": "@alloy-js/typescript!createPackage:function(1)",
@@ -2250,7 +2328,7 @@
2250
2328
  "excerptTokens": [
2251
2329
  {
2252
2330
  "kind": "Content",
2253
- "text": "refkey: "
2331
+ "text": "refkey?: "
2254
2332
  },
2255
2333
  {
2256
2334
  "kind": "Reference",
@@ -2263,7 +2341,7 @@
2263
2341
  }
2264
2342
  ],
2265
2343
  "isReadonly": false,
2266
- "isOptional": false,
2344
+ "isOptional": true,
2267
2345
  "releaseTag": "Public",
2268
2346
  "name": "refkey",
2269
2347
  "propertyTypeTokenRange": {
@@ -2271,6 +2349,38 @@
2271
2349
  "endIndex": 2
2272
2350
  }
2273
2351
  },
2352
+ {
2353
+ "kind": "PropertySignature",
2354
+ "canonicalReference": "@alloy-js/typescript!createTsSymbolOptions#refkeys:member",
2355
+ "docComment": "",
2356
+ "excerptTokens": [
2357
+ {
2358
+ "kind": "Content",
2359
+ "text": "refkeys?: "
2360
+ },
2361
+ {
2362
+ "kind": "Reference",
2363
+ "text": "Refkey",
2364
+ "canonicalReference": "@alloy-js/core!Refkey:type"
2365
+ },
2366
+ {
2367
+ "kind": "Content",
2368
+ "text": "[]"
2369
+ },
2370
+ {
2371
+ "kind": "Content",
2372
+ "text": ";"
2373
+ }
2374
+ ],
2375
+ "isReadonly": false,
2376
+ "isOptional": true,
2377
+ "releaseTag": "Public",
2378
+ "name": "refkeys",
2379
+ "propertyTypeTokenRange": {
2380
+ "startIndex": 1,
2381
+ "endIndex": 3
2382
+ }
2383
+ },
2274
2384
  {
2275
2385
  "kind": "PropertySignature",
2276
2386
  "canonicalReference": "@alloy-js/typescript!createTsSymbolOptions#scope:member",
@@ -3114,17 +3224,17 @@
3114
3224
  },
3115
3225
  {
3116
3226
  "kind": "PropertySignature",
3117
- "canonicalReference": "@alloy-js/typescript!FunctionCallExpressionProps#refkey:member",
3227
+ "canonicalReference": "@alloy-js/typescript!FunctionCallExpressionProps#target:member",
3118
3228
  "docComment": "",
3119
3229
  "excerptTokens": [
3120
3230
  {
3121
3231
  "kind": "Content",
3122
- "text": "refkey: "
3232
+ "text": "target: "
3123
3233
  },
3124
3234
  {
3125
3235
  "kind": "Reference",
3126
- "text": "Refkey",
3127
- "canonicalReference": "@alloy-js/core!Refkey:type"
3236
+ "text": "Children",
3237
+ "canonicalReference": "@alloy-js/core!Children:type"
3128
3238
  },
3129
3239
  {
3130
3240
  "kind": "Content",
@@ -3134,7 +3244,7 @@
3134
3244
  "isReadonly": false,
3135
3245
  "isOptional": false,
3136
3246
  "releaseTag": "Public",
3137
- "name": "refkey",
3247
+ "name": "target",
3138
3248
  "propertyTypeTokenRange": {
3139
3249
  "startIndex": 1,
3140
3250
  "endIndex": 2
@@ -3284,17 +3394,57 @@
3284
3394
  "startIndex": 1,
3285
3395
  "endIndex": 6
3286
3396
  }
3287
- }
3288
- ]
3289
- },
3290
- {
3291
- "kind": "Interface",
3292
- "canonicalReference": "@alloy-js/typescript!FunctionDeclarationProps:interface",
3293
- "docComment": "",
3294
- "excerptTokens": [
3295
- {
3296
- "kind": "Content",
3297
- "text": "export interface FunctionDeclarationProps extends "
3397
+ },
3398
+ {
3399
+ "kind": "Variable",
3400
+ "canonicalReference": "@alloy-js/typescript!FunctionDeclaration.TypeParameters:var",
3401
+ "docComment": "",
3402
+ "excerptTokens": [
3403
+ {
3404
+ "kind": "Content",
3405
+ "text": "TypeParameters: "
3406
+ },
3407
+ {
3408
+ "kind": "Content",
3409
+ "text": "import(\"@alloy-js/core\")."
3410
+ },
3411
+ {
3412
+ "kind": "Reference",
3413
+ "text": "Component",
3414
+ "canonicalReference": "@alloy-js/core!Component:interface"
3415
+ },
3416
+ {
3417
+ "kind": "Content",
3418
+ "text": "<"
3419
+ },
3420
+ {
3421
+ "kind": "Reference",
3422
+ "text": "FunctionTypeParametersProps",
3423
+ "canonicalReference": "@alloy-js/typescript!FunctionTypeParametersProps:interface"
3424
+ },
3425
+ {
3426
+ "kind": "Content",
3427
+ "text": ">"
3428
+ }
3429
+ ],
3430
+ "isReadonly": false,
3431
+ "releaseTag": "Public",
3432
+ "name": "TypeParameters",
3433
+ "variableTypeTokenRange": {
3434
+ "startIndex": 1,
3435
+ "endIndex": 6
3436
+ }
3437
+ }
3438
+ ]
3439
+ },
3440
+ {
3441
+ "kind": "Interface",
3442
+ "canonicalReference": "@alloy-js/typescript!FunctionDeclarationProps:interface",
3443
+ "docComment": "",
3444
+ "excerptTokens": [
3445
+ {
3446
+ "kind": "Content",
3447
+ "text": "export interface FunctionDeclarationProps extends "
3298
3448
  },
3299
3449
  {
3300
3450
  "kind": "Reference",
@@ -3443,6 +3593,56 @@
3443
3593
  "startIndex": 1,
3444
3594
  "endIndex": 2
3445
3595
  }
3596
+ },
3597
+ {
3598
+ "kind": "PropertySignature",
3599
+ "canonicalReference": "@alloy-js/typescript!FunctionDeclarationProps#typeParameters:member",
3600
+ "docComment": "",
3601
+ "excerptTokens": [
3602
+ {
3603
+ "kind": "Content",
3604
+ "text": "typeParameters?: "
3605
+ },
3606
+ {
3607
+ "kind": "Reference",
3608
+ "text": "Record",
3609
+ "canonicalReference": "!Record:type"
3610
+ },
3611
+ {
3612
+ "kind": "Content",
3613
+ "text": "<string, "
3614
+ },
3615
+ {
3616
+ "kind": "Reference",
3617
+ "text": "Children",
3618
+ "canonicalReference": "@alloy-js/core!Children:type"
3619
+ },
3620
+ {
3621
+ "kind": "Content",
3622
+ "text": " | "
3623
+ },
3624
+ {
3625
+ "kind": "Reference",
3626
+ "text": "ParameterDescriptor",
3627
+ "canonicalReference": "@alloy-js/typescript!ParameterDescriptor:interface"
3628
+ },
3629
+ {
3630
+ "kind": "Content",
3631
+ "text": "> | string[]"
3632
+ },
3633
+ {
3634
+ "kind": "Content",
3635
+ "text": ";"
3636
+ }
3637
+ ],
3638
+ "isReadonly": false,
3639
+ "isOptional": true,
3640
+ "releaseTag": "Public",
3641
+ "name": "typeParameters",
3642
+ "propertyTypeTokenRange": {
3643
+ "startIndex": 1,
3644
+ "endIndex": 7
3645
+ }
3446
3646
  }
3447
3647
  ],
3448
3648
  "extendsTokenRanges": [
@@ -3571,6 +3771,125 @@
3571
3771
  "endIndex": 2
3572
3772
  }
3573
3773
  },
3774
+ {
3775
+ "kind": "Interface",
3776
+ "canonicalReference": "@alloy-js/typescript!FunctionTypeParametersProps:interface",
3777
+ "docComment": "",
3778
+ "excerptTokens": [
3779
+ {
3780
+ "kind": "Content",
3781
+ "text": "export interface FunctionTypeParametersProps "
3782
+ }
3783
+ ],
3784
+ "fileUrlPath": "src/components/FunctionDeclaration.tsx",
3785
+ "releaseTag": "Public",
3786
+ "name": "FunctionTypeParametersProps",
3787
+ "preserveMemberOrder": false,
3788
+ "members": [
3789
+ {
3790
+ "kind": "PropertySignature",
3791
+ "canonicalReference": "@alloy-js/typescript!FunctionTypeParametersProps#children:member",
3792
+ "docComment": "",
3793
+ "excerptTokens": [
3794
+ {
3795
+ "kind": "Content",
3796
+ "text": "children?: "
3797
+ },
3798
+ {
3799
+ "kind": "Reference",
3800
+ "text": "Children",
3801
+ "canonicalReference": "@alloy-js/core!Children:type"
3802
+ },
3803
+ {
3804
+ "kind": "Content",
3805
+ "text": ";"
3806
+ }
3807
+ ],
3808
+ "isReadonly": false,
3809
+ "isOptional": true,
3810
+ "releaseTag": "Public",
3811
+ "name": "children",
3812
+ "propertyTypeTokenRange": {
3813
+ "startIndex": 1,
3814
+ "endIndex": 2
3815
+ }
3816
+ },
3817
+ {
3818
+ "kind": "PropertySignature",
3819
+ "canonicalReference": "@alloy-js/typescript!FunctionTypeParametersProps#parameters:member",
3820
+ "docComment": "",
3821
+ "excerptTokens": [
3822
+ {
3823
+ "kind": "Content",
3824
+ "text": "parameters?: "
3825
+ },
3826
+ {
3827
+ "kind": "Reference",
3828
+ "text": "Record",
3829
+ "canonicalReference": "!Record:type"
3830
+ },
3831
+ {
3832
+ "kind": "Content",
3833
+ "text": "<string, "
3834
+ },
3835
+ {
3836
+ "kind": "Reference",
3837
+ "text": "Children",
3838
+ "canonicalReference": "@alloy-js/core!Children:type"
3839
+ },
3840
+ {
3841
+ "kind": "Content",
3842
+ "text": " | "
3843
+ },
3844
+ {
3845
+ "kind": "Reference",
3846
+ "text": "ParameterDescriptor",
3847
+ "canonicalReference": "@alloy-js/typescript!ParameterDescriptor:interface"
3848
+ },
3849
+ {
3850
+ "kind": "Content",
3851
+ "text": "> | string[]"
3852
+ },
3853
+ {
3854
+ "kind": "Content",
3855
+ "text": ";"
3856
+ }
3857
+ ],
3858
+ "isReadonly": false,
3859
+ "isOptional": true,
3860
+ "releaseTag": "Public",
3861
+ "name": "parameters",
3862
+ "propertyTypeTokenRange": {
3863
+ "startIndex": 1,
3864
+ "endIndex": 7
3865
+ }
3866
+ }
3867
+ ],
3868
+ "extendsTokenRanges": []
3869
+ },
3870
+ {
3871
+ "kind": "Variable",
3872
+ "canonicalReference": "@alloy-js/typescript!functionTypeParametersTag:var",
3873
+ "docComment": "",
3874
+ "excerptTokens": [
3875
+ {
3876
+ "kind": "Content",
3877
+ "text": "functionTypeParametersTag: "
3878
+ },
3879
+ {
3880
+ "kind": "Content",
3881
+ "text": "unique symbol"
3882
+ }
3883
+ ],
3884
+ "fileUrlPath": "src/components/FunctionDeclaration.tsx",
3885
+ "isReadonly": true,
3886
+ "releaseTag": "Public",
3887
+ "name": "functionTypeParametersTag",
3888
+ "variableTypeTokenRange": {
3889
+ "startIndex": 1,
3890
+ "endIndex": 2
3891
+ }
3892
+ },
3574
3893
  {
3575
3894
  "kind": "Interface",
3576
3895
  "canonicalReference": "@alloy-js/typescript!ImportedSymbol:interface",
@@ -4061,18 +4380,10 @@
4061
4380
  "kind": "Content",
4062
4381
  "text": "): "
4063
4382
  },
4064
- {
4065
- "kind": "Content",
4066
- "text": "import(\"@alloy-js/core\")."
4067
- },
4068
4383
  {
4069
4384
  "kind": "Reference",
4070
- "text": "Child",
4071
- "canonicalReference": "@alloy-js/core!Child:type"
4072
- },
4073
- {
4074
- "kind": "Content",
4075
- "text": "[]"
4385
+ "text": "Children",
4386
+ "canonicalReference": "@alloy-js/core!Children:type"
4076
4387
  },
4077
4388
  {
4078
4389
  "kind": "Content",
@@ -4082,7 +4393,7 @@
4082
4393
  "fileUrlPath": "src/components/Interface.tsx",
4083
4394
  "returnTypeTokenRange": {
4084
4395
  "startIndex": 3,
4085
- "endIndex": 6
4396
+ "endIndex": 4
4086
4397
  },
4087
4398
  "releaseTag": "Public",
4088
4399
  "overloadIndex": 1,
@@ -4345,12 +4656,105 @@
4345
4656
  },
4346
4657
  {
4347
4658
  "kind": "PropertySignature",
4348
- "canonicalReference": "@alloy-js/typescript!InterfaceMemberProps#type:member",
4659
+ "canonicalReference": "@alloy-js/typescript!InterfaceMemberProps#type:member",
4660
+ "docComment": "",
4661
+ "excerptTokens": [
4662
+ {
4663
+ "kind": "Content",
4664
+ "text": "type?: "
4665
+ },
4666
+ {
4667
+ "kind": "Reference",
4668
+ "text": "Children",
4669
+ "canonicalReference": "@alloy-js/core!Children:type"
4670
+ },
4671
+ {
4672
+ "kind": "Content",
4673
+ "text": ";"
4674
+ }
4675
+ ],
4676
+ "isReadonly": false,
4677
+ "isOptional": true,
4678
+ "releaseTag": "Public",
4679
+ "name": "type",
4680
+ "propertyTypeTokenRange": {
4681
+ "startIndex": 1,
4682
+ "endIndex": 2
4683
+ }
4684
+ }
4685
+ ],
4686
+ "extendsTokenRanges": []
4687
+ },
4688
+ {
4689
+ "kind": "Function",
4690
+ "canonicalReference": "@alloy-js/typescript!MemberChainExpression:function(1)",
4691
+ "docComment": "/**\n * Create a member chain expression, which is a member expression comprised of either children, {@link FunctionCallExpression} components, or nested member chain expression components. Other component types are ignored.\n */\n",
4692
+ "excerptTokens": [
4693
+ {
4694
+ "kind": "Content",
4695
+ "text": "export declare function MemberChainExpression(props: "
4696
+ },
4697
+ {
4698
+ "kind": "Reference",
4699
+ "text": "MemberChainExpressionProps",
4700
+ "canonicalReference": "@alloy-js/typescript!MemberChainExpressionProps:interface"
4701
+ },
4702
+ {
4703
+ "kind": "Content",
4704
+ "text": "): "
4705
+ },
4706
+ {
4707
+ "kind": "Reference",
4708
+ "text": "Children",
4709
+ "canonicalReference": "@alloy-js/core!Children:type"
4710
+ },
4711
+ {
4712
+ "kind": "Content",
4713
+ "text": ";"
4714
+ }
4715
+ ],
4716
+ "fileUrlPath": "src/components/MemberChainExpression.tsx",
4717
+ "returnTypeTokenRange": {
4718
+ "startIndex": 3,
4719
+ "endIndex": 4
4720
+ },
4721
+ "releaseTag": "Public",
4722
+ "overloadIndex": 1,
4723
+ "parameters": [
4724
+ {
4725
+ "parameterName": "props",
4726
+ "parameterTypeTokenRange": {
4727
+ "startIndex": 1,
4728
+ "endIndex": 2
4729
+ },
4730
+ "isOptional": false
4731
+ }
4732
+ ],
4733
+ "name": "MemberChainExpression"
4734
+ },
4735
+ {
4736
+ "kind": "Interface",
4737
+ "canonicalReference": "@alloy-js/typescript!MemberChainExpressionProps:interface",
4738
+ "docComment": "",
4739
+ "excerptTokens": [
4740
+ {
4741
+ "kind": "Content",
4742
+ "text": "export interface MemberChainExpressionProps "
4743
+ }
4744
+ ],
4745
+ "fileUrlPath": "src/components/MemberChainExpression.tsx",
4746
+ "releaseTag": "Public",
4747
+ "name": "MemberChainExpressionProps",
4748
+ "preserveMemberOrder": false,
4749
+ "members": [
4750
+ {
4751
+ "kind": "PropertySignature",
4752
+ "canonicalReference": "@alloy-js/typescript!MemberChainExpressionProps#children:member",
4349
4753
  "docComment": "",
4350
4754
  "excerptTokens": [
4351
4755
  {
4352
4756
  "kind": "Content",
4353
- "text": "type?: "
4757
+ "text": "children: "
4354
4758
  },
4355
4759
  {
4356
4760
  "kind": "Reference",
@@ -4363,9 +4767,9 @@
4363
4767
  }
4364
4768
  ],
4365
4769
  "isReadonly": false,
4366
- "isOptional": true,
4770
+ "isOptional": false,
4367
4771
  "releaseTag": "Public",
4368
- "name": "type",
4772
+ "name": "children",
4369
4773
  "propertyTypeTokenRange": {
4370
4774
  "startIndex": 1,
4371
4775
  "endIndex": 2
@@ -6081,10 +6485,6 @@
6081
6485
  "kind": "Content",
6082
6486
  "text": "): "
6083
6487
  },
6084
- {
6085
- "kind": "Content",
6086
- "text": "() => "
6087
- },
6088
6488
  {
6089
6489
  "kind": "Reference",
6090
6490
  "text": "Children",
@@ -6098,7 +6498,7 @@
6098
6498
  "fileUrlPath": "src/components/ObjectExpression.tsx",
6099
6499
  "returnTypeTokenRange": {
6100
6500
  "startIndex": 3,
6101
- "endIndex": 5
6501
+ "endIndex": 4
6102
6502
  },
6103
6503
  "releaseTag": "Public",
6104
6504
  "overloadIndex": 1,
@@ -6713,75 +7113,6 @@
6713
7113
  "endIndex": 2
6714
7114
  }
6715
7115
  },
6716
- {
6717
- "kind": "PropertySignature",
6718
- "canonicalReference": "@alloy-js/typescript!PackageDirectoryProps#dependencies:member",
6719
- "docComment": "",
6720
- "excerptTokens": [
6721
- {
6722
- "kind": "Content",
6723
- "text": "dependencies?: "
6724
- },
6725
- {
6726
- "kind": "Reference",
6727
- "text": "Record",
6728
- "canonicalReference": "!Record:type"
6729
- },
6730
- {
6731
- "kind": "Content",
6732
- "text": "<string, string>"
6733
- },
6734
- {
6735
- "kind": "Content",
6736
- "text": ";"
6737
- }
6738
- ],
6739
- "isReadonly": false,
6740
- "isOptional": true,
6741
- "releaseTag": "Public",
6742
- "name": "dependencies",
6743
- "propertyTypeTokenRange": {
6744
- "startIndex": 1,
6745
- "endIndex": 3
6746
- }
6747
- },
6748
- {
6749
- "kind": "PropertySignature",
6750
- "canonicalReference": "@alloy-js/typescript!PackageDirectoryProps#exports:member",
6751
- "docComment": "",
6752
- "excerptTokens": [
6753
- {
6754
- "kind": "Content",
6755
- "text": "exports?: "
6756
- },
6757
- {
6758
- "kind": "Reference",
6759
- "text": "PackageExports",
6760
- "canonicalReference": "@alloy-js/typescript!PackageExports:interface"
6761
- },
6762
- {
6763
- "kind": "Content",
6764
- "text": " | "
6765
- },
6766
- {
6767
- "kind": "Reference",
6768
- "text": "ExportPath",
6769
- "canonicalReference": "@alloy-js/typescript!ExportPath:type"
6770
- },
6771
- {
6772
- "kind": "Content",
6773
- "text": ";"
6774
- }
6775
- ],
6776
- "isReadonly": false,
6777
- "isOptional": true,
6778
- "releaseTag": "Public",
6779
- "name": "exports",
6780
- "propertyTypeTokenRange": {
6781
- "startIndex": 1,
6782
- "endIndex": 4
6783
- }
6784
- },
6785
7116
  {
6786
7117
  "kind": "PropertySignature",
6787
7118
  "canonicalReference": "@alloy-js/typescript!PackageDirectoryProps#path:member",
@@ -6910,7 +7241,7 @@
6910
7241
  {
6911
7242
  "kind": "Function",
6912
7243
  "canonicalReference": "@alloy-js/typescript!PackageJsonFile:function(1)",
6913
- "docComment": "",
7244
+ "docComment": "/**\n * A file containing a package.json that defines a package. When placed inside a {@link PackageDirectory}, it will contain dependencies and exports for symbols defined inside the package. Additional dependencies and exports can be provided.\n *\n * @example\n * ```tsx\n * <PackageJsonFile name=\"my-package\" version=\"1.0.0\" />\n * ```\n *\n */\n",
6914
7245
  "excerptTokens": [
6915
7246
  {
6916
7247
  "kind": "Content",
@@ -6975,21 +7306,225 @@
6975
7306
  "members": [
6976
7307
  {
6977
7308
  "kind": "PropertySignature",
6978
- "canonicalReference": "@alloy-js/typescript!PackageJsonFileProps#devDependencies:member",
6979
- "docComment": "",
7309
+ "canonicalReference": "@alloy-js/typescript!PackageJsonFileProps#author:member",
7310
+ "docComment": "/**\n * The author of the package\n */\n",
7311
+ "excerptTokens": [
7312
+ {
7313
+ "kind": "Content",
7314
+ "text": "author?: "
7315
+ },
7316
+ {
7317
+ "kind": "Content",
7318
+ "text": "string"
7319
+ },
7320
+ {
7321
+ "kind": "Content",
7322
+ "text": ";"
7323
+ }
7324
+ ],
7325
+ "isReadonly": false,
7326
+ "isOptional": true,
7327
+ "releaseTag": "Public",
7328
+ "name": "author",
7329
+ "propertyTypeTokenRange": {
7330
+ "startIndex": 1,
7331
+ "endIndex": 2
7332
+ }
7333
+ },
7334
+ {
7335
+ "kind": "PropertySignature",
7336
+ "canonicalReference": "@alloy-js/typescript!PackageJsonFileProps#dependencies:member",
7337
+ "docComment": "/**\n * The hard-coded dependencies of the package. References to external packages will add to the dependency list automatically. Only list dependencies here that are not referenced via refkey.\n */\n",
7338
+ "excerptTokens": [
7339
+ {
7340
+ "kind": "Content",
7341
+ "text": "dependencies?: "
7342
+ },
7343
+ {
7344
+ "kind": "Reference",
7345
+ "text": "Record",
7346
+ "canonicalReference": "!Record:type"
7347
+ },
7348
+ {
7349
+ "kind": "Content",
7350
+ "text": "<string, string>"
7351
+ },
7352
+ {
7353
+ "kind": "Content",
7354
+ "text": ";"
7355
+ }
7356
+ ],
7357
+ "isReadonly": false,
7358
+ "isOptional": true,
7359
+ "releaseTag": "Public",
7360
+ "name": "dependencies",
7361
+ "propertyTypeTokenRange": {
7362
+ "startIndex": 1,
7363
+ "endIndex": 3
7364
+ }
7365
+ },
7366
+ {
7367
+ "kind": "PropertySignature",
7368
+ "canonicalReference": "@alloy-js/typescript!PackageJsonFileProps#description:member",
7369
+ "docComment": "/**\n * The description of the package\n */\n",
7370
+ "excerptTokens": [
7371
+ {
7372
+ "kind": "Content",
7373
+ "text": "description?: "
7374
+ },
7375
+ {
7376
+ "kind": "Content",
7377
+ "text": "string"
7378
+ },
7379
+ {
7380
+ "kind": "Content",
7381
+ "text": ";"
7382
+ }
7383
+ ],
7384
+ "isReadonly": false,
7385
+ "isOptional": true,
7386
+ "releaseTag": "Public",
7387
+ "name": "description",
7388
+ "propertyTypeTokenRange": {
7389
+ "startIndex": 1,
7390
+ "endIndex": 2
7391
+ }
7392
+ },
7393
+ {
7394
+ "kind": "PropertySignature",
7395
+ "canonicalReference": "@alloy-js/typescript!PackageJsonFileProps#devDependencies:member",
7396
+ "docComment": "/**\n * The dev dependencies of the package.\n */\n",
7397
+ "excerptTokens": [
7398
+ {
7399
+ "kind": "Content",
7400
+ "text": "devDependencies?: "
7401
+ },
7402
+ {
7403
+ "kind": "Reference",
7404
+ "text": "Record",
7405
+ "canonicalReference": "!Record:type"
7406
+ },
7407
+ {
7408
+ "kind": "Content",
7409
+ "text": "<string, string>"
7410
+ },
7411
+ {
7412
+ "kind": "Content",
7413
+ "text": ";"
7414
+ }
7415
+ ],
7416
+ "isReadonly": false,
7417
+ "isOptional": true,
7418
+ "releaseTag": "Public",
7419
+ "name": "devDependencies",
7420
+ "propertyTypeTokenRange": {
7421
+ "startIndex": 1,
7422
+ "endIndex": 3
7423
+ }
7424
+ },
7425
+ {
7426
+ "kind": "PropertySignature",
7427
+ "canonicalReference": "@alloy-js/typescript!PackageJsonFileProps#exports:member",
7428
+ "docComment": "/**\n * The hard-coded exports of the package.\n */\n",
7429
+ "excerptTokens": [
7430
+ {
7431
+ "kind": "Content",
7432
+ "text": "exports?: "
7433
+ },
7434
+ {
7435
+ "kind": "Reference",
7436
+ "text": "PackageExports",
7437
+ "canonicalReference": "@alloy-js/typescript!PackageExports:interface"
7438
+ },
7439
+ {
7440
+ "kind": "Content",
7441
+ "text": " | "
7442
+ },
7443
+ {
7444
+ "kind": "Reference",
7445
+ "text": "ExportPath",
7446
+ "canonicalReference": "@alloy-js/typescript!ExportPath:type"
7447
+ },
7448
+ {
7449
+ "kind": "Content",
7450
+ "text": ";"
7451
+ }
7452
+ ],
7453
+ "isReadonly": false,
7454
+ "isOptional": true,
7455
+ "releaseTag": "Public",
7456
+ "name": "exports",
7457
+ "propertyTypeTokenRange": {
7458
+ "startIndex": 1,
7459
+ "endIndex": 4
7460
+ }
7461
+ },
7462
+ {
7463
+ "kind": "PropertySignature",
7464
+ "canonicalReference": "@alloy-js/typescript!PackageJsonFileProps#homepage:member",
7465
+ "docComment": "/**\n * The homepage of the package\n */\n",
7466
+ "excerptTokens": [
7467
+ {
7468
+ "kind": "Content",
7469
+ "text": "homepage?: "
7470
+ },
7471
+ {
7472
+ "kind": "Content",
7473
+ "text": "string"
7474
+ },
7475
+ {
7476
+ "kind": "Content",
7477
+ "text": ";"
7478
+ }
7479
+ ],
7480
+ "isReadonly": false,
7481
+ "isOptional": true,
7482
+ "releaseTag": "Public",
7483
+ "name": "homepage",
7484
+ "propertyTypeTokenRange": {
7485
+ "startIndex": 1,
7486
+ "endIndex": 2
7487
+ }
7488
+ },
7489
+ {
7490
+ "kind": "PropertySignature",
7491
+ "canonicalReference": "@alloy-js/typescript!PackageJsonFileProps#keywords:member",
7492
+ "docComment": "/**\n * The keywords of the package\n */\n",
7493
+ "excerptTokens": [
7494
+ {
7495
+ "kind": "Content",
7496
+ "text": "keywords?: "
7497
+ },
7498
+ {
7499
+ "kind": "Content",
7500
+ "text": "string[]"
7501
+ },
7502
+ {
7503
+ "kind": "Content",
7504
+ "text": ";"
7505
+ }
7506
+ ],
7507
+ "isReadonly": false,
7508
+ "isOptional": true,
7509
+ "releaseTag": "Public",
7510
+ "name": "keywords",
7511
+ "propertyTypeTokenRange": {
7512
+ "startIndex": 1,
7513
+ "endIndex": 2
7514
+ }
7515
+ },
7516
+ {
7517
+ "kind": "PropertySignature",
7518
+ "canonicalReference": "@alloy-js/typescript!PackageJsonFileProps#license:member",
7519
+ "docComment": "/**\n * The license of the package\n */\n",
6980
7520
  "excerptTokens": [
6981
7521
  {
6982
7522
  "kind": "Content",
6983
- "text": "devDependencies?: "
6984
- },
6985
- {
6986
- "kind": "Reference",
6987
- "text": "Record",
6988
- "canonicalReference": "!Record:type"
7523
+ "text": "license?: "
6989
7524
  },
6990
7525
  {
6991
7526
  "kind": "Content",
6992
- "text": "<string, string>"
7527
+ "text": "string"
6993
7528
  },
6994
7529
  {
6995
7530
  "kind": "Content",
@@ -6999,16 +7534,16 @@
6999
7534
  "isReadonly": false,
7000
7535
  "isOptional": true,
7001
7536
  "releaseTag": "Public",
7002
- "name": "devDependencies",
7537
+ "name": "license",
7003
7538
  "propertyTypeTokenRange": {
7004
7539
  "startIndex": 1,
7005
- "endIndex": 3
7540
+ "endIndex": 2
7006
7541
  }
7007
7542
  },
7008
7543
  {
7009
7544
  "kind": "PropertySignature",
7010
7545
  "canonicalReference": "@alloy-js/typescript!PackageJsonFileProps#name:member",
7011
- "docComment": "",
7546
+ "docComment": "/**\n * The name of the package\n */\n",
7012
7547
  "excerptTokens": [
7013
7548
  {
7014
7549
  "kind": "Content",
@@ -7032,10 +7567,37 @@
7032
7567
  "endIndex": 2
7033
7568
  }
7034
7569
  },
7570
+ {
7571
+ "kind": "PropertySignature",
7572
+ "canonicalReference": "@alloy-js/typescript!PackageJsonFileProps#repository:member",
7573
+ "docComment": "/**\n * The repository of the package\n */\n",
7574
+ "excerptTokens": [
7575
+ {
7576
+ "kind": "Content",
7577
+ "text": "repository?: "
7578
+ },
7579
+ {
7580
+ "kind": "Content",
7581
+ "text": "string | {\n type: string;\n url: string;\n }"
7582
+ },
7583
+ {
7584
+ "kind": "Content",
7585
+ "text": ";"
7586
+ }
7587
+ ],
7588
+ "isReadonly": false,
7589
+ "isOptional": true,
7590
+ "releaseTag": "Public",
7591
+ "name": "repository",
7592
+ "propertyTypeTokenRange": {
7593
+ "startIndex": 1,
7594
+ "endIndex": 2
7595
+ }
7596
+ },
7035
7597
  {
7036
7598
  "kind": "PropertySignature",
7037
7599
  "canonicalReference": "@alloy-js/typescript!PackageJsonFileProps#scripts:member",
7038
- "docComment": "",
7600
+ "docComment": "/**\n * The scripts entries of the package.\n */\n",
7039
7601
  "excerptTokens": [
7040
7602
  {
7041
7603
  "kind": "Content",
@@ -7067,7 +7629,7 @@
7067
7629
  {
7068
7630
  "kind": "PropertySignature",
7069
7631
  "canonicalReference": "@alloy-js/typescript!PackageJsonFileProps#type:member",
7070
- "docComment": "",
7632
+ "docComment": "/**\n * Whether this is a commonjs or module. Defaults to module.\n */\n",
7071
7633
  "excerptTokens": [
7072
7634
  {
7073
7635
  "kind": "Content",
@@ -7094,7 +7656,7 @@
7094
7656
  {
7095
7657
  "kind": "PropertySignature",
7096
7658
  "canonicalReference": "@alloy-js/typescript!PackageJsonFileProps#version:member",
7097
- "docComment": "",
7659
+ "docComment": "/**\n * The version of the package\n */\n",
7098
7660
  "excerptTokens": [
7099
7661
  {
7100
7662
  "kind": "Content",
@@ -7254,7 +7816,7 @@
7254
7816
  "excerptTokens": [
7255
7817
  {
7256
7818
  "kind": "Content",
7257
- "text": "refkey: "
7819
+ "text": "refkey?: "
7258
7820
  },
7259
7821
  {
7260
7822
  "kind": "Reference",
@@ -7267,7 +7829,7 @@
7267
7829
  }
7268
7830
  ],
7269
7831
  "isReadonly": false,
7270
- "isOptional": false,
7832
+ "isOptional": true,
7271
7833
  "releaseTag": "Public",
7272
7834
  "name": "refkey",
7273
7835
  "propertyTypeTokenRange": {
@@ -7275,6 +7837,38 @@
7275
7837
  "endIndex": 2
7276
7838
  }
7277
7839
  },
7840
+ {
7841
+ "kind": "PropertySignature",
7842
+ "canonicalReference": "@alloy-js/typescript!ParameterDescriptor#refkeys:member",
7843
+ "docComment": "",
7844
+ "excerptTokens": [
7845
+ {
7846
+ "kind": "Content",
7847
+ "text": "refkeys?: "
7848
+ },
7849
+ {
7850
+ "kind": "Reference",
7851
+ "text": "Refkey",
7852
+ "canonicalReference": "@alloy-js/core!Refkey:type"
7853
+ },
7854
+ {
7855
+ "kind": "Content",
7856
+ "text": "[]"
7857
+ },
7858
+ {
7859
+ "kind": "Content",
7860
+ "text": ";"
7861
+ }
7862
+ ],
7863
+ "isReadonly": false,
7864
+ "isOptional": true,
7865
+ "releaseTag": "Public",
7866
+ "name": "refkeys",
7867
+ "propertyTypeTokenRange": {
7868
+ "startIndex": 1,
7869
+ "endIndex": 3
7870
+ }
7871
+ },
7278
7872
  {
7279
7873
  "kind": "PropertySignature",
7280
7874
  "canonicalReference": "@alloy-js/typescript!ParameterDescriptor#type:member",
@@ -7282,7 +7876,7 @@
7282
7876
  "excerptTokens": [
7283
7877
  {
7284
7878
  "kind": "Content",
7285
- "text": "type: "
7879
+ "text": "type?: "
7286
7880
  },
7287
7881
  {
7288
7882
  "kind": "Reference",
@@ -7295,7 +7889,7 @@
7295
7889
  }
7296
7890
  ],
7297
7891
  "isReadonly": false,
7298
- "isOptional": false,
7892
+ "isOptional": true,
7299
7893
  "releaseTag": "Public",
7300
7894
  "name": "type",
7301
7895
  "propertyTypeTokenRange": {
@@ -8803,133 +9397,6 @@
8803
9397
  ],
8804
9398
  "name": "addModule"
8805
9399
  },
8806
- {
8807
- "kind": "MethodSignature",
8808
- "canonicalReference": "@alloy-js/typescript!TSPackageScope#addRawDependency:member(1)",
8809
- "docComment": "",
8810
- "excerptTokens": [
8811
- {
8812
- "kind": "Content",
8813
- "text": "addRawDependency(packageName: "
8814
- },
8815
- {
8816
- "kind": "Content",
8817
- "text": "string"
8818
- },
8819
- {
8820
- "kind": "Content",
8821
- "text": ", version: "
8822
- },
8823
- {
8824
- "kind": "Content",
8825
- "text": "string"
8826
- },
8827
- {
8828
- "kind": "Content",
8829
- "text": "): "
8830
- },
8831
- {
8832
- "kind": "Content",
8833
- "text": "void"
8834
- },
8835
- {
8836
- "kind": "Content",
8837
- "text": ";"
8838
- }
8839
- ],
8840
- "isOptional": false,
8841
- "returnTypeTokenRange": {
8842
- "startIndex": 5,
8843
- "endIndex": 6
8844
- },
8845
- "releaseTag": "Public",
8846
- "overloadIndex": 1,
8847
- "parameters": [
8848
- {
8849
- "parameterName": "packageName",
8850
- "parameterTypeTokenRange": {
8851
- "startIndex": 1,
8852
- "endIndex": 2
8853
- },
8854
- "isOptional": false
8855
- },
8856
- {
8857
- "parameterName": "version",
8858
- "parameterTypeTokenRange": {
8859
- "startIndex": 3,
8860
- "endIndex": 4
8861
- },
8862
- "isOptional": false
8863
- }
8864
- ],
8865
- "name": "addRawDependency"
8866
- },
8867
- {
8868
- "kind": "MethodSignature",
8869
- "canonicalReference": "@alloy-js/typescript!TSPackageScope#addRawExport:member(1)",
8870
- "docComment": "",
8871
- "excerptTokens": [
8872
- {
8873
- "kind": "Content",
8874
- "text": "addRawExport(publicPath: "
8875
- },
8876
- {
8877
- "kind": "Content",
8878
- "text": "string"
8879
- },
8880
- {
8881
- "kind": "Content",
8882
- "text": ", exportPath: "
8883
- },
8884
- {
8885
- "kind": "Content",
8886
- "text": "string | "
8887
- },
8888
- {
8889
- "kind": "Reference",
8890
- "text": "ExportConditions",
8891
- "canonicalReference": "@alloy-js/typescript!ExportConditions:interface"
8892
- },
8893
- {
8894
- "kind": "Content",
8895
- "text": "): "
8896
- },
8897
- {
8898
- "kind": "Content",
8899
- "text": "void"
8900
- },
8901
- {
8902
- "kind": "Content",
8903
- "text": ";"
8904
- }
8905
- ],
8906
- "isOptional": false,
8907
- "returnTypeTokenRange": {
8908
- "startIndex": 6,
8909
- "endIndex": 7
8910
- },
8911
- "releaseTag": "Public",
8912
- "overloadIndex": 1,
8913
- "parameters": [
8914
- {
8915
- "parameterName": "publicPath",
8916
- "parameterTypeTokenRange": {
8917
- "startIndex": 1,
8918
- "endIndex": 2
8919
- },
8920
- "isOptional": false
8921
- },
8922
- {
8923
- "parameterName": "exportPath",
8924
- "parameterTypeTokenRange": {
8925
- "startIndex": 3,
8926
- "endIndex": 5
8927
- },
8928
- "isOptional": false
8929
- }
8930
- ],
8931
- "name": "addRawExport"
8932
- },
8933
9400
  {
8934
9401
  "kind": "PropertySignature",
8935
9402
  "canonicalReference": "@alloy-js/typescript!TSPackageScope#builtin:member",
@@ -9189,66 +9656,6 @@
9189
9656
  "endIndex": 2
9190
9657
  }
9191
9658
  },
9192
- {
9193
- "kind": "PropertySignature",
9194
- "canonicalReference": "@alloy-js/typescript!TSPackageScope#rawDependencies:member",
9195
- "docComment": "/**\n * Fixed dependencies of this package. Only use this for packages in which you do not intend to reference via the `Reference` component. Symbols from raw dependencies cannot be auto imported.\n */\n",
9196
- "excerptTokens": [
9197
- {
9198
- "kind": "Content",
9199
- "text": "rawDependencies: "
9200
- },
9201
- {
9202
- "kind": "Reference",
9203
- "text": "Map",
9204
- "canonicalReference": "!Map:interface"
9205
- },
9206
- {
9207
- "kind": "Content",
9208
- "text": "<string, string>"
9209
- },
9210
- {
9211
- "kind": "Content",
9212
- "text": ";"
9213
- }
9214
- ],
9215
- "isReadonly": false,
9216
- "isOptional": false,
9217
- "releaseTag": "Public",
9218
- "name": "rawDependencies",
9219
- "propertyTypeTokenRange": {
9220
- "startIndex": 1,
9221
- "endIndex": 3
9222
- }
9223
- },
9224
- {
9225
- "kind": "PropertySignature",
9226
- "canonicalReference": "@alloy-js/typescript!TSPackageScope#rawExports:member",
9227
- "docComment": "/**\n * Fixed exports of this package. Only use this for exports which you want to add manually to the package. Otherwise use the `export` prop on `SourceFile` to add an export.\n */\n",
9228
- "excerptTokens": [
9229
- {
9230
- "kind": "Content",
9231
- "text": "rawExports: "
9232
- },
9233
- {
9234
- "kind": "Reference",
9235
- "text": "PackageExports",
9236
- "canonicalReference": "@alloy-js/typescript!PackageExports:interface"
9237
- },
9238
- {
9239
- "kind": "Content",
9240
- "text": ";"
9241
- }
9242
- ],
9243
- "isReadonly": false,
9244
- "isOptional": false,
9245
- "releaseTag": "Public",
9246
- "name": "rawExports",
9247
- "propertyTypeTokenRange": {
9248
- "startIndex": 1,
9249
- "endIndex": 2
9250
- }
9251
- },
9252
9659
  {
9253
9660
  "kind": "PropertySignature",
9254
9661
  "canonicalReference": "@alloy-js/typescript!TSPackageScope#version:member",