@powerlines/plugin-env 0.14.26 → 0.15.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 (80) hide show
  1. package/dist/components/docs.cjs +6 -6
  2. package/dist/components/docs.mjs +3 -3
  3. package/dist/components/env.cjs +153 -40
  4. package/dist/components/env.d.cts +2 -2
  5. package/dist/components/env.d.mts +2 -2
  6. package/dist/components/env.mjs +128 -15
  7. package/dist/helpers/create-reflection-resource.d.cts +2 -2
  8. package/dist/helpers/create-reflection-resource.d.mts +2 -2
  9. package/dist/index.d.cts +1 -1
  10. package/dist/index.d.mts +1 -1
  11. package/dist/plugin-alloy/src/core/components/single-line-comment.cjs +22 -0
  12. package/dist/plugin-alloy/src/core/components/single-line-comment.mjs +21 -0
  13. package/dist/plugin-alloy/src/core/components/source-file.cjs +64 -0
  14. package/dist/plugin-alloy/src/core/components/source-file.d.cts +23 -0
  15. package/dist/plugin-alloy/src/core/components/source-file.d.mts +23 -0
  16. package/dist/plugin-alloy/src/core/components/source-file.mjs +62 -0
  17. package/dist/plugin-alloy/src/core/contexts/context.cjs +50 -1
  18. package/dist/plugin-alloy/src/core/contexts/context.mjs +46 -2
  19. package/dist/plugin-alloy/src/core/contexts/index.cjs +2 -0
  20. package/dist/plugin-alloy/src/core/contexts/index.mjs +4 -0
  21. package/dist/plugin-alloy/src/core/contexts/reflection.cjs +46 -0
  22. package/dist/plugin-alloy/src/core/contexts/reflection.mjs +42 -0
  23. package/dist/plugin-alloy/src/helpers/refkey.cjs +16 -0
  24. package/dist/plugin-alloy/src/helpers/refkey.mjs +15 -0
  25. package/dist/plugin-alloy/src/markdown/components/markdown-file.cjs +115 -0
  26. package/dist/plugin-alloy/src/markdown/components/markdown-file.mjs +114 -0
  27. package/dist/plugin-alloy/src/markdown/components/markdown-table.cjs +39 -0
  28. package/dist/plugin-alloy/src/markdown/components/markdown-table.mjs +38 -0
  29. package/dist/plugin-alloy/src/markdown/contexts/markdown-table.cjs +18 -0
  30. package/dist/plugin-alloy/src/markdown/contexts/markdown-table.mjs +17 -0
  31. package/dist/plugin-alloy/src/types/components.d.cts +19 -0
  32. package/dist/plugin-alloy/src/types/components.d.mts +19 -1
  33. package/dist/plugin-alloy/src/types/index.d.mts +1 -1
  34. package/dist/plugin-alloy/src/types/plugin.d.cts +2 -2
  35. package/dist/plugin-alloy/src/types/plugin.d.mts +2 -2
  36. package/dist/plugin-alloy/src/typescript/components/builtin-file.cjs +57 -0
  37. package/dist/plugin-alloy/src/typescript/components/builtin-file.d.cts +25 -0
  38. package/dist/plugin-alloy/src/typescript/components/builtin-file.d.mts +26 -0
  39. package/dist/plugin-alloy/src/typescript/components/builtin-file.mjs +56 -0
  40. package/dist/plugin-alloy/src/typescript/components/tsdoc-reflection.cjs +126 -0
  41. package/dist/plugin-alloy/src/typescript/components/tsdoc-reflection.mjs +124 -0
  42. package/dist/plugin-alloy/src/typescript/components/tsdoc.cjs +442 -0
  43. package/dist/plugin-alloy/src/typescript/components/tsdoc.d.cts +27 -0
  44. package/dist/plugin-alloy/src/typescript/components/tsdoc.d.mts +28 -0
  45. package/dist/plugin-alloy/src/typescript/components/tsdoc.mjs +433 -0
  46. package/dist/plugin-alloy/src/typescript/components/typescript-file.cjs +193 -0
  47. package/dist/plugin-alloy/src/typescript/components/typescript-file.d.cts +14 -0
  48. package/dist/plugin-alloy/src/typescript/components/typescript-file.d.mts +15 -0
  49. package/dist/plugin-alloy/src/typescript/components/typescript-file.mjs +190 -0
  50. package/dist/plugin-alloy/src/typescript/components/typescript-interface.cjs +68 -0
  51. package/dist/plugin-alloy/src/typescript/components/typescript-interface.d.cts +11 -0
  52. package/dist/plugin-alloy/src/typescript/components/typescript-interface.d.mts +12 -0
  53. package/dist/plugin-alloy/src/typescript/components/typescript-interface.mjs +67 -0
  54. package/dist/plugin-alloy/src/typescript/components/typescript-object.cjs +124 -0
  55. package/dist/plugin-alloy/src/typescript/components/typescript-object.mjs +123 -0
  56. package/dist/plugin-automd/src/types/plugin.d.mts +2 -2
  57. package/dist/plugin-babel/src/types/plugin.d.cts +2 -2
  58. package/dist/plugin-babel/src/types/plugin.d.mts +2 -2
  59. package/dist/powerlines/src/api.d.mts +2 -2
  60. package/dist/powerlines/src/index.d.mts +4 -4
  61. package/dist/powerlines/src/internal/helpers/hooks.d.mts +3 -3
  62. package/dist/powerlines/src/lib/build/esbuild.mjs +1 -1
  63. package/dist/powerlines/src/lib/entry.mjs +1 -1
  64. package/dist/powerlines/src/types/api.d.mts +2 -2
  65. package/dist/powerlines/src/types/babel.d.cts +1 -1
  66. package/dist/powerlines/src/types/babel.d.mts +1 -1
  67. package/dist/powerlines/src/types/commands.d.cts +1 -1
  68. package/dist/powerlines/src/types/commands.d.mts +1 -1
  69. package/dist/powerlines/src/types/config.d.cts +5 -5
  70. package/dist/powerlines/src/types/config.d.mts +5 -5
  71. package/dist/powerlines/src/types/context.d.cts +1 -1
  72. package/dist/powerlines/src/types/context.d.mts +2 -2
  73. package/dist/powerlines/src/types/fs.d.cts +1 -1
  74. package/dist/powerlines/src/types/index.d.mts +5 -5
  75. package/dist/powerlines/src/types/plugin.d.cts +3 -3
  76. package/dist/powerlines/src/types/plugin.d.mts +3 -3
  77. package/dist/powerlines/src/types/resolved.d.cts +1 -1
  78. package/dist/powerlines/src/types/resolved.d.mts +1 -1
  79. package/dist/powerlines/src/types/unplugin.d.mts +2 -2
  80. package/package.json +8 -8
@@ -0,0 +1,442 @@
1
+ const require_rolldown_runtime = require('../../../../_virtual/rolldown_runtime.cjs');
2
+ const require_context = require('../../core/contexts/context.cjs');
3
+ const require_utilities = require('../../../../deepkit/src/utilities.cjs');
4
+ let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
5
+ let __alloy_js_core = require("@alloy-js/core");
6
+ let __stryke_type_checks_is_set_string = require("@stryke/type-checks/is-set-string");
7
+ let __stryke_type_checks_is_undefined = require("@stryke/type-checks/is-undefined");
8
+
9
+ //#region ../plugin-alloy/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 [
16
+ "/**",
17
+ (0, __alloy_js_core_jsx_runtime.createIntrinsic)("align", {
18
+ string: " * ",
19
+ get children() {
20
+ return [
21
+ (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
22
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
23
+ get when() {
24
+ return !(0, __stryke_type_checks_is_undefined.isUndefined)(heading);
25
+ },
26
+ get children() {
27
+ return [
28
+ heading,
29
+ (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
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).length > 0;
33
+ },
34
+ get children() {
35
+ return (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {});
36
+ }
37
+ })
38
+ ];
39
+ }
40
+ }),
41
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
42
+ get when() {
43
+ return (0, __alloy_js_core_jsx_runtime.memo)(() => !!!(0, __stryke_type_checks_is_undefined.isUndefined)(children))() && (0, __alloy_js_core.childrenArray)(() => children).length > 0;
44
+ },
45
+ get children() {
46
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.List, { get children() {
47
+ return (0, __alloy_js_core.childrenArray)(() => children);
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)("hbr", {})
80
+ ];
81
+ }
82
+ /**
83
+ * Create a TSDoc `@title` tag.
84
+ */
85
+ function TSDocTitle(props) {
86
+ const [{ children }, rest] = (0, __alloy_js_core.splitProps)(props, ["children"]);
87
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocTag, (0, __alloy_js_core_jsx_runtime.mergeProps)(rest, {
88
+ tag: "title",
89
+ children
90
+ }));
91
+ }
92
+ /**
93
+ * Create a TSDoc `@domain` tag.
94
+ */
95
+ function TSDocDomain(props) {
96
+ const [{ children }, rest] = (0, __alloy_js_core.splitProps)(props, ["children"]);
97
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocTag, (0, __alloy_js_core_jsx_runtime.mergeProps)(rest, {
98
+ tag: "domain",
99
+ children
100
+ }));
101
+ }
102
+ /**
103
+ * Create a TSDoc `@alias` tag.
104
+ */
105
+ function TSDocAlias(props) {
106
+ const [{ children }, rest] = (0, __alloy_js_core.splitProps)(props, ["children"]);
107
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocTag, (0, __alloy_js_core_jsx_runtime.mergeProps)(rest, {
108
+ tag: "alias",
109
+ children
110
+ }));
111
+ }
112
+ /**
113
+ * Create a TSDoc `@permission` tag.
114
+ */
115
+ function TSDocPermission(props) {
116
+ const [{ children }, rest] = (0, __alloy_js_core.splitProps)(props, ["children"]);
117
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocTag, (0, __alloy_js_core_jsx_runtime.mergeProps)(rest, {
118
+ tag: "permission",
119
+ children
120
+ }));
121
+ }
122
+ /**
123
+ * Create a TSDoc `@defaultValue` tag.
124
+ */
125
+ function TSDocDefaultValue(props) {
126
+ return [
127
+ "@defaultValue ",
128
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
129
+ get when() {
130
+ return !(0, __stryke_type_checks_is_undefined.isUndefined)(props.value);
131
+ },
132
+ get children() {
133
+ return (0, __alloy_js_core_jsx_runtime.createIntrinsic)("align", {
134
+ width: 2,
135
+ get children() {
136
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Prose, { get children() {
137
+ return require_utilities.stringifyDefaultValue(props.value);
138
+ } });
139
+ }
140
+ });
141
+ }
142
+ }),
143
+ (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})
144
+ ];
145
+ }
146
+ /**
147
+ * Create a TSDoc `@remarks` tag.
148
+ */
149
+ function TSDocRemarks(props) {
150
+ return [
151
+ "@remarks ",
152
+ (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
153
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.List, {
154
+ hardline: true,
155
+ get children() {
156
+ return (0, __alloy_js_core.childrenArray)(() => props.children);
157
+ }
158
+ })
159
+ ];
160
+ }
161
+ /**
162
+ * Create a TSDoc `@see` tag.
163
+ */
164
+ function TSDocLink(props) {
165
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocTag, (0, __alloy_js_core_jsx_runtime.mergeProps)(props, { tag: "see" }));
166
+ }
167
+ /**
168
+ * Create a TSDoc `@example` tag.
169
+ */
170
+ function TSDocExample(props) {
171
+ const [{ tsx, fenced = true, language, children }] = (0, __alloy_js_core.splitProps)(props, [
172
+ "tsx",
173
+ "fenced",
174
+ "language",
175
+ "children"
176
+ ]);
177
+ return [
178
+ "@example ",
179
+ (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
180
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
181
+ when: fenced,
182
+ get children() {
183
+ return [
184
+ "```",
185
+ language || (tsx ? "tsx" : "ts"),
186
+ (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})
187
+ ];
188
+ }
189
+ }),
190
+ children,
191
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
192
+ when: fenced,
193
+ get children() {
194
+ return [(0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}), "```"];
195
+ }
196
+ })
197
+ ];
198
+ }
199
+ /**
200
+ * Create a TSDoc `@readonly` tag.
201
+ */
202
+ function TSDocReadonly() {
203
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocTag, { tag: "readonly" });
204
+ }
205
+ /**
206
+ * Create a TSDoc `@internal` tag.
207
+ */
208
+ function TSDocInternal() {
209
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocTag, { tag: "internal" });
210
+ }
211
+ /**
212
+ * Create a TSDoc `@ignore` tag.
213
+ */
214
+ function TSDocIgnore() {
215
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocTag, { tag: "ignore" });
216
+ }
217
+ /**
218
+ * Create a TSDoc `@hidden` tag.
219
+ */
220
+ function TSDocHidden() {
221
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocTag, { tag: "hidden" });
222
+ }
223
+ /**
224
+ * Generates a TypeScript interface property for the given reflection class.
225
+ */
226
+ function TSDocAttributesTags(props) {
227
+ const [{ title, alias, permission, domain, readonly, internal, ignore, hidden, defaultValue }] = (0, __alloy_js_core.splitProps)(props, [
228
+ "title",
229
+ "alias",
230
+ "permission",
231
+ "domain",
232
+ "readonly",
233
+ "internal",
234
+ "ignore",
235
+ "hidden",
236
+ "defaultValue"
237
+ ]);
238
+ return [
239
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
240
+ get when() {
241
+ return (0, __stryke_type_checks_is_set_string.isSetString)(title);
242
+ },
243
+ get children() {
244
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocTitle, { children: title });
245
+ }
246
+ }),
247
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
248
+ get when() {
249
+ return !(0, __stryke_type_checks_is_undefined.isUndefined)(alias) && alias.length > 0;
250
+ },
251
+ get children() {
252
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.For, {
253
+ each: alias ?? [],
254
+ children: (alias$1) => (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocAlias, { children: alias$1 })
255
+ });
256
+ }
257
+ }),
258
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
259
+ get when() {
260
+ return (0, __stryke_type_checks_is_set_string.isSetString)(domain);
261
+ },
262
+ get children() {
263
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocDomain, { children: domain });
264
+ }
265
+ }),
266
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
267
+ get when() {
268
+ return !(0, __stryke_type_checks_is_undefined.isUndefined)(permission) && permission.length > 0;
269
+ },
270
+ get children() {
271
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.For, {
272
+ each: permission ?? [],
273
+ children: (permission$1) => (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocPermission, { children: permission$1 })
274
+ });
275
+ }
276
+ }),
277
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
278
+ when: readonly === true,
279
+ get children() {
280
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocReadonly, {});
281
+ }
282
+ }),
283
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
284
+ when: internal === true,
285
+ get children() {
286
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocInternal, {});
287
+ }
288
+ }),
289
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
290
+ when: ignore === true,
291
+ get children() {
292
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocIgnore, {});
293
+ }
294
+ }),
295
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
296
+ when: hidden === true,
297
+ get children() {
298
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocHidden, {});
299
+ }
300
+ }),
301
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
302
+ get when() {
303
+ return !(0, __stryke_type_checks_is_undefined.isUndefined)(defaultValue);
304
+ },
305
+ get children() {
306
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocDefaultValue, { value: defaultValue });
307
+ }
308
+ })
309
+ ];
310
+ }
311
+ /**
312
+ * Create a TSDoc parameter set off with `@param`.
313
+ */
314
+ function TSDocParam(props) {
315
+ return [
316
+ "@param ",
317
+ (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocParamName, {
318
+ get name() {
319
+ return props.name;
320
+ },
321
+ get optional() {
322
+ return props.optional;
323
+ },
324
+ get defaultValue() {
325
+ return props.defaultValue;
326
+ }
327
+ }),
328
+ (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocParamDescription, { get children() {
329
+ return props.children;
330
+ } })
331
+ ];
332
+ }
333
+ function TSDocParamName(props) {
334
+ return [
335
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
336
+ get when() {
337
+ return props.optional;
338
+ },
339
+ children: "["
340
+ }),
341
+ (0, __alloy_js_core_jsx_runtime.memo)(() => props.name),
342
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
343
+ get when() {
344
+ return Boolean(props.defaultValue);
345
+ },
346
+ get children() {
347
+ return ["=", (0, __alloy_js_core_jsx_runtime.memo)(() => props.defaultValue)];
348
+ }
349
+ }),
350
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
351
+ get when() {
352
+ return props.optional;
353
+ },
354
+ children: "]"
355
+ })
356
+ ];
357
+ }
358
+ function TSDocParamDescription(props) {
359
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
360
+ get when() {
361
+ return Boolean(props.children);
362
+ },
363
+ get children() {
364
+ return [" - ", (0, __alloy_js_core_jsx_runtime.createIntrinsic)("align", {
365
+ width: 2,
366
+ get children() {
367
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Prose, { get children() {
368
+ return props.children;
369
+ } });
370
+ }
371
+ })];
372
+ }
373
+ });
374
+ }
375
+ /**
376
+ * Create a TSDoc `@returns` tag.
377
+ */
378
+ function TSDocReturns(props) {
379
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocTag, (0, __alloy_js_core_jsx_runtime.mergeProps)(props, { tag: "returns" }));
380
+ }
381
+ /**
382
+ * Create a TSDoc `@throws` tag.
383
+ */
384
+ function TSDocThrows(props) {
385
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocTag, (0, __alloy_js_core_jsx_runtime.mergeProps)(props, { tag: "throws" }));
386
+ }
387
+ /**
388
+ * Generates a TSDoc `@module` tag for the given module name.
389
+ */
390
+ function TSDocModule(props) {
391
+ const [{ children, name, prefix }] = (0, __alloy_js_core.splitProps)(props, [
392
+ "children",
393
+ "name",
394
+ "prefix"
395
+ ]);
396
+ const context = require_context.usePowerlines();
397
+ return [
398
+ "/**",
399
+ (0, __alloy_js_core_jsx_runtime.createIntrinsic)("align", {
400
+ string: " * ",
401
+ get children() {
402
+ return [
403
+ (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
404
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
405
+ get when() {
406
+ return Boolean(children);
407
+ },
408
+ get children() {
409
+ return [
410
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.List, {
411
+ hardline: true,
412
+ get children() {
413
+ return (0, __alloy_js_core.childrenArray)(() => children);
414
+ }
415
+ }),
416
+ (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
417
+ (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})
418
+ ];
419
+ }
420
+ }),
421
+ "@module ",
422
+ (0, __alloy_js_core_jsx_runtime.memo)(() => prefix || context?.config.output.builtinPrefix),
423
+ ":",
424
+ name
425
+ ];
426
+ }
427
+ }),
428
+ (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
429
+ ` */`
430
+ ];
431
+ }
432
+
433
+ //#endregion
434
+ exports.TSDoc = TSDoc;
435
+ exports.TSDocAttributesTags = TSDocAttributesTags;
436
+ exports.TSDocExample = TSDocExample;
437
+ exports.TSDocLink = TSDocLink;
438
+ exports.TSDocModule = TSDocModule;
439
+ exports.TSDocParam = TSDocParam;
440
+ exports.TSDocRemarks = TSDocRemarks;
441
+ exports.TSDocReturns = TSDocReturns;
442
+ exports.TSDocThrows = TSDocThrows;
@@ -0,0 +1,27 @@
1
+ import { ComponentProps } from "../../types/components.cjs";
2
+ import { Children } from "@alloy-js/core";
3
+
4
+ //#region ../plugin-alloy/src/typescript/components/tsdoc.d.ts
5
+
6
+ interface TSDocModuleProps extends ComponentProps {
7
+ /**
8
+ * the prefix for the builtin module name
9
+ *
10
+ * @defaultValue "storm"
11
+ */
12
+ prefix?: string;
13
+ /**
14
+ * The name of the module
15
+ *
16
+ * @remarks
17
+ * This will be used in the `@module` tag as well as the import path for the module, e.g. `storm:<name>`.
18
+ *
19
+ * @example
20
+ * ```ts
21
+ * import { MyModule } from "storm:my-module";
22
+ * ```
23
+ */
24
+ name: Children;
25
+ }
26
+ //#endregion
27
+ export { TSDocModuleProps };
@@ -0,0 +1,28 @@
1
+ import { ComponentProps } from "../../types/components.mjs";
2
+ import { Children } from "@alloy-js/core";
3
+ import "@alloy-js/typescript";
4
+
5
+ //#region ../plugin-alloy/src/typescript/components/tsdoc.d.ts
6
+
7
+ interface TSDocModuleProps extends ComponentProps {
8
+ /**
9
+ * the prefix for the builtin module name
10
+ *
11
+ * @defaultValue "storm"
12
+ */
13
+ prefix?: string;
14
+ /**
15
+ * The name of the module
16
+ *
17
+ * @remarks
18
+ * This will be used in the `@module` tag as well as the import path for the module, e.g. `storm:<name>`.
19
+ *
20
+ * @example
21
+ * ```ts
22
+ * import { MyModule } from "storm:my-module";
23
+ * ```
24
+ */
25
+ name: Children;
26
+ }
27
+ //#endregion
28
+ export { TSDocModuleProps };