@powerlines/plugin-alloy 0.19.13 → 0.19.15
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.
- package/dist/builtin-file-0k9DccCv.cjs +67 -0
- package/dist/builtin-file-DcLp9sck.d.mts +35 -0
- package/dist/builtin-file-DcLp9sck.d.mts.map +1 -0
- package/dist/builtin-file-DtkZ-2Hs.d.cts +35 -0
- package/dist/builtin-file-DtkZ-2Hs.d.cts.map +1 -0
- package/dist/builtin-file-Ie_jPokg.mjs +62 -0
- package/dist/builtin-file-Ie_jPokg.mjs.map +1 -0
- package/dist/builtin-file-MrUfX3YE.d.cts +35 -0
- package/dist/builtin-file-MrUfX3YE.d.cts.map +1 -0
- package/dist/builtin-file-RXdRpQs-.d.mts +35 -0
- package/dist/builtin-file-RXdRpQs-.d.mts.map +1 -0
- package/dist/capnp-CRMDa2Ok.d.mts +88 -0
- package/dist/capnp-CRMDa2Ok.d.mts.map +1 -0
- package/dist/capnp-ClfqI-5t.cjs +356 -0
- package/dist/capnp-CnQcwo0s.mjs +260 -0
- package/dist/capnp-CnQcwo0s.mjs.map +1 -0
- package/dist/capnp-YnGBPkLK.d.cts +88 -0
- package/dist/capnp-YnGBPkLK.d.cts.map +1 -0
- package/dist/{_virtual/rolldown_runtime.cjs → chunk-CbDLau6x.cjs} +6 -1
- package/dist/components-B0evB5xd.cjs +0 -0
- package/dist/components-BNK9p5AE.cjs +0 -0
- package/dist/components-C_Rnle_h.mjs +1 -0
- package/dist/components-CpjG2zC9.mjs +1 -0
- package/dist/components-CrWk5KiP.mjs +1 -0
- package/dist/components-CyQi7RHT.mjs +1 -0
- package/dist/components-DPKSrvP-.cjs +0 -0
- package/dist/components-IRVnipN0.d.cts +143 -0
- package/dist/components-IRVnipN0.d.cts.map +1 -0
- package/dist/components-ISRFDWTF.cjs +0 -0
- package/dist/components-oHSM7vmp.d.mts +143 -0
- package/dist/components-oHSM7vmp.d.mts.map +1 -0
- package/dist/context--KBspFnw.cjs +79 -0
- package/dist/context-Du_bVzRZ.d.mts +67 -0
- package/dist/context-Du_bVzRZ.d.mts.map +1 -0
- package/dist/context-Gqs3Ru42.d.cts +67 -0
- package/dist/context-Gqs3Ru42.d.cts.map +1 -0
- package/dist/context-e2kZWEFW.mjs +51 -0
- package/dist/context-e2kZWEFW.mjs.map +1 -0
- package/dist/contexts-DezKayEz.cjs +0 -0
- package/dist/contexts-J643Nrrt.cjs +0 -0
- package/dist/contexts-_jq-yJQG.mjs +1 -0
- package/dist/contexts-juWSyBfb.mjs +1 -0
- package/dist/core/components/index.cjs +11 -6
- package/dist/core/components/index.d.cts +6 -3
- package/dist/core/components/index.d.mts +6 -3
- package/dist/core/components/index.mjs +8 -3
- package/dist/core/components/output.cjs +2 -32
- package/dist/core/components/output.d.cts +2 -22
- package/dist/core/components/output.d.mts +2 -22
- package/dist/core/components/output.mjs +1 -30
- package/dist/core/components/single-line-comment.cjs +2 -21
- package/dist/core/components/single-line-comment.d.cts +2 -21
- package/dist/core/components/single-line-comment.d.mts +2 -21
- package/dist/core/components/single-line-comment.mjs +1 -19
- package/dist/core/components/source-file.cjs +6 -63
- package/dist/core/components/source-file.d.cts +2 -31
- package/dist/core/components/source-file.d.mts +2 -31
- package/dist/core/components/source-file.mjs +5 -60
- package/dist/core/contexts/context.cjs +7 -53
- package/dist/core/contexts/context.d.cts +1 -65
- package/dist/core/contexts/context.d.mts +1 -65
- package/dist/core/contexts/context.mjs +2 -48
- package/dist/core/contexts/index.cjs +17 -15
- package/dist/core/contexts/index.d.cts +4 -2
- package/dist/core/contexts/index.d.mts +4 -2
- package/dist/core/contexts/index.mjs +4 -2
- package/dist/core/contexts/reflection.cjs +9 -67
- package/dist/core/contexts/reflection.d.cts +2 -51
- package/dist/core/contexts/reflection.d.mts +2 -51
- package/dist/core/contexts/reflection.mjs +1 -58
- package/dist/core/index.cjs +24 -23
- package/dist/core/index.d.cts +8 -7
- package/dist/core/index.d.mts +8 -7
- package/dist/core/index.mjs +8 -7
- package/dist/create-builtin-BiKyN2s2.cjs +24 -0
- package/dist/create-builtin-DFiWd6Zc.d.cts +16 -0
- package/dist/create-builtin-DFiWd6Zc.d.cts.map +1 -0
- package/dist/create-builtin-DQuJyeZw.mjs +19 -0
- package/dist/create-builtin-DQuJyeZw.mjs.map +1 -0
- package/dist/create-builtin-FtQ6qKzX.d.mts +16 -0
- package/dist/create-builtin-FtQ6qKzX.d.mts.map +1 -0
- package/dist/dynamic-import-statement-B5Pdwr4Z.d.mts +33 -0
- package/dist/dynamic-import-statement-B5Pdwr4Z.d.mts.map +1 -0
- package/dist/dynamic-import-statement-BbNJchii.mjs +25 -0
- package/dist/dynamic-import-statement-BbNJchii.mjs.map +1 -0
- package/dist/dynamic-import-statement-DNJlI3ND.d.cts +33 -0
- package/dist/dynamic-import-statement-DNJlI3ND.d.cts.map +1 -0
- package/dist/dynamic-import-statement-DTSUoDt2.d.cts +33 -0
- package/dist/dynamic-import-statement-DTSUoDt2.d.cts.map +1 -0
- package/dist/dynamic-import-statement-Dy_MY_Ua.cjs +30 -0
- package/dist/entry-file-CfMzpF03.d.cts +28 -0
- package/dist/entry-file-CfMzpF03.d.cts.map +1 -0
- package/dist/entry-file-CnC6P3j6.d.mts +28 -0
- package/dist/entry-file-CnC6P3j6.d.mts.map +1 -0
- package/dist/entry-file-D64eurjX.mjs +41 -0
- package/dist/entry-file-D64eurjX.mjs.map +1 -0
- package/dist/entry-file-DVueLVSn.d.cts +28 -0
- package/dist/entry-file-DVueLVSn.d.cts.map +1 -0
- package/dist/entry-file-GR5Rsn25.cjs +47 -0
- package/dist/entry-file-ayzYWEo5.d.mts +28 -0
- package/dist/entry-file-ayzYWEo5.d.mts.map +1 -0
- package/dist/front-matter-2eGRXX11.mjs +28 -0
- package/dist/front-matter-2eGRXX11.mjs.map +1 -0
- package/dist/front-matter-DGpkM9OE.d.mts +16 -0
- package/dist/front-matter-DGpkM9OE.d.mts.map +1 -0
- package/dist/front-matter-DZ1tB-Uj.cjs +33 -0
- package/dist/front-matter-gcouRI-6.d.cts +16 -0
- package/dist/front-matter-gcouRI-6.d.cts.map +1 -0
- package/dist/front-matter-u9H7VPAF.d.cts +16 -0
- package/dist/front-matter-u9H7VPAF.d.cts.map +1 -0
- package/dist/helpers/capnp.cjs +18 -276
- package/dist/helpers/capnp.d.cts +1 -86
- package/dist/helpers/capnp.d.mts +1 -86
- package/dist/helpers/capnp.mjs +1 -257
- package/dist/helpers/create-builtin.cjs +2 -18
- package/dist/helpers/create-builtin.d.cts +1 -14
- package/dist/helpers/create-builtin.d.mts +1 -14
- package/dist/helpers/create-builtin.mjs +1 -16
- package/dist/helpers/index.cjs +23 -23
- package/dist/helpers/index.d.cts +4 -4
- package/dist/helpers/index.d.mts +4 -4
- package/dist/helpers/index.mjs +4 -4
- package/dist/helpers/refkey.cjs +2 -15
- package/dist/helpers/refkey.d.cts +1 -12
- package/dist/helpers/refkey.d.mts +1 -12
- package/dist/helpers/refkey.mjs +1 -13
- package/dist/helpers/typescript.cjs +2 -45
- package/dist/helpers/typescript.d.cts +1 -24
- package/dist/helpers/typescript.d.mts +1 -24
- package/dist/helpers/typescript.mjs +1 -43
- package/dist/index-B-Y-ZG2x.d.mts +1 -0
- package/dist/index-BH1nuHdZ.d.cts +1 -0
- package/dist/index-BUYyA1Xh.d.cts +1 -0
- package/dist/index-C-lwXyQ6.d.mts +1 -0
- package/dist/index-C6HcjJiY.d.mts +1 -0
- package/dist/index-C6yvNuzO.d.cts +1 -0
- package/dist/index-CrhZaFgN.d.cts +1 -0
- package/dist/index-CzItj62a.d.mts +1 -0
- package/dist/index-DcDTDbdz.d.cts +1 -0
- package/dist/index-hcx6LMSC.d.mts +1 -0
- package/dist/index.cjs +8 -6
- package/dist/index.d.cts +3 -2
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +3 -2
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +8 -5
- package/dist/index.mjs.map +1 -0
- package/dist/markdown/components/front-matter.cjs +2 -27
- package/dist/markdown/components/front-matter.d.cts +1 -14
- package/dist/markdown/components/front-matter.d.mts +1 -14
- package/dist/markdown/components/front-matter.mjs +1 -25
- package/dist/markdown/components/index.cjs +17 -9
- package/dist/markdown/components/index.d.cts +7 -3
- package/dist/markdown/components/index.d.mts +7 -3
- package/dist/markdown/components/index.mjs +11 -3
- package/dist/markdown/components/markdown-file.cjs +10 -130
- package/dist/markdown/components/markdown-file.d.cts +4 -27
- package/dist/markdown/components/markdown-file.d.mts +4 -27
- package/dist/markdown/components/markdown-file.mjs +8 -127
- package/dist/markdown/components/markdown-table.cjs +5 -100
- package/dist/markdown/components/markdown-table.d.cts +3 -26
- package/dist/markdown/components/markdown-table.d.mts +3 -26
- package/dist/markdown/components/markdown-table.mjs +2 -96
- package/dist/markdown/contexts/index.cjs +6 -5
- package/dist/markdown/contexts/index.d.cts +2 -1
- package/dist/markdown/contexts/index.d.mts +2 -1
- package/dist/markdown/contexts/index.mjs +2 -1
- package/dist/markdown/contexts/markdown-table.cjs +5 -36
- package/dist/markdown/contexts/markdown-table.d.cts +1 -36
- package/dist/markdown/contexts/markdown-table.d.mts +1 -36
- package/dist/markdown/contexts/markdown-table.mjs +1 -31
- package/dist/markdown/index.cjs +22 -16
- package/dist/markdown/index.d.cts +8 -6
- package/dist/markdown/index.d.mts +8 -6
- package/dist/markdown/index.mjs +12 -6
- package/dist/markdown-file-CAwtMwsl.cjs +141 -0
- package/dist/markdown-file-CIGTz9xQ.d.cts +29 -0
- package/dist/markdown-file-CIGTz9xQ.d.cts.map +1 -0
- package/dist/markdown-file-CxDM6MCV.d.cts +29 -0
- package/dist/markdown-file-CxDM6MCV.d.cts.map +1 -0
- package/dist/markdown-file-DIcSvowq.mjs +130 -0
- package/dist/markdown-file-DIcSvowq.mjs.map +1 -0
- package/dist/markdown-file-EtJaVhJ3.d.mts +29 -0
- package/dist/markdown-file-EtJaVhJ3.d.mts.map +1 -0
- package/dist/markdown-table-AoJIzA89.d.cts +28 -0
- package/dist/markdown-table-AoJIzA89.d.cts.map +1 -0
- package/dist/markdown-table-BWPm6GbJ.cjs +57 -0
- package/dist/markdown-table-Br2Ihl2z.d.cts +38 -0
- package/dist/markdown-table-Br2Ihl2z.d.cts.map +1 -0
- package/dist/markdown-table-CFL7L6rA.d.mts +38 -0
- package/dist/markdown-table-CFL7L6rA.d.mts.map +1 -0
- package/dist/markdown-table-ChvYobzz.d.mts +28 -0
- package/dist/markdown-table-ChvYobzz.d.mts.map +1 -0
- package/dist/markdown-table-D3DonpwR.mjs +99 -0
- package/dist/markdown-table-D3DonpwR.mjs.map +1 -0
- package/dist/markdown-table-DFSFKzCN.d.cts +28 -0
- package/dist/markdown-table-DFSFKzCN.d.cts.map +1 -0
- package/dist/markdown-table-eTnxxb46.cjs +116 -0
- package/dist/markdown-table-g6DeP10e.mjs +34 -0
- package/dist/markdown-table-g6DeP10e.mjs.map +1 -0
- package/dist/output-BnmXIAFP.d.cts +24 -0
- package/dist/output-BnmXIAFP.d.cts.map +1 -0
- package/dist/output-CMC94bm-.d.mts +24 -0
- package/dist/output-CMC94bm-.d.mts.map +1 -0
- package/dist/output-CQXrGP3y.cjs +38 -0
- package/dist/output-D3UQ5nZo.mjs +33 -0
- package/dist/output-D3UQ5nZo.mjs.map +1 -0
- package/dist/output-Dq1RRbJY.d.cts +24 -0
- package/dist/output-Dq1RRbJY.d.cts.map +1 -0
- package/dist/plugin-B8wUxSXi.cjs +0 -0
- package/dist/plugin-BmQ6pIes.mjs +1 -0
- package/dist/plugin-C6SupJ8C.d.cts +41 -0
- package/dist/plugin-C6SupJ8C.d.cts.map +1 -0
- package/dist/plugin-bEu9fq1G.d.mts +41 -0
- package/dist/plugin-bEu9fq1G.d.mts.map +1 -0
- package/dist/record-expression-6ElbFyR0.cjs +17 -0
- package/dist/record-expression-BjXMzi4r.mjs +12 -0
- package/dist/record-expression-BjXMzi4r.mjs.map +1 -0
- package/dist/record-expression-adlQJuNw.d.cts +13 -0
- package/dist/record-expression-adlQJuNw.d.cts.map +1 -0
- package/dist/record-expression-c9kQA93k.d.mts +13 -0
- package/dist/record-expression-c9kQA93k.d.mts.map +1 -0
- package/dist/refkey-Bf_2_U5t.d.cts +14 -0
- package/dist/refkey-Bf_2_U5t.d.cts.map +1 -0
- package/dist/refkey-C08kDOQ0.cjs +21 -0
- package/dist/refkey-CIFiGvgZ.mjs +16 -0
- package/dist/refkey-CIFiGvgZ.mjs.map +1 -0
- package/dist/refkey-CSZgFc0P.d.mts +14 -0
- package/dist/refkey-CSZgFc0P.d.mts.map +1 -0
- package/dist/reflection-B-NMNIoB.mjs +61 -0
- package/dist/reflection-B-NMNIoB.mjs.map +1 -0
- package/dist/reflection-CUo0047e.d.mts +53 -0
- package/dist/reflection-CUo0047e.d.mts.map +1 -0
- package/dist/reflection-DHpdhvwI.cjs +108 -0
- package/dist/reflection-xU09ifzp.d.cts +53 -0
- package/dist/reflection-xU09ifzp.d.cts.map +1 -0
- package/dist/single-line-comment-B258_x1B.d.cts +23 -0
- package/dist/single-line-comment-B258_x1B.d.cts.map +1 -0
- package/dist/single-line-comment-COZ9RWsm.cjs +27 -0
- package/dist/single-line-comment-D9dIL45u.d.cts +23 -0
- package/dist/single-line-comment-D9dIL45u.d.cts.map +1 -0
- package/dist/single-line-comment-PMv_zrfe.d.mts +23 -0
- package/dist/single-line-comment-PMv_zrfe.d.mts.map +1 -0
- package/dist/single-line-comment-mOQtfhWt.mjs +22 -0
- package/dist/single-line-comment-mOQtfhWt.mjs.map +1 -0
- package/dist/source-file-95cXzcLB.d.cts +33 -0
- package/dist/source-file-95cXzcLB.d.cts.map +1 -0
- package/dist/source-file-BAVTBVJy.cjs +68 -0
- package/dist/source-file-BTsyACav.d.cts +33 -0
- package/dist/source-file-BTsyACav.d.cts.map +1 -0
- package/dist/source-file-BiJK-nH_.mjs +62 -0
- package/dist/source-file-BiJK-nH_.mjs.map +1 -0
- package/dist/source-file-CQl0UCgf.d.mts +33 -0
- package/dist/source-file-CQl0UCgf.d.mts.map +1 -0
- package/dist/tsdoc-BId4fp5_.cjs +585 -0
- package/dist/tsdoc-CfvwK4Ml.d.cts +164 -0
- package/dist/tsdoc-CfvwK4Ml.d.cts.map +1 -0
- package/dist/tsdoc-Crv526i6.mjs +466 -0
- package/dist/tsdoc-Crv526i6.mjs.map +1 -0
- package/dist/tsdoc-OUuKjTbh.d.mts +164 -0
- package/dist/tsdoc-OUuKjTbh.d.mts.map +1 -0
- package/dist/tsdoc-reflection-B4bfElmj.d.cts +19 -0
- package/dist/tsdoc-reflection-B4bfElmj.d.cts.map +1 -0
- package/dist/tsdoc-reflection-BbjnIsUV.d.cts +19 -0
- package/dist/tsdoc-reflection-BbjnIsUV.d.cts.map +1 -0
- package/dist/tsdoc-reflection-D-eKs6S1.mjs +176 -0
- package/dist/tsdoc-reflection-D-eKs6S1.mjs.map +1 -0
- package/dist/tsdoc-reflection-IH-Mt2o_.cjs +193 -0
- package/dist/tsdoc-reflection-ulqYHfKL.d.mts +19 -0
- package/dist/tsdoc-reflection-ulqYHfKL.d.mts.map +1 -0
- package/dist/types/components.cjs +1 -0
- package/dist/types/components.d.cts +1 -141
- package/dist/types/components.d.mts +1 -141
- package/dist/types/components.mjs +2 -0
- package/dist/types/index.cjs +2 -0
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.mts +2 -2
- package/dist/types/index.mjs +3 -0
- package/dist/types/plugin.cjs +1 -0
- package/dist/types/plugin.d.cts +1 -39
- package/dist/types/plugin.d.mts +1 -39
- package/dist/types/plugin.mjs +2 -0
- package/dist/typescript/components/builtin-file.cjs +10 -61
- package/dist/typescript/components/builtin-file.d.cts +5 -33
- package/dist/typescript/components/builtin-file.d.mts +5 -33
- package/dist/typescript/components/builtin-file.mjs +9 -59
- package/dist/typescript/components/dynamic-import-statement.cjs +2 -24
- package/dist/typescript/components/dynamic-import-statement.d.cts +1 -31
- package/dist/typescript/components/dynamic-import-statement.d.mts +1 -31
- package/dist/typescript/components/dynamic-import-statement.mjs +1 -22
- package/dist/typescript/components/entry-file.cjs +9 -41
- package/dist/typescript/components/entry-file.d.cts +4 -26
- package/dist/typescript/components/entry-file.d.mts +4 -26
- package/dist/typescript/components/entry-file.mjs +8 -38
- package/dist/typescript/components/index.cjs +50 -43
- package/dist/typescript/components/index.d.cts +12 -9
- package/dist/typescript/components/index.d.mts +12 -9
- package/dist/typescript/components/index.mjs +16 -9
- package/dist/typescript/components/record-expression.cjs +2 -11
- package/dist/typescript/components/record-expression.d.cts +1 -11
- package/dist/typescript/components/record-expression.d.mts +1 -11
- package/dist/typescript/components/record-expression.mjs +1 -9
- package/dist/typescript/components/tsdoc-reflection.cjs +8 -177
- package/dist/typescript/components/tsdoc-reflection.d.cts +3 -17
- package/dist/typescript/components/tsdoc-reflection.d.mts +3 -17
- package/dist/typescript/components/tsdoc-reflection.mjs +5 -173
- package/dist/typescript/components/tsdoc.cjs +23 -484
- package/dist/typescript/components/tsdoc.d.cts +2 -162
- package/dist/typescript/components/tsdoc.d.mts +2 -162
- package/dist/typescript/components/tsdoc.mjs +3 -463
- package/dist/typescript/components/typescript-file.cjs +10 -215
- package/dist/typescript/components/typescript-file.d.cts +3 -48
- package/dist/typescript/components/typescript-file.d.mts +3 -48
- package/dist/typescript/components/typescript-file.mjs +7 -211
- package/dist/typescript/components/typescript-interface.cjs +8 -72
- package/dist/typescript/components/typescript-interface.d.cts +2 -24
- package/dist/typescript/components/typescript-interface.d.mts +2 -24
- package/dist/typescript/components/typescript-interface.mjs +6 -69
- package/dist/typescript/components/typescript-object.cjs +8 -124
- package/dist/typescript/components/typescript-object.d.cts +2 -28
- package/dist/typescript/components/typescript-object.d.mts +2 -28
- package/dist/typescript/components/typescript-object.mjs +6 -121
- package/dist/typescript/index.cjs +50 -44
- package/dist/typescript/index.d.cts +12 -10
- package/dist/typescript/index.d.mts +12 -10
- package/dist/typescript/index.mjs +16 -10
- package/dist/typescript-BCc7kwL_.mjs +46 -0
- package/dist/typescript-BCc7kwL_.mjs.map +1 -0
- package/dist/typescript-BbjCTT04.cjs +51 -0
- package/dist/typescript-DWzPF4n4.d.mts +26 -0
- package/dist/typescript-DWzPF4n4.d.mts.map +1 -0
- package/dist/typescript-file-BWaBMfMr.d.mts +50 -0
- package/dist/typescript-file-BWaBMfMr.d.mts.map +1 -0
- package/dist/typescript-file-BmLwVIQP.cjs +231 -0
- package/dist/typescript-file-C5NjN3H2.mjs +214 -0
- package/dist/typescript-file-C5NjN3H2.mjs.map +1 -0
- package/dist/typescript-file-MYxikvB6.d.cts +50 -0
- package/dist/typescript-file-MYxikvB6.d.cts.map +1 -0
- package/dist/typescript-file-fOVF6YF2.d.cts +50 -0
- package/dist/typescript-file-fOVF6YF2.d.cts.map +1 -0
- package/dist/typescript-interface-BNdWrKgb.cjs +83 -0
- package/dist/typescript-interface-D-d9A720.d.cts +26 -0
- package/dist/typescript-interface-D-d9A720.d.cts.map +1 -0
- package/dist/typescript-interface-LN3uCdA6.mjs +72 -0
- package/dist/typescript-interface-LN3uCdA6.mjs.map +1 -0
- package/dist/typescript-interface-MV4qwTHs.d.mts +26 -0
- package/dist/typescript-interface-MV4qwTHs.d.mts.map +1 -0
- package/dist/typescript-o4AsClkT.d.cts +26 -0
- package/dist/typescript-o4AsClkT.d.cts.map +1 -0
- package/dist/typescript-object-Bbza8TK7.d.cts +30 -0
- package/dist/typescript-object-Bbza8TK7.d.cts.map +1 -0
- package/dist/typescript-object-C7p9fJBF.d.mts +30 -0
- package/dist/typescript-object-C7p9fJBF.d.mts.map +1 -0
- package/dist/typescript-object-DIyR8xhW.mjs +124 -0
- package/dist/typescript-object-DIyR8xhW.mjs.map +1 -0
- package/dist/typescript-object-ENaG1YGI.cjs +135 -0
- package/dist/typescript-object-v1WiBD8W.d.cts +30 -0
- package/dist/typescript-object-v1WiBD8W.d.cts.map +1 -0
- package/dist/unctx-MFxscYXI.mjs +12 -0
- package/dist/unctx-MFxscYXI.mjs.map +1 -0
- package/dist/unctx-r7Vvh6XR.cjs +17 -0
- package/package.json +6 -6
- package/dist/internal/unctx.cjs +0 -8
- package/dist/internal/unctx.mjs +0 -7
|
@@ -1,142 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { StoragePreset } from "powerlines/types/fs";
|
|
3
|
-
import { SourceFileContext } from "@alloy-js/typescript";
|
|
4
|
-
import { ResolvedEntryTypeDefinition } from "powerlines/types/resolved";
|
|
5
|
-
|
|
6
|
-
//#region src/types/components.d.ts
|
|
7
|
-
interface CopyOutputFile {
|
|
8
|
-
kind: "file";
|
|
9
|
-
path: string;
|
|
10
|
-
sourcePath: string;
|
|
11
|
-
/**
|
|
12
|
-
* The format of the output files
|
|
13
|
-
*
|
|
14
|
-
* @remarks
|
|
15
|
-
* If not specified, the output mode will be determined by the provided \`output.mode\` value.
|
|
16
|
-
*/
|
|
17
|
-
preset?: StoragePreset;
|
|
18
|
-
}
|
|
19
|
-
interface WriteOutputFile {
|
|
20
|
-
kind: "file" | "entry" | "builtin";
|
|
21
|
-
path: string;
|
|
22
|
-
contents: string;
|
|
23
|
-
filetype: string;
|
|
24
|
-
/**
|
|
25
|
-
* The format of the output files
|
|
26
|
-
*
|
|
27
|
-
* @remarks
|
|
28
|
-
* If not specified, the output mode will be determined by the provided \`output.mode\` value.
|
|
29
|
-
*/
|
|
30
|
-
preset?: StoragePreset;
|
|
31
|
-
}
|
|
32
|
-
type OutputFile = (WriteOutputFile & {
|
|
33
|
-
kind: "file";
|
|
34
|
-
}) | (WriteOutputFile & {
|
|
35
|
-
kind: "entry";
|
|
36
|
-
typeDefinition?: ResolvedEntryTypeDefinition;
|
|
37
|
-
}) | (WriteOutputFile & {
|
|
38
|
-
kind: "builtin";
|
|
39
|
-
id: string;
|
|
40
|
-
}) | CopyOutputFile;
|
|
41
|
-
interface OutputDirectory {
|
|
42
|
-
kind: "directory";
|
|
43
|
-
path: string;
|
|
44
|
-
contents: (OutputDirectory | OutputFile)[];
|
|
45
|
-
}
|
|
46
|
-
interface RenderEntryContext {
|
|
47
|
-
typeDefinition: ResolvedEntryTypeDefinition;
|
|
48
|
-
}
|
|
49
|
-
interface RenderBuiltinContext {
|
|
50
|
-
id: string;
|
|
51
|
-
}
|
|
52
|
-
interface RenderOutputContext {
|
|
53
|
-
mode?: StoragePreset;
|
|
54
|
-
}
|
|
55
|
-
interface CopyFileOutputContext {
|
|
56
|
-
path?: string;
|
|
57
|
-
sourcePath?: string;
|
|
58
|
-
}
|
|
59
|
-
interface RenderContext extends Context {
|
|
60
|
-
meta?: {
|
|
61
|
-
copyFile?: CopyFileOutputContext;
|
|
62
|
-
/**
|
|
63
|
-
* The current context for the built-in module.
|
|
64
|
-
*/
|
|
65
|
-
builtin?: RenderBuiltinContext;
|
|
66
|
-
/**
|
|
67
|
-
* The current context for the application entrypoint file being rendered.
|
|
68
|
-
*/
|
|
69
|
-
entry?: RenderEntryContext;
|
|
70
|
-
/**
|
|
71
|
-
* The current context for output rendering.
|
|
72
|
-
*/
|
|
73
|
-
output?: RenderOutputContext;
|
|
74
|
-
} & Record<string, any>;
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* A type that represents the props of a component that can have children.
|
|
78
|
-
*/
|
|
79
|
-
interface ComponentProps {
|
|
80
|
-
children?: Children;
|
|
81
|
-
}
|
|
82
|
-
/**
|
|
83
|
-
* A type that requires the `children` prop in a component.
|
|
84
|
-
*/
|
|
85
|
-
type ComponentPropsWithChildren = Omit<ComponentProps, "children"> & Required<Pick<ComponentProps, "children">>;
|
|
86
|
-
interface BuiltinSourceFileContext extends SourceFileContext {
|
|
87
|
-
/**
|
|
88
|
-
* The runtime module identifier.
|
|
89
|
-
*/
|
|
90
|
-
id: string;
|
|
91
|
-
}
|
|
92
|
-
interface ReflectionOverrideInterface<T> {
|
|
93
|
-
name?: string | Children;
|
|
94
|
-
type?: string | Children;
|
|
95
|
-
extends?: string | false;
|
|
96
|
-
defaultValue?: Partial<T>;
|
|
97
|
-
}
|
|
98
|
-
interface TypescriptFileImportItem {
|
|
99
|
-
name: string;
|
|
100
|
-
default?: boolean;
|
|
101
|
-
alias?: string;
|
|
102
|
-
type?: boolean;
|
|
103
|
-
}
|
|
104
|
-
type TypescriptFileImports = Record<string, null | string | Array<TypescriptFileImportItem | string>>;
|
|
105
|
-
interface SourceFileHeaderProps extends ComponentProps {
|
|
106
|
-
/**
|
|
107
|
-
* If true, disables the ESLint directive at the top of the file.
|
|
108
|
-
*
|
|
109
|
-
* @defaultValue true
|
|
110
|
-
*/
|
|
111
|
-
disableEslint?: boolean;
|
|
112
|
-
/**
|
|
113
|
-
* If true, disables the Biome directive at the top of the file.
|
|
114
|
-
*
|
|
115
|
-
* @defaultValue true
|
|
116
|
-
*/
|
|
117
|
-
disableBiome?: boolean;
|
|
118
|
-
/**
|
|
119
|
-
* If true, disables the Prettier directive at the top of the file.
|
|
120
|
-
*
|
|
121
|
-
* @defaultValue false
|
|
122
|
-
*/
|
|
123
|
-
disablePrettier?: boolean;
|
|
124
|
-
}
|
|
125
|
-
declare type __ΩCopyOutputFile = any[];
|
|
126
|
-
declare type __ΩWriteOutputFile = any[];
|
|
127
|
-
declare type __ΩOutputFile = any[];
|
|
128
|
-
declare type __ΩOutputDirectory = any[];
|
|
129
|
-
declare type __ΩRenderEntryContext = any[];
|
|
130
|
-
declare type __ΩRenderBuiltinContext = any[];
|
|
131
|
-
declare type __ΩRenderOutputContext = any[];
|
|
132
|
-
declare type __ΩCopyFileOutputContext = any[];
|
|
133
|
-
declare type __ΩRenderContext = any[];
|
|
134
|
-
declare type __ΩComponentProps = any[];
|
|
135
|
-
declare type __ΩComponentPropsWithChildren = any[];
|
|
136
|
-
declare type __ΩBuiltinSourceFileContext = any[];
|
|
137
|
-
declare type __ΩReflectionOverrideInterface = any[];
|
|
138
|
-
declare type __ΩTypescriptFileImportItem = any[];
|
|
139
|
-
declare type __ΩTypescriptFileImports = any[];
|
|
140
|
-
declare type __ΩSourceFileHeaderProps = any[];
|
|
141
|
-
//#endregion
|
|
1
|
+
import { A as __ΩTypescriptFileImportItem, C as __ΩOutputFile, D as __ΩRenderEntryContext, E as __ΩRenderContext, M as __ΩWriteOutputFile, O as __ΩRenderOutputContext, S as __ΩOutputDirectory, T as __ΩRenderBuiltinContext, _ as __ΩBuiltinSourceFileContext, a as CopyOutputFile, b as __ΩCopyFileOutputContext, c as ReflectionOverrideInterface, d as RenderEntryContext, f as RenderOutputContext, g as WriteOutputFile, h as TypescriptFileImports, i as CopyFileOutputContext, j as __ΩTypescriptFileImports, k as __ΩSourceFileHeaderProps, l as RenderBuiltinContext, m as TypescriptFileImportItem, n as ComponentProps, o as OutputDirectory, p as SourceFileHeaderProps, r as ComponentPropsWithChildren, s as OutputFile, t as BuiltinSourceFileContext, u as RenderContext, v as __ΩComponentProps, w as __ΩReflectionOverrideInterface, x as __ΩCopyOutputFile, y as __ΩComponentPropsWithChildren } from "../components-IRVnipN0.cjs";
|
|
142
2
|
export { BuiltinSourceFileContext, ComponentProps, ComponentPropsWithChildren, CopyFileOutputContext, CopyOutputFile, OutputDirectory, OutputFile, ReflectionOverrideInterface, RenderBuiltinContext, RenderContext, RenderEntryContext, RenderOutputContext, SourceFileHeaderProps, TypescriptFileImportItem, TypescriptFileImports, WriteOutputFile, __ΩBuiltinSourceFileContext, __ΩComponentProps, __ΩComponentPropsWithChildren, __ΩCopyFileOutputContext, __ΩCopyOutputFile, __ΩOutputDirectory, __ΩOutputFile, __ΩReflectionOverrideInterface, __ΩRenderBuiltinContext, __ΩRenderContext, __ΩRenderEntryContext, __ΩRenderOutputContext, __ΩSourceFileHeaderProps, __ΩTypescriptFileImportItem, __ΩTypescriptFileImports, __ΩWriteOutputFile };
|
|
@@ -1,142 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { SourceFileContext as SourceFileContext$1 } from "@alloy-js/typescript";
|
|
3
|
-
import { StoragePreset } from "powerlines/types/fs";
|
|
4
|
-
import { ResolvedEntryTypeDefinition } from "powerlines/types/resolved";
|
|
5
|
-
|
|
6
|
-
//#region src/types/components.d.ts
|
|
7
|
-
interface CopyOutputFile {
|
|
8
|
-
kind: "file";
|
|
9
|
-
path: string;
|
|
10
|
-
sourcePath: string;
|
|
11
|
-
/**
|
|
12
|
-
* The format of the output files
|
|
13
|
-
*
|
|
14
|
-
* @remarks
|
|
15
|
-
* If not specified, the output mode will be determined by the provided \`output.mode\` value.
|
|
16
|
-
*/
|
|
17
|
-
preset?: StoragePreset;
|
|
18
|
-
}
|
|
19
|
-
interface WriteOutputFile {
|
|
20
|
-
kind: "file" | "entry" | "builtin";
|
|
21
|
-
path: string;
|
|
22
|
-
contents: string;
|
|
23
|
-
filetype: string;
|
|
24
|
-
/**
|
|
25
|
-
* The format of the output files
|
|
26
|
-
*
|
|
27
|
-
* @remarks
|
|
28
|
-
* If not specified, the output mode will be determined by the provided \`output.mode\` value.
|
|
29
|
-
*/
|
|
30
|
-
preset?: StoragePreset;
|
|
31
|
-
}
|
|
32
|
-
type OutputFile = (WriteOutputFile & {
|
|
33
|
-
kind: "file";
|
|
34
|
-
}) | (WriteOutputFile & {
|
|
35
|
-
kind: "entry";
|
|
36
|
-
typeDefinition?: ResolvedEntryTypeDefinition;
|
|
37
|
-
}) | (WriteOutputFile & {
|
|
38
|
-
kind: "builtin";
|
|
39
|
-
id: string;
|
|
40
|
-
}) | CopyOutputFile;
|
|
41
|
-
interface OutputDirectory {
|
|
42
|
-
kind: "directory";
|
|
43
|
-
path: string;
|
|
44
|
-
contents: (OutputDirectory | OutputFile)[];
|
|
45
|
-
}
|
|
46
|
-
interface RenderEntryContext {
|
|
47
|
-
typeDefinition: ResolvedEntryTypeDefinition;
|
|
48
|
-
}
|
|
49
|
-
interface RenderBuiltinContext {
|
|
50
|
-
id: string;
|
|
51
|
-
}
|
|
52
|
-
interface RenderOutputContext {
|
|
53
|
-
mode?: StoragePreset;
|
|
54
|
-
}
|
|
55
|
-
interface CopyFileOutputContext {
|
|
56
|
-
path?: string;
|
|
57
|
-
sourcePath?: string;
|
|
58
|
-
}
|
|
59
|
-
interface RenderContext extends Context {
|
|
60
|
-
meta?: {
|
|
61
|
-
copyFile?: CopyFileOutputContext;
|
|
62
|
-
/**
|
|
63
|
-
* The current context for the built-in module.
|
|
64
|
-
*/
|
|
65
|
-
builtin?: RenderBuiltinContext;
|
|
66
|
-
/**
|
|
67
|
-
* The current context for the application entrypoint file being rendered.
|
|
68
|
-
*/
|
|
69
|
-
entry?: RenderEntryContext;
|
|
70
|
-
/**
|
|
71
|
-
* The current context for output rendering.
|
|
72
|
-
*/
|
|
73
|
-
output?: RenderOutputContext;
|
|
74
|
-
} & Record<string, any>;
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* A type that represents the props of a component that can have children.
|
|
78
|
-
*/
|
|
79
|
-
interface ComponentProps {
|
|
80
|
-
children?: Children;
|
|
81
|
-
}
|
|
82
|
-
/**
|
|
83
|
-
* A type that requires the `children` prop in a component.
|
|
84
|
-
*/
|
|
85
|
-
type ComponentPropsWithChildren = Omit<ComponentProps, "children"> & Required<Pick<ComponentProps, "children">>;
|
|
86
|
-
interface BuiltinSourceFileContext extends SourceFileContext$1 {
|
|
87
|
-
/**
|
|
88
|
-
* The runtime module identifier.
|
|
89
|
-
*/
|
|
90
|
-
id: string;
|
|
91
|
-
}
|
|
92
|
-
interface ReflectionOverrideInterface<T> {
|
|
93
|
-
name?: string | Children;
|
|
94
|
-
type?: string | Children;
|
|
95
|
-
extends?: string | false;
|
|
96
|
-
defaultValue?: Partial<T>;
|
|
97
|
-
}
|
|
98
|
-
interface TypescriptFileImportItem {
|
|
99
|
-
name: string;
|
|
100
|
-
default?: boolean;
|
|
101
|
-
alias?: string;
|
|
102
|
-
type?: boolean;
|
|
103
|
-
}
|
|
104
|
-
type TypescriptFileImports = Record<string, null | string | Array<TypescriptFileImportItem | string>>;
|
|
105
|
-
interface SourceFileHeaderProps extends ComponentProps {
|
|
106
|
-
/**
|
|
107
|
-
* If true, disables the ESLint directive at the top of the file.
|
|
108
|
-
*
|
|
109
|
-
* @defaultValue true
|
|
110
|
-
*/
|
|
111
|
-
disableEslint?: boolean;
|
|
112
|
-
/**
|
|
113
|
-
* If true, disables the Biome directive at the top of the file.
|
|
114
|
-
*
|
|
115
|
-
* @defaultValue true
|
|
116
|
-
*/
|
|
117
|
-
disableBiome?: boolean;
|
|
118
|
-
/**
|
|
119
|
-
* If true, disables the Prettier directive at the top of the file.
|
|
120
|
-
*
|
|
121
|
-
* @defaultValue false
|
|
122
|
-
*/
|
|
123
|
-
disablePrettier?: boolean;
|
|
124
|
-
}
|
|
125
|
-
declare type __ΩCopyOutputFile = any[];
|
|
126
|
-
declare type __ΩWriteOutputFile = any[];
|
|
127
|
-
declare type __ΩOutputFile = any[];
|
|
128
|
-
declare type __ΩOutputDirectory = any[];
|
|
129
|
-
declare type __ΩRenderEntryContext = any[];
|
|
130
|
-
declare type __ΩRenderBuiltinContext = any[];
|
|
131
|
-
declare type __ΩRenderOutputContext = any[];
|
|
132
|
-
declare type __ΩCopyFileOutputContext = any[];
|
|
133
|
-
declare type __ΩRenderContext = any[];
|
|
134
|
-
declare type __ΩComponentProps = any[];
|
|
135
|
-
declare type __ΩComponentPropsWithChildren = any[];
|
|
136
|
-
declare type __ΩBuiltinSourceFileContext = any[];
|
|
137
|
-
declare type __ΩReflectionOverrideInterface = any[];
|
|
138
|
-
declare type __ΩTypescriptFileImportItem = any[];
|
|
139
|
-
declare type __ΩTypescriptFileImports = any[];
|
|
140
|
-
declare type __ΩSourceFileHeaderProps = any[];
|
|
141
|
-
//#endregion
|
|
1
|
+
import { A as __ΩTypescriptFileImportItem, C as __ΩOutputFile, D as __ΩRenderEntryContext, E as __ΩRenderContext, M as __ΩWriteOutputFile, O as __ΩRenderOutputContext, S as __ΩOutputDirectory, T as __ΩRenderBuiltinContext, _ as __ΩBuiltinSourceFileContext, a as CopyOutputFile, b as __ΩCopyFileOutputContext, c as ReflectionOverrideInterface, d as RenderEntryContext, f as RenderOutputContext, g as WriteOutputFile, h as TypescriptFileImports, i as CopyFileOutputContext, j as __ΩTypescriptFileImports, k as __ΩSourceFileHeaderProps, l as RenderBuiltinContext, m as TypescriptFileImportItem, n as ComponentProps, o as OutputDirectory, p as SourceFileHeaderProps, r as ComponentPropsWithChildren, s as OutputFile, t as BuiltinSourceFileContext, u as RenderContext, v as __ΩComponentProps, w as __ΩReflectionOverrideInterface, x as __ΩCopyOutputFile, y as __ΩComponentPropsWithChildren } from "../components-oHSM7vmp.mjs";
|
|
142
2
|
export { BuiltinSourceFileContext, ComponentProps, ComponentPropsWithChildren, CopyFileOutputContext, CopyOutputFile, OutputDirectory, OutputFile, ReflectionOverrideInterface, RenderBuiltinContext, RenderContext, RenderEntryContext, RenderOutputContext, SourceFileHeaderProps, TypescriptFileImportItem, TypescriptFileImports, WriteOutputFile, __ΩBuiltinSourceFileContext, __ΩComponentProps, __ΩComponentPropsWithChildren, __ΩCopyFileOutputContext, __ΩCopyOutputFile, __ΩOutputDirectory, __ΩOutputFile, __ΩReflectionOverrideInterface, __ΩRenderBuiltinContext, __ΩRenderContext, __ΩRenderEntryContext, __ΩRenderOutputContext, __ΩSourceFileHeaderProps, __ΩTypescriptFileImportItem, __ΩTypescriptFileImports, __ΩWriteOutputFile };
|
package/dist/types/index.cjs
CHANGED
package/dist/types/index.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { AlloyPluginContext,
|
|
1
|
+
import { A as __ΩTypescriptFileImportItem, C as __ΩOutputFile, D as __ΩRenderEntryContext, E as __ΩRenderContext, M as __ΩWriteOutputFile, O as __ΩRenderOutputContext, S as __ΩOutputDirectory, T as __ΩRenderBuiltinContext, _ as __ΩBuiltinSourceFileContext, a as CopyOutputFile, b as __ΩCopyFileOutputContext, c as ReflectionOverrideInterface, d as RenderEntryContext, f as RenderOutputContext, g as WriteOutputFile, h as TypescriptFileImports, i as CopyFileOutputContext, j as __ΩTypescriptFileImports, k as __ΩSourceFileHeaderProps, l as RenderBuiltinContext, m as TypescriptFileImportItem, n as ComponentProps, o as OutputDirectory, p as SourceFileHeaderProps, r as ComponentPropsWithChildren, s as OutputFile, t as BuiltinSourceFileContext, u as RenderContext, v as __ΩComponentProps, w as __ΩReflectionOverrideInterface, x as __ΩCopyOutputFile, y as __ΩComponentPropsWithChildren } from "../components-IRVnipN0.cjs";
|
|
2
|
+
import { a as __ΩAlloyPluginContext, c as __ΩAlloyPluginUserConfig, i as AlloyPluginUserConfig, n as AlloyPluginOptions, o as __ΩAlloyPluginOptions, r as AlloyPluginResolvedConfig, s as __ΩAlloyPluginResolvedConfig, t as AlloyPluginContext } from "../plugin-C6SupJ8C.cjs";
|
|
3
3
|
export { AlloyPluginContext, AlloyPluginOptions, AlloyPluginResolvedConfig, AlloyPluginUserConfig, BuiltinSourceFileContext, ComponentProps, ComponentPropsWithChildren, CopyFileOutputContext, CopyOutputFile, OutputDirectory, OutputFile, ReflectionOverrideInterface, RenderBuiltinContext, RenderContext, RenderEntryContext, RenderOutputContext, SourceFileHeaderProps, TypescriptFileImportItem, TypescriptFileImports, WriteOutputFile, __ΩAlloyPluginContext, __ΩAlloyPluginOptions, __ΩAlloyPluginResolvedConfig, __ΩAlloyPluginUserConfig, __ΩBuiltinSourceFileContext, __ΩComponentProps, __ΩComponentPropsWithChildren, __ΩCopyFileOutputContext, __ΩCopyOutputFile, __ΩOutputDirectory, __ΩOutputFile, __ΩReflectionOverrideInterface, __ΩRenderBuiltinContext, __ΩRenderContext, __ΩRenderEntryContext, __ΩRenderOutputContext, __ΩSourceFileHeaderProps, __ΩTypescriptFileImportItem, __ΩTypescriptFileImports, __ΩWriteOutputFile };
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { AlloyPluginContext,
|
|
1
|
+
import { A as __ΩTypescriptFileImportItem, C as __ΩOutputFile, D as __ΩRenderEntryContext, E as __ΩRenderContext, M as __ΩWriteOutputFile, O as __ΩRenderOutputContext, S as __ΩOutputDirectory, T as __ΩRenderBuiltinContext, _ as __ΩBuiltinSourceFileContext, a as CopyOutputFile, b as __ΩCopyFileOutputContext, c as ReflectionOverrideInterface, d as RenderEntryContext, f as RenderOutputContext, g as WriteOutputFile, h as TypescriptFileImports, i as CopyFileOutputContext, j as __ΩTypescriptFileImports, k as __ΩSourceFileHeaderProps, l as RenderBuiltinContext, m as TypescriptFileImportItem, n as ComponentProps, o as OutputDirectory, p as SourceFileHeaderProps, r as ComponentPropsWithChildren, s as OutputFile, t as BuiltinSourceFileContext, u as RenderContext, v as __ΩComponentProps, w as __ΩReflectionOverrideInterface, x as __ΩCopyOutputFile, y as __ΩComponentPropsWithChildren } from "../components-oHSM7vmp.mjs";
|
|
2
|
+
import { a as __ΩAlloyPluginContext, c as __ΩAlloyPluginUserConfig, i as AlloyPluginUserConfig, n as AlloyPluginOptions, o as __ΩAlloyPluginOptions, r as AlloyPluginResolvedConfig, s as __ΩAlloyPluginResolvedConfig, t as AlloyPluginContext } from "../plugin-bEu9fq1G.mjs";
|
|
3
3
|
export { AlloyPluginContext, AlloyPluginOptions, AlloyPluginResolvedConfig, AlloyPluginUserConfig, BuiltinSourceFileContext, ComponentProps, ComponentPropsWithChildren, CopyFileOutputContext, CopyOutputFile, OutputDirectory, OutputFile, ReflectionOverrideInterface, RenderBuiltinContext, RenderContext, RenderEntryContext, RenderOutputContext, SourceFileHeaderProps, TypescriptFileImportItem, TypescriptFileImports, WriteOutputFile, __ΩAlloyPluginContext, __ΩAlloyPluginOptions, __ΩAlloyPluginResolvedConfig, __ΩAlloyPluginUserConfig, __ΩBuiltinSourceFileContext, __ΩComponentProps, __ΩComponentPropsWithChildren, __ΩCopyFileOutputContext, __ΩCopyOutputFile, __ΩOutputDirectory, __ΩOutputFile, __ΩReflectionOverrideInterface, __ΩRenderBuiltinContext, __ΩRenderContext, __ΩRenderEntryContext, __ΩRenderOutputContext, __ΩSourceFileHeaderProps, __ΩTypescriptFileImportItem, __ΩTypescriptFileImports, __ΩWriteOutputFile };
|
package/dist/types/index.mjs
CHANGED
package/dist/types/plugin.cjs
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('../plugin-B8wUxSXi.cjs');
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,40 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { PluginContext } from "powerlines/types/context";
|
|
3
|
-
import { BabelPluginResolvedConfig, BabelPluginUserConfig } from "@powerlines/plugin-babel/types/plugin";
|
|
4
|
-
|
|
5
|
-
//#region src/types/plugin.d.ts
|
|
6
|
-
type AlloyPluginOptions = Partial<PrintTreeOptions> & {
|
|
7
|
-
/**
|
|
8
|
-
* If true, the Alloy framework is used to generate Typescript output files.
|
|
9
|
-
*
|
|
10
|
-
* @defaultValue true
|
|
11
|
-
*/
|
|
12
|
-
typescript?: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* If true, the Alloy framework is used to generate JSON output files.
|
|
15
|
-
*
|
|
16
|
-
* @defaultValue false
|
|
17
|
-
*/
|
|
18
|
-
json?: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* If true, the Alloy framework is used to generate Markdown output files.
|
|
21
|
-
*
|
|
22
|
-
* @defaultValue false
|
|
23
|
-
*/
|
|
24
|
-
markdown?: boolean;
|
|
25
|
-
};
|
|
26
|
-
type AlloyPluginUserConfig = BabelPluginUserConfig & {
|
|
27
|
-
alloy?: AlloyPluginOptions;
|
|
28
|
-
};
|
|
29
|
-
type AlloyPluginResolvedConfig = BabelPluginResolvedConfig & {
|
|
30
|
-
alloy: AlloyPluginOptions;
|
|
31
|
-
};
|
|
32
|
-
type AlloyPluginContext<TResolvedConfig extends AlloyPluginResolvedConfig = AlloyPluginResolvedConfig> = PluginContext<TResolvedConfig> & {
|
|
33
|
-
render: (children: Children) => Promise<void>;
|
|
34
|
-
};
|
|
35
|
-
declare type __ΩAlloyPluginOptions = any[];
|
|
36
|
-
declare type __ΩAlloyPluginUserConfig = any[];
|
|
37
|
-
declare type __ΩAlloyPluginResolvedConfig = any[];
|
|
38
|
-
declare type __ΩAlloyPluginContext = any[];
|
|
39
|
-
//#endregion
|
|
1
|
+
import { a as __ΩAlloyPluginContext, c as __ΩAlloyPluginUserConfig, i as AlloyPluginUserConfig, n as AlloyPluginOptions, o as __ΩAlloyPluginOptions, r as AlloyPluginResolvedConfig, s as __ΩAlloyPluginResolvedConfig, t as AlloyPluginContext } from "../plugin-C6SupJ8C.cjs";
|
|
40
2
|
export { AlloyPluginContext, AlloyPluginOptions, AlloyPluginResolvedConfig, AlloyPluginUserConfig, __ΩAlloyPluginContext, __ΩAlloyPluginOptions, __ΩAlloyPluginResolvedConfig, __ΩAlloyPluginUserConfig };
|
package/dist/types/plugin.d.mts
CHANGED
|
@@ -1,40 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { PluginContext } from "powerlines/types/context";
|
|
3
|
-
import { BabelPluginResolvedConfig, BabelPluginUserConfig } from "@powerlines/plugin-babel/types/plugin";
|
|
4
|
-
|
|
5
|
-
//#region src/types/plugin.d.ts
|
|
6
|
-
type AlloyPluginOptions = Partial<PrintTreeOptions> & {
|
|
7
|
-
/**
|
|
8
|
-
* If true, the Alloy framework is used to generate Typescript output files.
|
|
9
|
-
*
|
|
10
|
-
* @defaultValue true
|
|
11
|
-
*/
|
|
12
|
-
typescript?: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* If true, the Alloy framework is used to generate JSON output files.
|
|
15
|
-
*
|
|
16
|
-
* @defaultValue false
|
|
17
|
-
*/
|
|
18
|
-
json?: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* If true, the Alloy framework is used to generate Markdown output files.
|
|
21
|
-
*
|
|
22
|
-
* @defaultValue false
|
|
23
|
-
*/
|
|
24
|
-
markdown?: boolean;
|
|
25
|
-
};
|
|
26
|
-
type AlloyPluginUserConfig = BabelPluginUserConfig & {
|
|
27
|
-
alloy?: AlloyPluginOptions;
|
|
28
|
-
};
|
|
29
|
-
type AlloyPluginResolvedConfig = BabelPluginResolvedConfig & {
|
|
30
|
-
alloy: AlloyPluginOptions;
|
|
31
|
-
};
|
|
32
|
-
type AlloyPluginContext<TResolvedConfig extends AlloyPluginResolvedConfig = AlloyPluginResolvedConfig> = PluginContext<TResolvedConfig> & {
|
|
33
|
-
render: (children: Children) => Promise<void>;
|
|
34
|
-
};
|
|
35
|
-
declare type __ΩAlloyPluginOptions = any[];
|
|
36
|
-
declare type __ΩAlloyPluginUserConfig = any[];
|
|
37
|
-
declare type __ΩAlloyPluginResolvedConfig = any[];
|
|
38
|
-
declare type __ΩAlloyPluginContext = any[];
|
|
39
|
-
//#endregion
|
|
1
|
+
import { a as __ΩAlloyPluginContext, c as __ΩAlloyPluginUserConfig, i as AlloyPluginUserConfig, n as AlloyPluginOptions, o as __ΩAlloyPluginOptions, r as AlloyPluginResolvedConfig, s as __ΩAlloyPluginResolvedConfig, t as AlloyPluginContext } from "../plugin-bEu9fq1G.mjs";
|
|
40
2
|
export { AlloyPluginContext, AlloyPluginOptions, AlloyPluginResolvedConfig, AlloyPluginUserConfig, __ΩAlloyPluginContext, __ΩAlloyPluginOptions, __ΩAlloyPluginResolvedConfig, __ΩAlloyPluginUserConfig };
|
package/dist/types/plugin.mjs
CHANGED
|
@@ -1,62 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
require('../../unctx-r7Vvh6XR.cjs');
|
|
2
|
+
require('../../single-line-comment-COZ9RWsm.cjs');
|
|
3
|
+
require('../../context--KBspFnw.cjs');
|
|
4
|
+
require('../../reflection-DHpdhvwI.cjs');
|
|
5
|
+
require('../../contexts-DezKayEz.cjs');
|
|
6
|
+
require('../../source-file-BAVTBVJy.cjs');
|
|
7
|
+
require('../../tsdoc-BId4fp5_.cjs');
|
|
8
|
+
require('../../typescript-file-BmLwVIQP.cjs');
|
|
9
|
+
const require_builtin_file = require('../../builtin-file-0k9DccCv.cjs');
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* A base component representing a Powerlines generated Typescript source file.
|
|
14
|
-
*
|
|
15
|
-
* @param props - The properties for the source file.
|
|
16
|
-
* @returns The rendered source file component.
|
|
17
|
-
*/
|
|
18
|
-
function BuiltinFile(props) {
|
|
19
|
-
const [{ children, imports, builtinImports, id, description, tsx }, rest] = (0, __alloy_js_core.splitProps)(props, [
|
|
20
|
-
"children",
|
|
21
|
-
"imports",
|
|
22
|
-
"builtinImports",
|
|
23
|
-
"id",
|
|
24
|
-
"description",
|
|
25
|
-
"tsx"
|
|
26
|
-
]);
|
|
27
|
-
const context = require_core_contexts_context.usePowerlinesSafe();
|
|
28
|
-
const path = (0, __alloy_js_core.computed)(() => (0, __stryke_path_replace.replacePath)(`${!(0, __stryke_type_checks_is_set.isSet)(tsx) ? id : (0, __stryke_path_replace.replaceExtension)(id)}${(0, __stryke_path_file_path_fns.hasFileExtension)(id) && !(0, __stryke_type_checks_is_set.isSet)(tsx) ? "" : tsx ? ".tsx" : ".ts"}`, context?.builtinsPath));
|
|
29
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(require_typescript_components_typescript_file.TypescriptFile, (0, __alloy_js_core_jsx_runtime.mergeProps)({
|
|
30
|
-
get header() {
|
|
31
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(require_typescript_components_typescript_file.TypescriptFileHeader, {
|
|
32
|
-
get header() {
|
|
33
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(require_typescript_components_tsdoc.TSDocModule, {
|
|
34
|
-
name: id,
|
|
35
|
-
children: description
|
|
36
|
-
});
|
|
37
|
-
},
|
|
38
|
-
get children() {
|
|
39
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(require_typescript_components_typescript_file.TypescriptFileHeaderImports, {
|
|
40
|
-
imports,
|
|
41
|
-
builtinImports
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
});
|
|
45
|
-
},
|
|
46
|
-
get meta() {
|
|
47
|
-
return {
|
|
48
|
-
kind: "builtin",
|
|
49
|
-
extension: tsx ? "tsx" : "ts",
|
|
50
|
-
id: (0, __stryke_path_replace.replaceExtension)(id)
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
}, rest, {
|
|
54
|
-
get path() {
|
|
55
|
-
return path.value;
|
|
56
|
-
},
|
|
57
|
-
children
|
|
58
|
-
}));
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
//#endregion
|
|
62
|
-
exports.BuiltinFile = BuiltinFile;
|
|
11
|
+
exports.BuiltinFile = require_builtin_file.BuiltinFile;
|
|
@@ -1,34 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
type BuiltinFileProps = Omit<TypescriptFileProps, "path"> & Omit<TSDocModuleProps, "name"> & {
|
|
7
|
-
/**
|
|
8
|
-
* The runtime module identifier.
|
|
9
|
-
*
|
|
10
|
-
* @remarks
|
|
11
|
-
* This value will be included after the \`storm:\` prefix in the import statement.
|
|
12
|
-
*/
|
|
13
|
-
id: string;
|
|
14
|
-
/**
|
|
15
|
-
* The description for the builtin module.
|
|
16
|
-
*/
|
|
17
|
-
description?: string;
|
|
18
|
-
/**
|
|
19
|
-
* Whether the file is a TSX file.
|
|
20
|
-
*
|
|
21
|
-
* @defaultValue false
|
|
22
|
-
*/
|
|
23
|
-
tsx?: boolean;
|
|
24
|
-
};
|
|
25
|
-
/**
|
|
26
|
-
* A base component representing a Powerlines generated Typescript source file.
|
|
27
|
-
*
|
|
28
|
-
* @param props - The properties for the source file.
|
|
29
|
-
* @returns The rendered source file component.
|
|
30
|
-
*/
|
|
31
|
-
declare function BuiltinFile(props: BuiltinFileProps): _alloy_js_core6.Children;
|
|
32
|
-
declare type __ΩBuiltinFileProps = any[];
|
|
33
|
-
//#endregion
|
|
1
|
+
import "../../components-IRVnipN0.cjs";
|
|
2
|
+
import "../../source-file-BTsyACav.cjs";
|
|
3
|
+
import "../../tsdoc-CfvwK4Ml.cjs";
|
|
4
|
+
import "../../typescript-file-fOVF6YF2.cjs";
|
|
5
|
+
import { n as BuiltinFileProps, r as __ΩBuiltinFileProps, t as BuiltinFile } from "../../builtin-file-DtkZ-2Hs.cjs";
|
|
34
6
|
export { BuiltinFile, BuiltinFileProps, __ΩBuiltinFileProps };
|
|
@@ -1,34 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
type BuiltinFileProps = Omit<TypescriptFileProps, "path"> & Omit<TSDocModuleProps, "name"> & {
|
|
7
|
-
/**
|
|
8
|
-
* The runtime module identifier.
|
|
9
|
-
*
|
|
10
|
-
* @remarks
|
|
11
|
-
* This value will be included after the \`storm:\` prefix in the import statement.
|
|
12
|
-
*/
|
|
13
|
-
id: string;
|
|
14
|
-
/**
|
|
15
|
-
* The description for the builtin module.
|
|
16
|
-
*/
|
|
17
|
-
description?: string;
|
|
18
|
-
/**
|
|
19
|
-
* Whether the file is a TSX file.
|
|
20
|
-
*
|
|
21
|
-
* @defaultValue false
|
|
22
|
-
*/
|
|
23
|
-
tsx?: boolean;
|
|
24
|
-
};
|
|
25
|
-
/**
|
|
26
|
-
* A base component representing a Powerlines generated Typescript source file.
|
|
27
|
-
*
|
|
28
|
-
* @param props - The properties for the source file.
|
|
29
|
-
* @returns The rendered source file component.
|
|
30
|
-
*/
|
|
31
|
-
declare function BuiltinFile(props: BuiltinFileProps): _alloy_js_core17.Children;
|
|
32
|
-
declare type __ΩBuiltinFileProps = any[];
|
|
33
|
-
//#endregion
|
|
1
|
+
import "../../components-oHSM7vmp.mjs";
|
|
2
|
+
import "../../source-file-CQl0UCgf.mjs";
|
|
3
|
+
import "../../tsdoc-OUuKjTbh.mjs";
|
|
4
|
+
import "../../typescript-file-BWaBMfMr.mjs";
|
|
5
|
+
import { n as BuiltinFileProps, r as __ΩBuiltinFileProps, t as BuiltinFile } from "../../builtin-file-RXdRpQs-.mjs";
|
|
34
6
|
export { BuiltinFile, BuiltinFileProps, __ΩBuiltinFileProps };
|
|
@@ -1,61 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
1
|
+
import "../../unctx-MFxscYXI.mjs";
|
|
2
|
+
import "../../single-line-comment-mOQtfhWt.mjs";
|
|
3
|
+
import "../../context-e2kZWEFW.mjs";
|
|
4
|
+
import "../../reflection-B-NMNIoB.mjs";
|
|
5
|
+
import "../../contexts-juWSyBfb.mjs";
|
|
6
|
+
import "../../source-file-BiJK-nH_.mjs";
|
|
7
|
+
import "../../tsdoc-Crv526i6.mjs";
|
|
8
|
+
import "../../typescript-file-C5NjN3H2.mjs";
|
|
9
|
+
import { t as BuiltinFile } from "../../builtin-file-Ie_jPokg.mjs";
|
|
9
10
|
|
|
10
|
-
//#region src/typescript/components/builtin-file.tsx
|
|
11
|
-
/**
|
|
12
|
-
* A base component representing a Powerlines generated Typescript source file.
|
|
13
|
-
*
|
|
14
|
-
* @param props - The properties for the source file.
|
|
15
|
-
* @returns The rendered source file component.
|
|
16
|
-
*/
|
|
17
|
-
function BuiltinFile(props) {
|
|
18
|
-
const [{ children, imports, builtinImports, id, description, tsx }, rest] = splitProps(props, [
|
|
19
|
-
"children",
|
|
20
|
-
"imports",
|
|
21
|
-
"builtinImports",
|
|
22
|
-
"id",
|
|
23
|
-
"description",
|
|
24
|
-
"tsx"
|
|
25
|
-
]);
|
|
26
|
-
const context = usePowerlinesSafe();
|
|
27
|
-
const path = computed(() => replacePath(`${!isSet(tsx) ? id : replaceExtension(id)}${hasFileExtension(id) && !isSet(tsx) ? "" : tsx ? ".tsx" : ".ts"}`, context?.builtinsPath));
|
|
28
|
-
return createComponent(TypescriptFile, mergeProps({
|
|
29
|
-
get header() {
|
|
30
|
-
return createComponent(TypescriptFileHeader, {
|
|
31
|
-
get header() {
|
|
32
|
-
return createComponent(TSDocModule, {
|
|
33
|
-
name: id,
|
|
34
|
-
children: description
|
|
35
|
-
});
|
|
36
|
-
},
|
|
37
|
-
get children() {
|
|
38
|
-
return createComponent(TypescriptFileHeaderImports, {
|
|
39
|
-
imports,
|
|
40
|
-
builtinImports
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
|
-
});
|
|
44
|
-
},
|
|
45
|
-
get meta() {
|
|
46
|
-
return {
|
|
47
|
-
kind: "builtin",
|
|
48
|
-
extension: tsx ? "tsx" : "ts",
|
|
49
|
-
id: replaceExtension(id)
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
}, rest, {
|
|
53
|
-
get path() {
|
|
54
|
-
return path.value;
|
|
55
|
-
},
|
|
56
|
-
children
|
|
57
|
-
}));
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
//#endregion
|
|
61
11
|
export { BuiltinFile };
|