@powerlines/plugin-alloy 0.26.48 → 0.26.51

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 (377) hide show
  1. package/package.json +6 -6
  2. package/dist/_virtual/_rolldown/runtime.cjs +0 -29
  3. package/dist/core/components/index.cjs +0 -12
  4. package/dist/core/components/index.d.cts +0 -6
  5. package/dist/core/components/index.d.mts +0 -6
  6. package/dist/core/components/index.mjs +0 -7
  7. package/dist/core/components/infrastructure-file.cjs +0 -48
  8. package/dist/core/components/infrastructure-file.d.cts +0 -27
  9. package/dist/core/components/infrastructure-file.d.cts.map +0 -1
  10. package/dist/core/components/infrastructure-file.d.mts +0 -27
  11. package/dist/core/components/infrastructure-file.d.mts.map +0 -1
  12. package/dist/core/components/infrastructure-file.mjs +0 -46
  13. package/dist/core/components/infrastructure-file.mjs.map +0 -1
  14. package/dist/core/components/output.cjs +0 -41
  15. package/dist/core/components/output.d.cts +0 -23
  16. package/dist/core/components/output.d.cts.map +0 -1
  17. package/dist/core/components/output.d.mts +0 -23
  18. package/dist/core/components/output.d.mts.map +0 -1
  19. package/dist/core/components/output.mjs +0 -40
  20. package/dist/core/components/output.mjs.map +0 -1
  21. package/dist/core/components/single-line-comment.cjs +0 -23
  22. package/dist/core/components/single-line-comment.d.cts +0 -21
  23. package/dist/core/components/single-line-comment.d.cts.map +0 -1
  24. package/dist/core/components/single-line-comment.d.mts +0 -21
  25. package/dist/core/components/single-line-comment.d.mts.map +0 -1
  26. package/dist/core/components/single-line-comment.mjs +0 -22
  27. package/dist/core/components/single-line-comment.mjs.map +0 -1
  28. package/dist/core/components/source-file.cjs +0 -64
  29. package/dist/core/components/source-file.d.cts +0 -32
  30. package/dist/core/components/source-file.d.cts.map +0 -1
  31. package/dist/core/components/source-file.d.mts +0 -32
  32. package/dist/core/components/source-file.d.mts.map +0 -1
  33. package/dist/core/components/source-file.mjs +0 -62
  34. package/dist/core/components/source-file.mjs.map +0 -1
  35. package/dist/core/components/spacing.cjs +0 -20
  36. package/dist/core/components/spacing.d.cts +0 -23
  37. package/dist/core/components/spacing.d.cts.map +0 -1
  38. package/dist/core/components/spacing.d.mts +0 -23
  39. package/dist/core/components/spacing.d.mts.map +0 -1
  40. package/dist/core/components/spacing.mjs +0 -19
  41. package/dist/core/components/spacing.mjs.map +0 -1
  42. package/dist/core/contexts/context.cjs +0 -41
  43. package/dist/core/contexts/context.d.cts +0 -29
  44. package/dist/core/contexts/context.d.cts.map +0 -1
  45. package/dist/core/contexts/context.d.mts +0 -29
  46. package/dist/core/contexts/context.d.mts.map +0 -1
  47. package/dist/core/contexts/context.mjs +0 -37
  48. package/dist/core/contexts/context.mjs.map +0 -1
  49. package/dist/core/contexts/index.cjs +0 -22
  50. package/dist/core/contexts/index.d.cts +0 -4
  51. package/dist/core/contexts/index.d.mts +0 -4
  52. package/dist/core/contexts/index.mjs +0 -5
  53. package/dist/core/contexts/meta.cjs +0 -41
  54. package/dist/core/contexts/meta.d.cts +0 -47
  55. package/dist/core/contexts/meta.d.cts.map +0 -1
  56. package/dist/core/contexts/meta.d.mts +0 -47
  57. package/dist/core/contexts/meta.d.mts.map +0 -1
  58. package/dist/core/contexts/meta.mjs +0 -37
  59. package/dist/core/contexts/meta.mjs.map +0 -1
  60. package/dist/core/contexts/reflection.cjs +0 -80
  61. package/dist/core/contexts/reflection.d.cts +0 -62
  62. package/dist/core/contexts/reflection.d.cts.map +0 -1
  63. package/dist/core/contexts/reflection.d.mts +0 -62
  64. package/dist/core/contexts/reflection.d.mts.map +0 -1
  65. package/dist/core/contexts/reflection.mjs +0 -71
  66. package/dist/core/contexts/reflection.mjs.map +0 -1
  67. package/dist/core/helpers/code.cjs +0 -34
  68. package/dist/core/helpers/code.d.cts +0 -29
  69. package/dist/core/helpers/code.d.cts.map +0 -1
  70. package/dist/core/helpers/code.d.mts +0 -29
  71. package/dist/core/helpers/code.d.mts.map +0 -1
  72. package/dist/core/helpers/code.mjs +0 -33
  73. package/dist/core/helpers/code.mjs.map +0 -1
  74. package/dist/core/helpers/index.cjs +0 -4
  75. package/dist/core/helpers/index.d.cts +0 -2
  76. package/dist/core/helpers/index.d.mts +0 -2
  77. package/dist/core/helpers/index.mjs +0 -3
  78. package/dist/core/index.cjs +0 -37
  79. package/dist/core/index.d.cts +0 -10
  80. package/dist/core/index.d.mts +0 -10
  81. package/dist/core/index.mjs +0 -14
  82. package/dist/hcl/components/block-declaration.cjs +0 -34
  83. package/dist/hcl/components/block-declaration.d.cts +0 -21
  84. package/dist/hcl/components/block-declaration.d.cts.map +0 -1
  85. package/dist/hcl/components/block-declaration.d.mts +0 -21
  86. package/dist/hcl/components/block-declaration.d.mts.map +0 -1
  87. package/dist/hcl/components/block-declaration.mjs +0 -33
  88. package/dist/hcl/components/block-declaration.mjs.map +0 -1
  89. package/dist/hcl/components/hcl-file.cjs +0 -83
  90. package/dist/hcl/components/hcl-file.d.cts +0 -26
  91. package/dist/hcl/components/hcl-file.d.cts.map +0 -1
  92. package/dist/hcl/components/hcl-file.d.mts +0 -26
  93. package/dist/hcl/components/hcl-file.d.mts.map +0 -1
  94. package/dist/hcl/components/hcl-file.mjs +0 -81
  95. package/dist/hcl/components/hcl-file.mjs.map +0 -1
  96. package/dist/hcl/components/index.cjs +0 -11
  97. package/dist/hcl/components/index.d.cts +0 -5
  98. package/dist/hcl/components/index.d.mts +0 -5
  99. package/dist/hcl/components/index.mjs +0 -6
  100. package/dist/hcl/components/packer-file.cjs +0 -29
  101. package/dist/hcl/components/packer-file.d.cts +0 -18
  102. package/dist/hcl/components/packer-file.d.cts.map +0 -1
  103. package/dist/hcl/components/packer-file.d.mts +0 -18
  104. package/dist/hcl/components/packer-file.d.mts.map +0 -1
  105. package/dist/hcl/components/packer-file.mjs +0 -28
  106. package/dist/hcl/components/packer-file.mjs.map +0 -1
  107. package/dist/hcl/components/terraform-file.cjs +0 -30
  108. package/dist/hcl/components/terraform-file.d.cts +0 -19
  109. package/dist/hcl/components/terraform-file.d.cts.map +0 -1
  110. package/dist/hcl/components/terraform-file.d.mts +0 -19
  111. package/dist/hcl/components/terraform-file.d.mts.map +0 -1
  112. package/dist/hcl/components/terraform-file.mjs +0 -29
  113. package/dist/hcl/components/terraform-file.mjs.map +0 -1
  114. package/dist/hcl/index.cjs +0 -12
  115. package/dist/hcl/index.d.cts +0 -5
  116. package/dist/hcl/index.d.mts +0 -5
  117. package/dist/hcl/index.mjs +0 -7
  118. package/dist/helpers/capnp.cjs +0 -277
  119. package/dist/helpers/capnp.d.cts +0 -83
  120. package/dist/helpers/capnp.d.cts.map +0 -1
  121. package/dist/helpers/capnp.d.mts +0 -83
  122. package/dist/helpers/capnp.d.mts.map +0 -1
  123. package/dist/helpers/capnp.mjs +0 -260
  124. package/dist/helpers/capnp.mjs.map +0 -1
  125. package/dist/helpers/create-builtin.cjs +0 -20
  126. package/dist/helpers/create-builtin.d.cts +0 -15
  127. package/dist/helpers/create-builtin.d.cts.map +0 -1
  128. package/dist/helpers/create-builtin.d.mts +0 -15
  129. package/dist/helpers/create-builtin.d.mts.map +0 -1
  130. package/dist/helpers/create-builtin.mjs +0 -19
  131. package/dist/helpers/create-builtin.mjs.map +0 -1
  132. package/dist/helpers/index.cjs +0 -25
  133. package/dist/helpers/index.d.cts +0 -5
  134. package/dist/helpers/index.d.mts +0 -5
  135. package/dist/helpers/index.mjs +0 -6
  136. package/dist/helpers/refkey.cjs +0 -17
  137. package/dist/helpers/refkey.d.cts +0 -13
  138. package/dist/helpers/refkey.d.cts.map +0 -1
  139. package/dist/helpers/refkey.d.mts +0 -13
  140. package/dist/helpers/refkey.d.mts.map +0 -1
  141. package/dist/helpers/refkey.mjs +0 -16
  142. package/dist/helpers/refkey.mjs.map +0 -1
  143. package/dist/helpers/typescript.cjs +0 -48
  144. package/dist/helpers/typescript.d.cts +0 -24
  145. package/dist/helpers/typescript.d.cts.map +0 -1
  146. package/dist/helpers/typescript.d.mts +0 -24
  147. package/dist/helpers/typescript.d.mts.map +0 -1
  148. package/dist/helpers/typescript.mjs +0 -47
  149. package/dist/helpers/typescript.mjs.map +0 -1
  150. package/dist/index.cjs +0 -55
  151. package/dist/index.d.cts +0 -19
  152. package/dist/index.d.cts.map +0 -1
  153. package/dist/index.d.mts +0 -19
  154. package/dist/index.d.mts.map +0 -1
  155. package/dist/index.mjs +0 -52
  156. package/dist/index.mjs.map +0 -1
  157. package/dist/markdown/components/front-matter.cjs +0 -29
  158. package/dist/markdown/components/front-matter.d.cts +0 -15
  159. package/dist/markdown/components/front-matter.d.cts.map +0 -1
  160. package/dist/markdown/components/front-matter.d.mts +0 -15
  161. package/dist/markdown/components/front-matter.d.mts.map +0 -1
  162. package/dist/markdown/components/front-matter.mjs +0 -28
  163. package/dist/markdown/components/front-matter.mjs.map +0 -1
  164. package/dist/markdown/components/heading.cjs +0 -24
  165. package/dist/markdown/components/heading.d.cts +0 -19
  166. package/dist/markdown/components/heading.d.cts.map +0 -1
  167. package/dist/markdown/components/heading.d.mts +0 -19
  168. package/dist/markdown/components/heading.d.mts.map +0 -1
  169. package/dist/markdown/components/heading.mjs +0 -23
  170. package/dist/markdown/components/heading.mjs.map +0 -1
  171. package/dist/markdown/components/index.cjs +0 -13
  172. package/dist/markdown/components/index.d.cts +0 -5
  173. package/dist/markdown/components/index.d.mts +0 -5
  174. package/dist/markdown/components/index.mjs +0 -6
  175. package/dist/markdown/components/markdown-file.cjs +0 -135
  176. package/dist/markdown/components/markdown-file.d.cts +0 -27
  177. package/dist/markdown/components/markdown-file.d.cts.map +0 -1
  178. package/dist/markdown/components/markdown-file.d.mts +0 -27
  179. package/dist/markdown/components/markdown-file.d.mts.map +0 -1
  180. package/dist/markdown/components/markdown-file.mjs +0 -133
  181. package/dist/markdown/components/markdown-file.mjs.map +0 -1
  182. package/dist/markdown/components/markdown-table.cjs +0 -102
  183. package/dist/markdown/components/markdown-table.d.cts +0 -26
  184. package/dist/markdown/components/markdown-table.d.cts.map +0 -1
  185. package/dist/markdown/components/markdown-table.d.mts +0 -26
  186. package/dist/markdown/components/markdown-table.d.mts.map +0 -1
  187. package/dist/markdown/components/markdown-table.mjs +0 -99
  188. package/dist/markdown/components/markdown-table.mjs.map +0 -1
  189. package/dist/markdown/contexts/index.cjs +0 -7
  190. package/dist/markdown/contexts/index.d.cts +0 -2
  191. package/dist/markdown/contexts/index.d.mts +0 -2
  192. package/dist/markdown/contexts/index.mjs +0 -3
  193. package/dist/markdown/contexts/markdown-table.cjs +0 -38
  194. package/dist/markdown/contexts/markdown-table.d.cts +0 -36
  195. package/dist/markdown/contexts/markdown-table.d.cts.map +0 -1
  196. package/dist/markdown/contexts/markdown-table.d.mts +0 -36
  197. package/dist/markdown/contexts/markdown-table.d.mts.map +0 -1
  198. package/dist/markdown/contexts/markdown-table.mjs +0 -34
  199. package/dist/markdown/contexts/markdown-table.mjs.map +0 -1
  200. package/dist/markdown/index.cjs +0 -20
  201. package/dist/markdown/index.d.cts +0 -6
  202. package/dist/markdown/index.d.mts +0 -6
  203. package/dist/markdown/index.mjs +0 -9
  204. package/dist/render.cjs +0 -91
  205. package/dist/render.d.cts +0 -38
  206. package/dist/render.d.cts.map +0 -1
  207. package/dist/render.d.mts +0 -38
  208. package/dist/render.d.mts.map +0 -1
  209. package/dist/render.mjs +0 -89
  210. package/dist/render.mjs.map +0 -1
  211. package/dist/types/components.cjs +0 -9
  212. package/dist/types/components.d.cts +0 -126
  213. package/dist/types/components.d.cts.map +0 -1
  214. package/dist/types/components.d.mts +0 -126
  215. package/dist/types/components.d.mts.map +0 -1
  216. package/dist/types/components.mjs +0 -10
  217. package/dist/types/components.mjs.map +0 -1
  218. package/dist/types/index.cjs +0 -0
  219. package/dist/types/index.d.cts +0 -3
  220. package/dist/types/index.d.mts +0 -3
  221. package/dist/types/index.mjs +0 -1
  222. package/dist/types/plugin.cjs +0 -0
  223. package/dist/types/plugin.d.cts +0 -35
  224. package/dist/types/plugin.d.cts.map +0 -1
  225. package/dist/types/plugin.d.mts +0 -35
  226. package/dist/types/plugin.d.mts.map +0 -1
  227. package/dist/types/plugin.mjs +0 -1
  228. package/dist/typescript/components/builtin-file.cjs +0 -63
  229. package/dist/typescript/components/builtin-file.d.cts +0 -34
  230. package/dist/typescript/components/builtin-file.d.cts.map +0 -1
  231. package/dist/typescript/components/builtin-file.d.mts +0 -34
  232. package/dist/typescript/components/builtin-file.d.mts.map +0 -1
  233. package/dist/typescript/components/builtin-file.mjs +0 -62
  234. package/dist/typescript/components/builtin-file.mjs.map +0 -1
  235. package/dist/typescript/components/class-declaration.cjs +0 -306
  236. package/dist/typescript/components/class-declaration.d.cts +0 -140
  237. package/dist/typescript/components/class-declaration.d.cts.map +0 -1
  238. package/dist/typescript/components/class-declaration.d.mts +0 -140
  239. package/dist/typescript/components/class-declaration.d.mts.map +0 -1
  240. package/dist/typescript/components/class-declaration.mjs +0 -300
  241. package/dist/typescript/components/class-declaration.mjs.map +0 -1
  242. package/dist/typescript/components/dynamic-import-statement.cjs +0 -26
  243. package/dist/typescript/components/dynamic-import-statement.d.cts +0 -32
  244. package/dist/typescript/components/dynamic-import-statement.d.cts.map +0 -1
  245. package/dist/typescript/components/dynamic-import-statement.d.mts +0 -32
  246. package/dist/typescript/components/dynamic-import-statement.d.mts.map +0 -1
  247. package/dist/typescript/components/dynamic-import-statement.mjs +0 -25
  248. package/dist/typescript/components/dynamic-import-statement.mjs.map +0 -1
  249. package/dist/typescript/components/entry-file.cjs +0 -43
  250. package/dist/typescript/components/entry-file.d.cts +0 -27
  251. package/dist/typescript/components/entry-file.d.cts.map +0 -1
  252. package/dist/typescript/components/entry-file.d.mts +0 -27
  253. package/dist/typescript/components/entry-file.d.mts.map +0 -1
  254. package/dist/typescript/components/entry-file.mjs +0 -41
  255. package/dist/typescript/components/entry-file.mjs.map +0 -1
  256. package/dist/typescript/components/index.cjs +0 -64
  257. package/dist/typescript/components/index.d.cts +0 -14
  258. package/dist/typescript/components/index.d.mts +0 -14
  259. package/dist/typescript/components/index.mjs +0 -15
  260. package/dist/typescript/components/interface-declaration.cjs +0 -239
  261. package/dist/typescript/components/interface-declaration.d.cts +0 -80
  262. package/dist/typescript/components/interface-declaration.d.cts.map +0 -1
  263. package/dist/typescript/components/interface-declaration.d.mts +0 -80
  264. package/dist/typescript/components/interface-declaration.d.mts.map +0 -1
  265. package/dist/typescript/components/interface-declaration.mjs +0 -235
  266. package/dist/typescript/components/interface-declaration.mjs.map +0 -1
  267. package/dist/typescript/components/object-declaration.cjs +0 -139
  268. package/dist/typescript/components/object-declaration.d.cts +0 -28
  269. package/dist/typescript/components/object-declaration.d.cts.map +0 -1
  270. package/dist/typescript/components/object-declaration.d.mts +0 -28
  271. package/dist/typescript/components/object-declaration.d.mts.map +0 -1
  272. package/dist/typescript/components/object-declaration.mjs +0 -137
  273. package/dist/typescript/components/object-declaration.mjs.map +0 -1
  274. package/dist/typescript/components/property-name.cjs +0 -32
  275. package/dist/typescript/components/property-name.d.cts +0 -23
  276. package/dist/typescript/components/property-name.d.cts.map +0 -1
  277. package/dist/typescript/components/property-name.d.mts +0 -23
  278. package/dist/typescript/components/property-name.d.mts.map +0 -1
  279. package/dist/typescript/components/property-name.mjs +0 -31
  280. package/dist/typescript/components/property-name.mjs.map +0 -1
  281. package/dist/typescript/components/record-expression.cjs +0 -13
  282. package/dist/typescript/components/record-expression.d.cts +0 -12
  283. package/dist/typescript/components/record-expression.d.cts.map +0 -1
  284. package/dist/typescript/components/record-expression.d.mts +0 -12
  285. package/dist/typescript/components/record-expression.d.mts.map +0 -1
  286. package/dist/typescript/components/record-expression.mjs +0 -12
  287. package/dist/typescript/components/record-expression.mjs.map +0 -1
  288. package/dist/typescript/components/tsdoc-reflection.cjs +0 -331
  289. package/dist/typescript/components/tsdoc-reflection.d.cts +0 -42
  290. package/dist/typescript/components/tsdoc-reflection.d.cts.map +0 -1
  291. package/dist/typescript/components/tsdoc-reflection.d.mts +0 -42
  292. package/dist/typescript/components/tsdoc-reflection.d.mts.map +0 -1
  293. package/dist/typescript/components/tsdoc-reflection.mjs +0 -325
  294. package/dist/typescript/components/tsdoc-reflection.mjs.map +0 -1
  295. package/dist/typescript/components/tsdoc.cjs +0 -497
  296. package/dist/typescript/components/tsdoc.d.cts +0 -161
  297. package/dist/typescript/components/tsdoc.d.cts.map +0 -1
  298. package/dist/typescript/components/tsdoc.d.mts +0 -161
  299. package/dist/typescript/components/tsdoc.d.mts.map +0 -1
  300. package/dist/typescript/components/tsdoc.mjs +0 -476
  301. package/dist/typescript/components/tsdoc.mjs.map +0 -1
  302. package/dist/typescript/components/type-declaration.cjs +0 -39
  303. package/dist/typescript/components/type-declaration.d.cts +0 -17
  304. package/dist/typescript/components/type-declaration.d.cts.map +0 -1
  305. package/dist/typescript/components/type-declaration.d.mts +0 -17
  306. package/dist/typescript/components/type-declaration.d.mts.map +0 -1
  307. package/dist/typescript/components/type-declaration.mjs +0 -38
  308. package/dist/typescript/components/type-declaration.mjs.map +0 -1
  309. package/dist/typescript/components/type-parameters.cjs +0 -83
  310. package/dist/typescript/components/type-parameters.d.cts +0 -23
  311. package/dist/typescript/components/type-parameters.d.cts.map +0 -1
  312. package/dist/typescript/components/type-parameters.d.mts +0 -23
  313. package/dist/typescript/components/type-parameters.d.mts.map +0 -1
  314. package/dist/typescript/components/type-parameters.mjs +0 -82
  315. package/dist/typescript/components/type-parameters.mjs.map +0 -1
  316. package/dist/typescript/components/typescript-file.cjs +0 -221
  317. package/dist/typescript/components/typescript-file.d.cts +0 -47
  318. package/dist/typescript/components/typescript-file.d.cts.map +0 -1
  319. package/dist/typescript/components/typescript-file.d.mts +0 -47
  320. package/dist/typescript/components/typescript-file.d.mts.map +0 -1
  321. package/dist/typescript/components/typescript-file.mjs +0 -218
  322. package/dist/typescript/components/typescript-file.mjs.map +0 -1
  323. package/dist/typescript/contexts/index.cjs +0 -4
  324. package/dist/typescript/contexts/index.d.cts +0 -2
  325. package/dist/typescript/contexts/index.d.mts +0 -2
  326. package/dist/typescript/contexts/index.mjs +0 -3
  327. package/dist/typescript/contexts/lexical-scope.cjs +0 -26
  328. package/dist/typescript/contexts/lexical-scope.d.cts +0 -14
  329. package/dist/typescript/contexts/lexical-scope.d.cts.map +0 -1
  330. package/dist/typescript/contexts/lexical-scope.d.mts +0 -14
  331. package/dist/typescript/contexts/lexical-scope.d.mts.map +0 -1
  332. package/dist/typescript/contexts/lexical-scope.mjs +0 -25
  333. package/dist/typescript/contexts/lexical-scope.mjs.map +0 -1
  334. package/dist/typescript/contexts/member-scope.cjs +0 -24
  335. package/dist/typescript/contexts/member-scope.d.cts +0 -19
  336. package/dist/typescript/contexts/member-scope.d.cts.map +0 -1
  337. package/dist/typescript/contexts/member-scope.d.mts +0 -19
  338. package/dist/typescript/contexts/member-scope.d.mts.map +0 -1
  339. package/dist/typescript/contexts/member-scope.mjs +0 -23
  340. package/dist/typescript/contexts/member-scope.mjs.map +0 -1
  341. package/dist/typescript/helpers/get-call-signature-props.cjs +0 -26
  342. package/dist/typescript/helpers/get-call-signature-props.d.cts +0 -14
  343. package/dist/typescript/helpers/get-call-signature-props.d.cts.map +0 -1
  344. package/dist/typescript/helpers/get-call-signature-props.d.mts +0 -14
  345. package/dist/typescript/helpers/get-call-signature-props.d.mts.map +0 -1
  346. package/dist/typescript/helpers/get-call-signature-props.mjs +0 -25
  347. package/dist/typescript/helpers/get-call-signature-props.mjs.map +0 -1
  348. package/dist/typescript/helpers/index.cjs +0 -6
  349. package/dist/typescript/helpers/index.d.cts +0 -3
  350. package/dist/typescript/helpers/index.d.mts +0 -3
  351. package/dist/typescript/helpers/index.mjs +0 -4
  352. package/dist/typescript/helpers/utilities.cjs +0 -15
  353. package/dist/typescript/helpers/utilities.d.cts +0 -11
  354. package/dist/typescript/helpers/utilities.d.cts.map +0 -1
  355. package/dist/typescript/helpers/utilities.d.mts +0 -11
  356. package/dist/typescript/helpers/utilities.d.mts.map +0 -1
  357. package/dist/typescript/helpers/utilities.mjs +0 -14
  358. package/dist/typescript/helpers/utilities.mjs.map +0 -1
  359. package/dist/typescript/index.cjs +0 -73
  360. package/dist/typescript/index.d.cts +0 -17
  361. package/dist/typescript/index.d.mts +0 -17
  362. package/dist/typescript/index.mjs +0 -21
  363. package/dist/yaml/components/index.cjs +0 -5
  364. package/dist/yaml/components/index.d.cts +0 -2
  365. package/dist/yaml/components/index.d.mts +0 -2
  366. package/dist/yaml/components/index.mjs +0 -3
  367. package/dist/yaml/components/yaml-file.cjs +0 -149
  368. package/dist/yaml/components/yaml-file.d.cts +0 -32
  369. package/dist/yaml/components/yaml-file.d.cts.map +0 -1
  370. package/dist/yaml/components/yaml-file.d.mts +0 -32
  371. package/dist/yaml/components/yaml-file.d.mts.map +0 -1
  372. package/dist/yaml/components/yaml-file.mjs +0 -147
  373. package/dist/yaml/components/yaml-file.mjs.map +0 -1
  374. package/dist/yaml/index.cjs +0 -6
  375. package/dist/yaml/index.d.cts +0 -2
  376. package/dist/yaml/index.d.mts +0 -2
  377. package/dist/yaml/index.mjs +0 -4
@@ -1,497 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_runtime = require('../../_virtual/_rolldown/runtime.cjs');
3
- const require_core_contexts_context = require('../../core/contexts/context.cjs');
4
- const require_core_components_spacing = require('../../core/components/spacing.cjs');
5
- let _alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
6
- let _alloy_js_core = require("@alloy-js/core");
7
- let _powerlines_deepkit_utilities = require("@powerlines/deepkit/utilities");
8
- let _stryke_type_checks_is_undefined = require("@stryke/type-checks/is-undefined");
9
- let _stryke_type_checks_is_set_string = require("@stryke/type-checks/is-set-string");
10
-
11
- //#region src/typescript/components/tsdoc.tsx
12
- /**
13
- * Generates a TypeScript interface for the given reflection class.
14
- */
15
- function TSDoc(props) {
16
- const [{ children, heading }] = (0, _alloy_js_core.splitProps)(props, ["children", "heading"]);
17
- return [
18
- "/**",
19
- (0, _alloy_js_core_jsx_runtime.createIntrinsic)("align", {
20
- string: " * ",
21
- get children() {
22
- return [
23
- (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
24
- (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
25
- get when() {
26
- return !(0, _stryke_type_checks_is_undefined.isUndefined)(heading);
27
- },
28
- children: heading
29
- }),
30
- (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
31
- get when() {
32
- return (0, _alloy_js_core_jsx_runtime.memo)(() => !!!(0, _stryke_type_checks_is_undefined.isUndefined)(children))() && (0, _alloy_js_core.childrenArray)(() => children).filter(Boolean).length > 0;
33
- },
34
- get children() {
35
- return [(0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
36
- get when() {
37
- return !(0, _stryke_type_checks_is_undefined.isUndefined)(heading);
38
- },
39
- get children() {
40
- return (0, _alloy_js_core_jsx_runtime.createComponent)(require_core_components_spacing.Spacing, {});
41
- }
42
- }), (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.List, {
43
- hardline: false,
44
- softline: true,
45
- get children() {
46
- return (0, _alloy_js_core.childrenArray)(() => children);
47
- }
48
- })];
49
- }
50
- })
51
- ];
52
- }
53
- }),
54
- (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
55
- `*/`,
56
- (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})
57
- ];
58
- }
59
- /**
60
- * Create a TSDoc `@<props.tag>` tag.
61
- */
62
- function TSDocTag(props) {
63
- const [{ children, tag }] = (0, _alloy_js_core.splitProps)(props, ["children", "tag"]);
64
- return [
65
- `@${tag} `,
66
- (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
67
- get when() {
68
- return Boolean(children);
69
- },
70
- get children() {
71
- return (0, _alloy_js_core_jsx_runtime.createIntrinsic)("align", {
72
- width: 2,
73
- get children() {
74
- return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Prose, { children });
75
- }
76
- });
77
- }
78
- }),
79
- (0, _alloy_js_core_jsx_runtime.createIntrinsic)("sbr", {})
80
- ];
81
- }
82
- /**
83
- * A component that creates a TSDoc block with `@param` tags for each parameter.
84
- */
85
- function TSDocParams(props) {
86
- return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.For, {
87
- each: normalizeParametersForDoc(props.parameters),
88
- children: (param) => (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocParam, {
89
- get name() {
90
- return param.name;
91
- },
92
- get optional() {
93
- return param.optional;
94
- },
95
- get children() {
96
- return param.doc;
97
- }
98
- })
99
- });
100
- }
101
- function normalizeParametersForDoc(parameters) {
102
- if (parameters.some((p) => typeof p === "string")) return [];
103
- return parameters;
104
- }
105
- /**
106
- * Create a TSDoc `@title` tag.
107
- */
108
- function TSDocTitle(props) {
109
- const [{ children }, rest] = (0, _alloy_js_core.splitProps)(props, ["children"]);
110
- return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocTag, (0, _alloy_js_core_jsx_runtime.mergeProps)(rest, {
111
- tag: "title",
112
- children
113
- }));
114
- }
115
- /**
116
- * Create a TSDoc `@domain` tag.
117
- */
118
- function TSDocDomain(props) {
119
- const [{ children }, rest] = (0, _alloy_js_core.splitProps)(props, ["children"]);
120
- return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocTag, (0, _alloy_js_core_jsx_runtime.mergeProps)(rest, {
121
- tag: "domain",
122
- children
123
- }));
124
- }
125
- /**
126
- * Create a TSDoc `@alias` tag.
127
- */
128
- function TSDocAlias(props) {
129
- const [{ children }, rest] = (0, _alloy_js_core.splitProps)(props, ["children"]);
130
- return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocTag, (0, _alloy_js_core_jsx_runtime.mergeProps)(rest, {
131
- tag: "alias",
132
- children
133
- }));
134
- }
135
- /**
136
- * Create a TSDoc `@permission` tag.
137
- */
138
- function TSDocPermission(props) {
139
- const [{ children }, rest] = (0, _alloy_js_core.splitProps)(props, ["children"]);
140
- return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocTag, (0, _alloy_js_core_jsx_runtime.mergeProps)(rest, {
141
- tag: "permission",
142
- children
143
- }));
144
- }
145
- /**
146
- * Create a TSDoc `@defaultValue` tag.
147
- */
148
- function TSDocDefaultValue(props) {
149
- const [{ type, defaultValue }] = (0, _alloy_js_core.splitProps)(props, ["type", "defaultValue"]);
150
- return ["@defaultValue ", (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
151
- get when() {
152
- return !(0, _stryke_type_checks_is_undefined.isUndefined)(defaultValue);
153
- },
154
- get children() {
155
- return (0, _alloy_js_core_jsx_runtime.createIntrinsic)("align", {
156
- width: 2,
157
- get children() {
158
- return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Prose, { get children() {
159
- return (0, _powerlines_deepkit_utilities.stringifyDefaultValue)(type, defaultValue);
160
- } });
161
- }
162
- });
163
- }
164
- })];
165
- }
166
- /**
167
- * Create a TSDoc `@remarks` tag.
168
- */
169
- function TSDocRemarks(props) {
170
- return [
171
- "@remarks ",
172
- (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
173
- (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.List, {
174
- hardline: false,
175
- softline: true,
176
- get children() {
177
- return (0, _alloy_js_core.childrenArray)(() => props.children);
178
- }
179
- })
180
- ];
181
- }
182
- /**
183
- * Create a TSDoc `@see` tag.
184
- */
185
- function TSDocLink(props) {
186
- return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocTag, (0, _alloy_js_core_jsx_runtime.mergeProps)(props, { tag: "see" }));
187
- }
188
- /**
189
- * Create a TSDoc `@example` tag.
190
- */
191
- function TSDocExample(props) {
192
- const [{ tsx, fenced = true, language, children }] = (0, _alloy_js_core.splitProps)(props, [
193
- "tsx",
194
- "fenced",
195
- "language",
196
- "children"
197
- ]);
198
- return [
199
- "@example ",
200
- (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
201
- (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
202
- when: fenced,
203
- get children() {
204
- return [
205
- "```",
206
- language || (tsx ? "tsx" : "ts"),
207
- (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})
208
- ];
209
- }
210
- }),
211
- children,
212
- (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
213
- when: fenced,
214
- get children() {
215
- return [(0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}), "```"];
216
- }
217
- })
218
- ];
219
- }
220
- /**
221
- * Create a TSDoc `@readonly` tag.
222
- */
223
- function TSDocReadonly() {
224
- return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocTag, { tag: "readonly" });
225
- }
226
- /**
227
- * Create a TSDoc `@internal` tag.
228
- */
229
- function TSDocInternal() {
230
- return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocTag, { tag: "internal" });
231
- }
232
- /**
233
- * Create a TSDoc `@ignore` tag.
234
- */
235
- function TSDocIgnore() {
236
- return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocTag, { tag: "ignore" });
237
- }
238
- /**
239
- * Create a TSDoc `@hidden` tag.
240
- */
241
- function TSDocHidden() {
242
- return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocTag, { tag: "hidden" });
243
- }
244
- /**
245
- * Create a TSDoc `@runtime` tag.
246
- */
247
- function TSDocRuntime() {
248
- return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocTag, { tag: "runtime" });
249
- }
250
- /**
251
- * Generates a TypeScript interface property for the given reflection class.
252
- */
253
- function TSDocAttributesTags(props) {
254
- const [{ type, alias, permission, readonly, internal, ignore, hidden, runtime, defaultValue }] = (0, _alloy_js_core.splitProps)(props, [
255
- "type",
256
- "alias",
257
- "permission",
258
- "readonly",
259
- "internal",
260
- "ignore",
261
- "hidden",
262
- "runtime",
263
- "defaultValue"
264
- ]);
265
- const title = (0, _alloy_js_core.computed)(() => props.title?.trim() || "");
266
- const domain = (0, _alloy_js_core.computed)(() => props.domain?.trim() || "");
267
- return [
268
- (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
269
- get when() {
270
- return (0, _stryke_type_checks_is_set_string.isSetString)(title.value);
271
- },
272
- get children() {
273
- return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocTitle, { get children() {
274
- return title.value;
275
- } });
276
- }
277
- }),
278
- (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
279
- get when() {
280
- return (0, _alloy_js_core_jsx_runtime.memo)(() => !!(!(0, _stryke_type_checks_is_undefined.isUndefined)(alias) && alias.length > 0))() && alias.some((a) => (0, _stryke_type_checks_is_set_string.isSetString)(a?.trim()));
281
- },
282
- get children() {
283
- return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.For, {
284
- get each() {
285
- return alias?.filter((a) => (0, _stryke_type_checks_is_set_string.isSetString)(a?.trim())) ?? [];
286
- },
287
- children: (alias) => (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocAlias, { children: alias })
288
- });
289
- }
290
- }),
291
- (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
292
- get when() {
293
- return (0, _stryke_type_checks_is_set_string.isSetString)(domain.value);
294
- },
295
- get children() {
296
- return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocDomain, { get children() {
297
- return domain.value;
298
- } });
299
- }
300
- }),
301
- (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
302
- get when() {
303
- return (0, _alloy_js_core_jsx_runtime.memo)(() => !!(!(0, _stryke_type_checks_is_undefined.isUndefined)(permission) && permission.length > 0))() && permission.some((p) => (0, _stryke_type_checks_is_set_string.isSetString)(p?.trim()));
304
- },
305
- get children() {
306
- return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.For, {
307
- get each() {
308
- return permission?.filter((p) => (0, _stryke_type_checks_is_set_string.isSetString)(p?.trim())) ?? [];
309
- },
310
- children: (permission) => (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocPermission, { children: permission })
311
- });
312
- }
313
- }),
314
- (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
315
- when: readonly === true,
316
- get children() {
317
- return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocReadonly, {});
318
- }
319
- }),
320
- (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
321
- when: internal === true,
322
- get children() {
323
- return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocInternal, {});
324
- }
325
- }),
326
- (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
327
- when: ignore === true,
328
- get children() {
329
- return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocIgnore, {});
330
- }
331
- }),
332
- (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
333
- when: hidden === true,
334
- get children() {
335
- return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocHidden, {});
336
- }
337
- }),
338
- (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
339
- when: runtime === true,
340
- get children() {
341
- return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocRuntime, {});
342
- }
343
- }),
344
- (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
345
- get when() {
346
- return (0, _alloy_js_core_jsx_runtime.memo)(() => !!(runtime !== true && !(0, _stryke_type_checks_is_undefined.isUndefined)(type)))() && !(0, _stryke_type_checks_is_undefined.isUndefined)(defaultValue);
347
- },
348
- get children() {
349
- return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocDefaultValue, {
350
- type,
351
- defaultValue
352
- });
353
- }
354
- })
355
- ];
356
- }
357
- /**
358
- * Create a TSDoc parameter set off with `@param`.
359
- */
360
- function TSDocParam(props) {
361
- return [
362
- "@param ",
363
- (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocParamName, {
364
- get name() {
365
- return props.name;
366
- },
367
- get optional() {
368
- return props.optional;
369
- },
370
- get defaultValue() {
371
- return props.defaultValue;
372
- }
373
- }),
374
- (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocParamDescription, { get children() {
375
- return props.children;
376
- } })
377
- ];
378
- }
379
- function TSDocParamName(props) {
380
- return [
381
- (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
382
- get when() {
383
- return props.optional;
384
- },
385
- children: "["
386
- }),
387
- (0, _alloy_js_core_jsx_runtime.memo)(() => props.name),
388
- (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
389
- get when() {
390
- return Boolean(props.defaultValue);
391
- },
392
- get children() {
393
- return ["=", (0, _alloy_js_core_jsx_runtime.memo)(() => props.defaultValue)];
394
- }
395
- }),
396
- (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
397
- get when() {
398
- return props.optional;
399
- },
400
- children: "]"
401
- })
402
- ];
403
- }
404
- function TSDocParamDescription(props) {
405
- return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
406
- get when() {
407
- return Boolean(props.children);
408
- },
409
- get children() {
410
- return [" - ", (0, _alloy_js_core_jsx_runtime.createIntrinsic)("align", {
411
- width: 2,
412
- get children() {
413
- return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Prose, { get children() {
414
- return props.children;
415
- } });
416
- }
417
- })];
418
- }
419
- });
420
- }
421
- /**
422
- * Create a TSDoc `@returns` tag.
423
- */
424
- function TSDocReturns(props) {
425
- return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocTag, (0, _alloy_js_core_jsx_runtime.mergeProps)(props, { tag: "returns" }));
426
- }
427
- /**
428
- * Create a TSDoc `@throws` tag.
429
- */
430
- function TSDocThrows(props) {
431
- return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocTag, (0, _alloy_js_core_jsx_runtime.mergeProps)(props, { tag: "throws" }));
432
- }
433
- /**
434
- * Generates a TSDoc `@module` tag for the given module name.
435
- */
436
- function TSDocModule(props) {
437
- const [{ children, name, prefix }] = (0, _alloy_js_core.splitProps)(props, [
438
- "children",
439
- "name",
440
- "prefix"
441
- ]);
442
- const context = require_core_contexts_context.usePowerlinesSafe();
443
- return [
444
- "/**",
445
- (0, _alloy_js_core_jsx_runtime.createIntrinsic)("align", {
446
- string: " * ",
447
- get children() {
448
- return [
449
- (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
450
- (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
451
- get when() {
452
- return Boolean(children);
453
- },
454
- get children() {
455
- return [(0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.List, {
456
- hardline: false,
457
- softline: true,
458
- get children() {
459
- return (0, _alloy_js_core.childrenArray)(() => children);
460
- }
461
- }), (0, _alloy_js_core_jsx_runtime.createComponent)(require_core_components_spacing.Spacing, {})];
462
- }
463
- }),
464
- "@module ",
465
- (0, _alloy_js_core_jsx_runtime.memo)(() => prefix || context?.config?.framework || "powerlines"),
466
- ":",
467
- name
468
- ];
469
- }
470
- }),
471
- (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
472
- ` */`
473
- ];
474
- }
475
-
476
- //#endregion
477
- exports.TSDoc = TSDoc;
478
- exports.TSDocAlias = TSDocAlias;
479
- exports.TSDocAttributesTags = TSDocAttributesTags;
480
- exports.TSDocDefaultValue = TSDocDefaultValue;
481
- exports.TSDocDomain = TSDocDomain;
482
- exports.TSDocExample = TSDocExample;
483
- exports.TSDocHidden = TSDocHidden;
484
- exports.TSDocIgnore = TSDocIgnore;
485
- exports.TSDocInternal = TSDocInternal;
486
- exports.TSDocLink = TSDocLink;
487
- exports.TSDocModule = TSDocModule;
488
- exports.TSDocParam = TSDocParam;
489
- exports.TSDocParams = TSDocParams;
490
- exports.TSDocPermission = TSDocPermission;
491
- exports.TSDocReadonly = TSDocReadonly;
492
- exports.TSDocRemarks = TSDocRemarks;
493
- exports.TSDocReturns = TSDocReturns;
494
- exports.TSDocRuntime = TSDocRuntime;
495
- exports.TSDocTag = TSDocTag;
496
- exports.TSDocThrows = TSDocThrows;
497
- exports.TSDocTitle = TSDocTitle;
@@ -1,161 +0,0 @@
1
- import { ComponentProps } from "../../types/components.cjs";
2
- import { Children } from "@alloy-js/core";
3
- import { JSDocExampleProps, ParameterDescriptor } from "@alloy-js/typescript";
4
- import { ReflectionKind, ReflectionParameter, ReflectionProperty } from "@powerlines/deepkit/vendor/type";
5
-
6
- //#region src/typescript/components/tsdoc.d.ts
7
- interface TSDocProps extends ComponentProps {
8
- heading?: Children;
9
- }
10
- /**
11
- * Generates a TypeScript interface for the given reflection class.
12
- */
13
- declare function TSDoc(props: TSDocProps): Children;
14
- interface TSDocTagProps extends ComponentProps {
15
- tag: string;
16
- }
17
- /**
18
- * Create a TSDoc `@<props.tag>` tag.
19
- */
20
- declare function TSDocTag(props: TSDocTagProps): Children;
21
- interface TSDocParamsProps {
22
- parameters: ParameterDescriptor[] | string[];
23
- }
24
- /**
25
- * A component that creates a TSDoc block with `@param` tags for each parameter.
26
- */
27
- declare function TSDocParams(props: TSDocParamsProps): Children;
28
- /**
29
- * Create a TSDoc `@title` tag.
30
- */
31
- declare function TSDocTitle(props: ComponentProps): Children;
32
- /**
33
- * Create a TSDoc `@domain` tag.
34
- */
35
- declare function TSDocDomain(props: ComponentProps): Children;
36
- /**
37
- * Create a TSDoc `@alias` tag.
38
- */
39
- declare function TSDocAlias(props: ComponentProps): Children;
40
- /**
41
- * Create a TSDoc `@permission` tag.
42
- */
43
- declare function TSDocPermission(props: ComponentProps): Children;
44
- interface TSDocDefaultValueProps extends ComponentProps {
45
- type: ReflectionKind | ReflectionProperty | ReflectionParameter;
46
- defaultValue: any;
47
- }
48
- /**
49
- * Create a TSDoc `@defaultValue` tag.
50
- */
51
- declare function TSDocDefaultValue(props: TSDocDefaultValueProps): Children;
52
- /**
53
- * Create a TSDoc `@remarks` tag.
54
- */
55
- declare function TSDocRemarks(props: ComponentProps): Children;
56
- /**
57
- * Create a TSDoc `@see` tag.
58
- */
59
- declare function TSDocLink(props: ComponentProps): Children;
60
- interface TSDocExampleProps extends JSDocExampleProps {
61
- /**
62
- * Whether the file is a TSX file.
63
- *
64
- * @defaultValue false
65
- */
66
- tsx?: boolean;
67
- }
68
- /**
69
- * Create a TSDoc `@example` tag.
70
- */
71
- declare function TSDocExample(props: TSDocExampleProps): Children;
72
- /**
73
- * Create a TSDoc `@readonly` tag.
74
- */
75
- declare function TSDocReadonly(): Children;
76
- /**
77
- * Create a TSDoc `@internal` tag.
78
- */
79
- declare function TSDocInternal(): Children;
80
- /**
81
- * Create a TSDoc `@ignore` tag.
82
- */
83
- declare function TSDocIgnore(): Children;
84
- /**
85
- * Create a TSDoc `@hidden` tag.
86
- */
87
- declare function TSDocHidden(): Children;
88
- /**
89
- * Create a TSDoc `@runtime` tag.
90
- */
91
- declare function TSDocRuntime(): Children;
92
- interface TSDocAttributesTagsProps {
93
- type?: ReflectionKind | ReflectionProperty | ReflectionParameter;
94
- title?: string;
95
- alias?: string[];
96
- permission?: string[];
97
- domain?: string;
98
- readonly?: boolean;
99
- internal?: boolean;
100
- ignore?: boolean;
101
- hidden?: boolean;
102
- runtime?: boolean;
103
- defaultValue?: any;
104
- }
105
- /**
106
- * Generates a TypeScript interface property for the given reflection class.
107
- */
108
- declare function TSDocAttributesTags(props: TSDocAttributesTagsProps): Children;
109
- interface TSDocParamProps {
110
- name: Children;
111
- children?: Children;
112
- optional?: boolean;
113
- defaultValue?: Children;
114
- }
115
- /**
116
- * Create a TSDoc parameter set off with `@param`.
117
- */
118
- declare function TSDocParam(props: TSDocParamProps): Children;
119
- /**
120
- * Create a TSDoc `@returns` tag.
121
- */
122
- declare function TSDocReturns(props: ComponentProps): Children;
123
- /**
124
- * Create a TSDoc `@throws` tag.
125
- */
126
- declare function TSDocThrows(props: ComponentProps): Children;
127
- interface TSDocModuleProps extends ComponentProps {
128
- /**
129
- * The prefix for the builtin module name
130
- *
131
- * @remarks
132
- * This value is populated from the Powerlines configuration output builtin prefix by default.
133
- *
134
- * @example
135
- * ```ts
136
- * /**
137
- * @module powerlines:my-module
138
- * \/
139
- * ```
140
- */
141
- prefix?: string;
142
- /**
143
- * The name of the module
144
- *
145
- * @remarks
146
- * This will be used in the `@module` tag as well as the import path for the module, e.g. `storm:<name>`.
147
- *
148
- * @example
149
- * ```ts
150
- * import { MyModule } from "powerlines:my-module";
151
- * ```
152
- */
153
- name: Children;
154
- }
155
- /**
156
- * Generates a TSDoc `@module` tag for the given module name.
157
- */
158
- declare function TSDocModule(props: TSDocModuleProps): Children;
159
- //#endregion
160
- export { TSDoc, TSDocAlias, TSDocAttributesTags, TSDocAttributesTagsProps, TSDocDefaultValue, TSDocDefaultValueProps, TSDocDomain, TSDocExample, TSDocExampleProps, TSDocHidden, TSDocIgnore, TSDocInternal, TSDocLink, TSDocModule, TSDocModuleProps, TSDocParam, TSDocParamProps, TSDocParams, TSDocParamsProps, TSDocPermission, TSDocProps, TSDocReadonly, TSDocRemarks, TSDocReturns, TSDocRuntime, TSDocTag, TSDocTagProps, TSDocThrows, TSDocTitle };
161
- //# sourceMappingURL=tsdoc.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tsdoc.d.cts","names":[],"sources":["../../../src/typescript/components/tsdoc.tsx"],"mappings":";;;;;;UAyCiB,UAAA,SAAmB,cAAA;EAClC,OAAA,GAAU,QAAA;AAAA;;;;iBAMI,KAAA,CAAM,KAAA,EAAO,UAAA,GAAU,QAAA;AAAA,UA6BtB,aAAA,SAAsB,cAAA;EACrC,GAAA;AAAA;;AA9BF;;iBAoCgB,QAAA,CAAS,KAAA,EAAO,aAAA,GAAa,QAAA;AAAA,UAgB5B,gBAAA;EACf,UAAA,EAAY,mBAAA;AAAA;;;;iBAME,WAAA,CAAY,KAAA,EAAO,gBAAA,GAAgB,QAAA;;;;iBA2BnC,UAAA,CAAW,KAAA,EAAO,cAAA,GAAc,QAAA;AAlDhD;;;AAAA,iBA+DgB,WAAA,CAAY,KAAA,EAAO,cAAA,GAAc,QAAA;;;;iBAajC,UAAA,CAAW,KAAA,EAAO,cAAA,GAAc,QAAA;;AA5DhD;;iBAyEgB,eAAA,CAAgB,KAAA,EAAO,cAAA,GAAc,QAAA;AAAA,UAUpC,sBAAA,SAA+B,cAAA;EAC9C,IAAA,EAAM,cAAA,GAAiB,kBAAA,GAAqB,mBAAA;EAC5C,YAAA;AAAA;;;;iBAMc,iBAAA,CAAkB,KAAA,EAAO,sBAAA,GAAsB,QAAA;;;;iBAkB/C,YAAA,CAAa,KAAA,EAAO,cAAA,GAAc,QAAA;;;;iBAelC,SAAA,CAAU,KAAA,EAAO,cAAA,GAAc,QAAA;AAAA,UAI9B,iBAAA,SAA0B,iBAAA;EA9FK;;;AAahD;;EAuFE,GAAA;AAAA;;;;iBAMc,YAAA,CAAa,KAAA,EAAO,iBAAA,GAAiB,QAAA;;AAhFrD;;iBA4GgB,aAAA,CAAA,GAAa,QAAA;;;;iBAOb,aAAA,CAAA,GAAa,QAAA;;;AAtG7B;iBA6GgB,WAAA,CAAA,GAAW,QAAA;;;;iBAOX,WAAA,CAAA,GAAW,QAAA;;;;iBAOX,YAAA,CAAA,GAAY,QAAA;AAAA,UAIX,wBAAA;EACf,IAAA,GAAO,cAAA,GAAiB,kBAAA,GAAqB,mBAAA;EAC7C,KAAA;EACA,KAAA;EACA,UAAA;EACA,MAAA;EACA,QAAA;EACA,QAAA;EACA,MAAA;EACA,MAAA;EACA,OAAA;EACA,YAAA;AAAA;;;;iBAMc,mBAAA,CAAoB,KAAA,EAAO,wBAAA,GAAwB,QAAA;AAAA,UAsFlD,eAAA;EACf,IAAA,EAAM,QAAA;EACN,QAAA,GAAW,QAAA;EACX,QAAA;EACA,YAAA,GAAe,QAAA;AAAA;;;AAtMjB;iBA4MgB,UAAA,CAAW,KAAA,EAAO,eAAA,GAAe,QAAA;;;;iBAiDjC,YAAA,CAAa,KAAA,EAAO,cAAA,GAAc,QAAA;;;;iBAOlC,WAAA,CAAY,KAAA,EAAO,cAAA,GAAc,QAAA;AAAA,UAIhC,gBAAA,SAAyB,cAAA;;;;;;;;AArP1C;;;;;AAYA;EAuPE,MAAA;;;;;;;;AA3NF;;;;EAwOE,IAAA,EAAM,QAAA;AAAA;;;;iBAMQ,WAAA,CAAY,KAAA,EAAO,gBAAA,GAAgB,QAAA"}