@power-plant/alloy-js 0.0.6 → 0.0.8

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 (354) hide show
  1. package/README.md +1 -1
  2. package/dist/alert-BZRTtU1X.d.cts +52 -0
  3. package/dist/alert-BZRTtU1X.d.cts.map +1 -0
  4. package/dist/alert-BZRTtU1X.d.mts +52 -0
  5. package/dist/alert-BZRTtU1X.d.mts.map +1 -0
  6. package/dist/block-declaration-DbMuMxXx.d.cts +19 -0
  7. package/dist/block-declaration-DbMuMxXx.d.cts.map +1 -0
  8. package/dist/block-declaration-Yq4hWFFT.d.mts +19 -0
  9. package/dist/block-declaration-Yq4hWFFT.d.mts.map +1 -0
  10. package/dist/class-declaration-CL5quGqz.d.mts +139 -0
  11. package/dist/class-declaration-CL5quGqz.d.mts.map +1 -0
  12. package/dist/class-declaration-G7ncTlSj.d.cts +139 -0
  13. package/dist/class-declaration-G7ncTlSj.d.cts.map +1 -0
  14. package/dist/components-D8UkrP5Q.d.cts +11 -0
  15. package/dist/components-D8UkrP5Q.d.cts.map +1 -0
  16. package/dist/components-D8UkrP5Q.d.mts +11 -0
  17. package/dist/components-D8UkrP5Q.d.mts.map +1 -0
  18. package/dist/core/components/index.cjs +1 -1
  19. package/dist/core/components/index.d.cts +1 -1
  20. package/dist/core/components/index.d.mts +1 -1
  21. package/dist/core/components/index.mjs +1 -1
  22. package/dist/core/components/source-file.cjs +1 -1
  23. package/dist/core/components/source-file.d.cts +1 -1
  24. package/dist/core/components/source-file.d.mts +1 -1
  25. package/dist/core/components/source-file.mjs +2 -1
  26. package/dist/core/components/source-file.mjs.map +1 -0
  27. package/dist/core/contexts/execution.cjs +1 -1
  28. package/dist/core/contexts/execution.mjs +1 -1
  29. package/dist/core/contexts/index.cjs +1 -1
  30. package/dist/core/contexts/index.d.cts +2 -2
  31. package/dist/core/contexts/index.d.mts +2 -2
  32. package/dist/core/contexts/index.mjs +1 -1
  33. package/dist/core/contexts/meta.cjs +1 -1
  34. package/dist/core/contexts/meta.mjs +1 -1
  35. package/dist/core/contexts/schema.cjs +1 -1
  36. package/dist/core/contexts/schema.mjs +1 -1
  37. package/dist/core/contexts/session.cjs +1 -1
  38. package/dist/core/contexts/session.d.cts +2 -2
  39. package/dist/core/contexts/session.d.mts +2 -2
  40. package/dist/core/contexts/session.mjs +1 -1
  41. package/dist/core/contexts/spec.cjs +1 -1
  42. package/dist/core/contexts/spec.mjs +1 -1
  43. package/dist/core/helpers/header-constants.cjs +1 -0
  44. package/dist/core/helpers/header-constants.d.cts +12 -0
  45. package/dist/core/helpers/header-constants.d.cts.map +1 -0
  46. package/dist/core/helpers/header-constants.d.mts +12 -0
  47. package/dist/core/helpers/header-constants.d.mts.map +1 -0
  48. package/dist/core/helpers/header-constants.mjs +2 -0
  49. package/dist/core/helpers/header-constants.mjs.map +1 -0
  50. package/dist/core/index.cjs +1 -1
  51. package/dist/core/index.d.cts +3 -3
  52. package/dist/core/index.d.mts +3 -3
  53. package/dist/core/index.mjs +1 -1
  54. package/dist/dynamic-import-statement--GIybIf5.d.cts +30 -0
  55. package/dist/dynamic-import-statement--GIybIf5.d.cts.map +1 -0
  56. package/dist/dynamic-import-statement--GIybIf5.d.mts +30 -0
  57. package/dist/dynamic-import-statement--GIybIf5.d.mts.map +1 -0
  58. package/dist/front-matter-N6kiCG9y.d.cts +13 -0
  59. package/dist/front-matter-N6kiCG9y.d.cts.map +1 -0
  60. package/dist/front-matter-N6kiCG9y.d.mts +13 -0
  61. package/dist/front-matter-N6kiCG9y.d.mts.map +1 -0
  62. package/dist/get-call-signature-props-B1NHhswg.d.cts +13 -0
  63. package/dist/get-call-signature-props-B1NHhswg.d.cts.map +1 -0
  64. package/dist/get-call-signature-props-B1NHhswg.d.mts +13 -0
  65. package/dist/get-call-signature-props-B1NHhswg.d.mts.map +1 -0
  66. package/dist/hcl/components/block-declaration.cjs +1 -0
  67. package/dist/hcl/components/block-declaration.d.cts +2 -0
  68. package/dist/hcl/components/block-declaration.d.mts +2 -0
  69. package/dist/hcl/components/block-declaration.mjs +2 -0
  70. package/dist/hcl/components/block-declaration.mjs.map +1 -0
  71. package/dist/hcl/components/hcl-file.cjs +1 -0
  72. package/dist/hcl/components/hcl-file.d.cts +2 -0
  73. package/dist/hcl/components/hcl-file.d.mts +2 -0
  74. package/dist/hcl/components/hcl-file.mjs +2 -0
  75. package/dist/hcl/components/hcl-file.mjs.map +1 -0
  76. package/dist/hcl/components/index.cjs +1 -0
  77. package/dist/hcl/components/index.d.cts +5 -0
  78. package/dist/hcl/components/index.d.mts +5 -0
  79. package/dist/hcl/components/index.mjs +1 -0
  80. package/dist/hcl/components/packer-file.cjs +1 -0
  81. package/dist/hcl/components/packer-file.d.cts +2 -0
  82. package/dist/hcl/components/packer-file.d.mts +2 -0
  83. package/dist/hcl/components/packer-file.mjs +2 -0
  84. package/dist/hcl/components/packer-file.mjs.map +1 -0
  85. package/dist/hcl/components/terraform-file.cjs +1 -0
  86. package/dist/hcl/components/terraform-file.d.cts +2 -0
  87. package/dist/hcl/components/terraform-file.d.mts +2 -0
  88. package/dist/hcl/components/terraform-file.mjs +2 -0
  89. package/dist/hcl/components/terraform-file.mjs.map +1 -0
  90. package/dist/hcl/index.cjs +1 -0
  91. package/dist/hcl/index.d.cts +6 -0
  92. package/dist/hcl/index.d.mts +6 -0
  93. package/dist/hcl/index.mjs +1 -0
  94. package/dist/hcl-file-CDeOXiO0.d.mts +25 -0
  95. package/dist/hcl-file-CDeOXiO0.d.mts.map +1 -0
  96. package/dist/hcl-file-CxR4hw4B.d.cts +25 -0
  97. package/dist/hcl-file-CxR4hw4B.d.cts.map +1 -0
  98. package/dist/heading-CG6LmaB5.d.cts +17 -0
  99. package/dist/heading-CG6LmaB5.d.cts.map +1 -0
  100. package/dist/heading-D0he7iDI.d.mts +17 -0
  101. package/dist/heading-D0he7iDI.d.mts.map +1 -0
  102. package/dist/index.cjs +1 -47
  103. package/dist/index.d.cts.map +1 -1
  104. package/dist/index.mjs +1 -47
  105. package/dist/interface-declaration-BSo-U6IN.d.cts +78 -0
  106. package/dist/interface-declaration-BSo-U6IN.d.cts.map +1 -0
  107. package/dist/interface-declaration-DYLPeJH1.d.mts +78 -0
  108. package/dist/interface-declaration-DYLPeJH1.d.mts.map +1 -0
  109. package/dist/lexical-scope-DghPwq5Q.d.cts +12 -0
  110. package/dist/lexical-scope-DghPwq5Q.d.cts.map +1 -0
  111. package/dist/lexical-scope-DghPwq5Q.d.mts +12 -0
  112. package/dist/lexical-scope-DghPwq5Q.d.mts.map +1 -0
  113. package/dist/markdown/components/alert.cjs +1 -0
  114. package/dist/markdown/components/alert.d.cts +2 -0
  115. package/dist/markdown/components/alert.d.mts +2 -0
  116. package/dist/markdown/components/alert.mjs +2 -0
  117. package/dist/markdown/components/alert.mjs.map +1 -0
  118. package/dist/markdown/components/front-matter.cjs +1 -0
  119. package/dist/markdown/components/front-matter.d.cts +2 -0
  120. package/dist/markdown/components/front-matter.d.mts +2 -0
  121. package/dist/markdown/components/front-matter.mjs +2 -0
  122. package/dist/markdown/components/front-matter.mjs.map +1 -0
  123. package/dist/markdown/components/heading.cjs +1 -0
  124. package/dist/markdown/components/heading.d.cts +2 -0
  125. package/dist/markdown/components/heading.d.mts +2 -0
  126. package/dist/markdown/components/heading.mjs +2 -0
  127. package/dist/markdown/components/heading.mjs.map +1 -0
  128. package/dist/markdown/components/index.cjs +1 -0
  129. package/dist/markdown/components/index.d.cts +6 -0
  130. package/dist/markdown/components/index.d.mts +6 -0
  131. package/dist/markdown/components/index.mjs +1 -0
  132. package/dist/markdown/components/markdown-file.cjs +1 -0
  133. package/dist/markdown/components/markdown-file.d.cts +2 -0
  134. package/dist/markdown/components/markdown-file.d.mts +2 -0
  135. package/dist/markdown/components/markdown-file.mjs +2 -0
  136. package/dist/markdown/components/markdown-file.mjs.map +1 -0
  137. package/dist/markdown/components/markdown-table.cjs +1 -0
  138. package/dist/markdown/components/markdown-table.d.cts +2 -0
  139. package/dist/markdown/components/markdown-table.d.mts +2 -0
  140. package/dist/markdown/components/markdown-table.mjs +2 -0
  141. package/dist/markdown/components/markdown-table.mjs.map +1 -0
  142. package/dist/markdown/contexts/index.cjs +1 -0
  143. package/dist/markdown/contexts/index.d.cts +2 -0
  144. package/dist/markdown/contexts/index.d.mts +2 -0
  145. package/dist/markdown/contexts/index.mjs +1 -0
  146. package/dist/markdown/contexts/markdown-table.cjs +1 -0
  147. package/dist/markdown/contexts/markdown-table.d.cts +2 -0
  148. package/dist/markdown/contexts/markdown-table.d.mts +2 -0
  149. package/dist/markdown/contexts/markdown-table.mjs +2 -0
  150. package/dist/markdown/contexts/markdown-table.mjs.map +1 -0
  151. package/dist/markdown/index.cjs +1 -0
  152. package/dist/markdown/index.d.cts +9 -0
  153. package/dist/markdown/index.d.mts +9 -0
  154. package/dist/markdown/index.mjs +1 -0
  155. package/dist/markdown-file-BsiASIVZ.d.cts +25 -0
  156. package/dist/markdown-file-BsiASIVZ.d.cts.map +1 -0
  157. package/dist/markdown-file-CG6y_nCf.d.mts +25 -0
  158. package/dist/markdown-file-CG6y_nCf.d.mts.map +1 -0
  159. package/dist/markdown-table-BxfTr3lV.d.cts +35 -0
  160. package/dist/markdown-table-BxfTr3lV.d.cts.map +1 -0
  161. package/dist/markdown-table-BxfTr3lV.d.mts +35 -0
  162. package/dist/markdown-table-BxfTr3lV.d.mts.map +1 -0
  163. package/dist/markdown-table-H4veEJCn.d.mts +37 -0
  164. package/dist/markdown-table-H4veEJCn.d.mts.map +1 -0
  165. package/dist/markdown-table-P04wFKse.d.cts +37 -0
  166. package/dist/markdown-table-P04wFKse.d.cts.map +1 -0
  167. package/dist/object-declaration-BWJ8zDKp.d.cts +24 -0
  168. package/dist/object-declaration-BWJ8zDKp.d.cts.map +1 -0
  169. package/dist/object-declaration-DQQhQypx.d.mts +24 -0
  170. package/dist/object-declaration-DQQhQypx.d.mts.map +1 -0
  171. package/dist/packer-file-DVdUCeHH.d.cts +16 -0
  172. package/dist/packer-file-DVdUCeHH.d.cts.map +1 -0
  173. package/dist/packer-file-DeJWrlcR.d.mts +16 -0
  174. package/dist/packer-file-DeJWrlcR.d.mts.map +1 -0
  175. package/dist/property-name-bQ4hrXmQ.d.cts +21 -0
  176. package/dist/property-name-bQ4hrXmQ.d.cts.map +1 -0
  177. package/dist/property-name-bQ4hrXmQ.d.mts +21 -0
  178. package/dist/property-name-bQ4hrXmQ.d.mts.map +1 -0
  179. package/dist/record-expression-CECGDPCk.d.cts +9 -0
  180. package/dist/record-expression-CECGDPCk.d.cts.map +1 -0
  181. package/dist/record-expression-CECGDPCk.d.mts +9 -0
  182. package/dist/record-expression-CECGDPCk.d.mts.map +1 -0
  183. package/dist/render.cjs +1 -1
  184. package/dist/render.d.cts.map +1 -1
  185. package/dist/render.mjs +2 -1
  186. package/dist/render.mjs.map +1 -0
  187. package/dist/rolldown-runtime-CMqjfN_6.cjs +1 -0
  188. package/dist/session-C2p15ap9.d.cts +23 -0
  189. package/dist/session-C2p15ap9.d.cts.map +1 -0
  190. package/dist/session-C2p15ap9.d.mts +23 -0
  191. package/dist/session-C2p15ap9.d.mts.map +1 -0
  192. package/dist/{source-file-DVILH8rC.d.mts → source-file-BiWHfxCC.d.mts} +5 -5
  193. package/dist/source-file-BiWHfxCC.d.mts.map +1 -0
  194. package/dist/{source-file-CPJOENVo.d.cts → source-file-DfP35Z8l.d.cts} +4 -4
  195. package/dist/source-file-DfP35Z8l.d.cts.map +1 -0
  196. package/dist/terraform-file-DS0uAb5z.d.mts +17 -0
  197. package/dist/terraform-file-DS0uAb5z.d.mts.map +1 -0
  198. package/dist/terraform-file-gr1_jJWO.d.cts +17 -0
  199. package/dist/terraform-file-gr1_jJWO.d.cts.map +1 -0
  200. package/dist/tsdoc-B6Hw9jOF.d.cts +163 -0
  201. package/dist/tsdoc-B6Hw9jOF.d.cts.map +1 -0
  202. package/dist/tsdoc-CFdZtTw6.d.mts +163 -0
  203. package/dist/tsdoc-CFdZtTw6.d.mts.map +1 -0
  204. package/dist/tsdoc-schema-B4yKswI-.d.mts +21 -0
  205. package/dist/tsdoc-schema-B4yKswI-.d.mts.map +1 -0
  206. package/dist/tsdoc-schema-DJ_3JLuh.d.cts +21 -0
  207. package/dist/tsdoc-schema-DJ_3JLuh.d.cts.map +1 -0
  208. package/dist/type-declaration-BLvkozNR.d.cts +15 -0
  209. package/dist/type-declaration-BLvkozNR.d.cts.map +1 -0
  210. package/dist/type-declaration-BLvkozNR.d.mts +15 -0
  211. package/dist/type-declaration-BLvkozNR.d.mts.map +1 -0
  212. package/dist/type-parameters-BzCDG9lT.d.cts +22 -0
  213. package/dist/type-parameters-BzCDG9lT.d.cts.map +1 -0
  214. package/dist/type-parameters-BzCDG9lT.d.mts +22 -0
  215. package/dist/type-parameters-BzCDG9lT.d.mts.map +1 -0
  216. package/dist/typescript/components/class-declaration.cjs +1 -0
  217. package/dist/typescript/components/class-declaration.d.cts +2 -0
  218. package/dist/typescript/components/class-declaration.d.mts +2 -0
  219. package/dist/typescript/components/class-declaration.mjs +2 -0
  220. package/dist/typescript/components/class-declaration.mjs.map +1 -0
  221. package/dist/typescript/components/dynamic-import-statement.cjs +1 -0
  222. package/dist/typescript/components/dynamic-import-statement.d.cts +2 -0
  223. package/dist/typescript/components/dynamic-import-statement.d.mts +2 -0
  224. package/dist/typescript/components/dynamic-import-statement.mjs +2 -0
  225. package/dist/typescript/components/dynamic-import-statement.mjs.map +1 -0
  226. package/dist/typescript/components/index.cjs +1 -0
  227. package/dist/typescript/components/index.d.cts +12 -0
  228. package/dist/typescript/components/index.d.mts +12 -0
  229. package/dist/typescript/components/index.mjs +1 -0
  230. package/dist/typescript/components/interface-declaration.cjs +1 -0
  231. package/dist/typescript/components/interface-declaration.d.cts +2 -0
  232. package/dist/typescript/components/interface-declaration.d.mts +2 -0
  233. package/dist/typescript/components/interface-declaration.mjs +2 -0
  234. package/dist/typescript/components/interface-declaration.mjs.map +1 -0
  235. package/dist/typescript/components/object-declaration.cjs +1 -0
  236. package/dist/typescript/components/object-declaration.d.cts +2 -0
  237. package/dist/typescript/components/object-declaration.d.mts +2 -0
  238. package/dist/typescript/components/object-declaration.mjs +2 -0
  239. package/dist/typescript/components/object-declaration.mjs.map +1 -0
  240. package/dist/typescript/components/property-name.cjs +1 -0
  241. package/dist/typescript/components/property-name.d.cts +2 -0
  242. package/dist/typescript/components/property-name.d.mts +2 -0
  243. package/dist/typescript/components/property-name.mjs +2 -0
  244. package/dist/typescript/components/property-name.mjs.map +1 -0
  245. package/dist/typescript/components/record-expression.cjs +3 -0
  246. package/dist/typescript/components/record-expression.d.cts +2 -0
  247. package/dist/typescript/components/record-expression.d.mts +2 -0
  248. package/dist/typescript/components/record-expression.mjs +4 -0
  249. package/dist/typescript/components/record-expression.mjs.map +1 -0
  250. package/dist/typescript/components/tsdoc-schema.cjs +1 -0
  251. package/dist/typescript/components/tsdoc-schema.d.cts +2 -0
  252. package/dist/typescript/components/tsdoc-schema.d.mts +2 -0
  253. package/dist/typescript/components/tsdoc-schema.mjs +2 -0
  254. package/dist/typescript/components/tsdoc-schema.mjs.map +1 -0
  255. package/dist/typescript/components/tsdoc.cjs +1 -0
  256. package/dist/typescript/components/tsdoc.d.cts +2 -0
  257. package/dist/typescript/components/tsdoc.d.mts +2 -0
  258. package/dist/typescript/components/tsdoc.mjs +2 -0
  259. package/dist/typescript/components/tsdoc.mjs.map +1 -0
  260. package/dist/typescript/components/type-declaration.cjs +1 -0
  261. package/dist/typescript/components/type-declaration.d.cts +2 -0
  262. package/dist/typescript/components/type-declaration.d.mts +2 -0
  263. package/dist/typescript/components/type-declaration.mjs +2 -0
  264. package/dist/typescript/components/type-declaration.mjs.map +1 -0
  265. package/dist/typescript/components/type-parameters.cjs +1 -0
  266. package/dist/typescript/components/type-parameters.d.cts +2 -0
  267. package/dist/typescript/components/type-parameters.d.mts +2 -0
  268. package/dist/typescript/components/type-parameters.mjs +2 -0
  269. package/dist/typescript/components/type-parameters.mjs.map +1 -0
  270. package/dist/typescript/components/typescript-file.cjs +1 -0
  271. package/dist/typescript/components/typescript-file.d.cts +2 -0
  272. package/dist/typescript/components/typescript-file.d.mts +2 -0
  273. package/dist/typescript/components/typescript-file.mjs +2 -0
  274. package/dist/typescript/components/typescript-file.mjs.map +1 -0
  275. package/dist/typescript/contexts/index.cjs +1 -0
  276. package/dist/typescript/contexts/index.d.cts +2 -0
  277. package/dist/typescript/contexts/index.d.mts +2 -0
  278. package/dist/typescript/contexts/index.mjs +1 -0
  279. package/dist/typescript/contexts/lexical-scope.cjs +1 -0
  280. package/dist/typescript/contexts/lexical-scope.d.cts +2 -0
  281. package/dist/typescript/contexts/lexical-scope.d.mts +2 -0
  282. package/dist/typescript/contexts/lexical-scope.mjs +2 -0
  283. package/dist/typescript/contexts/lexical-scope.mjs.map +1 -0
  284. package/dist/typescript/contexts/member-scope.cjs +1 -0
  285. package/dist/typescript/contexts/member-scope.d.cts +18 -0
  286. package/dist/typescript/contexts/member-scope.d.cts.map +1 -0
  287. package/dist/typescript/contexts/member-scope.d.mts +18 -0
  288. package/dist/typescript/contexts/member-scope.d.mts.map +1 -0
  289. package/dist/typescript/contexts/member-scope.mjs +2 -0
  290. package/dist/typescript/contexts/member-scope.mjs.map +1 -0
  291. package/dist/typescript/helpers/get-call-signature-props.cjs +1 -0
  292. package/dist/typescript/helpers/get-call-signature-props.d.cts +2 -0
  293. package/dist/typescript/helpers/get-call-signature-props.d.mts +2 -0
  294. package/dist/typescript/helpers/get-call-signature-props.mjs +2 -0
  295. package/dist/typescript/helpers/get-call-signature-props.mjs.map +1 -0
  296. package/dist/typescript/helpers/index.cjs +1 -0
  297. package/dist/typescript/helpers/index.d.cts +3 -0
  298. package/dist/typescript/helpers/index.d.mts +3 -0
  299. package/dist/typescript/helpers/index.mjs +1 -0
  300. package/dist/typescript/helpers/utilities.cjs +1 -0
  301. package/dist/typescript/helpers/utilities.d.cts +2 -0
  302. package/dist/typescript/helpers/utilities.d.mts +2 -0
  303. package/dist/typescript/helpers/utilities.mjs +2 -0
  304. package/dist/typescript/helpers/utilities.mjs.map +1 -0
  305. package/dist/typescript/index.cjs +1 -0
  306. package/dist/typescript/index.d.cts +19 -0
  307. package/dist/typescript/index.d.mts +19 -0
  308. package/dist/typescript/index.mjs +1 -0
  309. package/dist/typescript/types/components.cjs +0 -0
  310. package/dist/typescript/types/components.d.cts +2 -0
  311. package/dist/typescript/types/components.d.mts +2 -0
  312. package/dist/typescript/types/components.mjs +0 -0
  313. package/dist/typescript/types/index.cjs +0 -0
  314. package/dist/typescript/types/index.d.cts +2 -0
  315. package/dist/typescript/types/index.d.mts +2 -0
  316. package/dist/typescript/types/index.mjs +0 -0
  317. package/dist/typescript-file-C0GR7QWh.d.cts +49 -0
  318. package/dist/typescript-file-C0GR7QWh.d.cts.map +1 -0
  319. package/dist/typescript-file-YdpvA2Y-.d.mts +49 -0
  320. package/dist/typescript-file-YdpvA2Y-.d.mts.map +1 -0
  321. package/dist/utilities-BtXOWwjJ.d.cts +11 -0
  322. package/dist/utilities-BtXOWwjJ.d.cts.map +1 -0
  323. package/dist/utilities-BtXOWwjJ.d.mts +11 -0
  324. package/dist/utilities-BtXOWwjJ.d.mts.map +1 -0
  325. package/dist/yaml/components/index.cjs +1 -0
  326. package/dist/yaml/components/index.d.cts +2 -0
  327. package/dist/yaml/components/index.d.mts +2 -0
  328. package/dist/yaml/components/index.mjs +1 -0
  329. package/dist/yaml/components/yaml-file.cjs +1 -0
  330. package/dist/yaml/components/yaml-file.d.cts +2 -0
  331. package/dist/yaml/components/yaml-file.d.mts +2 -0
  332. package/dist/yaml/components/yaml-file.mjs +2 -0
  333. package/dist/yaml/components/yaml-file.mjs.map +1 -0
  334. package/dist/yaml/index.cjs +1 -0
  335. package/dist/yaml/index.d.cts +3 -0
  336. package/dist/yaml/index.d.mts +3 -0
  337. package/dist/yaml/index.mjs +1 -0
  338. package/dist/yaml-file-BBXSkeRl.d.cts +31 -0
  339. package/dist/yaml-file-BBXSkeRl.d.cts.map +1 -0
  340. package/dist/yaml-file-BRSIxFdU.d.mts +31 -0
  341. package/dist/yaml-file-BRSIxFdU.d.mts.map +1 -0
  342. package/package.json +570 -11
  343. package/dist/render-Bh6nE1bo.cjs +0 -1
  344. package/dist/render-UH3hN5fr.mjs +0 -2
  345. package/dist/render-UH3hN5fr.mjs.map +0 -1
  346. package/dist/session-CFnVWg4N.d.cts +0 -62
  347. package/dist/session-CFnVWg4N.d.cts.map +0 -1
  348. package/dist/session-CFnVWg4N.d.mts +0 -62
  349. package/dist/session-CFnVWg4N.d.mts.map +0 -1
  350. package/dist/source-file-CPJOENVo.d.cts.map +0 -1
  351. package/dist/source-file-DVILH8rC.d.mts.map +0 -1
  352. package/dist/source-file-K_2P7eFP.cjs +0 -1
  353. package/dist/source-file-t3itBybg.mjs +0 -2
  354. package/dist/source-file-t3itBybg.mjs.map +0 -1
@@ -0,0 +1,3 @@
1
+ import { t as getCallSignatureProps } from "../../get-call-signature-props-B1NHhswg.cjs";
2
+ import { t as isValidJSIdentifier } from "../../utilities-BtXOWwjJ.cjs";
3
+ export { getCallSignatureProps, isValidJSIdentifier };
@@ -0,0 +1,3 @@
1
+ import { t as getCallSignatureProps } from "../../get-call-signature-props-B1NHhswg.mjs";
2
+ import { t as isValidJSIdentifier } from "../../utilities-BtXOWwjJ.mjs";
3
+ export { getCallSignatureProps, isValidJSIdentifier };
@@ -0,0 +1 @@
1
+ import{getCallSignatureProps as e}from"./get-call-signature-props.mjs";import{isValidJSIdentifier as t}from"./utilities.mjs";export{e as getCallSignatureProps,t as isValidJSIdentifier};
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});function e(e){return/^[\p{ID_Start}$_][\p{ID_Continue}$\u200C\u200D]*$/u.test(e)}exports.isValidJSIdentifier=e;
@@ -0,0 +1,2 @@
1
+ import { t as isValidJSIdentifier } from "../../utilities-BtXOWwjJ.cjs";
2
+ export { isValidJSIdentifier };
@@ -0,0 +1,2 @@
1
+ import { t as isValidJSIdentifier } from "../../utilities-BtXOWwjJ.mjs";
2
+ export { isValidJSIdentifier };
@@ -0,0 +1,2 @@
1
+ function e(e){return/^[\p{ID_Start}$_][\p{ID_Continue}$\u200C\u200D]*$/u.test(e)}export{e as isValidJSIdentifier};
2
+ //# sourceMappingURL=utilities.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utilities.mjs","names":[],"sources":[],"mappings":""}
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./contexts/lexical-scope.cjs");require("./contexts/index.cjs");const t=require("./helpers/get-call-signature-props.cjs"),n=require("./helpers/utilities.cjs");require("./helpers/index.cjs");const r=require("./components/property-name.cjs"),i=require("./components/tsdoc.cjs"),a=require("./components/type-parameters.cjs"),o=require("./components/class-declaration.cjs"),s=require("./components/dynamic-import-statement.cjs"),c=require("./components/tsdoc-schema.cjs"),l=require("./components/interface-declaration.cjs"),u=require("./components/object-declaration.cjs"),d=require("./components/record-expression.cjs"),f=require("./components/type-declaration.cjs"),p=require("./components/typescript-file.cjs");require("./components/index.cjs"),require("./types/index.cjs"),exports.ClassDeclaration=o.ClassDeclaration,exports.ClassField=o.ClassField,exports.ClassMember=o.ClassMember,exports.ClassMethod=o.ClassMethod,exports.ClassPropertyGet=o.ClassPropertyGet,exports.ClassPropertySet=o.ClassPropertySet,exports.DynamicImportStatement=s.DynamicImportStatement,exports.InterfaceDeclaration=l.InterfaceDeclaration,exports.InterfaceDeclarationProperty=l.InterfaceDeclarationProperty,exports.InterfaceExpression=l.InterfaceExpression,exports.InterfaceMember=l.InterfaceMember,exports.LexicalScope=e.LexicalScope,exports.ObjectDeclaration=u.ObjectDeclaration,exports.ObjectDeclarationProperty=u.ObjectDeclarationProperty,exports.PropertyName=r.PropertyName,exports.RecordExpression=d.RecordExpression,exports.TSDoc=i.TSDoc,exports.TSDocAlias=i.TSDocAlias,exports.TSDocAttributesTags=i.TSDocAttributesTags,exports.TSDocDefaultValue=i.TSDocDefaultValue,exports.TSDocDomain=i.TSDocDomain,exports.TSDocExample=i.TSDocExample,exports.TSDocGroup=i.TSDocGroup,exports.TSDocHidden=i.TSDocHidden,exports.TSDocIgnore=i.TSDocIgnore,exports.TSDocInternal=i.TSDocInternal,exports.TSDocLink=i.TSDocLink,exports.TSDocModule=i.TSDocModule,exports.TSDocObjectSchema=c.TSDocObjectSchema,exports.TSDocParam=i.TSDocParam,exports.TSDocParams=i.TSDocParams,exports.TSDocPermission=i.TSDocPermission,exports.TSDocReadonly=i.TSDocReadonly,exports.TSDocRemarks=i.TSDocRemarks,exports.TSDocReturns=i.TSDocReturns,exports.TSDocRuntime=i.TSDocRuntime,exports.TSDocSchemaProperty=c.TSDocSchemaProperty,exports.TSDocTag=i.TSDocTag,exports.TSDocThrows=i.TSDocThrows,exports.TSDocTitle=i.TSDocTitle,exports.TypeDeclaration=f.TypeDeclaration,exports.TypeParameters=a.TypeParameters,exports.TypescriptFile=p.TypescriptFile,exports.TypescriptFileHeader=p.TypescriptFileHeader,exports.TypescriptFileHeaderImports=p.TypescriptFileHeaderImports,exports.getCallSignatureProps=t.getCallSignatureProps,exports.isValidJSIdentifier=n.isValidJSIdentifier;
@@ -0,0 +1,19 @@
1
+ import { n as TypeParametersProps, t as TypeParameters } from "../type-parameters-BzCDG9lT.cjs";
2
+ import { a as ClassMember, c as ClassMethodProps, d as ClassPropertySet, i as ClassFieldProps, l as ClassPropertyGet, n as ClassDeclarationProps, o as ClassMemberProps, r as ClassField, s as ClassMethod, t as ClassDeclaration, u as ClassPropertyProps } from "../class-declaration-G7ncTlSj.cjs";
3
+ import { n as DynamicImportStatementProps, t as DynamicImportStatement } from "../dynamic-import-statement--GIybIf5.cjs";
4
+ import { a as InterfaceExpression, c as InterfaceMember, d as InterfaceSchemaMemberProps, f as InterfaceTypeMemberProps, i as InterfaceDeclarationProps, l as InterfaceMemberProps, n as InterfaceDeclarationProperty, o as InterfaceExpressionProps, r as InterfaceDeclarationPropertyProps, s as InterfaceIndexerMemberProps, t as InterfaceDeclaration, u as InterfaceMemberPropsBase } from "../interface-declaration-BSo-U6IN.cjs";
5
+ import { i as ObjectDeclarationProps, n as ObjectDeclarationProperty, r as ObjectDeclarationPropertyProps, t as ObjectDeclaration } from "../object-declaration-BWJ8zDKp.cjs";
6
+ import { n as PropertyNameProps, t as PropertyName } from "../property-name-bQ4hrXmQ.cjs";
7
+ import { n as RecordExpressionProps, t as RecordExpression } from "../record-expression-CECGDPCk.cjs";
8
+ import { A as TSDocTitle, C as TSDocReadonly, D as TSDocTag, E as TSDocRuntime, O as TSDocTagProps, S as TSDocProps, T as TSDocReturns, _ as TSDocParam, a as TSDocDefaultValue, b as TSDocParamsProps, c as TSDocExample, d as TSDocHidden, f as TSDocIgnore, g as TSDocModuleProps, h as TSDocModule, i as TSDocAttributesTagsProps, k as TSDocThrows, l as TSDocExampleProps, m as TSDocLink, n as TSDocAlias, o as TSDocDefaultValueProps, p as TSDocInternal, r as TSDocAttributesTags, s as TSDocDomain, t as TSDoc, u as TSDocGroup, v as TSDocParamProps, w as TSDocRemarks, x as TSDocPermission, y as TSDocParams } from "../tsdoc-B6Hw9jOF.cjs";
9
+ import { i as TSDocSchemaPropertyProps, n as TSDocObjectSchemaProps, r as TSDocSchemaProperty, t as TSDocObjectSchema } from "../tsdoc-schema-DJ_3JLuh.cjs";
10
+ import { n as TypeDeclarationProps, t as TypeDeclaration } from "../type-declaration-BLvkozNR.cjs";
11
+ import { n as TypescriptFileImports, t as TypescriptFileImportItem } from "../components-D8UkrP5Q.cjs";
12
+ import { a as TypescriptFileHeaderProps, i as TypescriptFileHeaderImportsProps, n as TypescriptFileHeader, o as TypescriptFileProps, r as TypescriptFileHeaderImports, t as TypescriptFile } from "../typescript-file-C0GR7QWh.cjs";
13
+ import "./components/index.cjs";
14
+ import { i as LexicalScopePropsWithScopeValue, n as LexicalScopeProps, r as LexicalScopePropsWithScopeInfo, t as LexicalScope } from "../lexical-scope-DghPwq5Q.cjs";
15
+ import "./contexts/index.cjs";
16
+ import { t as getCallSignatureProps } from "../get-call-signature-props-B1NHhswg.cjs";
17
+ import { t as isValidJSIdentifier } from "../utilities-BtXOWwjJ.cjs";
18
+ import "./helpers/index.cjs";
19
+ export { ClassDeclaration, ClassDeclarationProps, ClassField, ClassFieldProps, ClassMember, ClassMemberProps, ClassMethod, ClassMethodProps, ClassPropertyGet, ClassPropertyProps, ClassPropertySet, DynamicImportStatement, DynamicImportStatementProps, InterfaceDeclaration, InterfaceDeclarationProperty, InterfaceDeclarationPropertyProps, InterfaceDeclarationProps, InterfaceExpression, InterfaceExpressionProps, InterfaceIndexerMemberProps, InterfaceMember, InterfaceMemberProps, InterfaceMemberPropsBase, InterfaceSchemaMemberProps, InterfaceTypeMemberProps, LexicalScope, LexicalScopeProps, LexicalScopePropsWithScopeInfo, LexicalScopePropsWithScopeValue, ObjectDeclaration, ObjectDeclarationProperty, ObjectDeclarationPropertyProps, ObjectDeclarationProps, PropertyName, PropertyNameProps, RecordExpression, RecordExpressionProps, TSDoc, TSDocAlias, TSDocAttributesTags, TSDocAttributesTagsProps, TSDocDefaultValue, TSDocDefaultValueProps, TSDocDomain, TSDocExample, TSDocExampleProps, TSDocGroup, TSDocHidden, TSDocIgnore, TSDocInternal, TSDocLink, TSDocModule, TSDocModuleProps, TSDocObjectSchema, TSDocObjectSchemaProps, TSDocParam, TSDocParamProps, TSDocParams, TSDocParamsProps, TSDocPermission, TSDocProps, TSDocReadonly, TSDocRemarks, TSDocReturns, TSDocRuntime, TSDocSchemaProperty, TSDocSchemaPropertyProps, TSDocTag, TSDocTagProps, TSDocThrows, TSDocTitle, TypeDeclaration, TypeDeclarationProps, TypeParameters, TypeParametersProps, TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports, TypescriptFileHeaderImportsProps, TypescriptFileHeaderProps, TypescriptFileImportItem, TypescriptFileImports, TypescriptFileProps, getCallSignatureProps, isValidJSIdentifier };
@@ -0,0 +1,19 @@
1
+ import { n as TypeParametersProps, t as TypeParameters } from "../type-parameters-BzCDG9lT.mjs";
2
+ import { a as ClassMember, c as ClassMethodProps, d as ClassPropertySet, i as ClassFieldProps, l as ClassPropertyGet, n as ClassDeclarationProps, o as ClassMemberProps, r as ClassField, s as ClassMethod, t as ClassDeclaration, u as ClassPropertyProps } from "../class-declaration-CL5quGqz.mjs";
3
+ import { n as DynamicImportStatementProps, t as DynamicImportStatement } from "../dynamic-import-statement--GIybIf5.mjs";
4
+ import { a as InterfaceExpression, c as InterfaceMember, d as InterfaceSchemaMemberProps, f as InterfaceTypeMemberProps, i as InterfaceDeclarationProps, l as InterfaceMemberProps, n as InterfaceDeclarationProperty, o as InterfaceExpressionProps, r as InterfaceDeclarationPropertyProps, s as InterfaceIndexerMemberProps, t as InterfaceDeclaration, u as InterfaceMemberPropsBase } from "../interface-declaration-DYLPeJH1.mjs";
5
+ import { i as ObjectDeclarationProps, n as ObjectDeclarationProperty, r as ObjectDeclarationPropertyProps, t as ObjectDeclaration } from "../object-declaration-DQQhQypx.mjs";
6
+ import { n as PropertyNameProps, t as PropertyName } from "../property-name-bQ4hrXmQ.mjs";
7
+ import { n as RecordExpressionProps, t as RecordExpression } from "../record-expression-CECGDPCk.mjs";
8
+ import { A as TSDocTitle, C as TSDocReadonly, D as TSDocTag, E as TSDocRuntime, O as TSDocTagProps, S as TSDocProps, T as TSDocReturns, _ as TSDocParam, a as TSDocDefaultValue, b as TSDocParamsProps, c as TSDocExample, d as TSDocHidden, f as TSDocIgnore, g as TSDocModuleProps, h as TSDocModule, i as TSDocAttributesTagsProps, k as TSDocThrows, l as TSDocExampleProps, m as TSDocLink, n as TSDocAlias, o as TSDocDefaultValueProps, p as TSDocInternal, r as TSDocAttributesTags, s as TSDocDomain, t as TSDoc, u as TSDocGroup, v as TSDocParamProps, w as TSDocRemarks, x as TSDocPermission, y as TSDocParams } from "../tsdoc-CFdZtTw6.mjs";
9
+ import { i as TSDocSchemaPropertyProps, n as TSDocObjectSchemaProps, r as TSDocSchemaProperty, t as TSDocObjectSchema } from "../tsdoc-schema-B4yKswI-.mjs";
10
+ import { n as TypeDeclarationProps, t as TypeDeclaration } from "../type-declaration-BLvkozNR.mjs";
11
+ import { n as TypescriptFileImports, t as TypescriptFileImportItem } from "../components-D8UkrP5Q.mjs";
12
+ import { a as TypescriptFileHeaderProps, i as TypescriptFileHeaderImportsProps, n as TypescriptFileHeader, o as TypescriptFileProps, r as TypescriptFileHeaderImports, t as TypescriptFile } from "../typescript-file-YdpvA2Y-.mjs";
13
+ import "./components/index.mjs";
14
+ import { i as LexicalScopePropsWithScopeValue, n as LexicalScopeProps, r as LexicalScopePropsWithScopeInfo, t as LexicalScope } from "../lexical-scope-DghPwq5Q.mjs";
15
+ import "./contexts/index.mjs";
16
+ import { t as getCallSignatureProps } from "../get-call-signature-props-B1NHhswg.mjs";
17
+ import { t as isValidJSIdentifier } from "../utilities-BtXOWwjJ.mjs";
18
+ import "./helpers/index.mjs";
19
+ export { ClassDeclaration, ClassDeclarationProps, ClassField, ClassFieldProps, ClassMember, ClassMemberProps, ClassMethod, ClassMethodProps, ClassPropertyGet, ClassPropertyProps, ClassPropertySet, DynamicImportStatement, DynamicImportStatementProps, InterfaceDeclaration, InterfaceDeclarationProperty, InterfaceDeclarationPropertyProps, InterfaceDeclarationProps, InterfaceExpression, InterfaceExpressionProps, InterfaceIndexerMemberProps, InterfaceMember, InterfaceMemberProps, InterfaceMemberPropsBase, InterfaceSchemaMemberProps, InterfaceTypeMemberProps, LexicalScope, LexicalScopeProps, LexicalScopePropsWithScopeInfo, LexicalScopePropsWithScopeValue, ObjectDeclaration, ObjectDeclarationProperty, ObjectDeclarationPropertyProps, ObjectDeclarationProps, PropertyName, PropertyNameProps, RecordExpression, RecordExpressionProps, TSDoc, TSDocAlias, TSDocAttributesTags, TSDocAttributesTagsProps, TSDocDefaultValue, TSDocDefaultValueProps, TSDocDomain, TSDocExample, TSDocExampleProps, TSDocGroup, TSDocHidden, TSDocIgnore, TSDocInternal, TSDocLink, TSDocModule, TSDocModuleProps, TSDocObjectSchema, TSDocObjectSchemaProps, TSDocParam, TSDocParamProps, TSDocParams, TSDocParamsProps, TSDocPermission, TSDocProps, TSDocReadonly, TSDocRemarks, TSDocReturns, TSDocRuntime, TSDocSchemaProperty, TSDocSchemaPropertyProps, TSDocTag, TSDocTagProps, TSDocThrows, TSDocTitle, TypeDeclaration, TypeDeclarationProps, TypeParameters, TypeParametersProps, TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports, TypescriptFileHeaderImportsProps, TypescriptFileHeaderProps, TypescriptFileImportItem, TypescriptFileImports, TypescriptFileProps, getCallSignatureProps, isValidJSIdentifier };
@@ -0,0 +1 @@
1
+ import{LexicalScope as e}from"./contexts/lexical-scope.mjs";import"./contexts/index.mjs";import{getCallSignatureProps as t}from"./helpers/get-call-signature-props.mjs";import{isValidJSIdentifier as n}from"./helpers/utilities.mjs";import"./helpers/index.mjs";import{PropertyName as r}from"./components/property-name.mjs";import{TSDoc as i,TSDocAlias as a,TSDocAttributesTags as o,TSDocDefaultValue as s,TSDocDomain as c,TSDocExample as l,TSDocGroup as u,TSDocHidden as d,TSDocIgnore as f,TSDocInternal as p,TSDocLink as m,TSDocModule as h,TSDocParam as g,TSDocParams as _,TSDocPermission as v,TSDocReadonly as y,TSDocRemarks as b,TSDocReturns as x,TSDocRuntime as S,TSDocTag as C,TSDocThrows as w,TSDocTitle as T}from"./components/tsdoc.mjs";import{TypeParameters as E}from"./components/type-parameters.mjs";import{ClassDeclaration as D,ClassField as O,ClassMember as k,ClassMethod as A,ClassPropertyGet as j,ClassPropertySet as M}from"./components/class-declaration.mjs";import{DynamicImportStatement as N}from"./components/dynamic-import-statement.mjs";import{TSDocObjectSchema as P,TSDocSchemaProperty as F}from"./components/tsdoc-schema.mjs";import{InterfaceDeclaration as I,InterfaceDeclarationProperty as L,InterfaceExpression as R,InterfaceMember as z}from"./components/interface-declaration.mjs";import{ObjectDeclaration as B,ObjectDeclarationProperty as V}from"./components/object-declaration.mjs";import{RecordExpression as H}from"./components/record-expression.mjs";import{TypeDeclaration as U}from"./components/type-declaration.mjs";import{TypescriptFile as W,TypescriptFileHeader as G,TypescriptFileHeaderImports as K}from"./components/typescript-file.mjs";import"./components/index.mjs";import"./types/index.mjs";export{D as ClassDeclaration,O as ClassField,k as ClassMember,A as ClassMethod,j as ClassPropertyGet,M as ClassPropertySet,N as DynamicImportStatement,I as InterfaceDeclaration,L as InterfaceDeclarationProperty,R as InterfaceExpression,z as InterfaceMember,e as LexicalScope,B as ObjectDeclaration,V as ObjectDeclarationProperty,r as PropertyName,H as RecordExpression,i as TSDoc,a as TSDocAlias,o as TSDocAttributesTags,s as TSDocDefaultValue,c as TSDocDomain,l as TSDocExample,u as TSDocGroup,d as TSDocHidden,f as TSDocIgnore,p as TSDocInternal,m as TSDocLink,h as TSDocModule,P as TSDocObjectSchema,g as TSDocParam,_ as TSDocParams,v as TSDocPermission,y as TSDocReadonly,b as TSDocRemarks,x as TSDocReturns,S as TSDocRuntime,F as TSDocSchemaProperty,C as TSDocTag,w as TSDocThrows,T as TSDocTitle,U as TypeDeclaration,E as TypeParameters,W as TypescriptFile,G as TypescriptFileHeader,K as TypescriptFileHeaderImports,t as getCallSignatureProps,n as isValidJSIdentifier};
File without changes
@@ -0,0 +1,2 @@
1
+ import { n as TypescriptFileImports, t as TypescriptFileImportItem } from "../../components-D8UkrP5Q.cjs";
2
+ export { TypescriptFileImportItem, TypescriptFileImports };
@@ -0,0 +1,2 @@
1
+ import { n as TypescriptFileImports, t as TypescriptFileImportItem } from "../../components-D8UkrP5Q.mjs";
2
+ export { TypescriptFileImportItem, TypescriptFileImports };
File without changes
File without changes
@@ -0,0 +1,2 @@
1
+ import { n as TypescriptFileImports, t as TypescriptFileImportItem } from "../../components-D8UkrP5Q.cjs";
2
+ export { TypescriptFileImportItem, TypescriptFileImports };
@@ -0,0 +1,2 @@
1
+ import { n as TypescriptFileImports, t as TypescriptFileImportItem } from "../../components-D8UkrP5Q.mjs";
2
+ export { TypescriptFileImportItem, TypescriptFileImports };
File without changes
@@ -0,0 +1,49 @@
1
+ import { a as SourceFileHeaderProps, t as ComponentProps } from "./components-vJaCHt1A.cjs";
2
+ import { n as SourceFileProps$1 } from "./source-file-DfP35Z8l.cjs";
3
+ import { n as TypescriptFileImports } from "./components-D8UkrP5Q.cjs";
4
+ import { Children } from "@alloy-js/core";
5
+ import { TSModuleScope } from "@alloy-js/typescript";
6
+ //#region src/typescript/components/typescript-file.d.ts
7
+ type TypescriptFileProps = Omit<SourceFileProps$1, "filetype"> & ComponentProps & {
8
+ hashbang?: Children | true;
9
+ header?: Children;
10
+ imports?: TypescriptFileImports;
11
+ builtinImports?: TypescriptFileImports;
12
+ export?: boolean | string;
13
+ tsx?: boolean;
14
+ };
15
+ /**
16
+ * A base component representing a Powerlines generated Typescript source file.
17
+ *
18
+ * @param props - The properties for the source file.
19
+ * @returns The rendered source file component.
20
+ */
21
+ declare function TypescriptFile(props: TypescriptFileProps): Children;
22
+ interface TypescriptFileHeaderProps extends SourceFileHeaderProps {
23
+ header?: Children;
24
+ hashbang?: Children | true;
25
+ debug?: boolean;
26
+ }
27
+ /**
28
+ * Renders the header for a Powerlines Typescript source file.
29
+ *
30
+ * @param props - The properties for the source file header.
31
+ * @returns The rendered source file header.
32
+ */
33
+ declare function TypescriptFileHeader(props: TypescriptFileHeaderProps): Children;
34
+ interface TypescriptFileHeaderImportsProps extends SourceFileHeaderProps {
35
+ imports?: TypescriptFileImports;
36
+ builtinImports?: TypescriptFileImports;
37
+ scope?: TSModuleScope;
38
+ prefix?: string;
39
+ }
40
+ /**
41
+ * Renders the header for a Powerlines Typescript source file.
42
+ *
43
+ * @param props - The properties for the source file header.
44
+ * @returns The rendered source file header.
45
+ */
46
+ declare function TypescriptFileHeaderImports(props: TypescriptFileHeaderImportsProps): Children;
47
+ //#endregion
48
+ export { TypescriptFileHeaderProps as a, TypescriptFileHeaderImportsProps as i, TypescriptFileHeader as n, TypescriptFileProps as o, TypescriptFileHeaderImports as r, TypescriptFile as t };
49
+ //# sourceMappingURL=typescript-file-C0GR7QWh.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typescript-file-C0GR7QWh.d.cts","names":[],"sources":["../src/typescript/components/typescript-file.tsx"],"mappings":";;;;;;KA0DY,sBAAsB,KAAK,iCACrC;EACE,WAAW;EACX,SAAS;EACT,UAAU;EACV,iBAAiB;EACjB;EACA;;;;;;;;iBASY,eAAe,OAAO,sBAAmB;UAgExC,kCAAkC;EACjD,SAAS;EACT,WAAW;EACX;;;;;;;;iBASc,qBAAqB,OAAO,4BAAyB;UAgEpD,yCAAyC;EACxD,UAAU;EACV,iBAAiB;EACjB,QAAQ;EACR;;;;;;;;iBASc,4BACd,OAAO,mCAAgC"}
@@ -0,0 +1,49 @@
1
+ import { a as SourceFileHeaderProps, t as ComponentProps } from "./components-vJaCHt1A.mjs";
2
+ import { n as SourceFileProps$1 } from "./source-file-BiWHfxCC.mjs";
3
+ import { n as TypescriptFileImports } from "./components-D8UkrP5Q.mjs";
4
+ import { Children } from "@alloy-js/core";
5
+ import { TSModuleScope } from "@alloy-js/typescript";
6
+ //#region src/typescript/components/typescript-file.d.ts
7
+ type TypescriptFileProps = Omit<SourceFileProps$1, "filetype"> & ComponentProps & {
8
+ hashbang?: Children | true;
9
+ header?: Children;
10
+ imports?: TypescriptFileImports;
11
+ builtinImports?: TypescriptFileImports;
12
+ export?: boolean | string;
13
+ tsx?: boolean;
14
+ };
15
+ /**
16
+ * A base component representing a Powerlines generated Typescript source file.
17
+ *
18
+ * @param props - The properties for the source file.
19
+ * @returns The rendered source file component.
20
+ */
21
+ declare function TypescriptFile(props: TypescriptFileProps): Children;
22
+ interface TypescriptFileHeaderProps extends SourceFileHeaderProps {
23
+ header?: Children;
24
+ hashbang?: Children | true;
25
+ debug?: boolean;
26
+ }
27
+ /**
28
+ * Renders the header for a Powerlines Typescript source file.
29
+ *
30
+ * @param props - The properties for the source file header.
31
+ * @returns The rendered source file header.
32
+ */
33
+ declare function TypescriptFileHeader(props: TypescriptFileHeaderProps): Children;
34
+ interface TypescriptFileHeaderImportsProps extends SourceFileHeaderProps {
35
+ imports?: TypescriptFileImports;
36
+ builtinImports?: TypescriptFileImports;
37
+ scope?: TSModuleScope;
38
+ prefix?: string;
39
+ }
40
+ /**
41
+ * Renders the header for a Powerlines Typescript source file.
42
+ *
43
+ * @param props - The properties for the source file header.
44
+ * @returns The rendered source file header.
45
+ */
46
+ declare function TypescriptFileHeaderImports(props: TypescriptFileHeaderImportsProps): Children;
47
+ //#endregion
48
+ export { TypescriptFileHeaderProps as a, TypescriptFileHeaderImportsProps as i, TypescriptFileHeader as n, TypescriptFileProps as o, TypescriptFileHeaderImports as r, TypescriptFile as t };
49
+ //# sourceMappingURL=typescript-file-YdpvA2Y-.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typescript-file-YdpvA2Y-.d.mts","names":[],"sources":["../src/typescript/components/typescript-file.tsx"],"mappings":""}
@@ -0,0 +1,11 @@
1
+ //#region src/typescript/helpers/utilities.d.ts
2
+ /**
3
+ * Check if a string is a valid JavaScript identifier.
4
+ *
5
+ * @param identifier - The string to check.
6
+ * @returns `true` if the string is a valid JavaScript identifier, `false` otherwise.
7
+ */
8
+ declare function isValidJSIdentifier(identifier: string): boolean;
9
+ //#endregion
10
+ export { isValidJSIdentifier as t };
11
+ //# sourceMappingURL=utilities-BtXOWwjJ.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utilities-BtXOWwjJ.d.cts","names":[],"sources":["../src/typescript/helpers/utilities.ts"],"mappings":";;;;;;;iBAwBgB,oBAAoB"}
@@ -0,0 +1,11 @@
1
+ //#region src/typescript/helpers/utilities.d.ts
2
+ /**
3
+ * Check if a string is a valid JavaScript identifier.
4
+ *
5
+ * @param identifier - The string to check.
6
+ * @returns `true` if the string is a valid JavaScript identifier, `false` otherwise.
7
+ */
8
+ declare function isValidJSIdentifier(identifier: string): boolean;
9
+ //#endregion
10
+ export { isValidJSIdentifier as t };
11
+ //# sourceMappingURL=utilities-BtXOWwjJ.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utilities-BtXOWwjJ.d.mts","names":[],"sources":["../src/typescript/helpers/utilities.ts"],"mappings":""}
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./yaml-file.cjs");exports.YamlFile=e.YamlFile,exports.YamlFileHeader=e.YamlFileHeader;
@@ -0,0 +1,2 @@
1
+ import { i as YamlFileProps, n as YamlFile, r as YamlFileHeader, t as YamlData } from "../../yaml-file-BBXSkeRl.cjs";
2
+ export { YamlData, YamlFile, YamlFileHeader, YamlFileProps };
@@ -0,0 +1,2 @@
1
+ import { i as YamlFileProps, n as YamlFile, r as YamlFileHeader, t as YamlData } from "../../yaml-file-BRSIxFdU.mjs";
2
+ export { YamlData, YamlFile, YamlFileHeader, YamlFileProps };
@@ -0,0 +1 @@
1
+ import{YamlFile as e,YamlFileHeader as t}from"./yaml-file.mjs";export{e as YamlFile,t as YamlFileHeader};
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../core/components/single-line-comment.cjs"),t=require("../../core/components/source-file.cjs"),n=require("../../core/helpers/header-constants.cjs");let r=require("@alloy-js/core/jsx-runtime"),i=require("@alloy-js/core"),a=require("@stryke/type-checks");function o({key:e,value:t}){return[(0,r.createComponent)(i.Show,{get when(){return!!e},children:i.code`${e}:`}),(0,r.createComponent)(i.Show,{when:typeof t==`string`||typeof t==`number`||typeof t==`boolean`,get children(){return i.code` ${String(t)}`}}),(0,r.createComponent)(i.Show,{get when(){return(0,r.memo)(()=>!!(0,a.isSetObject)(t))()&&!Array.isArray(t)},get children(){return(0,r.createComponent)(i.For,{get each(){return Object.entries(t)},children:([e,t])=>(0,r.createComponent)(o,{key:e,value:t})})}}),(0,r.createComponent)(i.Show,{get when(){return Array.isArray(t)},get children(){return(0,r.createComponent)(i.For,{each:t,children:e=>(0,r.createComponent)(o,{value:e})})}})]}function s({data:e}){return[(0,r.createComponent)(i.Show,{get when(){return!!e},get children(){return(0,r.createComponent)(i.For,{get each(){return Object.entries(e??{})},children:([e,t])=>(0,r.createComponent)(o,{key:e,value:t})})}})]}function c(e){let[{children:n,path:a,data:o,header:c},u]=(0,i.splitProps)(e,[`children`,`path`,`data`,`header`]);return(0,r.createComponent)(t.SourceFile,(0,r.mergeProps)(u,{path:a,get header(){return(0,r.createComponent)(l,{children:c})},filetype:`yaml`,get children(){return[(0,r.createComponent)(i.Show,{get when(){return!!o},get children(){return(0,r.createComponent)(s,{data:o})}}),(0,r.createComponent)(i.Show,{get when(){return!!n},get children(){return[n,(0,r.createIntrinsic)(`hbr`,{})]}})]}}))}function l(t){let{children:a}=t;return[(0,r.createComponent)(i.Show,{get when(){return!!a},get children(){return[a,(0,r.createIntrinsic)(`hbr`,{})]}}),(0,r.createComponent)(e.SingleLineComment,{children:n.HEADER_TEXT_LINE_1}),(0,r.createIntrinsic)(`hbr`,{}),(0,r.createComponent)(e.SingleLineComment,{variant:`yaml`,children:n.HEADER_TEXT_LINE_2}),(0,r.createIntrinsic)(`hbr`,{})]}exports.YamlFile=c,exports.YamlFileHeader=l;
@@ -0,0 +1,2 @@
1
+ import { i as YamlFileProps, n as YamlFile, r as YamlFileHeader, t as YamlData } from "../../yaml-file-BBXSkeRl.cjs";
2
+ export { YamlData, YamlFile, YamlFileHeader, YamlFileProps };
@@ -0,0 +1,2 @@
1
+ import { i as YamlFileProps, n as YamlFile, r as YamlFileHeader, t as YamlData } from "../../yaml-file-BRSIxFdU.mjs";
2
+ export { YamlData, YamlFile, YamlFileHeader, YamlFileProps };
@@ -0,0 +1,2 @@
1
+ import{SingleLineComment as e}from"../../core/components/single-line-comment.mjs";import{SourceFile as t}from"../../core/components/source-file.mjs";import{HEADER_TEXT_LINE_1 as n,HEADER_TEXT_LINE_2 as r}from"../../core/helpers/header-constants.mjs";import{createComponent as i,createIntrinsic as a,memo as o,mergeProps as s}from"@alloy-js/core/jsx-runtime";import{For as c,Show as l,code as u,splitProps as d}from"@alloy-js/core";import{isSetObject as f}from"@stryke/type-checks";function p({key:e,value:t}){return[i(l,{get when(){return!!e},children:u`${e}:`}),i(l,{when:typeof t==`string`||typeof t==`number`||typeof t==`boolean`,get children(){return u` ${String(t)}`}}),i(l,{get when(){return o(()=>!!f(t))()&&!Array.isArray(t)},get children(){return i(c,{get each(){return Object.entries(t)},children:([e,t])=>i(p,{key:e,value:t})})}}),i(l,{get when(){return Array.isArray(t)},get children(){return i(c,{each:t,children:e=>i(p,{value:e})})}})]}function m({data:e}){return[i(l,{get when(){return!!e},get children(){return i(c,{get each(){return Object.entries(e??{})},children:([e,t])=>i(p,{key:e,value:t})})}})]}function h(e){let[{children:n,path:r,data:o,header:c},u]=d(e,[`children`,`path`,`data`,`header`]);return i(t,s(u,{path:r,get header(){return i(g,{children:c})},filetype:`yaml`,get children(){return[i(l,{get when(){return!!o},get children(){return i(m,{data:o})}}),i(l,{get when(){return!!n},get children(){return[n,a(`hbr`,{})]}})]}}))}function g(t){let{children:o}=t;return[i(l,{get when(){return!!o},get children(){return[o,a(`hbr`,{})]}}),i(e,{children:n}),a(`hbr`,{}),i(e,{variant:`yaml`,children:r}),a(`hbr`,{})]}export{h as YamlFile,g as YamlFileHeader};
2
+ //# sourceMappingURL=yaml-file.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"yaml-file.mjs","names":[],"sources":[],"mappings":""}
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./components/yaml-file.cjs");require("./components/index.cjs"),exports.YamlFile=e.YamlFile,exports.YamlFileHeader=e.YamlFileHeader;
@@ -0,0 +1,3 @@
1
+ import { i as YamlFileProps, n as YamlFile, r as YamlFileHeader, t as YamlData } from "../yaml-file-BBXSkeRl.cjs";
2
+ import "./components/index.cjs";
3
+ export { YamlData, YamlFile, YamlFileHeader, YamlFileProps };
@@ -0,0 +1,3 @@
1
+ import { i as YamlFileProps, n as YamlFile, r as YamlFileHeader, t as YamlData } from "../yaml-file-BRSIxFdU.mjs";
2
+ import "./components/index.mjs";
3
+ export { YamlData, YamlFile, YamlFileHeader, YamlFileProps };
@@ -0,0 +1 @@
1
+ import{YamlFile as e,YamlFileHeader as t}from"./components/yaml-file.mjs";import"./components/index.mjs";export{e as YamlFile,t as YamlFileHeader};
@@ -0,0 +1,31 @@
1
+ import { a as SourceFileHeaderProps, t as ComponentProps } from "./components-vJaCHt1A.cjs";
2
+ import { n as SourceFileProps$1 } from "./source-file-DfP35Z8l.cjs";
3
+ import { Children } from "@alloy-js/core";
4
+ //#region src/yaml/components/yaml-file.d.ts
5
+ interface YamlData {
6
+ [key: string]: string | number | boolean | YamlData | YamlData[];
7
+ }
8
+ type YamlFileProps = Omit<SourceFileProps$1, "filetype"> & ComponentProps & {
9
+ header?: Children;
10
+ data?: YamlData;
11
+ };
12
+ /**
13
+ * A base component representing a Powerlines generated YAML source file.
14
+ *
15
+ * @remarks
16
+ * The file content can be provided either through the `data` prop, which accepts a nested object representing the YAML structure, or through the `children` prop, which allows for custom YAML content to be rendered. The `header` prop can be used to provide custom header content for the YAML file, which is rendered above the generated file header warning and generation comment.
17
+ *
18
+ * @param props - The properties for the source file.
19
+ * @returns The rendered source file component.
20
+ */
21
+ declare function YamlFile(props: YamlFileProps): Children;
22
+ /**
23
+ * Renders the header for a Powerlines YAML source file.
24
+ *
25
+ * @param props - The properties for the source file header.
26
+ * @returns The rendered source file header.
27
+ */
28
+ declare function YamlFileHeader(props: SourceFileHeaderProps): Children;
29
+ //#endregion
30
+ export { YamlFileProps as i, YamlFile as n, YamlFileHeader as r, YamlData as t };
31
+ //# sourceMappingURL=yaml-file-BBXSkeRl.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"yaml-file-BBXSkeRl.d.cts","names":[],"sources":["../src/yaml/components/yaml-file.tsx"],"mappings":";;;;UAiCiB;GACd,0CAA0C,WAAW;;KAoD5C,gBAAgB,KAAK,iCAC/B;EACE,SAAS;EACT,OAAO;;;;;;;;;;;iBAYK,SAAS,OAAO,gBAAa;;;;;;;iBAiC7B,eAAe,OAAO,wBAAqB"}
@@ -0,0 +1,31 @@
1
+ import { a as SourceFileHeaderProps, t as ComponentProps } from "./components-vJaCHt1A.mjs";
2
+ import { n as SourceFileProps$1 } from "./source-file-BiWHfxCC.mjs";
3
+ import { Children } from "@alloy-js/core";
4
+ //#region src/yaml/components/yaml-file.d.ts
5
+ interface YamlData {
6
+ [key: string]: string | number | boolean | YamlData | YamlData[];
7
+ }
8
+ type YamlFileProps = Omit<SourceFileProps$1, "filetype"> & ComponentProps & {
9
+ header?: Children;
10
+ data?: YamlData;
11
+ };
12
+ /**
13
+ * A base component representing a Powerlines generated YAML source file.
14
+ *
15
+ * @remarks
16
+ * The file content can be provided either through the `data` prop, which accepts a nested object representing the YAML structure, or through the `children` prop, which allows for custom YAML content to be rendered. The `header` prop can be used to provide custom header content for the YAML file, which is rendered above the generated file header warning and generation comment.
17
+ *
18
+ * @param props - The properties for the source file.
19
+ * @returns The rendered source file component.
20
+ */
21
+ declare function YamlFile(props: YamlFileProps): Children;
22
+ /**
23
+ * Renders the header for a Powerlines YAML source file.
24
+ *
25
+ * @param props - The properties for the source file header.
26
+ * @returns The rendered source file header.
27
+ */
28
+ declare function YamlFileHeader(props: SourceFileHeaderProps): Children;
29
+ //#endregion
30
+ export { YamlFileProps as i, YamlFile as n, YamlFileHeader as r, YamlData as t };
31
+ //# sourceMappingURL=yaml-file-BRSIxFdU.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"yaml-file-BRSIxFdU.d.mts","names":[],"sources":["../src/yaml/components/yaml-file.tsx"],"mappings":""}