@power-plant/alloy-js 0.0.6 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/alert-BZRTtU1X.d.cts +52 -0
- package/dist/alert-BZRTtU1X.d.cts.map +1 -0
- package/dist/alert-BZRTtU1X.d.mts +52 -0
- package/dist/alert-BZRTtU1X.d.mts.map +1 -0
- package/dist/block-declaration-DbMuMxXx.d.cts +19 -0
- package/dist/block-declaration-DbMuMxXx.d.cts.map +1 -0
- package/dist/block-declaration-Yq4hWFFT.d.mts +19 -0
- package/dist/block-declaration-Yq4hWFFT.d.mts.map +1 -0
- package/dist/class-declaration-CL5quGqz.d.mts +139 -0
- package/dist/class-declaration-CL5quGqz.d.mts.map +1 -0
- package/dist/class-declaration-G7ncTlSj.d.cts +139 -0
- package/dist/class-declaration-G7ncTlSj.d.cts.map +1 -0
- package/dist/components-D8UkrP5Q.d.cts +11 -0
- package/dist/components-D8UkrP5Q.d.cts.map +1 -0
- package/dist/components-D8UkrP5Q.d.mts +11 -0
- package/dist/components-D8UkrP5Q.d.mts.map +1 -0
- package/dist/core/components/index.cjs +1 -1
- package/dist/core/components/index.d.cts +1 -1
- package/dist/core/components/index.d.mts +1 -1
- package/dist/core/components/index.mjs +1 -1
- package/dist/core/components/source-file.cjs +1 -1
- package/dist/core/components/source-file.d.cts +1 -1
- package/dist/core/components/source-file.d.mts +1 -1
- package/dist/core/components/source-file.mjs +2 -1
- package/dist/core/components/source-file.mjs.map +1 -0
- package/dist/core/contexts/execution.cjs +1 -1
- package/dist/core/contexts/execution.mjs +1 -1
- package/dist/core/contexts/index.cjs +1 -1
- package/dist/core/contexts/index.d.cts +2 -2
- package/dist/core/contexts/index.d.mts +2 -2
- package/dist/core/contexts/index.mjs +1 -1
- package/dist/core/contexts/meta.cjs +1 -1
- package/dist/core/contexts/meta.mjs +1 -1
- package/dist/core/contexts/schema.cjs +1 -1
- package/dist/core/contexts/schema.mjs +1 -1
- package/dist/core/contexts/session.cjs +1 -1
- package/dist/core/contexts/session.d.cts +2 -2
- package/dist/core/contexts/session.d.mts +2 -2
- package/dist/core/contexts/session.mjs +1 -1
- package/dist/core/contexts/spec.cjs +1 -1
- package/dist/core/contexts/spec.mjs +1 -1
- package/dist/core/helpers/header-constants.cjs +1 -0
- package/dist/core/helpers/header-constants.d.cts +12 -0
- package/dist/core/helpers/header-constants.d.cts.map +1 -0
- package/dist/core/helpers/header-constants.d.mts +12 -0
- package/dist/core/helpers/header-constants.d.mts.map +1 -0
- package/dist/core/helpers/header-constants.mjs +2 -0
- package/dist/core/helpers/header-constants.mjs.map +1 -0
- package/dist/core/index.cjs +1 -1
- package/dist/core/index.d.cts +3 -3
- package/dist/core/index.d.mts +3 -3
- package/dist/core/index.mjs +1 -1
- package/dist/dynamic-import-statement--GIybIf5.d.cts +30 -0
- package/dist/dynamic-import-statement--GIybIf5.d.cts.map +1 -0
- package/dist/dynamic-import-statement--GIybIf5.d.mts +30 -0
- package/dist/dynamic-import-statement--GIybIf5.d.mts.map +1 -0
- package/dist/front-matter-N6kiCG9y.d.cts +13 -0
- package/dist/front-matter-N6kiCG9y.d.cts.map +1 -0
- package/dist/front-matter-N6kiCG9y.d.mts +13 -0
- package/dist/front-matter-N6kiCG9y.d.mts.map +1 -0
- package/dist/get-call-signature-props-B1NHhswg.d.cts +13 -0
- package/dist/get-call-signature-props-B1NHhswg.d.cts.map +1 -0
- package/dist/get-call-signature-props-B1NHhswg.d.mts +13 -0
- package/dist/get-call-signature-props-B1NHhswg.d.mts.map +1 -0
- package/dist/hcl/components/block-declaration.cjs +1 -0
- package/dist/hcl/components/block-declaration.d.cts +2 -0
- package/dist/hcl/components/block-declaration.d.mts +2 -0
- package/dist/hcl/components/block-declaration.mjs +2 -0
- package/dist/hcl/components/block-declaration.mjs.map +1 -0
- package/dist/hcl/components/hcl-file.cjs +1 -0
- package/dist/hcl/components/hcl-file.d.cts +2 -0
- package/dist/hcl/components/hcl-file.d.mts +2 -0
- package/dist/hcl/components/hcl-file.mjs +2 -0
- package/dist/hcl/components/hcl-file.mjs.map +1 -0
- package/dist/hcl/components/index.cjs +1 -0
- package/dist/hcl/components/index.d.cts +5 -0
- package/dist/hcl/components/index.d.mts +5 -0
- package/dist/hcl/components/index.mjs +1 -0
- package/dist/hcl/components/packer-file.cjs +1 -0
- package/dist/hcl/components/packer-file.d.cts +2 -0
- package/dist/hcl/components/packer-file.d.mts +2 -0
- package/dist/hcl/components/packer-file.mjs +2 -0
- package/dist/hcl/components/packer-file.mjs.map +1 -0
- package/dist/hcl/components/terraform-file.cjs +1 -0
- package/dist/hcl/components/terraform-file.d.cts +2 -0
- package/dist/hcl/components/terraform-file.d.mts +2 -0
- package/dist/hcl/components/terraform-file.mjs +2 -0
- package/dist/hcl/components/terraform-file.mjs.map +1 -0
- package/dist/hcl/index.cjs +1 -0
- package/dist/hcl/index.d.cts +6 -0
- package/dist/hcl/index.d.mts +6 -0
- package/dist/hcl/index.mjs +1 -0
- package/dist/hcl-file-CDeOXiO0.d.mts +25 -0
- package/dist/hcl-file-CDeOXiO0.d.mts.map +1 -0
- package/dist/hcl-file-CxR4hw4B.d.cts +25 -0
- package/dist/hcl-file-CxR4hw4B.d.cts.map +1 -0
- package/dist/heading-CG6LmaB5.d.cts +17 -0
- package/dist/heading-CG6LmaB5.d.cts.map +1 -0
- package/dist/heading-D0he7iDI.d.mts +17 -0
- package/dist/heading-D0he7iDI.d.mts.map +1 -0
- package/dist/index.cjs +1 -47
- package/dist/index.d.cts.map +1 -1
- package/dist/index.mjs +1 -47
- package/dist/interface-declaration-BSo-U6IN.d.cts +78 -0
- package/dist/interface-declaration-BSo-U6IN.d.cts.map +1 -0
- package/dist/interface-declaration-DYLPeJH1.d.mts +78 -0
- package/dist/interface-declaration-DYLPeJH1.d.mts.map +1 -0
- package/dist/lexical-scope-DghPwq5Q.d.cts +12 -0
- package/dist/lexical-scope-DghPwq5Q.d.cts.map +1 -0
- package/dist/lexical-scope-DghPwq5Q.d.mts +12 -0
- package/dist/lexical-scope-DghPwq5Q.d.mts.map +1 -0
- package/dist/markdown/components/alert.cjs +1 -0
- package/dist/markdown/components/alert.d.cts +2 -0
- package/dist/markdown/components/alert.d.mts +2 -0
- package/dist/markdown/components/alert.mjs +2 -0
- package/dist/markdown/components/alert.mjs.map +1 -0
- package/dist/markdown/components/front-matter.cjs +1 -0
- package/dist/markdown/components/front-matter.d.cts +2 -0
- package/dist/markdown/components/front-matter.d.mts +2 -0
- package/dist/markdown/components/front-matter.mjs +2 -0
- package/dist/markdown/components/front-matter.mjs.map +1 -0
- package/dist/markdown/components/heading.cjs +1 -0
- package/dist/markdown/components/heading.d.cts +2 -0
- package/dist/markdown/components/heading.d.mts +2 -0
- package/dist/markdown/components/heading.mjs +2 -0
- package/dist/markdown/components/heading.mjs.map +1 -0
- package/dist/markdown/components/index.cjs +1 -0
- package/dist/markdown/components/index.d.cts +6 -0
- package/dist/markdown/components/index.d.mts +6 -0
- package/dist/markdown/components/index.mjs +1 -0
- package/dist/markdown/components/markdown-file.cjs +1 -0
- package/dist/markdown/components/markdown-file.d.cts +2 -0
- package/dist/markdown/components/markdown-file.d.mts +2 -0
- package/dist/markdown/components/markdown-file.mjs +2 -0
- package/dist/markdown/components/markdown-file.mjs.map +1 -0
- package/dist/markdown/components/markdown-table.cjs +1 -0
- package/dist/markdown/components/markdown-table.d.cts +2 -0
- package/dist/markdown/components/markdown-table.d.mts +2 -0
- package/dist/markdown/components/markdown-table.mjs +2 -0
- package/dist/markdown/components/markdown-table.mjs.map +1 -0
- package/dist/markdown/contexts/index.cjs +1 -0
- package/dist/markdown/contexts/index.d.cts +2 -0
- package/dist/markdown/contexts/index.d.mts +2 -0
- package/dist/markdown/contexts/index.mjs +1 -0
- package/dist/markdown/contexts/markdown-table.cjs +1 -0
- package/dist/markdown/contexts/markdown-table.d.cts +2 -0
- package/dist/markdown/contexts/markdown-table.d.mts +2 -0
- package/dist/markdown/contexts/markdown-table.mjs +2 -0
- package/dist/markdown/contexts/markdown-table.mjs.map +1 -0
- package/dist/markdown/index.cjs +1 -0
- package/dist/markdown/index.d.cts +9 -0
- package/dist/markdown/index.d.mts +9 -0
- package/dist/markdown/index.mjs +1 -0
- package/dist/markdown-file-BsiASIVZ.d.cts +25 -0
- package/dist/markdown-file-BsiASIVZ.d.cts.map +1 -0
- package/dist/markdown-file-CG6y_nCf.d.mts +25 -0
- package/dist/markdown-file-CG6y_nCf.d.mts.map +1 -0
- package/dist/markdown-table-BxfTr3lV.d.cts +35 -0
- package/dist/markdown-table-BxfTr3lV.d.cts.map +1 -0
- package/dist/markdown-table-BxfTr3lV.d.mts +35 -0
- package/dist/markdown-table-BxfTr3lV.d.mts.map +1 -0
- package/dist/markdown-table-H4veEJCn.d.mts +37 -0
- package/dist/markdown-table-H4veEJCn.d.mts.map +1 -0
- package/dist/markdown-table-P04wFKse.d.cts +37 -0
- package/dist/markdown-table-P04wFKse.d.cts.map +1 -0
- package/dist/object-declaration-BWJ8zDKp.d.cts +24 -0
- package/dist/object-declaration-BWJ8zDKp.d.cts.map +1 -0
- package/dist/object-declaration-DQQhQypx.d.mts +24 -0
- package/dist/object-declaration-DQQhQypx.d.mts.map +1 -0
- package/dist/packer-file-DVdUCeHH.d.cts +16 -0
- package/dist/packer-file-DVdUCeHH.d.cts.map +1 -0
- package/dist/packer-file-DeJWrlcR.d.mts +16 -0
- package/dist/packer-file-DeJWrlcR.d.mts.map +1 -0
- package/dist/property-name-bQ4hrXmQ.d.cts +21 -0
- package/dist/property-name-bQ4hrXmQ.d.cts.map +1 -0
- package/dist/property-name-bQ4hrXmQ.d.mts +21 -0
- package/dist/property-name-bQ4hrXmQ.d.mts.map +1 -0
- package/dist/record-expression-CECGDPCk.d.cts +9 -0
- package/dist/record-expression-CECGDPCk.d.cts.map +1 -0
- package/dist/record-expression-CECGDPCk.d.mts +9 -0
- package/dist/record-expression-CECGDPCk.d.mts.map +1 -0
- package/dist/render.cjs +1 -1
- package/dist/render.d.cts.map +1 -1
- package/dist/render.mjs +2 -1
- package/dist/render.mjs.map +1 -0
- package/dist/rolldown-runtime-CMqjfN_6.cjs +1 -0
- package/dist/session-C2p15ap9.d.cts +23 -0
- package/dist/session-C2p15ap9.d.cts.map +1 -0
- package/dist/session-C2p15ap9.d.mts +23 -0
- package/dist/session-C2p15ap9.d.mts.map +1 -0
- package/dist/{source-file-DVILH8rC.d.mts → source-file-BiWHfxCC.d.mts} +5 -5
- package/dist/source-file-BiWHfxCC.d.mts.map +1 -0
- package/dist/{source-file-CPJOENVo.d.cts → source-file-DfP35Z8l.d.cts} +4 -4
- package/dist/source-file-DfP35Z8l.d.cts.map +1 -0
- package/dist/terraform-file-DS0uAb5z.d.mts +17 -0
- package/dist/terraform-file-DS0uAb5z.d.mts.map +1 -0
- package/dist/terraform-file-gr1_jJWO.d.cts +17 -0
- package/dist/terraform-file-gr1_jJWO.d.cts.map +1 -0
- package/dist/tsdoc-B6Hw9jOF.d.cts +163 -0
- package/dist/tsdoc-B6Hw9jOF.d.cts.map +1 -0
- package/dist/tsdoc-CFdZtTw6.d.mts +163 -0
- package/dist/tsdoc-CFdZtTw6.d.mts.map +1 -0
- package/dist/tsdoc-schema-B4yKswI-.d.mts +21 -0
- package/dist/tsdoc-schema-B4yKswI-.d.mts.map +1 -0
- package/dist/tsdoc-schema-DJ_3JLuh.d.cts +21 -0
- package/dist/tsdoc-schema-DJ_3JLuh.d.cts.map +1 -0
- package/dist/type-declaration-BLvkozNR.d.cts +15 -0
- package/dist/type-declaration-BLvkozNR.d.cts.map +1 -0
- package/dist/type-declaration-BLvkozNR.d.mts +15 -0
- package/dist/type-declaration-BLvkozNR.d.mts.map +1 -0
- package/dist/type-parameters-BzCDG9lT.d.cts +22 -0
- package/dist/type-parameters-BzCDG9lT.d.cts.map +1 -0
- package/dist/type-parameters-BzCDG9lT.d.mts +22 -0
- package/dist/type-parameters-BzCDG9lT.d.mts.map +1 -0
- package/dist/typescript/components/class-declaration.cjs +1 -0
- package/dist/typescript/components/class-declaration.d.cts +2 -0
- package/dist/typescript/components/class-declaration.d.mts +2 -0
- package/dist/typescript/components/class-declaration.mjs +2 -0
- package/dist/typescript/components/class-declaration.mjs.map +1 -0
- package/dist/typescript/components/dynamic-import-statement.cjs +1 -0
- package/dist/typescript/components/dynamic-import-statement.d.cts +2 -0
- package/dist/typescript/components/dynamic-import-statement.d.mts +2 -0
- package/dist/typescript/components/dynamic-import-statement.mjs +2 -0
- package/dist/typescript/components/dynamic-import-statement.mjs.map +1 -0
- package/dist/typescript/components/index.cjs +1 -0
- package/dist/typescript/components/index.d.cts +12 -0
- package/dist/typescript/components/index.d.mts +12 -0
- package/dist/typescript/components/index.mjs +1 -0
- package/dist/typescript/components/interface-declaration.cjs +1 -0
- package/dist/typescript/components/interface-declaration.d.cts +2 -0
- package/dist/typescript/components/interface-declaration.d.mts +2 -0
- package/dist/typescript/components/interface-declaration.mjs +2 -0
- package/dist/typescript/components/interface-declaration.mjs.map +1 -0
- package/dist/typescript/components/object-declaration.cjs +1 -0
- package/dist/typescript/components/object-declaration.d.cts +2 -0
- package/dist/typescript/components/object-declaration.d.mts +2 -0
- package/dist/typescript/components/object-declaration.mjs +2 -0
- package/dist/typescript/components/object-declaration.mjs.map +1 -0
- package/dist/typescript/components/property-name.cjs +1 -0
- package/dist/typescript/components/property-name.d.cts +2 -0
- package/dist/typescript/components/property-name.d.mts +2 -0
- package/dist/typescript/components/property-name.mjs +2 -0
- package/dist/typescript/components/property-name.mjs.map +1 -0
- package/dist/typescript/components/record-expression.cjs +3 -0
- package/dist/typescript/components/record-expression.d.cts +2 -0
- package/dist/typescript/components/record-expression.d.mts +2 -0
- package/dist/typescript/components/record-expression.mjs +4 -0
- package/dist/typescript/components/record-expression.mjs.map +1 -0
- package/dist/typescript/components/tsdoc-schema.cjs +1 -0
- package/dist/typescript/components/tsdoc-schema.d.cts +2 -0
- package/dist/typescript/components/tsdoc-schema.d.mts +2 -0
- package/dist/typescript/components/tsdoc-schema.mjs +2 -0
- package/dist/typescript/components/tsdoc-schema.mjs.map +1 -0
- package/dist/typescript/components/tsdoc.cjs +1 -0
- package/dist/typescript/components/tsdoc.d.cts +2 -0
- package/dist/typescript/components/tsdoc.d.mts +2 -0
- package/dist/typescript/components/tsdoc.mjs +2 -0
- package/dist/typescript/components/tsdoc.mjs.map +1 -0
- package/dist/typescript/components/type-declaration.cjs +1 -0
- package/dist/typescript/components/type-declaration.d.cts +2 -0
- package/dist/typescript/components/type-declaration.d.mts +2 -0
- package/dist/typescript/components/type-declaration.mjs +2 -0
- package/dist/typescript/components/type-declaration.mjs.map +1 -0
- package/dist/typescript/components/type-parameters.cjs +1 -0
- package/dist/typescript/components/type-parameters.d.cts +2 -0
- package/dist/typescript/components/type-parameters.d.mts +2 -0
- package/dist/typescript/components/type-parameters.mjs +2 -0
- package/dist/typescript/components/type-parameters.mjs.map +1 -0
- package/dist/typescript/components/typescript-file.cjs +1 -0
- package/dist/typescript/components/typescript-file.d.cts +2 -0
- package/dist/typescript/components/typescript-file.d.mts +2 -0
- package/dist/typescript/components/typescript-file.mjs +2 -0
- package/dist/typescript/components/typescript-file.mjs.map +1 -0
- package/dist/typescript/contexts/index.cjs +1 -0
- package/dist/typescript/contexts/index.d.cts +2 -0
- package/dist/typescript/contexts/index.d.mts +2 -0
- package/dist/typescript/contexts/index.mjs +1 -0
- package/dist/typescript/contexts/lexical-scope.cjs +1 -0
- package/dist/typescript/contexts/lexical-scope.d.cts +2 -0
- package/dist/typescript/contexts/lexical-scope.d.mts +2 -0
- package/dist/typescript/contexts/lexical-scope.mjs +2 -0
- package/dist/typescript/contexts/lexical-scope.mjs.map +1 -0
- package/dist/typescript/contexts/member-scope.cjs +1 -0
- package/dist/typescript/contexts/member-scope.d.cts +18 -0
- package/dist/typescript/contexts/member-scope.d.cts.map +1 -0
- package/dist/typescript/contexts/member-scope.d.mts +18 -0
- package/dist/typescript/contexts/member-scope.d.mts.map +1 -0
- package/dist/typescript/contexts/member-scope.mjs +2 -0
- package/dist/typescript/contexts/member-scope.mjs.map +1 -0
- package/dist/typescript/helpers/get-call-signature-props.cjs +1 -0
- package/dist/typescript/helpers/get-call-signature-props.d.cts +2 -0
- package/dist/typescript/helpers/get-call-signature-props.d.mts +2 -0
- package/dist/typescript/helpers/get-call-signature-props.mjs +2 -0
- package/dist/typescript/helpers/get-call-signature-props.mjs.map +1 -0
- package/dist/typescript/helpers/index.cjs +1 -0
- package/dist/typescript/helpers/index.d.cts +3 -0
- package/dist/typescript/helpers/index.d.mts +3 -0
- package/dist/typescript/helpers/index.mjs +1 -0
- package/dist/typescript/helpers/utilities.cjs +1 -0
- package/dist/typescript/helpers/utilities.d.cts +2 -0
- package/dist/typescript/helpers/utilities.d.mts +2 -0
- package/dist/typescript/helpers/utilities.mjs +2 -0
- package/dist/typescript/helpers/utilities.mjs.map +1 -0
- package/dist/typescript/index.cjs +1 -0
- package/dist/typescript/index.d.cts +19 -0
- package/dist/typescript/index.d.mts +19 -0
- package/dist/typescript/index.mjs +1 -0
- package/dist/typescript/types/components.cjs +0 -0
- package/dist/typescript/types/components.d.cts +2 -0
- package/dist/typescript/types/components.d.mts +2 -0
- package/dist/typescript/types/components.mjs +0 -0
- package/dist/typescript/types/index.cjs +0 -0
- package/dist/typescript/types/index.d.cts +2 -0
- package/dist/typescript/types/index.d.mts +2 -0
- package/dist/typescript/types/index.mjs +0 -0
- package/dist/typescript-file-C0GR7QWh.d.cts +49 -0
- package/dist/typescript-file-C0GR7QWh.d.cts.map +1 -0
- package/dist/typescript-file-YdpvA2Y-.d.mts +49 -0
- package/dist/typescript-file-YdpvA2Y-.d.mts.map +1 -0
- package/dist/utilities-BtXOWwjJ.d.cts +11 -0
- package/dist/utilities-BtXOWwjJ.d.cts.map +1 -0
- package/dist/utilities-BtXOWwjJ.d.mts +11 -0
- package/dist/utilities-BtXOWwjJ.d.mts.map +1 -0
- package/dist/yaml/components/index.cjs +1 -0
- package/dist/yaml/components/index.d.cts +2 -0
- package/dist/yaml/components/index.d.mts +2 -0
- package/dist/yaml/components/index.mjs +1 -0
- package/dist/yaml/components/yaml-file.cjs +1 -0
- package/dist/yaml/components/yaml-file.d.cts +2 -0
- package/dist/yaml/components/yaml-file.d.mts +2 -0
- package/dist/yaml/components/yaml-file.mjs +2 -0
- package/dist/yaml/components/yaml-file.mjs.map +1 -0
- package/dist/yaml/index.cjs +1 -0
- package/dist/yaml/index.d.cts +3 -0
- package/dist/yaml/index.d.mts +3 -0
- package/dist/yaml/index.mjs +1 -0
- package/dist/yaml-file-BBXSkeRl.d.cts +31 -0
- package/dist/yaml-file-BBXSkeRl.d.cts.map +1 -0
- package/dist/yaml-file-BRSIxFdU.d.mts +31 -0
- package/dist/yaml-file-BRSIxFdU.d.mts.map +1 -0
- package/package.json +570 -11
- package/dist/render-Bh6nE1bo.cjs +0 -1
- package/dist/render-UH3hN5fr.mjs +0 -2
- package/dist/render-UH3hN5fr.mjs.map +0 -1
- package/dist/session-CFnVWg4N.d.cts +0 -62
- package/dist/session-CFnVWg4N.d.cts.map +0 -1
- package/dist/session-CFnVWg4N.d.mts +0 -62
- package/dist/session-CFnVWg4N.d.mts.map +0 -1
- package/dist/source-file-CPJOENVo.d.cts.map +0 -1
- package/dist/source-file-DVILH8rC.d.mts.map +0 -1
- package/dist/source-file-K_2P7eFP.cjs +0 -1
- package/dist/source-file-t3itBybg.mjs +0 -2
- package/dist/source-file-t3itBybg.mjs.map +0 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Children } from "@alloy-js/core";
|
|
2
|
+
//#region src/typescript/components/record-expression.d.ts
|
|
3
|
+
interface RecordExpressionProps {
|
|
4
|
+
elementType: Children;
|
|
5
|
+
}
|
|
6
|
+
declare function RecordExpression({ elementType }: RecordExpressionProps): Children;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { RecordExpressionProps as n, RecordExpression as t };
|
|
9
|
+
//# sourceMappingURL=record-expression-CECGDPCk.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"record-expression-CECGDPCk.d.mts","names":[],"sources":["../src/typescript/components/record-expression.tsx"],"mappings":""}
|
package/dist/render.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./rolldown-runtime-CMqjfN_6.cjs"),t=require("./core/components/output.cjs");require("./core/index.cjs");let n=require("@alloy-js/core/jsx-runtime"),r=require("@alloy-js/core"),i=require("@stryke/helpers/noop"),a=require("@stryke/path/replace"),o=require("@stryke/string-format/list"),s=require("defu");s=e.t(s,1);async function c(e,c,l){let u={},{cwd:d,logger:f}=e,p=await(0,r.renderAsync)((0,n.createComponent)(t.Output,{context:e,spec:c,meta:u,children:l})),m=[];if(await(0,r.traverseOutput)(p,{visitDirectory:i.noop,visitFile:e=>m.push(e)}),!m.length)return f.debug(`No output files were rendered by the Alloy-js components.`),{};f.debug(`Rendering ${m.length} output files from Alloy-js components: ${(0,o.list)(m.map(e=>(0,a.replacePath)(e.path,d)))}.`);let h={};return await(0,r.traverseOutput)(p,{visitDirectory:i.noop,visitFile:e=>{if(`contents`in e){let t=u[e.path]??{};h[e.path]={path:e.path,source:[{content:e.contents,meta:t}]}}else if(e.sourcePath&&h[e.sourcePath]){let t=u[e.path]??{};h[e.path]={...h[e.sourcePath],path:e.path,source:h[e.sourcePath]?.source?.map(e=>(0,s.default)(e,{meta:t}))??[]}}}}),h}exports.render=c;
|
package/dist/render.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"render.d.cts","names":[],"sources":["../src/render.tsx"],"mappings":";;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"render.d.cts","names":[],"sources":["../src/render.tsx"],"mappings":";;;;;;;;;;;;;;;;;iBA6CsB,OAAO,OAAO,yBAAyB,iBAC3D,SAAS,iBAAiB,OAAO,UAAU,WAC3C,MAAM,OACN,UAAU,WACT,QAAQ,wBAAwB,OAAO"}
|
package/dist/render.mjs
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Output as e}from"./core/components/output.mjs";import"./core/index.mjs";import{createComponent as t}from"@alloy-js/core/jsx-runtime";import{renderAsync as n,traverseOutput as r}from"@alloy-js/core";import{noop as i}from"@stryke/helpers/noop";import{replacePath as a}from"@stryke/path/replace";import{list as o}from"@stryke/string-format/list";import s from"defu";async function c(c,l,u){let d={},{cwd:f,logger:p}=c,m=await n(t(e,{context:c,spec:l,meta:d,children:u})),h=[];if(await r(m,{visitDirectory:i,visitFile:e=>h.push(e)}),!h.length)return p.debug(`No output files were rendered by the Alloy-js components.`),{};p.debug(`Rendering ${h.length} output files from Alloy-js components: ${o(h.map(e=>a(e.path,f)))}.`);let g={};return await r(m,{visitDirectory:i,visitFile:e=>{if(`contents`in e){let t=d[e.path]??{};g[e.path]={path:e.path,source:[{content:e.contents,meta:t}]}}else if(e.sourcePath&&g[e.sourcePath]){let t=d[e.path]??{};g[e.path]={...g[e.sourcePath],path:e.path,source:g[e.sourcePath]?.source?.map(e=>s(e,{meta:t}))??[]}}}}),g}export{c as render};
|
|
2
|
+
//# sourceMappingURL=render.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"render.mjs","names":[],"sources":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},s=(n,r,a)=>(a=n==null?{}:e(i(n)),o(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return s}});
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ComponentContext } from "@alloy-js/core";
|
|
2
|
+
import { SessionContext } from "@power-plant/core";
|
|
3
|
+
//#region src/core/contexts/session.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* The session context used to access the session data.
|
|
6
|
+
*/
|
|
7
|
+
declare const SessionContext$1: ComponentContext<SessionContext>;
|
|
8
|
+
/**
|
|
9
|
+
* Hook to access the session context.
|
|
10
|
+
*
|
|
11
|
+
* @returns The session context.
|
|
12
|
+
* @throws An error if the session context is not set.
|
|
13
|
+
*/
|
|
14
|
+
declare function useSession(): SessionContext;
|
|
15
|
+
/**
|
|
16
|
+
* Hook to safely access the session context.
|
|
17
|
+
*
|
|
18
|
+
* @returns The session context or undefined if not set.
|
|
19
|
+
*/
|
|
20
|
+
declare function useSessionSafe(): SessionContext | undefined;
|
|
21
|
+
//#endregion
|
|
22
|
+
export { useSession as n, useSessionSafe as r, SessionContext$1 as t };
|
|
23
|
+
//# sourceMappingURL=session-C2p15ap9.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"session-C2p15ap9.d.cts","names":[],"sources":["../src/core/contexts/session.ts"],"mappings":";;;;;;cAyBa,kBAAgB,iBAAiB;;;;;;;iBAS9B,cAAc;;;;;;iBAgBd,kBAAkB"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ComponentContext } from "@alloy-js/core";
|
|
2
|
+
import { SessionContext } from "@power-plant/core";
|
|
3
|
+
//#region src/core/contexts/session.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* The session context used to access the session data.
|
|
6
|
+
*/
|
|
7
|
+
declare const SessionContext$1: ComponentContext<SessionContext>;
|
|
8
|
+
/**
|
|
9
|
+
* Hook to access the session context.
|
|
10
|
+
*
|
|
11
|
+
* @returns The session context.
|
|
12
|
+
* @throws An error if the session context is not set.
|
|
13
|
+
*/
|
|
14
|
+
declare function useSession(): SessionContext;
|
|
15
|
+
/**
|
|
16
|
+
* Hook to safely access the session context.
|
|
17
|
+
*
|
|
18
|
+
* @returns The session context or undefined if not set.
|
|
19
|
+
*/
|
|
20
|
+
declare function useSessionSafe(): SessionContext | undefined;
|
|
21
|
+
//#endregion
|
|
22
|
+
export { useSession as n, useSessionSafe as r, SessionContext$1 as t };
|
|
23
|
+
//# sourceMappingURL=session-C2p15ap9.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"session-C2p15ap9.d.mts","names":[],"sources":["../src/core/contexts/session.ts"],"mappings":""}
|
|
@@ -2,14 +2,14 @@ import { t as ComponentProps } from "./components-vJaCHt1A.mjs";
|
|
|
2
2
|
import { SourceFileProps } from "@alloy-js/core";
|
|
3
3
|
import { MetaConfig } from "@power-plant/core";
|
|
4
4
|
//#region src/core/components/source-file.d.ts
|
|
5
|
-
type SourceFileProps$1
|
|
5
|
+
type SourceFileProps$1 = SourceFileProps & ComponentProps & {
|
|
6
6
|
/**
|
|
7
7
|
* The metadata associated with the source file.
|
|
8
8
|
*
|
|
9
9
|
* @remarks
|
|
10
10
|
* The values stored in the metadata will be available in the rendering context.
|
|
11
11
|
*/
|
|
12
|
-
meta?: MetaConfig<
|
|
12
|
+
meta?: MetaConfig<any, any>;
|
|
13
13
|
};
|
|
14
14
|
/**
|
|
15
15
|
* A base component representing a generated source file.
|
|
@@ -17,7 +17,7 @@ type SourceFileProps$1<TSpec, TOptions extends object> = SourceFileProps & Compo
|
|
|
17
17
|
* @param props - The properties for the source file.
|
|
18
18
|
* @returns The rendered source file component.
|
|
19
19
|
*/
|
|
20
|
-
declare function SourceFile
|
|
20
|
+
declare function SourceFile$1(props: SourceFileProps$1): import("@alloy-js/core").Children;
|
|
21
21
|
//#endregion
|
|
22
|
-
export { SourceFileProps$1 as n, SourceFile as t };
|
|
23
|
-
//# sourceMappingURL=source-file-
|
|
22
|
+
export { SourceFileProps$1 as n, SourceFile$1 as t };
|
|
23
|
+
//# sourceMappingURL=source-file-BiWHfxCC.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"source-file-BiWHfxCC.d.mts","names":[],"sources":["../src/core/components/source-file.tsx"],"mappings":""}
|
|
@@ -2,14 +2,14 @@ import { t as ComponentProps } from "./components-vJaCHt1A.cjs";
|
|
|
2
2
|
import { SourceFileProps } from "@alloy-js/core";
|
|
3
3
|
import { MetaConfig } from "@power-plant/core";
|
|
4
4
|
//#region src/core/components/source-file.d.ts
|
|
5
|
-
type SourceFileProps$1
|
|
5
|
+
type SourceFileProps$1 = SourceFileProps & ComponentProps & {
|
|
6
6
|
/**
|
|
7
7
|
* The metadata associated with the source file.
|
|
8
8
|
*
|
|
9
9
|
* @remarks
|
|
10
10
|
* The values stored in the metadata will be available in the rendering context.
|
|
11
11
|
*/
|
|
12
|
-
meta?: MetaConfig<
|
|
12
|
+
meta?: MetaConfig<any, any>;
|
|
13
13
|
};
|
|
14
14
|
/**
|
|
15
15
|
* A base component representing a generated source file.
|
|
@@ -17,7 +17,7 @@ type SourceFileProps$1<TSpec, TOptions extends object> = SourceFileProps & Compo
|
|
|
17
17
|
* @param props - The properties for the source file.
|
|
18
18
|
* @returns The rendered source file component.
|
|
19
19
|
*/
|
|
20
|
-
declare function SourceFile
|
|
20
|
+
declare function SourceFile(props: SourceFileProps$1): import("@alloy-js/core").Children;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { SourceFileProps$1 as n, SourceFile as t };
|
|
23
|
-
//# sourceMappingURL=source-file-
|
|
23
|
+
//# sourceMappingURL=source-file-DfP35Z8l.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"source-file-DfP35Z8l.d.cts","names":[],"sources":["../src/core/components/source-file.tsx"],"mappings":";;;;KAkCY,oBAAkB,kBAC5B;;;;;;;EAOE,OAAO;;;;;;;;iBASK,WAAW,OAAO,6CAAe"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { r as HCLFileProps } from "./hcl-file-CDeOXiO0.mjs";
|
|
2
|
+
import { PartialKeys } from "@stryke/types/base";
|
|
3
|
+
//#region src/hcl/components/terraform-file.d.ts
|
|
4
|
+
type TerraformFileProps = PartialKeys<HCLFileProps, "filetype">;
|
|
5
|
+
/**
|
|
6
|
+
* A base component representing a Powerlines generated [Terraform](https://developer.hashicorp.com/terraform/language) or [OpenTofu](https://opentofu.org/docs/language/) source file.
|
|
7
|
+
*
|
|
8
|
+
* @see https://developer.hashicorp.com/terraform
|
|
9
|
+
* @see https://opentofu.org
|
|
10
|
+
*
|
|
11
|
+
* @param props - The properties for the source file.
|
|
12
|
+
* @returns The rendered source file component.
|
|
13
|
+
*/
|
|
14
|
+
declare function TerraformFile(props: TerraformFileProps): import("@alloy-js/core").Children;
|
|
15
|
+
//#endregion
|
|
16
|
+
export { TerraformFileProps as n, TerraformFile as t };
|
|
17
|
+
//# sourceMappingURL=terraform-file-DS0uAb5z.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"terraform-file-DS0uAb5z.d.mts","names":[],"sources":["../src/hcl/components/terraform-file.tsx"],"mappings":""}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { r as HCLFileProps } from "./hcl-file-CxR4hw4B.cjs";
|
|
2
|
+
import { PartialKeys } from "@stryke/types/base";
|
|
3
|
+
//#region src/hcl/components/terraform-file.d.ts
|
|
4
|
+
type TerraformFileProps = PartialKeys<HCLFileProps, "filetype">;
|
|
5
|
+
/**
|
|
6
|
+
* A base component representing a Powerlines generated [Terraform](https://developer.hashicorp.com/terraform/language) or [OpenTofu](https://opentofu.org/docs/language/) source file.
|
|
7
|
+
*
|
|
8
|
+
* @see https://developer.hashicorp.com/terraform
|
|
9
|
+
* @see https://opentofu.org
|
|
10
|
+
*
|
|
11
|
+
* @param props - The properties for the source file.
|
|
12
|
+
* @returns The rendered source file component.
|
|
13
|
+
*/
|
|
14
|
+
declare function TerraformFile(props: TerraformFileProps): import("@alloy-js/core").Children;
|
|
15
|
+
//#endregion
|
|
16
|
+
export { TerraformFileProps as n, TerraformFile as t };
|
|
17
|
+
//# sourceMappingURL=terraform-file-gr1_jJWO.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"terraform-file-gr1_jJWO.d.cts","names":[],"sources":["../src/hcl/components/terraform-file.tsx"],"mappings":";;;KAuBY,qBAAqB,YAAY;;;;;;;;;;iBAW7B,cAAc,OAAO,8CAAkB"}
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import { t as ComponentProps } from "./components-vJaCHt1A.cjs";
|
|
2
|
+
import { Children } from "@alloy-js/core";
|
|
3
|
+
import { JsonSchemaPrimitiveType } from "@power-plant/schema";
|
|
4
|
+
import { JSDocExampleProps, ParameterDescriptor } from "@alloy-js/typescript";
|
|
5
|
+
//#region src/typescript/components/tsdoc.d.ts
|
|
6
|
+
interface TSDocProps extends ComponentProps {
|
|
7
|
+
heading?: Children;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Generates a TypeScript interface for the given reflection class.
|
|
11
|
+
*/
|
|
12
|
+
declare function TSDoc(props: TSDocProps): Children;
|
|
13
|
+
interface TSDocTagProps extends ComponentProps {
|
|
14
|
+
tag: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Create a TSDoc `@<props.tag>` tag.
|
|
18
|
+
*/
|
|
19
|
+
declare function TSDocTag(props: TSDocTagProps): Children;
|
|
20
|
+
interface TSDocParamsProps {
|
|
21
|
+
parameters: ParameterDescriptor[] | string[];
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* A component that creates a TSDoc block with `@param` tags for each parameter.
|
|
25
|
+
*/
|
|
26
|
+
declare function TSDocParams(props: TSDocParamsProps): Children;
|
|
27
|
+
/**
|
|
28
|
+
* Create a TSDoc `@title` tag.
|
|
29
|
+
*/
|
|
30
|
+
declare function TSDocTitle(props: ComponentProps): Children;
|
|
31
|
+
/**
|
|
32
|
+
* Create a TSDoc `@domain` tag.
|
|
33
|
+
*/
|
|
34
|
+
declare function TSDocDomain(props: ComponentProps): Children;
|
|
35
|
+
/**
|
|
36
|
+
* Create a TSDoc `@alias` tag.
|
|
37
|
+
*/
|
|
38
|
+
declare function TSDocAlias(props: ComponentProps): Children;
|
|
39
|
+
/**
|
|
40
|
+
* Create a TSDoc `@permission` tag.
|
|
41
|
+
*/
|
|
42
|
+
declare function TSDocPermission(props: ComponentProps): Children;
|
|
43
|
+
/**
|
|
44
|
+
* Create a TSDoc `@group` tag.
|
|
45
|
+
*/
|
|
46
|
+
declare function TSDocGroup(props: ComponentProps): Children;
|
|
47
|
+
interface TSDocDefaultValueProps extends ComponentProps {
|
|
48
|
+
type?: JsonSchemaPrimitiveType | string;
|
|
49
|
+
defaultValue: any;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Create a TSDoc `@defaultValue` tag.
|
|
53
|
+
*/
|
|
54
|
+
declare function TSDocDefaultValue(props: TSDocDefaultValueProps): Children;
|
|
55
|
+
/**
|
|
56
|
+
* Create a TSDoc `@remarks` tag.
|
|
57
|
+
*/
|
|
58
|
+
declare function TSDocRemarks(props: ComponentProps): Children;
|
|
59
|
+
/**
|
|
60
|
+
* Create a TSDoc `@see` tag.
|
|
61
|
+
*/
|
|
62
|
+
declare function TSDocLink(props: ComponentProps): Children;
|
|
63
|
+
interface TSDocExampleProps extends JSDocExampleProps {
|
|
64
|
+
/**
|
|
65
|
+
* Whether the file is a TSX file.
|
|
66
|
+
*
|
|
67
|
+
* @defaultValue false
|
|
68
|
+
*/
|
|
69
|
+
tsx?: boolean;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Create a TSDoc `@example` tag.
|
|
73
|
+
*/
|
|
74
|
+
declare function TSDocExample(props: TSDocExampleProps): Children;
|
|
75
|
+
/**
|
|
76
|
+
* Create a TSDoc `@readonly` tag.
|
|
77
|
+
*/
|
|
78
|
+
declare function TSDocReadonly(): Children;
|
|
79
|
+
/**
|
|
80
|
+
* Create a TSDoc `@internal` tag.
|
|
81
|
+
*/
|
|
82
|
+
declare function TSDocInternal(): Children;
|
|
83
|
+
/**
|
|
84
|
+
* Create a TSDoc `@ignore` tag.
|
|
85
|
+
*/
|
|
86
|
+
declare function TSDocIgnore(): Children;
|
|
87
|
+
/**
|
|
88
|
+
* Create a TSDoc `@hidden` tag.
|
|
89
|
+
*/
|
|
90
|
+
declare function TSDocHidden(): Children;
|
|
91
|
+
/**
|
|
92
|
+
* Create a TSDoc `@runtime` tag.
|
|
93
|
+
*/
|
|
94
|
+
declare function TSDocRuntime(): Children;
|
|
95
|
+
interface TSDocAttributesTagsProps {
|
|
96
|
+
type?: JsonSchemaPrimitiveType | string;
|
|
97
|
+
default?: any;
|
|
98
|
+
title?: string;
|
|
99
|
+
alias?: string[];
|
|
100
|
+
tags?: string[];
|
|
101
|
+
readOnly?: boolean;
|
|
102
|
+
internal?: boolean;
|
|
103
|
+
ignore?: boolean;
|
|
104
|
+
hidden?: boolean;
|
|
105
|
+
runtime?: boolean;
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Generates a TypeScript interface property for the given reflection class.
|
|
109
|
+
*/
|
|
110
|
+
declare function TSDocAttributesTags(props: TSDocAttributesTagsProps): Children;
|
|
111
|
+
interface TSDocParamProps {
|
|
112
|
+
name: Children;
|
|
113
|
+
children?: Children;
|
|
114
|
+
optional?: boolean;
|
|
115
|
+
default?: Children;
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Create a TSDoc parameter set off with `@param`.
|
|
119
|
+
*/
|
|
120
|
+
declare function TSDocParam(props: TSDocParamProps): Children;
|
|
121
|
+
/**
|
|
122
|
+
* Create a TSDoc `@returns` tag.
|
|
123
|
+
*/
|
|
124
|
+
declare function TSDocReturns(props: ComponentProps): Children;
|
|
125
|
+
/**
|
|
126
|
+
* Create a TSDoc `@throws` tag.
|
|
127
|
+
*/
|
|
128
|
+
declare function TSDocThrows(props: ComponentProps): Children;
|
|
129
|
+
interface TSDocModuleProps extends ComponentProps {
|
|
130
|
+
/**
|
|
131
|
+
* The prefix for the builtin module name
|
|
132
|
+
*
|
|
133
|
+
* @remarks
|
|
134
|
+
* This value is used to prefix the module name in the `@module` tag and the import path for the module, e.g. `prefix:name`.
|
|
135
|
+
*
|
|
136
|
+
* @example
|
|
137
|
+
* ```ts
|
|
138
|
+
* /**
|
|
139
|
+
* @module prefix:name
|
|
140
|
+
* \/
|
|
141
|
+
* ```
|
|
142
|
+
*/
|
|
143
|
+
prefix?: string;
|
|
144
|
+
/**
|
|
145
|
+
* The name of the module
|
|
146
|
+
*
|
|
147
|
+
* @remarks
|
|
148
|
+
* This will be used in the `@module` tag as well as the import path for the module, e.g. `prefix:name`.
|
|
149
|
+
*
|
|
150
|
+
* @example
|
|
151
|
+
* ```ts
|
|
152
|
+
* import { MyModule } from "prefix:name";
|
|
153
|
+
* ```
|
|
154
|
+
*/
|
|
155
|
+
name: Children;
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Generates a TSDoc `@module` tag for the given module name.
|
|
159
|
+
*/
|
|
160
|
+
declare function TSDocModule(props: TSDocModuleProps): Children;
|
|
161
|
+
//#endregion
|
|
162
|
+
export { TSDocTitle as A, TSDocReadonly as C, TSDocTag as D, TSDocRuntime as E, TSDocTagProps as O, TSDocProps as S, TSDocReturns as T, TSDocParam as _, TSDocDefaultValue as a, TSDocParamsProps as b, TSDocExample as c, TSDocHidden as d, TSDocIgnore as f, TSDocModuleProps as g, TSDocModule as h, TSDocAttributesTagsProps as i, TSDocThrows as k, TSDocExampleProps as l, TSDocLink as m, TSDocAlias as n, TSDocDefaultValueProps as o, TSDocInternal as p, TSDocAttributesTags as r, TSDocDomain as s, TSDoc as t, TSDocGroup as u, TSDocParamProps as v, TSDocRemarks as w, TSDocPermission as x, TSDocParams as y };
|
|
163
|
+
//# sourceMappingURL=tsdoc-B6Hw9jOF.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tsdoc-B6Hw9jOF.d.cts","names":[],"sources":["../src/typescript/components/tsdoc.tsx"],"mappings":";;;;;UAuCiB,mBAAmB;EAClC,UAAU;;;;;iBAMI,MAAM,OAAO,aAAU;UA6BtB,sBAAsB;EACrC;;;;;iBAMc,SAAS,OAAO,gBAAa;UAgB5B;EACf,YAAY;;;;;iBAME,YAAY,OAAO,mBAAgB;;;;iBA2BnC,WAAW,OAAO,iBAAc;;;;iBAahC,YAAY,OAAO,iBAAc;;;;iBAajC,WAAW,OAAO,iBAAc;;;;iBAahC,gBAAgB,OAAO,iBAAc;;;;iBAarC,WAAW,OAAO,iBAAc;UAU/B,+BAA+B;EAC9C,OAAO;EACP;;;;;iBAMc,kBAAkB,OAAO,yBAAsB;;;;iBAkB/C,aAAa,OAAO,iBAAc;;;;iBAelC,UAAU,OAAO,iBAAc;UAI9B,0BAA0B;;;;;;EAMzC;;;;;iBAMc,aAAa,OAAO,oBAAiB;;;;iBA4BrC,iBAAa;;;;iBAOb,iBAAa;;;;iBAOb,eAAW;;;;iBAOX,eAAW;;;;iBAOX,gBAAY;UAIX;EACf,OAAO;EACP;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;;;iBAMc,oBAAoB,OAAO,2BAAwB;UA6ElD;EACf,MAAM;EACN,WAAW;EACX;EACA,UAAU;;;;;iBAMI,WAAW,OAAO,kBAAe;;;;iBAiDjC,aAAa,OAAO,iBAAc;;;;iBAOlC,YAAY,OAAO,iBAAc;UAIhC,yBAAyB;;;;;;;;;;;;;;EAcxC;;;;;;;;;;;;EAaA,MAAM;;;;;iBAMQ,YAAY,OAAO,mBAAgB"}
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import { t as ComponentProps } from "./components-vJaCHt1A.mjs";
|
|
2
|
+
import { Children } from "@alloy-js/core";
|
|
3
|
+
import { JSDocExampleProps, ParameterDescriptor } from "@alloy-js/typescript";
|
|
4
|
+
import { JsonSchemaPrimitiveType } from "@power-plant/schema";
|
|
5
|
+
//#region src/typescript/components/tsdoc.d.ts
|
|
6
|
+
interface TSDocProps extends ComponentProps {
|
|
7
|
+
heading?: Children;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Generates a TypeScript interface for the given reflection class.
|
|
11
|
+
*/
|
|
12
|
+
declare function TSDoc(props: TSDocProps): Children;
|
|
13
|
+
interface TSDocTagProps extends ComponentProps {
|
|
14
|
+
tag: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Create a TSDoc `@<props.tag>` tag.
|
|
18
|
+
*/
|
|
19
|
+
declare function TSDocTag(props: TSDocTagProps): Children;
|
|
20
|
+
interface TSDocParamsProps {
|
|
21
|
+
parameters: ParameterDescriptor[] | string[];
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* A component that creates a TSDoc block with `@param` tags for each parameter.
|
|
25
|
+
*/
|
|
26
|
+
declare function TSDocParams(props: TSDocParamsProps): Children;
|
|
27
|
+
/**
|
|
28
|
+
* Create a TSDoc `@title` tag.
|
|
29
|
+
*/
|
|
30
|
+
declare function TSDocTitle(props: ComponentProps): Children;
|
|
31
|
+
/**
|
|
32
|
+
* Create a TSDoc `@domain` tag.
|
|
33
|
+
*/
|
|
34
|
+
declare function TSDocDomain(props: ComponentProps): Children;
|
|
35
|
+
/**
|
|
36
|
+
* Create a TSDoc `@alias` tag.
|
|
37
|
+
*/
|
|
38
|
+
declare function TSDocAlias(props: ComponentProps): Children;
|
|
39
|
+
/**
|
|
40
|
+
* Create a TSDoc `@permission` tag.
|
|
41
|
+
*/
|
|
42
|
+
declare function TSDocPermission(props: ComponentProps): Children;
|
|
43
|
+
/**
|
|
44
|
+
* Create a TSDoc `@group` tag.
|
|
45
|
+
*/
|
|
46
|
+
declare function TSDocGroup(props: ComponentProps): Children;
|
|
47
|
+
interface TSDocDefaultValueProps extends ComponentProps {
|
|
48
|
+
type?: JsonSchemaPrimitiveType | string;
|
|
49
|
+
defaultValue: any;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Create a TSDoc `@defaultValue` tag.
|
|
53
|
+
*/
|
|
54
|
+
declare function TSDocDefaultValue(props: TSDocDefaultValueProps): Children;
|
|
55
|
+
/**
|
|
56
|
+
* Create a TSDoc `@remarks` tag.
|
|
57
|
+
*/
|
|
58
|
+
declare function TSDocRemarks(props: ComponentProps): Children;
|
|
59
|
+
/**
|
|
60
|
+
* Create a TSDoc `@see` tag.
|
|
61
|
+
*/
|
|
62
|
+
declare function TSDocLink(props: ComponentProps): Children;
|
|
63
|
+
interface TSDocExampleProps extends JSDocExampleProps {
|
|
64
|
+
/**
|
|
65
|
+
* Whether the file is a TSX file.
|
|
66
|
+
*
|
|
67
|
+
* @defaultValue false
|
|
68
|
+
*/
|
|
69
|
+
tsx?: boolean;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Create a TSDoc `@example` tag.
|
|
73
|
+
*/
|
|
74
|
+
declare function TSDocExample(props: TSDocExampleProps): Children;
|
|
75
|
+
/**
|
|
76
|
+
* Create a TSDoc `@readonly` tag.
|
|
77
|
+
*/
|
|
78
|
+
declare function TSDocReadonly(): Children;
|
|
79
|
+
/**
|
|
80
|
+
* Create a TSDoc `@internal` tag.
|
|
81
|
+
*/
|
|
82
|
+
declare function TSDocInternal(): Children;
|
|
83
|
+
/**
|
|
84
|
+
* Create a TSDoc `@ignore` tag.
|
|
85
|
+
*/
|
|
86
|
+
declare function TSDocIgnore(): Children;
|
|
87
|
+
/**
|
|
88
|
+
* Create a TSDoc `@hidden` tag.
|
|
89
|
+
*/
|
|
90
|
+
declare function TSDocHidden(): Children;
|
|
91
|
+
/**
|
|
92
|
+
* Create a TSDoc `@runtime` tag.
|
|
93
|
+
*/
|
|
94
|
+
declare function TSDocRuntime(): Children;
|
|
95
|
+
interface TSDocAttributesTagsProps {
|
|
96
|
+
type?: JsonSchemaPrimitiveType | string;
|
|
97
|
+
default?: any;
|
|
98
|
+
title?: string;
|
|
99
|
+
alias?: string[];
|
|
100
|
+
tags?: string[];
|
|
101
|
+
readOnly?: boolean;
|
|
102
|
+
internal?: boolean;
|
|
103
|
+
ignore?: boolean;
|
|
104
|
+
hidden?: boolean;
|
|
105
|
+
runtime?: boolean;
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Generates a TypeScript interface property for the given reflection class.
|
|
109
|
+
*/
|
|
110
|
+
declare function TSDocAttributesTags(props: TSDocAttributesTagsProps): Children;
|
|
111
|
+
interface TSDocParamProps {
|
|
112
|
+
name: Children;
|
|
113
|
+
children?: Children;
|
|
114
|
+
optional?: boolean;
|
|
115
|
+
default?: Children;
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Create a TSDoc parameter set off with `@param`.
|
|
119
|
+
*/
|
|
120
|
+
declare function TSDocParam(props: TSDocParamProps): Children;
|
|
121
|
+
/**
|
|
122
|
+
* Create a TSDoc `@returns` tag.
|
|
123
|
+
*/
|
|
124
|
+
declare function TSDocReturns(props: ComponentProps): Children;
|
|
125
|
+
/**
|
|
126
|
+
* Create a TSDoc `@throws` tag.
|
|
127
|
+
*/
|
|
128
|
+
declare function TSDocThrows(props: ComponentProps): Children;
|
|
129
|
+
interface TSDocModuleProps extends ComponentProps {
|
|
130
|
+
/**
|
|
131
|
+
* The prefix for the builtin module name
|
|
132
|
+
*
|
|
133
|
+
* @remarks
|
|
134
|
+
* This value is used to prefix the module name in the `@module` tag and the import path for the module, e.g. `prefix:name`.
|
|
135
|
+
*
|
|
136
|
+
* @example
|
|
137
|
+
* ```ts
|
|
138
|
+
* /**
|
|
139
|
+
* @module prefix:name
|
|
140
|
+
* \/
|
|
141
|
+
* ```
|
|
142
|
+
*/
|
|
143
|
+
prefix?: string;
|
|
144
|
+
/**
|
|
145
|
+
* The name of the module
|
|
146
|
+
*
|
|
147
|
+
* @remarks
|
|
148
|
+
* This will be used in the `@module` tag as well as the import path for the module, e.g. `prefix:name`.
|
|
149
|
+
*
|
|
150
|
+
* @example
|
|
151
|
+
* ```ts
|
|
152
|
+
* import { MyModule } from "prefix:name";
|
|
153
|
+
* ```
|
|
154
|
+
*/
|
|
155
|
+
name: Children;
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Generates a TSDoc `@module` tag for the given module name.
|
|
159
|
+
*/
|
|
160
|
+
declare function TSDocModule(props: TSDocModuleProps): Children;
|
|
161
|
+
//#endregion
|
|
162
|
+
export { TSDocTitle as A, TSDocReadonly as C, TSDocTag as D, TSDocRuntime as E, TSDocTagProps as O, TSDocProps as S, TSDocReturns as T, TSDocParam as _, TSDocDefaultValue as a, TSDocParamsProps as b, TSDocExample as c, TSDocHidden as d, TSDocIgnore as f, TSDocModuleProps as g, TSDocModule as h, TSDocAttributesTagsProps as i, TSDocThrows as k, TSDocExampleProps as l, TSDocLink as m, TSDocAlias as n, TSDocDefaultValueProps as o, TSDocInternal as p, TSDocAttributesTags as r, TSDocDomain as s, TSDoc as t, TSDocGroup as u, TSDocParamProps as v, TSDocRemarks as w, TSDocPermission as x, TSDocParams as y };
|
|
163
|
+
//# sourceMappingURL=tsdoc-CFdZtTw6.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tsdoc-CFdZtTw6.d.mts","names":[],"sources":["../src/typescript/components/tsdoc.tsx"],"mappings":""}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { S as TSDocProps } from "./tsdoc-CFdZtTw6.mjs";
|
|
2
|
+
import { JsonSchema } from "@power-plant/schema";
|
|
3
|
+
//#region src/typescript/components/tsdoc-schema.d.ts
|
|
4
|
+
interface TSDocObjectSchemaProps extends TSDocProps {
|
|
5
|
+
schema: JsonSchema;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Generates a TSDoc documentation block for the given reflection class. This component will render the description of the reflection as the main content of the documentation block, and will render any additional attributes (such as title, alias, domain, permission, etc.) as tags in the documentation block. If there are child elements provided, they will be rendered as a list below the main content of the documentation block. This is useful for rendering additional details about the reflection that may not be included in the description, such as information about properties or methods of a class.
|
|
9
|
+
*/
|
|
10
|
+
declare function TSDocObjectSchema(props: TSDocObjectSchemaProps): import("@alloy-js/core").Children;
|
|
11
|
+
interface TSDocSchemaPropertyProps extends TSDocProps {
|
|
12
|
+
schema: JsonSchema;
|
|
13
|
+
defaultValue?: unknown;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Generates a TSDoc documentation block for the given reflection property. This component will render the description of the reflection as the main content of the documentation block, and will render any additional attributes (such as title, alias, domain, permission, etc.) as tags in the documentation block. If there are child elements provided, they will be rendered as a list below the main content of the documentation block. This is useful for rendering additional details about the reflection that may not be included in the description, such as information about parameters of a method or properties of a class.
|
|
17
|
+
*/
|
|
18
|
+
declare function TSDocSchemaProperty(props: TSDocSchemaPropertyProps): import("@alloy-js/core").Children;
|
|
19
|
+
//#endregion
|
|
20
|
+
export { TSDocSchemaPropertyProps as i, TSDocObjectSchemaProps as n, TSDocSchemaProperty as r, TSDocObjectSchema as t };
|
|
21
|
+
//# sourceMappingURL=tsdoc-schema-B4yKswI-.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tsdoc-schema-B4yKswI-.d.mts","names":[],"sources":["../src/typescript/components/tsdoc-schema.tsx"],"mappings":""}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { S as TSDocProps } from "./tsdoc-B6Hw9jOF.cjs";
|
|
2
|
+
import { JsonSchema } from "@power-plant/schema";
|
|
3
|
+
//#region src/typescript/components/tsdoc-schema.d.ts
|
|
4
|
+
interface TSDocObjectSchemaProps extends TSDocProps {
|
|
5
|
+
schema: JsonSchema;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Generates a TSDoc documentation block for the given reflection class. This component will render the description of the reflection as the main content of the documentation block, and will render any additional attributes (such as title, alias, domain, permission, etc.) as tags in the documentation block. If there are child elements provided, they will be rendered as a list below the main content of the documentation block. This is useful for rendering additional details about the reflection that may not be included in the description, such as information about properties or methods of a class.
|
|
9
|
+
*/
|
|
10
|
+
declare function TSDocObjectSchema(props: TSDocObjectSchemaProps): import("@alloy-js/core").Children;
|
|
11
|
+
interface TSDocSchemaPropertyProps extends TSDocProps {
|
|
12
|
+
schema: JsonSchema;
|
|
13
|
+
defaultValue?: unknown;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Generates a TSDoc documentation block for the given reflection property. This component will render the description of the reflection as the main content of the documentation block, and will render any additional attributes (such as title, alias, domain, permission, etc.) as tags in the documentation block. If there are child elements provided, they will be rendered as a list below the main content of the documentation block. This is useful for rendering additional details about the reflection that may not be included in the description, such as information about parameters of a method or properties of a class.
|
|
17
|
+
*/
|
|
18
|
+
declare function TSDocSchemaProperty(props: TSDocSchemaPropertyProps): import("@alloy-js/core").Children;
|
|
19
|
+
//#endregion
|
|
20
|
+
export { TSDocSchemaPropertyProps as i, TSDocObjectSchemaProps as n, TSDocSchemaProperty as r, TSDocObjectSchema as t };
|
|
21
|
+
//# sourceMappingURL=tsdoc-schema-DJ_3JLuh.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tsdoc-schema-DJ_3JLuh.d.cts","names":[],"sources":["../src/typescript/components/tsdoc-schema.tsx"],"mappings":";;;UAmCiB,+BAA+B;EAC9C,QAAQ;;;;;iBAMM,kBAAkB,OAAO,kDAAsB;UA8E9C,iCAAiC;EAChD,QAAQ;EACR;;;;;iBAMc,oBAAoB,OAAO,oDAAwB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CommonDeclarationProps, TypeParameterDescriptor } from "@alloy-js/typescript";
|
|
2
|
+
//#region src/typescript/components/type-declaration.d.ts
|
|
3
|
+
interface TypeDeclarationProps extends CommonDeclarationProps {
|
|
4
|
+
/**
|
|
5
|
+
* The generic type parameters of the interface.
|
|
6
|
+
*/
|
|
7
|
+
typeParameters?: TypeParameterDescriptor[] | string[];
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Renders a TypeScript type declaration, including its name, optional TSDoc comment, and generic type parameters.
|
|
11
|
+
*/
|
|
12
|
+
declare const TypeDeclaration: import("@alloy-js/core").Component<TypeDeclarationProps>;
|
|
13
|
+
//#endregion
|
|
14
|
+
export { TypeDeclarationProps as n, TypeDeclaration as t };
|
|
15
|
+
//# sourceMappingURL=type-declaration-BLvkozNR.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type-declaration-BLvkozNR.d.cts","names":[],"sources":["../src/typescript/components/type-declaration.tsx"],"mappings":";;UA2BiB,6BAA6B;;;;EAI5C,iBAAiB;;;;;cAMN,0CAAe,UAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CommonDeclarationProps, TypeParameterDescriptor } from "@alloy-js/typescript";
|
|
2
|
+
//#region src/typescript/components/type-declaration.d.ts
|
|
3
|
+
interface TypeDeclarationProps extends CommonDeclarationProps {
|
|
4
|
+
/**
|
|
5
|
+
* The generic type parameters of the interface.
|
|
6
|
+
*/
|
|
7
|
+
typeParameters?: TypeParameterDescriptor[] | string[];
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Renders a TypeScript type declaration, including its name, optional TSDoc comment, and generic type parameters.
|
|
11
|
+
*/
|
|
12
|
+
declare const TypeDeclaration: import("@alloy-js/core").Component<TypeDeclarationProps>;
|
|
13
|
+
//#endregion
|
|
14
|
+
export { TypeDeclarationProps as n, TypeDeclaration as t };
|
|
15
|
+
//# sourceMappingURL=type-declaration-BLvkozNR.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type-declaration-BLvkozNR.d.mts","names":[],"sources":["../src/typescript/components/type-declaration.tsx"],"mappings":""}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Children } from "@alloy-js/core";
|
|
2
|
+
import { TypeParameterDescriptor } from "@alloy-js/typescript";
|
|
3
|
+
//#region src/typescript/components/type-parameters.d.ts
|
|
4
|
+
/** Props for type parameters */
|
|
5
|
+
interface TypeParametersProps {
|
|
6
|
+
/** Parameters */
|
|
7
|
+
parameters?: TypeParameterDescriptor[] | string[];
|
|
8
|
+
/** Jsx Children */
|
|
9
|
+
children?: Children;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Represent type parameters
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```ts
|
|
16
|
+
* <A, B extends string>
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
declare function TypeParameters(props: TypeParametersProps): Children;
|
|
20
|
+
//#endregion
|
|
21
|
+
export { TypeParametersProps as n, TypeParameters as t };
|
|
22
|
+
//# sourceMappingURL=type-parameters-BzCDG9lT.d.cts.map
|