@powerlines/plugin-alloy 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (276) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +304 -0
  3. package/dist/builtin-file-BU93ve2k.d.cts +34 -0
  4. package/dist/builtin-file-CG53y-09.d.mts +34 -0
  5. package/dist/builtin-file-CkwxD4el.mjs +37 -0
  6. package/dist/builtin-file-DLVCgiye.cjs +43 -0
  7. package/dist/capnp-8yVLwAox.cjs +364 -0
  8. package/dist/capnp-CKLYTfgy.d.mts +87 -0
  9. package/dist/capnp-CNythuSw.mjs +267 -0
  10. package/dist/capnp-wJ2_HpAN.d.cts +87 -0
  11. package/dist/chunk-CbDLau6x.cjs +34 -0
  12. package/dist/components-B0A7LpQD.d.cts +142 -0
  13. package/dist/components-B2kXCrty.d.mts +142 -0
  14. package/dist/components-BOkkDhM9.cjs +0 -0
  15. package/dist/components-BXrpeD8J.cjs +0 -0
  16. package/dist/components-C3qpgLKV.mjs +1 -0
  17. package/dist/components-CBtEhH9k.mjs +1 -0
  18. package/dist/components-Cj5gaIV0.cjs +0 -0
  19. package/dist/components-HMVhsFQl.mjs +1 -0
  20. package/dist/components-I0ydtjfW.cjs +0 -0
  21. package/dist/components-ajocJcib.mjs +1 -0
  22. package/dist/context-BIduC1bB.cjs +44 -0
  23. package/dist/context-BO25KgR_.d.cts +1668 -0
  24. package/dist/context-CBG6Pv09.d.cts +26 -0
  25. package/dist/context-Cx38_mgI.mjs +26 -0
  26. package/dist/context-DzaJOnXh.d.mts +26 -0
  27. package/dist/context-GtZoIVx8.d.mts +1670 -0
  28. package/dist/contexts-BSRk0whx.cjs +0 -0
  29. package/dist/contexts-X44bRyOp.mjs +1 -0
  30. package/dist/contexts-XuEdvZdE.mjs +1 -0
  31. package/dist/contexts-uXFW3CIa.cjs +0 -0
  32. package/dist/core/components/index.cjs +9 -0
  33. package/dist/core/components/index.d.cts +7 -0
  34. package/dist/core/components/index.d.mts +7 -0
  35. package/dist/core/components/index.mjs +7 -0
  36. package/dist/core/components/output.cjs +4 -0
  37. package/dist/core/components/output.d.cts +3 -0
  38. package/dist/core/components/output.d.mts +3 -0
  39. package/dist/core/components/output.mjs +4 -0
  40. package/dist/core/components/single-line-comment.cjs +3 -0
  41. package/dist/core/components/single-line-comment.d.cts +4 -0
  42. package/dist/core/components/single-line-comment.d.mts +4 -0
  43. package/dist/core/components/single-line-comment.mjs +3 -0
  44. package/dist/core/components/source-file.cjs +3 -0
  45. package/dist/core/components/source-file.d.cts +4 -0
  46. package/dist/core/components/source-file.d.mts +4 -0
  47. package/dist/core/components/source-file.mjs +3 -0
  48. package/dist/core/contexts/context.cjs +5 -0
  49. package/dist/core/contexts/context.d.cts +3 -0
  50. package/dist/core/contexts/context.d.mts +3 -0
  51. package/dist/core/contexts/context.mjs +3 -0
  52. package/dist/core/contexts/index.cjs +15 -0
  53. package/dist/core/contexts/index.d.cts +6 -0
  54. package/dist/core/contexts/index.d.mts +6 -0
  55. package/dist/core/contexts/index.mjs +5 -0
  56. package/dist/core/contexts/reflection.cjs +10 -0
  57. package/dist/core/contexts/reflection.d.cts +4 -0
  58. package/dist/core/contexts/reflection.d.mts +4 -0
  59. package/dist/core/contexts/reflection.mjs +3 -0
  60. package/dist/core/index.cjs +23 -0
  61. package/dist/core/index.d.cts +11 -0
  62. package/dist/core/index.d.mts +11 -0
  63. package/dist/core/index.mjs +10 -0
  64. package/dist/core-B57eQAue.mjs +1 -0
  65. package/dist/core-DzEmU6tL.cjs +0 -0
  66. package/dist/create-builtin-Bpswa0ZT.d.cts +15 -0
  67. package/dist/create-builtin-CP9mN5P-.mjs +18 -0
  68. package/dist/create-builtin-_3GNADDt.cjs +24 -0
  69. package/dist/create-builtin-wEbNOWNw.d.mts +15 -0
  70. package/dist/dynamic-import-statement-BhY2a13r.d.cts +32 -0
  71. package/dist/dynamic-import-statement-DoTHSt57.mjs +28 -0
  72. package/dist/dynamic-import-statement-DyVWBclX.d.mts +32 -0
  73. package/dist/dynamic-import-statement-JVLyMPXr.cjs +34 -0
  74. package/dist/entry-file-B159R5XY.d.cts +27 -0
  75. package/dist/entry-file-BA75rAwb.cjs +41 -0
  76. package/dist/entry-file-Bw1mgMP3.mjs +34 -0
  77. package/dist/entry-file-DfFhEkLi.d.mts +27 -0
  78. package/dist/helpers/capnp.cjs +19 -0
  79. package/dist/helpers/capnp.d.cts +3 -0
  80. package/dist/helpers/capnp.d.mts +3 -0
  81. package/dist/helpers/capnp.mjs +4 -0
  82. package/dist/helpers/create-builtin.cjs +3 -0
  83. package/dist/helpers/create-builtin.d.cts +2 -0
  84. package/dist/helpers/create-builtin.d.mts +2 -0
  85. package/dist/helpers/create-builtin.mjs +3 -0
  86. package/dist/helpers/index.cjs +26 -0
  87. package/dist/helpers/index.d.cts +7 -0
  88. package/dist/helpers/index.d.mts +7 -0
  89. package/dist/helpers/index.mjs +8 -0
  90. package/dist/helpers/refkey.cjs +3 -0
  91. package/dist/helpers/refkey.d.cts +2 -0
  92. package/dist/helpers/refkey.d.mts +2 -0
  93. package/dist/helpers/refkey.mjs +3 -0
  94. package/dist/helpers/typescript.cjs +4 -0
  95. package/dist/helpers/typescript.d.cts +2 -0
  96. package/dist/helpers/typescript.d.mts +2 -0
  97. package/dist/helpers/typescript.mjs +4 -0
  98. package/dist/helpers-BrA1Dy07.mjs +1 -0
  99. package/dist/helpers-Cten3PJk.cjs +0 -0
  100. package/dist/index-BINnViIh.d.mts +1 -0
  101. package/dist/index-BJ8-FA6N.d.cts +1 -0
  102. package/dist/index-BRJ_6A42.d.mts +1 -0
  103. package/dist/index-BXpMZvwA.d.cts +1 -0
  104. package/dist/index-Bi0Yc4v2.d.cts +1 -0
  105. package/dist/index-BrGZHEgX.d.mts +1 -0
  106. package/dist/index-BwFl_eS0.d.mts +1 -0
  107. package/dist/index-C1ihAKnV.d.cts +1 -0
  108. package/dist/index-CLTQPxoD.d.mts +1 -0
  109. package/dist/index-CoUVmp_Q.d.mts +1 -0
  110. package/dist/index-D1aKd2tO.d.cts +1 -0
  111. package/dist/index-D4d_pZLu.d.cts +1 -0
  112. package/dist/index-DBGd4WeR.d.mts +1 -0
  113. package/dist/index-DdxxIAKU.d.cts +1 -0
  114. package/dist/index-Deol7ZWO.d.mts +1 -0
  115. package/dist/index-DpEKQcoR.d.cts +1 -0
  116. package/dist/index-DrZ2Dh-H.d.cts +1 -0
  117. package/dist/index-MEuojd-r.d.cts +1 -0
  118. package/dist/index-bHnO4ZKt.d.mts +1 -0
  119. package/dist/index-lIMqGGJz.d.mts +1 -0
  120. package/dist/index.cjs +446 -0
  121. package/dist/index.d.cts +45 -0
  122. package/dist/index.d.mts +45 -0
  123. package/dist/index.mjs +361 -0
  124. package/dist/markdown/components/index.cjs +13 -0
  125. package/dist/markdown/components/index.d.cts +8 -0
  126. package/dist/markdown/components/index.d.mts +8 -0
  127. package/dist/markdown/components/index.mjs +9 -0
  128. package/dist/markdown/components/markdown-file.cjs +7 -0
  129. package/dist/markdown/components/markdown-file.d.cts +5 -0
  130. package/dist/markdown/components/markdown-file.d.mts +5 -0
  131. package/dist/markdown/components/markdown-file.mjs +6 -0
  132. package/dist/markdown/components/markdown-table.cjs +6 -0
  133. package/dist/markdown/components/markdown-table.d.cts +5 -0
  134. package/dist/markdown/components/markdown-table.d.mts +5 -0
  135. package/dist/markdown/components/markdown-table.mjs +4 -0
  136. package/dist/markdown/contexts/index.cjs +7 -0
  137. package/dist/markdown/contexts/index.d.cts +3 -0
  138. package/dist/markdown/contexts/index.d.mts +3 -0
  139. package/dist/markdown/contexts/index.mjs +4 -0
  140. package/dist/markdown/contexts/markdown-table.cjs +6 -0
  141. package/dist/markdown/contexts/markdown-table.d.cts +2 -0
  142. package/dist/markdown/contexts/markdown-table.d.mts +2 -0
  143. package/dist/markdown/contexts/markdown-table.mjs +3 -0
  144. package/dist/markdown/index.cjs +19 -0
  145. package/dist/markdown/index.d.cts +10 -0
  146. package/dist/markdown/index.d.mts +10 -0
  147. package/dist/markdown/index.mjs +11 -0
  148. package/dist/markdown-BTQE0AI9.cjs +0 -0
  149. package/dist/markdown-DMddlO1y.mjs +1 -0
  150. package/dist/markdown-file-BFbbzD59.mjs +90 -0
  151. package/dist/markdown-file-Bsuu9aIk.d.cts +23 -0
  152. package/dist/markdown-file-CB6u4Cp1.d.mts +23 -0
  153. package/dist/markdown-file-CzGNj_Ex.cjs +102 -0
  154. package/dist/markdown-table-2qP_4eLk.mjs +33 -0
  155. package/dist/markdown-table-BOWM26Kb.cjs +57 -0
  156. package/dist/markdown-table-BUxH6aRh.mjs +77 -0
  157. package/dist/markdown-table-CMaQVkwJ.d.mts +27 -0
  158. package/dist/markdown-table-CZMEY6IR.d.cts +37 -0
  159. package/dist/markdown-table-DFaNSBRn.cjs +95 -0
  160. package/dist/markdown-table-SvbpUdq-.d.cts +27 -0
  161. package/dist/markdown-table-kFQoqKQt.d.mts +37 -0
  162. package/dist/output-ChpN7bQM.d.cts +18 -0
  163. package/dist/output-CnofBsl0.cjs +38 -0
  164. package/dist/output-D9RlZeCO.d.mts +18 -0
  165. package/dist/output-DEdXZ94G.mjs +32 -0
  166. package/dist/plugin-C0DspKAF.d.mts +34 -0
  167. package/dist/plugin-DU0K2-Om.mjs +1 -0
  168. package/dist/plugin-DYBdUgTF.d.cts +34 -0
  169. package/dist/plugin-Fx-uJ4It.cjs +0 -0
  170. package/dist/record-expression-BOCZ9iqR.d.mts +12 -0
  171. package/dist/record-expression-DM_zSqE_.d.cts +12 -0
  172. package/dist/record-expression-DNVzCKgo.cjs +17 -0
  173. package/dist/record-expression-DxS_DiPc.mjs +11 -0
  174. package/dist/refkey-B0XSqdGY.d.mts +13 -0
  175. package/dist/refkey-B6A9kh_u.cjs +21 -0
  176. package/dist/refkey-CP7MJMac.d.cts +13 -0
  177. package/dist/refkey-CV0mIj0Y.mjs +15 -0
  178. package/dist/reflection-BSbFFYZO.cjs +108 -0
  179. package/dist/reflection-Bka9prwJ.d.mts +52 -0
  180. package/dist/reflection-CBMQ1FQo.mjs +60 -0
  181. package/dist/reflection-CkVyW69y.d.cts +52 -0
  182. package/dist/single-line-comment-BMPq6OR0.cjs +25 -0
  183. package/dist/single-line-comment-BjL_Z4Qn.d.cts +22 -0
  184. package/dist/single-line-comment-C5CtHQhi.mjs +19 -0
  185. package/dist/single-line-comment-DZAmp_BZ.d.mts +22 -0
  186. package/dist/source-file-4J1OvLed.d.cts +31 -0
  187. package/dist/source-file-BBbuhOKz.d.mts +31 -0
  188. package/dist/source-file-CCYwl5pI.mjs +52 -0
  189. package/dist/source-file-DTd1KgD5.cjs +59 -0
  190. package/dist/tsdoc-BFPYF-Fh.cjs +487 -0
  191. package/dist/tsdoc-BmyOQBxT.mjs +367 -0
  192. package/dist/tsdoc-C39LB5Mn.d.cts +152 -0
  193. package/dist/tsdoc-OE37Ht2l.d.mts +152 -0
  194. package/dist/tsdoc-reflection-3ZoV_Mjz.d.cts +18 -0
  195. package/dist/tsdoc-reflection-3hSdGY1e.mjs +97 -0
  196. package/dist/tsdoc-reflection-BQN8iUG1.cjs +115 -0
  197. package/dist/tsdoc-reflection-BtEk3cDW.d.mts +18 -0
  198. package/dist/types/components.cjs +1 -0
  199. package/dist/types/components.d.cts +3 -0
  200. package/dist/types/components.d.mts +3 -0
  201. package/dist/types/components.mjs +3 -0
  202. package/dist/types/index.cjs +3 -0
  203. package/dist/types/index.d.cts +5 -0
  204. package/dist/types/index.d.mts +5 -0
  205. package/dist/types/index.mjs +5 -0
  206. package/dist/types/plugin.cjs +1 -0
  207. package/dist/types/plugin.d.cts +3 -0
  208. package/dist/types/plugin.d.mts +3 -0
  209. package/dist/types/plugin.mjs +3 -0
  210. package/dist/types-BBEDEYnP.cjs +0 -0
  211. package/dist/types-BWlfXHs2.mjs +1 -0
  212. package/dist/typescript/components/builtin-file.cjs +9 -0
  213. package/dist/typescript/components/builtin-file.d.cts +7 -0
  214. package/dist/typescript/components/builtin-file.d.mts +7 -0
  215. package/dist/typescript/components/builtin-file.mjs +9 -0
  216. package/dist/typescript/components/dynamic-import-statement.cjs +3 -0
  217. package/dist/typescript/components/dynamic-import-statement.d.cts +2 -0
  218. package/dist/typescript/components/dynamic-import-statement.d.mts +2 -0
  219. package/dist/typescript/components/dynamic-import-statement.mjs +3 -0
  220. package/dist/typescript/components/entry-file.cjs +7 -0
  221. package/dist/typescript/components/entry-file.d.cts +6 -0
  222. package/dist/typescript/components/entry-file.d.mts +6 -0
  223. package/dist/typescript/components/entry-file.mjs +7 -0
  224. package/dist/typescript/components/index.cjs +50 -0
  225. package/dist/typescript/components/index.d.cts +14 -0
  226. package/dist/typescript/components/index.d.mts +14 -0
  227. package/dist/typescript/components/index.mjs +17 -0
  228. package/dist/typescript/components/record-expression.cjs +3 -0
  229. package/dist/typescript/components/record-expression.d.cts +2 -0
  230. package/dist/typescript/components/record-expression.d.mts +2 -0
  231. package/dist/typescript/components/record-expression.mjs +3 -0
  232. package/dist/typescript/components/tsdoc-reflection.cjs +9 -0
  233. package/dist/typescript/components/tsdoc-reflection.d.cts +5 -0
  234. package/dist/typescript/components/tsdoc-reflection.d.mts +5 -0
  235. package/dist/typescript/components/tsdoc-reflection.mjs +7 -0
  236. package/dist/typescript/components/tsdoc.cjs +24 -0
  237. package/dist/typescript/components/tsdoc.d.cts +4 -0
  238. package/dist/typescript/components/tsdoc.d.mts +4 -0
  239. package/dist/typescript/components/tsdoc.mjs +5 -0
  240. package/dist/typescript/components/typescript-file.cjs +8 -0
  241. package/dist/typescript/components/typescript-file.d.cts +5 -0
  242. package/dist/typescript/components/typescript-file.d.mts +5 -0
  243. package/dist/typescript/components/typescript-file.mjs +6 -0
  244. package/dist/typescript/components/typescript-interface.cjs +9 -0
  245. package/dist/typescript/components/typescript-interface.d.cts +4 -0
  246. package/dist/typescript/components/typescript-interface.d.mts +4 -0
  247. package/dist/typescript/components/typescript-interface.mjs +8 -0
  248. package/dist/typescript/components/typescript-object.cjs +9 -0
  249. package/dist/typescript/components/typescript-object.d.cts +4 -0
  250. package/dist/typescript/components/typescript-object.d.mts +4 -0
  251. package/dist/typescript/components/typescript-object.mjs +8 -0
  252. package/dist/typescript/index.cjs +51 -0
  253. package/dist/typescript/index.d.cts +15 -0
  254. package/dist/typescript/index.d.mts +15 -0
  255. package/dist/typescript/index.mjs +18 -0
  256. package/dist/typescript-45caIUPa.mjs +1 -0
  257. package/dist/typescript-BrZsJqvc.mjs +45 -0
  258. package/dist/typescript-CXP7Oa6_.d.cts +25 -0
  259. package/dist/typescript-DG1-qdBQ.d.mts +25 -0
  260. package/dist/typescript-DV5akLQO.cjs +0 -0
  261. package/dist/typescript-DcqKlMoH.cjs +51 -0
  262. package/dist/typescript-file-6Y81yLyB.cjs +157 -0
  263. package/dist/typescript-file-BR9I7R1v.d.cts +47 -0
  264. package/dist/typescript-file-BWq9GIUt.d.mts +47 -0
  265. package/dist/typescript-file-y6oF016h.mjs +139 -0
  266. package/dist/typescript-interface-AydoCmGY.mjs +52 -0
  267. package/dist/typescript-interface-CKjljRFu.d.mts +25 -0
  268. package/dist/typescript-interface-Codd49Sl.cjs +64 -0
  269. package/dist/typescript-interface-fGS4VBnW.d.cts +25 -0
  270. package/dist/typescript-object-C-BmpHfk.mjs +93 -0
  271. package/dist/typescript-object-CxC5Qo5P.d.cts +26 -0
  272. package/dist/typescript-object-DOrJkpcM.cjs +105 -0
  273. package/dist/typescript-object-I6Huh12F.d.mts +26 -0
  274. package/dist/utilities-CnaPrauh.mjs +109 -0
  275. package/dist/utilities-llRqOC4l.cjs +133 -0
  276. package/package.json +411 -0
@@ -0,0 +1,31 @@
1
+ import { s as StoragePreset } from "./context-BO25KgR_.cjs";
2
+ import { n as ComponentProps } from "./components-B0A7LpQD.cjs";
3
+ import * as _alloy_js_core15 from "@alloy-js/core";
4
+ import { SourceFileProps } from "@alloy-js/core";
5
+
6
+ //#region src/core/components/source-file.d.ts
7
+ type SourceFileProps$1 = SourceFileProps & ComponentProps & {
8
+ /**
9
+ * If true, indicates that the file is virtual and should not be written to disk.
10
+ *
11
+ * @defaultValue false
12
+ */
13
+ preset?: StoragePreset;
14
+ /**
15
+ * The metadata associated with the source file.
16
+ *
17
+ * @remarks
18
+ * The values stored in the metadata will be available in the rendering context.
19
+ */
20
+ meta?: Record<string, any>;
21
+ };
22
+ /**
23
+ * A base component representing a Powerlines generated source file.
24
+ *
25
+ * @param props - The properties for the source file.
26
+ * @returns The rendered source file component.
27
+ */
28
+ declare function SourceFile(props: SourceFileProps$1): _alloy_js_core15.Children;
29
+ declare type __ΩSourceFileProps = any[];
30
+ //#endregion
31
+ export { SourceFileProps$1 as n, __ΩSourceFileProps as r, SourceFile as t };
@@ -0,0 +1,31 @@
1
+ import { s as StoragePreset } from "./context-GtZoIVx8.mjs";
2
+ import { n as ComponentProps } from "./components-B2kXCrty.mjs";
3
+ import * as _alloy_js_core9 from "@alloy-js/core";
4
+ import { SourceFileProps } from "@alloy-js/core";
5
+
6
+ //#region src/core/components/source-file.d.ts
7
+ type SourceFileProps$1 = SourceFileProps & ComponentProps & {
8
+ /**
9
+ * If true, indicates that the file is virtual and should not be written to disk.
10
+ *
11
+ * @defaultValue false
12
+ */
13
+ preset?: StoragePreset;
14
+ /**
15
+ * The metadata associated with the source file.
16
+ *
17
+ * @remarks
18
+ * The values stored in the metadata will be available in the rendering context.
19
+ */
20
+ meta?: Record<string, any>;
21
+ };
22
+ /**
23
+ * A base component representing a Powerlines generated source file.
24
+ *
25
+ * @param props - The properties for the source file.
26
+ * @returns The rendered source file component.
27
+ */
28
+ declare function SourceFile(props: SourceFileProps$1): _alloy_js_core9.Children;
29
+ declare type __ΩSourceFileProps = any[];
30
+ //#endregion
31
+ export { SourceFileProps$1 as n, __ΩSourceFileProps as r, SourceFile as t };
@@ -0,0 +1,52 @@
1
+ import { Show, SourceDirectoryContext, SourceFileContext, getContext, splitProps, useContext, useFormatOptions } from "@alloy-js/core";
2
+ import { jsx, jsxs } from "@alloy-js/core/jsx-runtime";
3
+ import { appendPath } from "@stryke/path/append";
4
+ import defu from "defu";
5
+
6
+ //#region src/core/components/source-file.tsx
7
+ /**
8
+ * A base component representing a Powerlines generated source file.
9
+ *
10
+ * @param props - The properties for the source file.
11
+ * @returns The rendered source file component.
12
+ */
13
+ function SourceFile(props) {
14
+ const [{ children, meta, path, header, preset, filetype, reference }] = splitProps(props, [
15
+ "children",
16
+ "meta",
17
+ "path",
18
+ "header",
19
+ "preset",
20
+ "filetype",
21
+ "reference"
22
+ ]);
23
+ const parentDirectory = useContext(SourceDirectoryContext);
24
+ const context = {
25
+ path: appendPath(path, parentDirectory.path),
26
+ filetype,
27
+ reference
28
+ };
29
+ parentDirectory?.addContent(context);
30
+ const printOptions = useFormatOptions({
31
+ printWidth: props.printWidth,
32
+ tabWidth: props.tabWidth,
33
+ useTabs: props.useTabs,
34
+ insertFinalNewLine: props.insertFinalNewLine
35
+ });
36
+ const nodeContext = getContext();
37
+ nodeContext.meta = defu({
38
+ sourceFile: context,
39
+ printOptions,
40
+ output: { preset }
41
+ }, meta ?? {});
42
+ return /* @__PURE__ */ jsxs(SourceFileContext.Provider, {
43
+ value: context,
44
+ children: [/* @__PURE__ */ jsxs(Show, {
45
+ when: header !== void 0,
46
+ children: [header, /* @__PURE__ */ jsx("hbr", {})]
47
+ }), children]
48
+ });
49
+ }
50
+
51
+ //#endregion
52
+ export { SourceFile as t };
@@ -0,0 +1,59 @@
1
+ const require_chunk = require('./chunk-CbDLau6x.cjs');
2
+ let __alloy_js_core = require("@alloy-js/core");
3
+ let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
4
+ let __stryke_path_append = require("@stryke/path/append");
5
+ let defu = require("defu");
6
+ defu = require_chunk.__toESM(defu);
7
+
8
+ //#region src/core/components/source-file.tsx
9
+ /**
10
+ * A base component representing a Powerlines generated source file.
11
+ *
12
+ * @param props - The properties for the source file.
13
+ * @returns The rendered source file component.
14
+ */
15
+ function SourceFile(props) {
16
+ const [{ children, meta, path, header, preset, filetype, reference }] = (0, __alloy_js_core.splitProps)(props, [
17
+ "children",
18
+ "meta",
19
+ "path",
20
+ "header",
21
+ "preset",
22
+ "filetype",
23
+ "reference"
24
+ ]);
25
+ const parentDirectory = (0, __alloy_js_core.useContext)(__alloy_js_core.SourceDirectoryContext);
26
+ const context = {
27
+ path: (0, __stryke_path_append.appendPath)(path, parentDirectory.path),
28
+ filetype,
29
+ reference
30
+ };
31
+ parentDirectory?.addContent(context);
32
+ const printOptions = (0, __alloy_js_core.useFormatOptions)({
33
+ printWidth: props.printWidth,
34
+ tabWidth: props.tabWidth,
35
+ useTabs: props.useTabs,
36
+ insertFinalNewLine: props.insertFinalNewLine
37
+ });
38
+ const nodeContext = (0, __alloy_js_core.getContext)();
39
+ nodeContext.meta = (0, defu.default)({
40
+ sourceFile: context,
41
+ printOptions,
42
+ output: { preset }
43
+ }, meta ?? {});
44
+ return /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsxs)(__alloy_js_core.SourceFileContext.Provider, {
45
+ value: context,
46
+ children: [/* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsxs)(__alloy_js_core.Show, {
47
+ when: header !== void 0,
48
+ children: [header, /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)("hbr", {})]
49
+ }), children]
50
+ });
51
+ }
52
+
53
+ //#endregion
54
+ Object.defineProperty(exports, 'SourceFile', {
55
+ enumerable: true,
56
+ get: function () {
57
+ return SourceFile;
58
+ }
59
+ });
@@ -0,0 +1,487 @@
1
+ const require_chunk = require('./chunk-CbDLau6x.cjs');
2
+ const require_utilities = require('./utilities-llRqOC4l.cjs');
3
+ const require_context = require('./context-BIduC1bB.cjs');
4
+ let __alloy_js_core = require("@alloy-js/core");
5
+ let __stryke_type_checks_is_undefined = require("@stryke/type-checks/is-undefined");
6
+ let __stryke_type_checks_is_set_string = require("@stryke/type-checks/is-set-string");
7
+ let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
8
+
9
+ //#region src/typescript/components/tsdoc.tsx
10
+ /**
11
+ * Generates a TypeScript interface for the given reflection class.
12
+ */
13
+ function TSDoc(props) {
14
+ const [{ children, heading }] = (0, __alloy_js_core.splitProps)(props, ["children", "heading"]);
15
+ return /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsxs)(__alloy_js_core_jsx_runtime.Fragment, { children: [
16
+ "/**",
17
+ /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsxs)("align", {
18
+ string: " * ",
19
+ children: [
20
+ /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)("hbr", {}),
21
+ /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsxs)(__alloy_js_core.Show, {
22
+ when: !(0, __stryke_type_checks_is_undefined.isUndefined)(heading),
23
+ children: [
24
+ heading,
25
+ /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)("hbr", {}),
26
+ /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(__alloy_js_core.Show, {
27
+ when: !(0, __stryke_type_checks_is_undefined.isUndefined)(children) && (0, __alloy_js_core.childrenArray)(() => children).length > 0,
28
+ children: /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)("hbr", {})
29
+ })
30
+ ]
31
+ }),
32
+ /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(__alloy_js_core.Show, {
33
+ when: !(0, __stryke_type_checks_is_undefined.isUndefined)(children) && (0, __alloy_js_core.childrenArray)(() => children).length > 0,
34
+ children: /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(__alloy_js_core.List, { children: (0, __alloy_js_core.childrenArray)(() => children) })
35
+ })
36
+ ]
37
+ }),
38
+ /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)("hbr", {}),
39
+ ` */`,
40
+ /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)("hbr", {})
41
+ ] });
42
+ }
43
+ /**
44
+ * Create a TSDoc `@<props.tag>` tag.
45
+ */
46
+ function TSDocTag(props) {
47
+ const [{ children, tag }] = (0, __alloy_js_core.splitProps)(props, ["children", "tag"]);
48
+ return /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsxs)(__alloy_js_core_jsx_runtime.Fragment, { children: [
49
+ `@${tag} `,
50
+ /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(__alloy_js_core.Show, {
51
+ when: Boolean(children),
52
+ children: /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)("align", {
53
+ width: 2,
54
+ children: /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(__alloy_js_core.Prose, { children })
55
+ })
56
+ }),
57
+ /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)("hbr", {})
58
+ ] });
59
+ }
60
+ /**
61
+ * A component that creates a TSDoc block with `@param` tags for each parameter.
62
+ */
63
+ function TSDocParams(props) {
64
+ return /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(__alloy_js_core.For, {
65
+ each: normalizeParametersForDoc(props.parameters),
66
+ children: (param) => /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(TSDocParam, {
67
+ name: param.name,
68
+ optional: param.optional,
69
+ children: param.doc
70
+ })
71
+ });
72
+ }
73
+ function normalizeParametersForDoc(parameters) {
74
+ if (parameters.some((p) => typeof p === "string")) return [];
75
+ return parameters;
76
+ }
77
+ /**
78
+ * Create a TSDoc `@title` tag.
79
+ */
80
+ function TSDocTitle(props) {
81
+ const [{ children }, rest] = (0, __alloy_js_core.splitProps)(props, ["children"]);
82
+ return /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(TSDocTag, {
83
+ ...rest,
84
+ tag: "title",
85
+ children
86
+ });
87
+ }
88
+ /**
89
+ * Create a TSDoc `@domain` tag.
90
+ */
91
+ function TSDocDomain(props) {
92
+ const [{ children }, rest] = (0, __alloy_js_core.splitProps)(props, ["children"]);
93
+ return /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(TSDocTag, {
94
+ ...rest,
95
+ tag: "domain",
96
+ children
97
+ });
98
+ }
99
+ /**
100
+ * Create a TSDoc `@alias` tag.
101
+ */
102
+ function TSDocAlias(props) {
103
+ const [{ children }, rest] = (0, __alloy_js_core.splitProps)(props, ["children"]);
104
+ return /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(TSDocTag, {
105
+ ...rest,
106
+ tag: "alias",
107
+ children
108
+ });
109
+ }
110
+ /**
111
+ * Create a TSDoc `@permission` tag.
112
+ */
113
+ function TSDocPermission(props) {
114
+ const [{ children }, rest] = (0, __alloy_js_core.splitProps)(props, ["children"]);
115
+ return /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(TSDocTag, {
116
+ ...rest,
117
+ tag: "permission",
118
+ children
119
+ });
120
+ }
121
+ /**
122
+ * Create a TSDoc `@defaultValue` tag.
123
+ */
124
+ function TSDocDefaultValue(props) {
125
+ return /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsxs)(__alloy_js_core_jsx_runtime.Fragment, { children: [
126
+ "@defaultValue ",
127
+ /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(__alloy_js_core.Show, {
128
+ when: !(0, __stryke_type_checks_is_undefined.isUndefined)(props.value),
129
+ children: /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)("align", {
130
+ width: 2,
131
+ children: /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(__alloy_js_core.Prose, { children: require_utilities.stringifyDefaultValue(props.value) })
132
+ })
133
+ }),
134
+ /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)("hbr", {})
135
+ ] });
136
+ }
137
+ /**
138
+ * Create a TSDoc `@remarks` tag.
139
+ */
140
+ function TSDocRemarks(props) {
141
+ return /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsxs)(__alloy_js_core_jsx_runtime.Fragment, { children: [
142
+ "@remarks ",
143
+ /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)("hbr", {}),
144
+ /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(__alloy_js_core.List, {
145
+ hardline: true,
146
+ children: (0, __alloy_js_core.childrenArray)(() => props.children)
147
+ })
148
+ ] });
149
+ }
150
+ /**
151
+ * Create a TSDoc `@see` tag.
152
+ */
153
+ function TSDocLink(props) {
154
+ return /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(TSDocTag, {
155
+ ...props,
156
+ tag: "see"
157
+ });
158
+ }
159
+ /**
160
+ * Create a TSDoc `@example` tag.
161
+ */
162
+ function TSDocExample(props) {
163
+ const [{ tsx, fenced = true, language, children }] = (0, __alloy_js_core.splitProps)(props, [
164
+ "tsx",
165
+ "fenced",
166
+ "language",
167
+ "children"
168
+ ]);
169
+ return /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsxs)(__alloy_js_core_jsx_runtime.Fragment, { children: [
170
+ "@example ",
171
+ /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)("hbr", {}),
172
+ /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsxs)(__alloy_js_core.Show, {
173
+ when: fenced,
174
+ children: [
175
+ "```",
176
+ language || (tsx ? "tsx" : "ts"),
177
+ /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)("hbr", {})
178
+ ]
179
+ }),
180
+ children,
181
+ /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsxs)(__alloy_js_core.Show, {
182
+ when: fenced,
183
+ children: [/* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)("hbr", {}), "```"]
184
+ })
185
+ ] });
186
+ }
187
+ /**
188
+ * Create a TSDoc `@readonly` tag.
189
+ */
190
+ function TSDocReadonly() {
191
+ return /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(TSDocTag, { tag: "readonly" });
192
+ }
193
+ /**
194
+ * Create a TSDoc `@internal` tag.
195
+ */
196
+ function TSDocInternal() {
197
+ return /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(TSDocTag, { tag: "internal" });
198
+ }
199
+ /**
200
+ * Create a TSDoc `@ignore` tag.
201
+ */
202
+ function TSDocIgnore() {
203
+ return /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(TSDocTag, { tag: "ignore" });
204
+ }
205
+ /**
206
+ * Create a TSDoc `@hidden` tag.
207
+ */
208
+ function TSDocHidden() {
209
+ return /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(TSDocTag, { tag: "hidden" });
210
+ }
211
+ /**
212
+ * Generates a TypeScript interface property for the given reflection class.
213
+ */
214
+ function TSDocAttributesTags(props) {
215
+ const [{ title, alias, permission, domain, readonly, internal, ignore, hidden, defaultValue }] = (0, __alloy_js_core.splitProps)(props, [
216
+ "title",
217
+ "alias",
218
+ "permission",
219
+ "domain",
220
+ "readonly",
221
+ "internal",
222
+ "ignore",
223
+ "hidden",
224
+ "defaultValue"
225
+ ]);
226
+ return /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsxs)(__alloy_js_core_jsx_runtime.Fragment, { children: [
227
+ /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(__alloy_js_core.Show, {
228
+ when: (0, __stryke_type_checks_is_set_string.isSetString)(title),
229
+ children: /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(TSDocTitle, { children: title })
230
+ }),
231
+ /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(__alloy_js_core.Show, {
232
+ when: !(0, __stryke_type_checks_is_undefined.isUndefined)(alias) && alias.length > 0,
233
+ children: /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(__alloy_js_core.For, {
234
+ each: alias ?? [],
235
+ children: (alias$1) => /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(TSDocAlias, { children: alias$1 })
236
+ })
237
+ }),
238
+ /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(__alloy_js_core.Show, {
239
+ when: (0, __stryke_type_checks_is_set_string.isSetString)(domain),
240
+ children: /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(TSDocDomain, { children: domain })
241
+ }),
242
+ /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(__alloy_js_core.Show, {
243
+ when: !(0, __stryke_type_checks_is_undefined.isUndefined)(permission) && permission.length > 0,
244
+ children: /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(__alloy_js_core.For, {
245
+ each: permission ?? [],
246
+ children: (permission$1) => /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(TSDocPermission, { children: permission$1 })
247
+ })
248
+ }),
249
+ /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(__alloy_js_core.Show, {
250
+ when: readonly === true,
251
+ children: /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(TSDocReadonly, {})
252
+ }),
253
+ /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(__alloy_js_core.Show, {
254
+ when: internal === true,
255
+ children: /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(TSDocInternal, {})
256
+ }),
257
+ /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(__alloy_js_core.Show, {
258
+ when: ignore === true,
259
+ children: /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(TSDocIgnore, {})
260
+ }),
261
+ /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(__alloy_js_core.Show, {
262
+ when: hidden === true,
263
+ children: /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(TSDocHidden, {})
264
+ }),
265
+ /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(__alloy_js_core.Show, {
266
+ when: !(0, __stryke_type_checks_is_undefined.isUndefined)(defaultValue),
267
+ children: /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(TSDocDefaultValue, { value: defaultValue })
268
+ })
269
+ ] });
270
+ }
271
+ /**
272
+ * Create a TSDoc parameter set off with `@param`.
273
+ */
274
+ function TSDocParam(props) {
275
+ return /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsxs)(__alloy_js_core_jsx_runtime.Fragment, { children: [
276
+ "@param ",
277
+ /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(TSDocParamName, {
278
+ name: props.name,
279
+ optional: props.optional,
280
+ defaultValue: props.defaultValue
281
+ }),
282
+ /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(TSDocParamDescription, { children: props.children })
283
+ ] });
284
+ }
285
+ function TSDocParamName(props) {
286
+ return /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsxs)(__alloy_js_core_jsx_runtime.Fragment, { children: [
287
+ /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(__alloy_js_core.Show, {
288
+ when: props.optional,
289
+ children: "["
290
+ }),
291
+ props.name,
292
+ /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsxs)(__alloy_js_core.Show, {
293
+ when: Boolean(props.defaultValue),
294
+ children: ["=", props.defaultValue]
295
+ }),
296
+ /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(__alloy_js_core.Show, {
297
+ when: props.optional,
298
+ children: "]"
299
+ })
300
+ ] });
301
+ }
302
+ function TSDocParamDescription(props) {
303
+ return /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsxs)(__alloy_js_core.Show, {
304
+ when: Boolean(props.children),
305
+ children: [" - ", /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)("align", {
306
+ width: 2,
307
+ children: /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(__alloy_js_core.Prose, { children: props.children })
308
+ })]
309
+ });
310
+ }
311
+ /**
312
+ * Create a TSDoc `@returns` tag.
313
+ */
314
+ function TSDocReturns(props) {
315
+ return /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(TSDocTag, {
316
+ ...props,
317
+ tag: "returns"
318
+ });
319
+ }
320
+ /**
321
+ * Create a TSDoc `@throws` tag.
322
+ */
323
+ function TSDocThrows(props) {
324
+ return /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(TSDocTag, {
325
+ ...props,
326
+ tag: "throws"
327
+ });
328
+ }
329
+ /**
330
+ * Generates a TSDoc `@module` tag for the given module name.
331
+ */
332
+ function TSDocModule(props) {
333
+ const [{ children, name, prefix }] = (0, __alloy_js_core.splitProps)(props, [
334
+ "children",
335
+ "name",
336
+ "prefix"
337
+ ]);
338
+ const context = require_context.usePowerlines();
339
+ return /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsxs)(__alloy_js_core_jsx_runtime.Fragment, { children: [
340
+ "/**",
341
+ /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsxs)("align", {
342
+ string: " * ",
343
+ children: [
344
+ /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)("hbr", {}),
345
+ /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsxs)(__alloy_js_core.Show, {
346
+ when: Boolean(children),
347
+ children: [
348
+ /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(__alloy_js_core.List, {
349
+ hardline: true,
350
+ children: (0, __alloy_js_core.childrenArray)(() => children)
351
+ }),
352
+ /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)("hbr", {}),
353
+ /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)("hbr", {})
354
+ ]
355
+ }),
356
+ "@module ",
357
+ prefix || context?.config.output.builtinPrefix,
358
+ ":",
359
+ name
360
+ ]
361
+ }),
362
+ /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)("hbr", {}),
363
+ ` */`
364
+ ] });
365
+ }
366
+
367
+ //#endregion
368
+ Object.defineProperty(exports, 'TSDoc', {
369
+ enumerable: true,
370
+ get: function () {
371
+ return TSDoc;
372
+ }
373
+ });
374
+ Object.defineProperty(exports, 'TSDocAlias', {
375
+ enumerable: true,
376
+ get: function () {
377
+ return TSDocAlias;
378
+ }
379
+ });
380
+ Object.defineProperty(exports, 'TSDocAttributesTags', {
381
+ enumerable: true,
382
+ get: function () {
383
+ return TSDocAttributesTags;
384
+ }
385
+ });
386
+ Object.defineProperty(exports, 'TSDocDefaultValue', {
387
+ enumerable: true,
388
+ get: function () {
389
+ return TSDocDefaultValue;
390
+ }
391
+ });
392
+ Object.defineProperty(exports, 'TSDocDomain', {
393
+ enumerable: true,
394
+ get: function () {
395
+ return TSDocDomain;
396
+ }
397
+ });
398
+ Object.defineProperty(exports, 'TSDocExample', {
399
+ enumerable: true,
400
+ get: function () {
401
+ return TSDocExample;
402
+ }
403
+ });
404
+ Object.defineProperty(exports, 'TSDocHidden', {
405
+ enumerable: true,
406
+ get: function () {
407
+ return TSDocHidden;
408
+ }
409
+ });
410
+ Object.defineProperty(exports, 'TSDocIgnore', {
411
+ enumerable: true,
412
+ get: function () {
413
+ return TSDocIgnore;
414
+ }
415
+ });
416
+ Object.defineProperty(exports, 'TSDocInternal', {
417
+ enumerable: true,
418
+ get: function () {
419
+ return TSDocInternal;
420
+ }
421
+ });
422
+ Object.defineProperty(exports, 'TSDocLink', {
423
+ enumerable: true,
424
+ get: function () {
425
+ return TSDocLink;
426
+ }
427
+ });
428
+ Object.defineProperty(exports, 'TSDocModule', {
429
+ enumerable: true,
430
+ get: function () {
431
+ return TSDocModule;
432
+ }
433
+ });
434
+ Object.defineProperty(exports, 'TSDocParam', {
435
+ enumerable: true,
436
+ get: function () {
437
+ return TSDocParam;
438
+ }
439
+ });
440
+ Object.defineProperty(exports, 'TSDocParams', {
441
+ enumerable: true,
442
+ get: function () {
443
+ return TSDocParams;
444
+ }
445
+ });
446
+ Object.defineProperty(exports, 'TSDocPermission', {
447
+ enumerable: true,
448
+ get: function () {
449
+ return TSDocPermission;
450
+ }
451
+ });
452
+ Object.defineProperty(exports, 'TSDocReadonly', {
453
+ enumerable: true,
454
+ get: function () {
455
+ return TSDocReadonly;
456
+ }
457
+ });
458
+ Object.defineProperty(exports, 'TSDocRemarks', {
459
+ enumerable: true,
460
+ get: function () {
461
+ return TSDocRemarks;
462
+ }
463
+ });
464
+ Object.defineProperty(exports, 'TSDocReturns', {
465
+ enumerable: true,
466
+ get: function () {
467
+ return TSDocReturns;
468
+ }
469
+ });
470
+ Object.defineProperty(exports, 'TSDocTag', {
471
+ enumerable: true,
472
+ get: function () {
473
+ return TSDocTag;
474
+ }
475
+ });
476
+ Object.defineProperty(exports, 'TSDocThrows', {
477
+ enumerable: true,
478
+ get: function () {
479
+ return TSDocThrows;
480
+ }
481
+ });
482
+ Object.defineProperty(exports, 'TSDocTitle', {
483
+ enumerable: true,
484
+ get: function () {
485
+ return TSDocTitle;
486
+ }
487
+ });