@alloy-js/typescript 0.23.0-dev.2 → 0.23.0-dev.4

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 (61) hide show
  1. package/dist/src/components/FunctionType.d.ts +1 -1
  2. package/dist/src/components/FunctionType.js +1 -1
  3. package/dist/src/components/FunctionType.js.map +1 -1
  4. package/dist/src/components/Interface.d.ts +1 -1
  5. package/dist/src/components/Interface.d.ts.map +1 -1
  6. package/dist/src/components/Interface.js +14 -9
  7. package/dist/src/components/Interface.js.map +1 -1
  8. package/dist/src/components/MemberScope.d.ts.map +1 -1
  9. package/dist/src/components/MemberScope.js +6 -2
  10. package/dist/src/components/MemberScope.js.map +1 -1
  11. package/dist/src/components/PackageDirectory.d.ts.map +1 -1
  12. package/dist/src/components/PackageDirectory.js +2 -2
  13. package/dist/src/components/PackageDirectory.js.map +1 -1
  14. package/dist/src/components/SourceFile.d.ts.map +1 -1
  15. package/dist/src/components/SourceFile.js +4 -2
  16. package/dist/src/components/SourceFile.js.map +1 -1
  17. package/dist/src/components/TypeDeclaration.d.ts +1 -1
  18. package/dist/src/components/TypeDeclaration.d.ts.map +1 -1
  19. package/dist/src/components/TypeDeclaration.js +1 -1
  20. package/dist/src/components/TypeDeclaration.js.map +1 -1
  21. package/dist/src/components/TypeRefContext.d.ts +1 -1
  22. package/dist/src/components/TypeRefContext.d.ts.map +1 -1
  23. package/dist/src/components/TypeRefContext.js +1 -1
  24. package/dist/src/components/TypeRefContext.js.map +1 -1
  25. package/dist/src/context/type-ref-context.d.ts.map +1 -1
  26. package/dist/src/context/type-ref-context.js +2 -2
  27. package/dist/src/context/type-ref-context.js.map +1 -1
  28. package/dist/src/create-package.d.ts.map +1 -1
  29. package/dist/src/create-package.js +7 -6
  30. package/dist/src/create-package.js.map +1 -1
  31. package/dist/src/symbols/index.d.ts.map +1 -1
  32. package/dist/src/symbols/index.js +47 -11
  33. package/dist/src/symbols/index.js.map +1 -1
  34. package/dist/src/symbols/ts-module-scope.d.ts +1 -0
  35. package/dist/src/symbols/ts-module-scope.d.ts.map +1 -1
  36. package/dist/src/symbols/ts-module-scope.js +14 -3
  37. package/dist/src/symbols/ts-module-scope.js.map +1 -1
  38. package/dist/src/symbols/ts-output-symbol.d.ts +1 -0
  39. package/dist/src/symbols/ts-output-symbol.d.ts.map +1 -1
  40. package/dist/src/symbols/ts-output-symbol.js +20 -3
  41. package/dist/src/symbols/ts-output-symbol.js.map +1 -1
  42. package/dist/src/symbols/ts-package-scope.d.ts +1 -0
  43. package/dist/src/symbols/ts-package-scope.d.ts.map +1 -1
  44. package/dist/src/symbols/ts-package-scope.js +8 -0
  45. package/dist/src/symbols/ts-package-scope.js.map +1 -1
  46. package/dist/tsconfig.tsbuildinfo +1 -1
  47. package/package.json +9 -5
  48. package/src/components/FunctionType.tsx +1 -1
  49. package/src/components/Interface.tsx +24 -13
  50. package/src/components/MemberScope.tsx +13 -3
  51. package/src/components/PackageDirectory.tsx +2 -1
  52. package/src/components/SourceFile.tsx +4 -1
  53. package/src/components/TypeDeclaration.tsx +15 -15
  54. package/src/components/TypeRefContext.tsx +2 -2
  55. package/src/context/type-ref-context.tsx +6 -2
  56. package/src/create-package.ts +29 -15
  57. package/src/symbols/index.ts +36 -10
  58. package/src/symbols/ts-module-scope.ts +36 -9
  59. package/src/symbols/ts-output-symbol.ts +21 -2
  60. package/src/symbols/ts-package-scope.ts +9 -0
  61. package/temp/api.json +160 -63
package/temp/api.json CHANGED
@@ -4786,13 +4786,13 @@
4786
4786
  "text": "): "
4787
4787
  },
4788
4788
  {
4789
- "kind": "Content",
4790
- "text": "(props: TProps) => "
4789
+ "kind": "Reference",
4790
+ "text": "Component",
4791
+ "canonicalReference": "@alloy-js/core!Component:interface"
4791
4792
  },
4792
4793
  {
4793
- "kind": "Reference",
4794
- "text": "Children",
4795
- "canonicalReference": "@alloy-js/core!Children:type"
4794
+ "kind": "Content",
4795
+ "text": "<TProps>"
4796
4796
  },
4797
4797
  {
4798
4798
  "kind": "Content",
@@ -6586,25 +6586,25 @@
6586
6586
  },
6587
6587
  {
6588
6588
  "kind": "Content",
6589
- "text": "((props: "
6589
+ "text": "import(\"@alloy-js/core\")."
6590
6590
  },
6591
6591
  {
6592
6592
  "kind": "Reference",
6593
- "text": "FunctionTypeProps",
6594
- "canonicalReference": "@alloy-js/typescript!FunctionTypeProps:interface"
6593
+ "text": "Component",
6594
+ "canonicalReference": "@alloy-js/core!Component:interface"
6595
6595
  },
6596
6596
  {
6597
6597
  "kind": "Content",
6598
- "text": ") => "
6598
+ "text": "<"
6599
6599
  },
6600
6600
  {
6601
6601
  "kind": "Reference",
6602
- "text": "Children",
6603
- "canonicalReference": "@alloy-js/core!Children:type"
6602
+ "text": "FunctionTypeProps",
6603
+ "canonicalReference": "@alloy-js/typescript!FunctionTypeProps:interface"
6604
6604
  },
6605
6605
  {
6606
6606
  "kind": "Content",
6607
- "text": ") & {\n TypeParameters: import(\"@alloy-js/core\")."
6607
+ "text": "> & {\n TypeParameters: import(\"@alloy-js/core\")."
6608
6608
  },
6609
6609
  {
6610
6610
  "kind": "Reference",
@@ -7760,47 +7760,45 @@
7760
7760
  ]
7761
7761
  },
7762
7762
  {
7763
- "kind": "Function",
7764
- "canonicalReference": "@alloy-js/typescript!InterfaceExpression:function(1)",
7763
+ "kind": "Variable",
7764
+ "canonicalReference": "@alloy-js/typescript!InterfaceExpression:var",
7765
7765
  "docComment": "",
7766
7766
  "excerptTokens": [
7767
7767
  {
7768
7768
  "kind": "Content",
7769
- "text": "InterfaceExpression: (props: "
7769
+ "text": "InterfaceExpression: "
7770
+ },
7771
+ {
7772
+ "kind": "Content",
7773
+ "text": "import(\"@alloy-js/core\")."
7770
7774
  },
7771
7775
  {
7772
7776
  "kind": "Reference",
7773
- "text": "InterfaceExpressionProps",
7774
- "canonicalReference": "@alloy-js/typescript!InterfaceExpressionProps:interface"
7777
+ "text": "Component",
7778
+ "canonicalReference": "@alloy-js/core!Component:interface"
7775
7779
  },
7776
7780
  {
7777
7781
  "kind": "Content",
7778
- "text": ") => "
7782
+ "text": "<"
7779
7783
  },
7780
7784
  {
7781
7785
  "kind": "Reference",
7782
- "text": "Children",
7783
- "canonicalReference": "@alloy-js/core!Children:type"
7786
+ "text": "InterfaceExpressionProps",
7787
+ "canonicalReference": "@alloy-js/typescript!InterfaceExpressionProps:interface"
7788
+ },
7789
+ {
7790
+ "kind": "Content",
7791
+ "text": ">"
7784
7792
  }
7785
7793
  ],
7786
7794
  "fileUrlPath": "src/components/Interface.tsx",
7787
- "returnTypeTokenRange": {
7788
- "startIndex": 3,
7789
- "endIndex": 4
7790
- },
7795
+ "isReadonly": true,
7791
7796
  "releaseTag": "Public",
7792
- "overloadIndex": 1,
7793
- "parameters": [
7794
- {
7795
- "parameterName": "props",
7796
- "parameterTypeTokenRange": {
7797
- "startIndex": 1,
7798
- "endIndex": 2
7799
- },
7800
- "isOptional": false
7801
- }
7802
- ],
7803
- "name": "InterfaceExpression"
7797
+ "name": "InterfaceExpression",
7798
+ "variableTypeTokenRange": {
7799
+ "startIndex": 1,
7800
+ "endIndex": 6
7801
+ }
7804
7802
  },
7805
7803
  {
7806
7804
  "kind": "Interface",
@@ -14727,6 +14725,41 @@
14727
14725
  "isAbstract": false,
14728
14726
  "name": "addImport"
14729
14727
  },
14728
+ {
14729
+ "kind": "Property",
14730
+ "canonicalReference": "@alloy-js/typescript!TSModuleScope#debugInfo:member",
14731
+ "docComment": "",
14732
+ "excerptTokens": [
14733
+ {
14734
+ "kind": "Content",
14735
+ "text": "get debugInfo(): "
14736
+ },
14737
+ {
14738
+ "kind": "Reference",
14739
+ "text": "Record",
14740
+ "canonicalReference": "!Record:type"
14741
+ },
14742
+ {
14743
+ "kind": "Content",
14744
+ "text": "<string, unknown>"
14745
+ },
14746
+ {
14747
+ "kind": "Content",
14748
+ "text": ";"
14749
+ }
14750
+ ],
14751
+ "isReadonly": true,
14752
+ "isOptional": false,
14753
+ "releaseTag": "Public",
14754
+ "name": "debugInfo",
14755
+ "propertyTypeTokenRange": {
14756
+ "startIndex": 1,
14757
+ "endIndex": 3
14758
+ },
14759
+ "isStatic": false,
14760
+ "isProtected": false,
14761
+ "isAbstract": false
14762
+ },
14730
14763
  {
14731
14764
  "kind": "Property",
14732
14765
  "canonicalReference": "@alloy-js/typescript!TSModuleScope#exportedSymbols:member",
@@ -15168,6 +15201,41 @@
15168
15201
  "isAbstract": false,
15169
15202
  "name": "copy"
15170
15203
  },
15204
+ {
15205
+ "kind": "Property",
15206
+ "canonicalReference": "@alloy-js/typescript!TSOutputSymbol#debugInfo:member",
15207
+ "docComment": "",
15208
+ "excerptTokens": [
15209
+ {
15210
+ "kind": "Content",
15211
+ "text": "get debugInfo(): "
15212
+ },
15213
+ {
15214
+ "kind": "Reference",
15215
+ "text": "Record",
15216
+ "canonicalReference": "!Record:type"
15217
+ },
15218
+ {
15219
+ "kind": "Content",
15220
+ "text": "<string, unknown>"
15221
+ },
15222
+ {
15223
+ "kind": "Content",
15224
+ "text": ";"
15225
+ }
15226
+ ],
15227
+ "isReadonly": true,
15228
+ "isOptional": false,
15229
+ "releaseTag": "Public",
15230
+ "name": "debugInfo",
15231
+ "propertyTypeTokenRange": {
15232
+ "startIndex": 1,
15233
+ "endIndex": 3
15234
+ },
15235
+ "isStatic": false,
15236
+ "isProtected": false,
15237
+ "isAbstract": false
15238
+ },
15171
15239
  {
15172
15240
  "kind": "Property",
15173
15241
  "canonicalReference": "@alloy-js/typescript!TSOutputSymbol#default:member",
@@ -16056,6 +16124,41 @@
16056
16124
  "isAbstract": false,
16057
16125
  "name": "copyTo"
16058
16126
  },
16127
+ {
16128
+ "kind": "Property",
16129
+ "canonicalReference": "@alloy-js/typescript!TSPackageScope#debugInfo:member",
16130
+ "docComment": "",
16131
+ "excerptTokens": [
16132
+ {
16133
+ "kind": "Content",
16134
+ "text": "get debugInfo(): "
16135
+ },
16136
+ {
16137
+ "kind": "Reference",
16138
+ "text": "Record",
16139
+ "canonicalReference": "!Record:type"
16140
+ },
16141
+ {
16142
+ "kind": "Content",
16143
+ "text": "<string, unknown>"
16144
+ },
16145
+ {
16146
+ "kind": "Content",
16147
+ "text": ";"
16148
+ }
16149
+ ],
16150
+ "isReadonly": true,
16151
+ "isOptional": false,
16152
+ "releaseTag": "Public",
16153
+ "name": "debugInfo",
16154
+ "propertyTypeTokenRange": {
16155
+ "startIndex": 1,
16156
+ "endIndex": 3
16157
+ },
16158
+ "isStatic": false,
16159
+ "isProtected": false,
16160
+ "isAbstract": false
16161
+ },
16059
16162
  {
16060
16163
  "kind": "Property",
16061
16164
  "canonicalReference": "@alloy-js/typescript!TSPackageScope#dependencies:member",
@@ -16495,51 +16598,45 @@
16495
16598
  ]
16496
16599
  },
16497
16600
  {
16498
- "kind": "Function",
16499
- "canonicalReference": "@alloy-js/typescript!TypeDeclaration:function(1)",
16601
+ "kind": "Variable",
16602
+ "canonicalReference": "@alloy-js/typescript!TypeDeclaration:var",
16500
16603
  "docComment": "",
16501
16604
  "excerptTokens": [
16502
16605
  {
16503
16606
  "kind": "Content",
16504
- "text": "TypeDeclaration: (props: "
16607
+ "text": "TypeDeclaration: "
16505
16608
  },
16506
16609
  {
16507
- "kind": "Reference",
16508
- "text": "TypeDeclarationProps",
16509
- "canonicalReference": "@alloy-js/typescript!TypeDeclarationProps:interface"
16610
+ "kind": "Content",
16611
+ "text": "import(\"@alloy-js/core\")."
16510
16612
  },
16511
16613
  {
16512
- "kind": "Content",
16513
- "text": ") => "
16614
+ "kind": "Reference",
16615
+ "text": "Component",
16616
+ "canonicalReference": "@alloy-js/core!Component:interface"
16514
16617
  },
16515
16618
  {
16516
16619
  "kind": "Content",
16517
- "text": "import(\"@alloy-js/core\")."
16620
+ "text": "<"
16518
16621
  },
16519
16622
  {
16520
16623
  "kind": "Reference",
16521
- "text": "Children",
16522
- "canonicalReference": "@alloy-js/core!Children:type"
16624
+ "text": "TypeDeclarationProps",
16625
+ "canonicalReference": "@alloy-js/typescript!TypeDeclarationProps:interface"
16626
+ },
16627
+ {
16628
+ "kind": "Content",
16629
+ "text": ">"
16523
16630
  }
16524
16631
  ],
16525
16632
  "fileUrlPath": "src/components/TypeDeclaration.tsx",
16526
- "returnTypeTokenRange": {
16527
- "startIndex": 3,
16528
- "endIndex": 5
16529
- },
16633
+ "isReadonly": true,
16530
16634
  "releaseTag": "Public",
16531
- "overloadIndex": 1,
16532
- "parameters": [
16533
- {
16534
- "parameterName": "props",
16535
- "parameterTypeTokenRange": {
16536
- "startIndex": 1,
16537
- "endIndex": 2
16538
- },
16539
- "isOptional": false
16540
- }
16541
- ],
16542
- "name": "TypeDeclaration"
16635
+ "name": "TypeDeclaration",
16636
+ "variableTypeTokenRange": {
16637
+ "startIndex": 1,
16638
+ "endIndex": 6
16639
+ }
16543
16640
  },
16544
16641
  {
16545
16642
  "kind": "Interface",