@powerlines/plugin-alloy 0.26.48 → 0.26.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +6 -6
- package/dist/_virtual/_rolldown/runtime.cjs +0 -29
- package/dist/core/components/index.cjs +0 -12
- package/dist/core/components/index.d.cts +0 -6
- package/dist/core/components/index.d.mts +0 -6
- package/dist/core/components/index.mjs +0 -7
- package/dist/core/components/infrastructure-file.cjs +0 -48
- package/dist/core/components/infrastructure-file.d.cts +0 -27
- package/dist/core/components/infrastructure-file.d.cts.map +0 -1
- package/dist/core/components/infrastructure-file.d.mts +0 -27
- package/dist/core/components/infrastructure-file.d.mts.map +0 -1
- package/dist/core/components/infrastructure-file.mjs +0 -46
- package/dist/core/components/infrastructure-file.mjs.map +0 -1
- package/dist/core/components/output.cjs +0 -41
- package/dist/core/components/output.d.cts +0 -23
- package/dist/core/components/output.d.cts.map +0 -1
- package/dist/core/components/output.d.mts +0 -23
- package/dist/core/components/output.d.mts.map +0 -1
- package/dist/core/components/output.mjs +0 -40
- package/dist/core/components/output.mjs.map +0 -1
- package/dist/core/components/single-line-comment.cjs +0 -23
- package/dist/core/components/single-line-comment.d.cts +0 -21
- package/dist/core/components/single-line-comment.d.cts.map +0 -1
- package/dist/core/components/single-line-comment.d.mts +0 -21
- package/dist/core/components/single-line-comment.d.mts.map +0 -1
- package/dist/core/components/single-line-comment.mjs +0 -22
- package/dist/core/components/single-line-comment.mjs.map +0 -1
- package/dist/core/components/source-file.cjs +0 -64
- package/dist/core/components/source-file.d.cts +0 -32
- package/dist/core/components/source-file.d.cts.map +0 -1
- package/dist/core/components/source-file.d.mts +0 -32
- package/dist/core/components/source-file.d.mts.map +0 -1
- package/dist/core/components/source-file.mjs +0 -62
- package/dist/core/components/source-file.mjs.map +0 -1
- package/dist/core/components/spacing.cjs +0 -20
- package/dist/core/components/spacing.d.cts +0 -23
- package/dist/core/components/spacing.d.cts.map +0 -1
- package/dist/core/components/spacing.d.mts +0 -23
- package/dist/core/components/spacing.d.mts.map +0 -1
- package/dist/core/components/spacing.mjs +0 -19
- package/dist/core/components/spacing.mjs.map +0 -1
- package/dist/core/contexts/context.cjs +0 -41
- package/dist/core/contexts/context.d.cts +0 -29
- package/dist/core/contexts/context.d.cts.map +0 -1
- package/dist/core/contexts/context.d.mts +0 -29
- package/dist/core/contexts/context.d.mts.map +0 -1
- package/dist/core/contexts/context.mjs +0 -37
- package/dist/core/contexts/context.mjs.map +0 -1
- package/dist/core/contexts/index.cjs +0 -22
- package/dist/core/contexts/index.d.cts +0 -4
- package/dist/core/contexts/index.d.mts +0 -4
- package/dist/core/contexts/index.mjs +0 -5
- package/dist/core/contexts/meta.cjs +0 -41
- package/dist/core/contexts/meta.d.cts +0 -47
- package/dist/core/contexts/meta.d.cts.map +0 -1
- package/dist/core/contexts/meta.d.mts +0 -47
- package/dist/core/contexts/meta.d.mts.map +0 -1
- package/dist/core/contexts/meta.mjs +0 -37
- package/dist/core/contexts/meta.mjs.map +0 -1
- package/dist/core/contexts/reflection.cjs +0 -80
- package/dist/core/contexts/reflection.d.cts +0 -62
- package/dist/core/contexts/reflection.d.cts.map +0 -1
- package/dist/core/contexts/reflection.d.mts +0 -62
- package/dist/core/contexts/reflection.d.mts.map +0 -1
- package/dist/core/contexts/reflection.mjs +0 -71
- package/dist/core/contexts/reflection.mjs.map +0 -1
- package/dist/core/helpers/code.cjs +0 -34
- package/dist/core/helpers/code.d.cts +0 -29
- package/dist/core/helpers/code.d.cts.map +0 -1
- package/dist/core/helpers/code.d.mts +0 -29
- package/dist/core/helpers/code.d.mts.map +0 -1
- package/dist/core/helpers/code.mjs +0 -33
- package/dist/core/helpers/code.mjs.map +0 -1
- package/dist/core/helpers/index.cjs +0 -4
- package/dist/core/helpers/index.d.cts +0 -2
- package/dist/core/helpers/index.d.mts +0 -2
- package/dist/core/helpers/index.mjs +0 -3
- package/dist/core/index.cjs +0 -37
- package/dist/core/index.d.cts +0 -10
- package/dist/core/index.d.mts +0 -10
- package/dist/core/index.mjs +0 -14
- package/dist/hcl/components/block-declaration.cjs +0 -34
- package/dist/hcl/components/block-declaration.d.cts +0 -21
- package/dist/hcl/components/block-declaration.d.cts.map +0 -1
- package/dist/hcl/components/block-declaration.d.mts +0 -21
- package/dist/hcl/components/block-declaration.d.mts.map +0 -1
- package/dist/hcl/components/block-declaration.mjs +0 -33
- package/dist/hcl/components/block-declaration.mjs.map +0 -1
- package/dist/hcl/components/hcl-file.cjs +0 -83
- package/dist/hcl/components/hcl-file.d.cts +0 -26
- package/dist/hcl/components/hcl-file.d.cts.map +0 -1
- package/dist/hcl/components/hcl-file.d.mts +0 -26
- package/dist/hcl/components/hcl-file.d.mts.map +0 -1
- package/dist/hcl/components/hcl-file.mjs +0 -81
- package/dist/hcl/components/hcl-file.mjs.map +0 -1
- package/dist/hcl/components/index.cjs +0 -11
- package/dist/hcl/components/index.d.cts +0 -5
- package/dist/hcl/components/index.d.mts +0 -5
- package/dist/hcl/components/index.mjs +0 -6
- package/dist/hcl/components/packer-file.cjs +0 -29
- package/dist/hcl/components/packer-file.d.cts +0 -18
- package/dist/hcl/components/packer-file.d.cts.map +0 -1
- package/dist/hcl/components/packer-file.d.mts +0 -18
- package/dist/hcl/components/packer-file.d.mts.map +0 -1
- package/dist/hcl/components/packer-file.mjs +0 -28
- package/dist/hcl/components/packer-file.mjs.map +0 -1
- package/dist/hcl/components/terraform-file.cjs +0 -30
- package/dist/hcl/components/terraform-file.d.cts +0 -19
- package/dist/hcl/components/terraform-file.d.cts.map +0 -1
- package/dist/hcl/components/terraform-file.d.mts +0 -19
- package/dist/hcl/components/terraform-file.d.mts.map +0 -1
- package/dist/hcl/components/terraform-file.mjs +0 -29
- package/dist/hcl/components/terraform-file.mjs.map +0 -1
- package/dist/hcl/index.cjs +0 -12
- package/dist/hcl/index.d.cts +0 -5
- package/dist/hcl/index.d.mts +0 -5
- package/dist/hcl/index.mjs +0 -7
- package/dist/helpers/capnp.cjs +0 -277
- package/dist/helpers/capnp.d.cts +0 -83
- package/dist/helpers/capnp.d.cts.map +0 -1
- package/dist/helpers/capnp.d.mts +0 -83
- package/dist/helpers/capnp.d.mts.map +0 -1
- package/dist/helpers/capnp.mjs +0 -260
- package/dist/helpers/capnp.mjs.map +0 -1
- package/dist/helpers/create-builtin.cjs +0 -20
- package/dist/helpers/create-builtin.d.cts +0 -15
- package/dist/helpers/create-builtin.d.cts.map +0 -1
- package/dist/helpers/create-builtin.d.mts +0 -15
- package/dist/helpers/create-builtin.d.mts.map +0 -1
- package/dist/helpers/create-builtin.mjs +0 -19
- package/dist/helpers/create-builtin.mjs.map +0 -1
- package/dist/helpers/index.cjs +0 -25
- package/dist/helpers/index.d.cts +0 -5
- package/dist/helpers/index.d.mts +0 -5
- package/dist/helpers/index.mjs +0 -6
- package/dist/helpers/refkey.cjs +0 -17
- package/dist/helpers/refkey.d.cts +0 -13
- package/dist/helpers/refkey.d.cts.map +0 -1
- package/dist/helpers/refkey.d.mts +0 -13
- package/dist/helpers/refkey.d.mts.map +0 -1
- package/dist/helpers/refkey.mjs +0 -16
- package/dist/helpers/refkey.mjs.map +0 -1
- package/dist/helpers/typescript.cjs +0 -48
- package/dist/helpers/typescript.d.cts +0 -24
- package/dist/helpers/typescript.d.cts.map +0 -1
- package/dist/helpers/typescript.d.mts +0 -24
- package/dist/helpers/typescript.d.mts.map +0 -1
- package/dist/helpers/typescript.mjs +0 -47
- package/dist/helpers/typescript.mjs.map +0 -1
- package/dist/index.cjs +0 -55
- package/dist/index.d.cts +0 -19
- package/dist/index.d.cts.map +0 -1
- package/dist/index.d.mts +0 -19
- package/dist/index.d.mts.map +0 -1
- package/dist/index.mjs +0 -52
- package/dist/index.mjs.map +0 -1
- package/dist/markdown/components/front-matter.cjs +0 -29
- package/dist/markdown/components/front-matter.d.cts +0 -15
- package/dist/markdown/components/front-matter.d.cts.map +0 -1
- package/dist/markdown/components/front-matter.d.mts +0 -15
- package/dist/markdown/components/front-matter.d.mts.map +0 -1
- package/dist/markdown/components/front-matter.mjs +0 -28
- package/dist/markdown/components/front-matter.mjs.map +0 -1
- package/dist/markdown/components/heading.cjs +0 -24
- package/dist/markdown/components/heading.d.cts +0 -19
- package/dist/markdown/components/heading.d.cts.map +0 -1
- package/dist/markdown/components/heading.d.mts +0 -19
- package/dist/markdown/components/heading.d.mts.map +0 -1
- package/dist/markdown/components/heading.mjs +0 -23
- package/dist/markdown/components/heading.mjs.map +0 -1
- package/dist/markdown/components/index.cjs +0 -13
- package/dist/markdown/components/index.d.cts +0 -5
- package/dist/markdown/components/index.d.mts +0 -5
- package/dist/markdown/components/index.mjs +0 -6
- package/dist/markdown/components/markdown-file.cjs +0 -135
- package/dist/markdown/components/markdown-file.d.cts +0 -27
- package/dist/markdown/components/markdown-file.d.cts.map +0 -1
- package/dist/markdown/components/markdown-file.d.mts +0 -27
- package/dist/markdown/components/markdown-file.d.mts.map +0 -1
- package/dist/markdown/components/markdown-file.mjs +0 -133
- package/dist/markdown/components/markdown-file.mjs.map +0 -1
- package/dist/markdown/components/markdown-table.cjs +0 -102
- package/dist/markdown/components/markdown-table.d.cts +0 -26
- package/dist/markdown/components/markdown-table.d.cts.map +0 -1
- package/dist/markdown/components/markdown-table.d.mts +0 -26
- package/dist/markdown/components/markdown-table.d.mts.map +0 -1
- package/dist/markdown/components/markdown-table.mjs +0 -99
- package/dist/markdown/components/markdown-table.mjs.map +0 -1
- package/dist/markdown/contexts/index.cjs +0 -7
- package/dist/markdown/contexts/index.d.cts +0 -2
- package/dist/markdown/contexts/index.d.mts +0 -2
- package/dist/markdown/contexts/index.mjs +0 -3
- package/dist/markdown/contexts/markdown-table.cjs +0 -38
- package/dist/markdown/contexts/markdown-table.d.cts +0 -36
- package/dist/markdown/contexts/markdown-table.d.cts.map +0 -1
- package/dist/markdown/contexts/markdown-table.d.mts +0 -36
- package/dist/markdown/contexts/markdown-table.d.mts.map +0 -1
- package/dist/markdown/contexts/markdown-table.mjs +0 -34
- package/dist/markdown/contexts/markdown-table.mjs.map +0 -1
- package/dist/markdown/index.cjs +0 -20
- package/dist/markdown/index.d.cts +0 -6
- package/dist/markdown/index.d.mts +0 -6
- package/dist/markdown/index.mjs +0 -9
- package/dist/render.cjs +0 -91
- package/dist/render.d.cts +0 -38
- package/dist/render.d.cts.map +0 -1
- package/dist/render.d.mts +0 -38
- package/dist/render.d.mts.map +0 -1
- package/dist/render.mjs +0 -89
- package/dist/render.mjs.map +0 -1
- package/dist/types/components.cjs +0 -9
- package/dist/types/components.d.cts +0 -126
- package/dist/types/components.d.cts.map +0 -1
- package/dist/types/components.d.mts +0 -126
- package/dist/types/components.d.mts.map +0 -1
- package/dist/types/components.mjs +0 -10
- package/dist/types/components.mjs.map +0 -1
- package/dist/types/index.cjs +0 -0
- package/dist/types/index.d.cts +0 -3
- package/dist/types/index.d.mts +0 -3
- package/dist/types/index.mjs +0 -1
- package/dist/types/plugin.cjs +0 -0
- package/dist/types/plugin.d.cts +0 -35
- package/dist/types/plugin.d.cts.map +0 -1
- package/dist/types/plugin.d.mts +0 -35
- package/dist/types/plugin.d.mts.map +0 -1
- package/dist/types/plugin.mjs +0 -1
- package/dist/typescript/components/builtin-file.cjs +0 -63
- package/dist/typescript/components/builtin-file.d.cts +0 -34
- package/dist/typescript/components/builtin-file.d.cts.map +0 -1
- package/dist/typescript/components/builtin-file.d.mts +0 -34
- package/dist/typescript/components/builtin-file.d.mts.map +0 -1
- package/dist/typescript/components/builtin-file.mjs +0 -62
- package/dist/typescript/components/builtin-file.mjs.map +0 -1
- package/dist/typescript/components/class-declaration.cjs +0 -306
- package/dist/typescript/components/class-declaration.d.cts +0 -140
- package/dist/typescript/components/class-declaration.d.cts.map +0 -1
- package/dist/typescript/components/class-declaration.d.mts +0 -140
- package/dist/typescript/components/class-declaration.d.mts.map +0 -1
- package/dist/typescript/components/class-declaration.mjs +0 -300
- package/dist/typescript/components/class-declaration.mjs.map +0 -1
- package/dist/typescript/components/dynamic-import-statement.cjs +0 -26
- package/dist/typescript/components/dynamic-import-statement.d.cts +0 -32
- package/dist/typescript/components/dynamic-import-statement.d.cts.map +0 -1
- package/dist/typescript/components/dynamic-import-statement.d.mts +0 -32
- package/dist/typescript/components/dynamic-import-statement.d.mts.map +0 -1
- package/dist/typescript/components/dynamic-import-statement.mjs +0 -25
- package/dist/typescript/components/dynamic-import-statement.mjs.map +0 -1
- package/dist/typescript/components/entry-file.cjs +0 -43
- package/dist/typescript/components/entry-file.d.cts +0 -27
- package/dist/typescript/components/entry-file.d.cts.map +0 -1
- package/dist/typescript/components/entry-file.d.mts +0 -27
- package/dist/typescript/components/entry-file.d.mts.map +0 -1
- package/dist/typescript/components/entry-file.mjs +0 -41
- package/dist/typescript/components/entry-file.mjs.map +0 -1
- package/dist/typescript/components/index.cjs +0 -64
- package/dist/typescript/components/index.d.cts +0 -14
- package/dist/typescript/components/index.d.mts +0 -14
- package/dist/typescript/components/index.mjs +0 -15
- package/dist/typescript/components/interface-declaration.cjs +0 -239
- package/dist/typescript/components/interface-declaration.d.cts +0 -80
- package/dist/typescript/components/interface-declaration.d.cts.map +0 -1
- package/dist/typescript/components/interface-declaration.d.mts +0 -80
- package/dist/typescript/components/interface-declaration.d.mts.map +0 -1
- package/dist/typescript/components/interface-declaration.mjs +0 -235
- package/dist/typescript/components/interface-declaration.mjs.map +0 -1
- package/dist/typescript/components/object-declaration.cjs +0 -139
- package/dist/typescript/components/object-declaration.d.cts +0 -28
- package/dist/typescript/components/object-declaration.d.cts.map +0 -1
- package/dist/typescript/components/object-declaration.d.mts +0 -28
- package/dist/typescript/components/object-declaration.d.mts.map +0 -1
- package/dist/typescript/components/object-declaration.mjs +0 -137
- package/dist/typescript/components/object-declaration.mjs.map +0 -1
- package/dist/typescript/components/property-name.cjs +0 -32
- package/dist/typescript/components/property-name.d.cts +0 -23
- package/dist/typescript/components/property-name.d.cts.map +0 -1
- package/dist/typescript/components/property-name.d.mts +0 -23
- package/dist/typescript/components/property-name.d.mts.map +0 -1
- package/dist/typescript/components/property-name.mjs +0 -31
- package/dist/typescript/components/property-name.mjs.map +0 -1
- package/dist/typescript/components/record-expression.cjs +0 -13
- package/dist/typescript/components/record-expression.d.cts +0 -12
- package/dist/typescript/components/record-expression.d.cts.map +0 -1
- package/dist/typescript/components/record-expression.d.mts +0 -12
- package/dist/typescript/components/record-expression.d.mts.map +0 -1
- package/dist/typescript/components/record-expression.mjs +0 -12
- package/dist/typescript/components/record-expression.mjs.map +0 -1
- package/dist/typescript/components/tsdoc-reflection.cjs +0 -331
- package/dist/typescript/components/tsdoc-reflection.d.cts +0 -42
- package/dist/typescript/components/tsdoc-reflection.d.cts.map +0 -1
- package/dist/typescript/components/tsdoc-reflection.d.mts +0 -42
- package/dist/typescript/components/tsdoc-reflection.d.mts.map +0 -1
- package/dist/typescript/components/tsdoc-reflection.mjs +0 -325
- package/dist/typescript/components/tsdoc-reflection.mjs.map +0 -1
- package/dist/typescript/components/tsdoc.cjs +0 -497
- package/dist/typescript/components/tsdoc.d.cts +0 -161
- package/dist/typescript/components/tsdoc.d.cts.map +0 -1
- package/dist/typescript/components/tsdoc.d.mts +0 -161
- package/dist/typescript/components/tsdoc.d.mts.map +0 -1
- package/dist/typescript/components/tsdoc.mjs +0 -476
- package/dist/typescript/components/tsdoc.mjs.map +0 -1
- package/dist/typescript/components/type-declaration.cjs +0 -39
- package/dist/typescript/components/type-declaration.d.cts +0 -17
- package/dist/typescript/components/type-declaration.d.cts.map +0 -1
- package/dist/typescript/components/type-declaration.d.mts +0 -17
- package/dist/typescript/components/type-declaration.d.mts.map +0 -1
- package/dist/typescript/components/type-declaration.mjs +0 -38
- package/dist/typescript/components/type-declaration.mjs.map +0 -1
- package/dist/typescript/components/type-parameters.cjs +0 -83
- package/dist/typescript/components/type-parameters.d.cts +0 -23
- package/dist/typescript/components/type-parameters.d.cts.map +0 -1
- package/dist/typescript/components/type-parameters.d.mts +0 -23
- package/dist/typescript/components/type-parameters.d.mts.map +0 -1
- package/dist/typescript/components/type-parameters.mjs +0 -82
- package/dist/typescript/components/type-parameters.mjs.map +0 -1
- package/dist/typescript/components/typescript-file.cjs +0 -221
- package/dist/typescript/components/typescript-file.d.cts +0 -47
- package/dist/typescript/components/typescript-file.d.cts.map +0 -1
- package/dist/typescript/components/typescript-file.d.mts +0 -47
- package/dist/typescript/components/typescript-file.d.mts.map +0 -1
- package/dist/typescript/components/typescript-file.mjs +0 -218
- package/dist/typescript/components/typescript-file.mjs.map +0 -1
- package/dist/typescript/contexts/index.cjs +0 -4
- package/dist/typescript/contexts/index.d.cts +0 -2
- package/dist/typescript/contexts/index.d.mts +0 -2
- package/dist/typescript/contexts/index.mjs +0 -3
- package/dist/typescript/contexts/lexical-scope.cjs +0 -26
- package/dist/typescript/contexts/lexical-scope.d.cts +0 -14
- package/dist/typescript/contexts/lexical-scope.d.cts.map +0 -1
- package/dist/typescript/contexts/lexical-scope.d.mts +0 -14
- package/dist/typescript/contexts/lexical-scope.d.mts.map +0 -1
- package/dist/typescript/contexts/lexical-scope.mjs +0 -25
- package/dist/typescript/contexts/lexical-scope.mjs.map +0 -1
- package/dist/typescript/contexts/member-scope.cjs +0 -24
- package/dist/typescript/contexts/member-scope.d.cts +0 -19
- package/dist/typescript/contexts/member-scope.d.cts.map +0 -1
- package/dist/typescript/contexts/member-scope.d.mts +0 -19
- package/dist/typescript/contexts/member-scope.d.mts.map +0 -1
- package/dist/typescript/contexts/member-scope.mjs +0 -23
- package/dist/typescript/contexts/member-scope.mjs.map +0 -1
- package/dist/typescript/helpers/get-call-signature-props.cjs +0 -26
- package/dist/typescript/helpers/get-call-signature-props.d.cts +0 -14
- package/dist/typescript/helpers/get-call-signature-props.d.cts.map +0 -1
- package/dist/typescript/helpers/get-call-signature-props.d.mts +0 -14
- package/dist/typescript/helpers/get-call-signature-props.d.mts.map +0 -1
- package/dist/typescript/helpers/get-call-signature-props.mjs +0 -25
- package/dist/typescript/helpers/get-call-signature-props.mjs.map +0 -1
- package/dist/typescript/helpers/index.cjs +0 -6
- package/dist/typescript/helpers/index.d.cts +0 -3
- package/dist/typescript/helpers/index.d.mts +0 -3
- package/dist/typescript/helpers/index.mjs +0 -4
- package/dist/typescript/helpers/utilities.cjs +0 -15
- package/dist/typescript/helpers/utilities.d.cts +0 -11
- package/dist/typescript/helpers/utilities.d.cts.map +0 -1
- package/dist/typescript/helpers/utilities.d.mts +0 -11
- package/dist/typescript/helpers/utilities.d.mts.map +0 -1
- package/dist/typescript/helpers/utilities.mjs +0 -14
- package/dist/typescript/helpers/utilities.mjs.map +0 -1
- package/dist/typescript/index.cjs +0 -73
- package/dist/typescript/index.d.cts +0 -17
- package/dist/typescript/index.d.mts +0 -17
- package/dist/typescript/index.mjs +0 -21
- package/dist/yaml/components/index.cjs +0 -5
- package/dist/yaml/components/index.d.cts +0 -2
- package/dist/yaml/components/index.d.mts +0 -2
- package/dist/yaml/components/index.mjs +0 -3
- package/dist/yaml/components/yaml-file.cjs +0 -149
- package/dist/yaml/components/yaml-file.d.cts +0 -32
- package/dist/yaml/components/yaml-file.d.cts.map +0 -1
- package/dist/yaml/components/yaml-file.d.mts +0 -32
- package/dist/yaml/components/yaml-file.d.mts.map +0 -1
- package/dist/yaml/components/yaml-file.mjs +0 -147
- package/dist/yaml/components/yaml-file.mjs.map +0 -1
- package/dist/yaml/index.cjs +0 -6
- package/dist/yaml/index.d.cts +0 -2
- package/dist/yaml/index.d.mts +0 -2
- package/dist/yaml/index.mjs +0 -4
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_typescript_helpers_get_call_signature_props = require('./get-call-signature-props.cjs');
|
|
3
|
-
const require_typescript_helpers_utilities = require('./utilities.cjs');
|
|
4
|
-
|
|
5
|
-
exports.getCallSignatureProps = require_typescript_helpers_get_call_signature_props.getCallSignatureProps;
|
|
6
|
-
exports.isValidJSIdentifier = require_typescript_helpers_utilities.isValidJSIdentifier;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
|
|
3
|
-
//#region src/typescript/helpers/utilities.ts
|
|
4
|
-
/**
|
|
5
|
-
* Check if a string is a valid JavaScript identifier.
|
|
6
|
-
*
|
|
7
|
-
* @param identifier - The string to check.
|
|
8
|
-
* @returns `true` if the string is a valid JavaScript identifier, `false` otherwise.
|
|
9
|
-
*/
|
|
10
|
-
function isValidJSIdentifier(identifier) {
|
|
11
|
-
return /^[\p{ID_Start}$_][\p{ID_Continue}$\u200C\u200D]*$/u.test(identifier);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
//#endregion
|
|
15
|
-
exports.isValidJSIdentifier = isValidJSIdentifier;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
//#region src/typescript/helpers/utilities.d.ts
|
|
2
|
-
/**
|
|
3
|
-
* Check if a string is a valid JavaScript identifier.
|
|
4
|
-
*
|
|
5
|
-
* @param identifier - The string to check.
|
|
6
|
-
* @returns `true` if the string is a valid JavaScript identifier, `false` otherwise.
|
|
7
|
-
*/
|
|
8
|
-
declare function isValidJSIdentifier(identifier: string): boolean;
|
|
9
|
-
//#endregion
|
|
10
|
-
export { isValidJSIdentifier };
|
|
11
|
-
//# sourceMappingURL=utilities.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utilities.d.cts","names":[],"sources":["../../../src/typescript/helpers/utilities.ts"],"mappings":";;AAwBA;;;;;iBAAgB,mBAAA,CAAoB,UAAA"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
//#region src/typescript/helpers/utilities.d.ts
|
|
2
|
-
/**
|
|
3
|
-
* Check if a string is a valid JavaScript identifier.
|
|
4
|
-
*
|
|
5
|
-
* @param identifier - The string to check.
|
|
6
|
-
* @returns `true` if the string is a valid JavaScript identifier, `false` otherwise.
|
|
7
|
-
*/
|
|
8
|
-
declare function isValidJSIdentifier(identifier: string): boolean;
|
|
9
|
-
//#endregion
|
|
10
|
-
export { isValidJSIdentifier };
|
|
11
|
-
//# sourceMappingURL=utilities.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utilities.d.mts","names":[],"sources":["../../../src/typescript/helpers/utilities.ts"],"mappings":";;AAwBA;;;;;iBAAgB,mBAAA,CAAoB,UAAA"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
//#region src/typescript/helpers/utilities.ts
|
|
2
|
-
/**
|
|
3
|
-
* Check if a string is a valid JavaScript identifier.
|
|
4
|
-
*
|
|
5
|
-
* @param identifier - The string to check.
|
|
6
|
-
* @returns `true` if the string is a valid JavaScript identifier, `false` otherwise.
|
|
7
|
-
*/
|
|
8
|
-
function isValidJSIdentifier(identifier) {
|
|
9
|
-
return /^[\p{ID_Start}$_][\p{ID_Continue}$\u200C\u200D]*$/u.test(identifier);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
//#endregion
|
|
13
|
-
export { isValidJSIdentifier };
|
|
14
|
-
//# sourceMappingURL=utilities.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utilities.mjs","names":[],"sources":["../../../src/typescript/helpers/utilities.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\n/**\n * Check if a string is a valid JavaScript identifier.\n *\n * @param identifier - The string to check.\n * @returns `true` if the string is a valid JavaScript identifier, `false` otherwise.\n */\nexport function isValidJSIdentifier(identifier: string) {\n return /^[\\p{ID_Start}$_][\\p{ID_Continue}$\\u200C\\u200D]*$/u.test(identifier);\n}\n"],"mappings":";;;;;;;AAwBA,SAAgB,oBAAoB,YAAY;AAC9C,QAAO,qDAAqD,KAAK,WAAW"}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_typescript_components_tsdoc = require('./components/tsdoc.cjs');
|
|
3
|
-
const require_typescript_components_typescript_file = require('./components/typescript-file.cjs');
|
|
4
|
-
const require_typescript_components_builtin_file = require('./components/builtin-file.cjs');
|
|
5
|
-
const require_typescript_contexts_lexical_scope = require('./contexts/lexical-scope.cjs');
|
|
6
|
-
require('./contexts/index.cjs');
|
|
7
|
-
const require_typescript_helpers_get_call_signature_props = require('./helpers/get-call-signature-props.cjs');
|
|
8
|
-
const require_typescript_helpers_utilities = require('./helpers/utilities.cjs');
|
|
9
|
-
require('./helpers/index.cjs');
|
|
10
|
-
const require_typescript_components_property_name = require('./components/property-name.cjs');
|
|
11
|
-
const require_typescript_components_type_parameters = require('./components/type-parameters.cjs');
|
|
12
|
-
const require_typescript_components_class_declaration = require('./components/class-declaration.cjs');
|
|
13
|
-
const require_typescript_components_dynamic_import_statement = require('./components/dynamic-import-statement.cjs');
|
|
14
|
-
const require_typescript_components_entry_file = require('./components/entry-file.cjs');
|
|
15
|
-
const require_typescript_components_tsdoc_reflection = require('./components/tsdoc-reflection.cjs');
|
|
16
|
-
const require_typescript_components_interface_declaration = require('./components/interface-declaration.cjs');
|
|
17
|
-
const require_typescript_components_object_declaration = require('./components/object-declaration.cjs');
|
|
18
|
-
const require_typescript_components_record_expression = require('./components/record-expression.cjs');
|
|
19
|
-
const require_typescript_components_type_declaration = require('./components/type-declaration.cjs');
|
|
20
|
-
require('./components/index.cjs');
|
|
21
|
-
|
|
22
|
-
exports.BuiltinFile = require_typescript_components_builtin_file.BuiltinFile;
|
|
23
|
-
exports.ClassDeclaration = require_typescript_components_class_declaration.ClassDeclaration;
|
|
24
|
-
exports.ClassField = require_typescript_components_class_declaration.ClassField;
|
|
25
|
-
exports.ClassMember = require_typescript_components_class_declaration.ClassMember;
|
|
26
|
-
exports.ClassMethod = require_typescript_components_class_declaration.ClassMethod;
|
|
27
|
-
exports.ClassPropertyGet = require_typescript_components_class_declaration.ClassPropertyGet;
|
|
28
|
-
exports.ClassPropertySet = require_typescript_components_class_declaration.ClassPropertySet;
|
|
29
|
-
exports.DynamicImportStatement = require_typescript_components_dynamic_import_statement.DynamicImportStatement;
|
|
30
|
-
exports.EntryFile = require_typescript_components_entry_file.EntryFile;
|
|
31
|
-
exports.InterfaceDeclaration = require_typescript_components_interface_declaration.InterfaceDeclaration;
|
|
32
|
-
exports.InterfaceDeclarationProperty = require_typescript_components_interface_declaration.InterfaceDeclarationProperty;
|
|
33
|
-
exports.InterfaceExpression = require_typescript_components_interface_declaration.InterfaceExpression;
|
|
34
|
-
exports.InterfaceMember = require_typescript_components_interface_declaration.InterfaceMember;
|
|
35
|
-
exports.LexicalScope = require_typescript_contexts_lexical_scope.LexicalScope;
|
|
36
|
-
exports.ObjectDeclaration = require_typescript_components_object_declaration.ObjectDeclaration;
|
|
37
|
-
exports.ObjectDeclarationProperty = require_typescript_components_object_declaration.ObjectDeclarationProperty;
|
|
38
|
-
exports.PropertyName = require_typescript_components_property_name.PropertyName;
|
|
39
|
-
exports.RecordExpression = require_typescript_components_record_expression.RecordExpression;
|
|
40
|
-
exports.TSDoc = require_typescript_components_tsdoc.TSDoc;
|
|
41
|
-
exports.TSDocAlias = require_typescript_components_tsdoc.TSDocAlias;
|
|
42
|
-
exports.TSDocAttributesTags = require_typescript_components_tsdoc.TSDocAttributesTags;
|
|
43
|
-
exports.TSDocContextClass = require_typescript_components_tsdoc_reflection.TSDocContextClass;
|
|
44
|
-
exports.TSDocContextMethod = require_typescript_components_tsdoc_reflection.TSDocContextMethod;
|
|
45
|
-
exports.TSDocContextProperty = require_typescript_components_tsdoc_reflection.TSDocContextProperty;
|
|
46
|
-
exports.TSDocDefaultValue = require_typescript_components_tsdoc.TSDocDefaultValue;
|
|
47
|
-
exports.TSDocDomain = require_typescript_components_tsdoc.TSDocDomain;
|
|
48
|
-
exports.TSDocExample = require_typescript_components_tsdoc.TSDocExample;
|
|
49
|
-
exports.TSDocHidden = require_typescript_components_tsdoc.TSDocHidden;
|
|
50
|
-
exports.TSDocIgnore = require_typescript_components_tsdoc.TSDocIgnore;
|
|
51
|
-
exports.TSDocInternal = require_typescript_components_tsdoc.TSDocInternal;
|
|
52
|
-
exports.TSDocLink = require_typescript_components_tsdoc.TSDocLink;
|
|
53
|
-
exports.TSDocModule = require_typescript_components_tsdoc.TSDocModule;
|
|
54
|
-
exports.TSDocParam = require_typescript_components_tsdoc.TSDocParam;
|
|
55
|
-
exports.TSDocParams = require_typescript_components_tsdoc.TSDocParams;
|
|
56
|
-
exports.TSDocPermission = require_typescript_components_tsdoc.TSDocPermission;
|
|
57
|
-
exports.TSDocReadonly = require_typescript_components_tsdoc.TSDocReadonly;
|
|
58
|
-
exports.TSDocReflectionClass = require_typescript_components_tsdoc_reflection.TSDocReflectionClass;
|
|
59
|
-
exports.TSDocReflectionMethod = require_typescript_components_tsdoc_reflection.TSDocReflectionMethod;
|
|
60
|
-
exports.TSDocReflectionProperty = require_typescript_components_tsdoc_reflection.TSDocReflectionProperty;
|
|
61
|
-
exports.TSDocRemarks = require_typescript_components_tsdoc.TSDocRemarks;
|
|
62
|
-
exports.TSDocReturns = require_typescript_components_tsdoc.TSDocReturns;
|
|
63
|
-
exports.TSDocRuntime = require_typescript_components_tsdoc.TSDocRuntime;
|
|
64
|
-
exports.TSDocTag = require_typescript_components_tsdoc.TSDocTag;
|
|
65
|
-
exports.TSDocThrows = require_typescript_components_tsdoc.TSDocThrows;
|
|
66
|
-
exports.TSDocTitle = require_typescript_components_tsdoc.TSDocTitle;
|
|
67
|
-
exports.TypeDeclaration = require_typescript_components_type_declaration.TypeDeclaration;
|
|
68
|
-
exports.TypeParameters = require_typescript_components_type_parameters.TypeParameters;
|
|
69
|
-
exports.TypescriptFile = require_typescript_components_typescript_file.TypescriptFile;
|
|
70
|
-
exports.TypescriptFileHeader = require_typescript_components_typescript_file.TypescriptFileHeader;
|
|
71
|
-
exports.TypescriptFileHeaderImports = require_typescript_components_typescript_file.TypescriptFileHeaderImports;
|
|
72
|
-
exports.getCallSignatureProps = require_typescript_helpers_get_call_signature_props.getCallSignatureProps;
|
|
73
|
-
exports.isValidJSIdentifier = require_typescript_helpers_utilities.isValidJSIdentifier;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { TSDoc, TSDocAlias, TSDocAttributesTags, TSDocAttributesTagsProps, TSDocDefaultValue, TSDocDefaultValueProps, TSDocDomain, TSDocExample, TSDocExampleProps, TSDocHidden, TSDocIgnore, TSDocInternal, TSDocLink, TSDocModule, TSDocModuleProps, TSDocParam, TSDocParamProps, TSDocParams, TSDocParamsProps, TSDocPermission, TSDocProps, TSDocReadonly, TSDocRemarks, TSDocReturns, TSDocRuntime, TSDocTag, TSDocTagProps, TSDocThrows, TSDocTitle } from "./components/tsdoc.cjs";
|
|
2
|
-
import { TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports, TypescriptFileHeaderImportsProps, TypescriptFileHeaderProps, TypescriptFileProps } from "./components/typescript-file.cjs";
|
|
3
|
-
import { BuiltinFile, BuiltinFileProps } from "./components/builtin-file.cjs";
|
|
4
|
-
import { TypeParameters, TypeParametersProps } from "./components/type-parameters.cjs";
|
|
5
|
-
import { ClassDeclaration, ClassDeclarationProps, ClassField, ClassFieldProps, ClassMember, ClassMemberProps, ClassMethod, ClassMethodProps, ClassPropertyGet, ClassPropertyProps, ClassPropertySet } from "./components/class-declaration.cjs";
|
|
6
|
-
import { DynamicImportStatement, DynamicImportStatementProps } from "./components/dynamic-import-statement.cjs";
|
|
7
|
-
import { EntryFile, EntryFileProps } from "./components/entry-file.cjs";
|
|
8
|
-
import { InterfaceDeclaration, InterfaceDeclarationProperty, InterfaceDeclarationPropertyProps, InterfaceDeclarationProps, InterfaceExpression, InterfaceExpressionProps, InterfaceIndexerMemberProps, InterfaceMember, InterfaceMemberProps, InterfaceMemberPropsBase, InterfacePropertyMemberProps } from "./components/interface-declaration.cjs";
|
|
9
|
-
import { ComputedRef, ObjectDeclaration, ObjectDeclarationProperty, ObjectDeclarationPropertyProps, ObjectDeclarationProps } from "./components/object-declaration.cjs";
|
|
10
|
-
import { PropertyName, PropertyNameProps } from "./components/property-name.cjs";
|
|
11
|
-
import { RecordExpression, RecordExpressionProps } from "./components/record-expression.cjs";
|
|
12
|
-
import { TSDocContextClass, TSDocContextMethod, TSDocContextProperty, TSDocReflectionClass, TSDocReflectionClassProps, TSDocReflectionMethod, TSDocReflectionMethodProps, TSDocReflectionProperty, TSDocReflectionPropertyProps } from "./components/tsdoc-reflection.cjs";
|
|
13
|
-
import { TypeDeclaration, TypeDeclarationProps } from "./components/type-declaration.cjs";
|
|
14
|
-
import { LexicalScope, LexicalScopeProps, LexicalScopePropsWithScopeInfo, LexicalScopePropsWithScopeValue } from "./contexts/lexical-scope.cjs";
|
|
15
|
-
import { getCallSignatureProps } from "./helpers/get-call-signature-props.cjs";
|
|
16
|
-
import { isValidJSIdentifier } from "./helpers/utilities.cjs";
|
|
17
|
-
export { BuiltinFile, BuiltinFileProps, ClassDeclaration, ClassDeclarationProps, ClassField, ClassFieldProps, ClassMember, ClassMemberProps, ClassMethod, ClassMethodProps, ClassPropertyGet, ClassPropertyProps, ClassPropertySet, ComputedRef, DynamicImportStatement, DynamicImportStatementProps, EntryFile, EntryFileProps, InterfaceDeclaration, InterfaceDeclarationProperty, InterfaceDeclarationPropertyProps, InterfaceDeclarationProps, InterfaceExpression, InterfaceExpressionProps, InterfaceIndexerMemberProps, InterfaceMember, InterfaceMemberProps, InterfaceMemberPropsBase, InterfacePropertyMemberProps, LexicalScope, LexicalScopeProps, LexicalScopePropsWithScopeInfo, LexicalScopePropsWithScopeValue, ObjectDeclaration, ObjectDeclarationProperty, ObjectDeclarationPropertyProps, ObjectDeclarationProps, PropertyName, PropertyNameProps, RecordExpression, RecordExpressionProps, TSDoc, TSDocAlias, TSDocAttributesTags, TSDocAttributesTagsProps, TSDocContextClass, TSDocContextMethod, TSDocContextProperty, TSDocDefaultValue, TSDocDefaultValueProps, TSDocDomain, TSDocExample, TSDocExampleProps, TSDocHidden, TSDocIgnore, TSDocInternal, TSDocLink, TSDocModule, TSDocModuleProps, TSDocParam, TSDocParamProps, TSDocParams, TSDocParamsProps, TSDocPermission, TSDocProps, TSDocReadonly, TSDocReflectionClass, TSDocReflectionClassProps, TSDocReflectionMethod, TSDocReflectionMethodProps, TSDocReflectionProperty, TSDocReflectionPropertyProps, TSDocRemarks, TSDocReturns, TSDocRuntime, TSDocTag, TSDocTagProps, TSDocThrows, TSDocTitle, TypeDeclaration, TypeDeclarationProps, TypeParameters, TypeParametersProps, TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports, TypescriptFileHeaderImportsProps, TypescriptFileHeaderProps, TypescriptFileProps, getCallSignatureProps, isValidJSIdentifier };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { TSDoc, TSDocAlias, TSDocAttributesTags, TSDocAttributesTagsProps, TSDocDefaultValue, TSDocDefaultValueProps, TSDocDomain, TSDocExample, TSDocExampleProps, TSDocHidden, TSDocIgnore, TSDocInternal, TSDocLink, TSDocModule, TSDocModuleProps, TSDocParam, TSDocParamProps, TSDocParams, TSDocParamsProps, TSDocPermission, TSDocProps, TSDocReadonly, TSDocRemarks, TSDocReturns, TSDocRuntime, TSDocTag, TSDocTagProps, TSDocThrows, TSDocTitle } from "./components/tsdoc.mjs";
|
|
2
|
-
import { TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports, TypescriptFileHeaderImportsProps, TypescriptFileHeaderProps, TypescriptFileProps } from "./components/typescript-file.mjs";
|
|
3
|
-
import { BuiltinFile, BuiltinFileProps } from "./components/builtin-file.mjs";
|
|
4
|
-
import { TypeParameters, TypeParametersProps } from "./components/type-parameters.mjs";
|
|
5
|
-
import { ClassDeclaration, ClassDeclarationProps, ClassField, ClassFieldProps, ClassMember, ClassMemberProps, ClassMethod, ClassMethodProps, ClassPropertyGet, ClassPropertyProps, ClassPropertySet } from "./components/class-declaration.mjs";
|
|
6
|
-
import { DynamicImportStatement, DynamicImportStatementProps } from "./components/dynamic-import-statement.mjs";
|
|
7
|
-
import { EntryFile, EntryFileProps } from "./components/entry-file.mjs";
|
|
8
|
-
import { InterfaceDeclaration, InterfaceDeclarationProperty, InterfaceDeclarationPropertyProps, InterfaceDeclarationProps, InterfaceExpression, InterfaceExpressionProps, InterfaceIndexerMemberProps, InterfaceMember, InterfaceMemberProps, InterfaceMemberPropsBase, InterfacePropertyMemberProps } from "./components/interface-declaration.mjs";
|
|
9
|
-
import { ComputedRef, ObjectDeclaration, ObjectDeclarationProperty, ObjectDeclarationPropertyProps, ObjectDeclarationProps } from "./components/object-declaration.mjs";
|
|
10
|
-
import { PropertyName, PropertyNameProps } from "./components/property-name.mjs";
|
|
11
|
-
import { RecordExpression, RecordExpressionProps } from "./components/record-expression.mjs";
|
|
12
|
-
import { TSDocContextClass, TSDocContextMethod, TSDocContextProperty, TSDocReflectionClass, TSDocReflectionClassProps, TSDocReflectionMethod, TSDocReflectionMethodProps, TSDocReflectionProperty, TSDocReflectionPropertyProps } from "./components/tsdoc-reflection.mjs";
|
|
13
|
-
import { TypeDeclaration, TypeDeclarationProps } from "./components/type-declaration.mjs";
|
|
14
|
-
import { LexicalScope, LexicalScopeProps, LexicalScopePropsWithScopeInfo, LexicalScopePropsWithScopeValue } from "./contexts/lexical-scope.mjs";
|
|
15
|
-
import { getCallSignatureProps } from "./helpers/get-call-signature-props.mjs";
|
|
16
|
-
import { isValidJSIdentifier } from "./helpers/utilities.mjs";
|
|
17
|
-
export { BuiltinFile, BuiltinFileProps, ClassDeclaration, ClassDeclarationProps, ClassField, ClassFieldProps, ClassMember, ClassMemberProps, ClassMethod, ClassMethodProps, ClassPropertyGet, ClassPropertyProps, ClassPropertySet, ComputedRef, DynamicImportStatement, DynamicImportStatementProps, EntryFile, EntryFileProps, InterfaceDeclaration, InterfaceDeclarationProperty, InterfaceDeclarationPropertyProps, InterfaceDeclarationProps, InterfaceExpression, InterfaceExpressionProps, InterfaceIndexerMemberProps, InterfaceMember, InterfaceMemberProps, InterfaceMemberPropsBase, InterfacePropertyMemberProps, LexicalScope, LexicalScopeProps, LexicalScopePropsWithScopeInfo, LexicalScopePropsWithScopeValue, ObjectDeclaration, ObjectDeclarationProperty, ObjectDeclarationPropertyProps, ObjectDeclarationProps, PropertyName, PropertyNameProps, RecordExpression, RecordExpressionProps, TSDoc, TSDocAlias, TSDocAttributesTags, TSDocAttributesTagsProps, TSDocContextClass, TSDocContextMethod, TSDocContextProperty, TSDocDefaultValue, TSDocDefaultValueProps, TSDocDomain, TSDocExample, TSDocExampleProps, TSDocHidden, TSDocIgnore, TSDocInternal, TSDocLink, TSDocModule, TSDocModuleProps, TSDocParam, TSDocParamProps, TSDocParams, TSDocParamsProps, TSDocPermission, TSDocProps, TSDocReadonly, TSDocReflectionClass, TSDocReflectionClassProps, TSDocReflectionMethod, TSDocReflectionMethodProps, TSDocReflectionProperty, TSDocReflectionPropertyProps, TSDocRemarks, TSDocReturns, TSDocRuntime, TSDocTag, TSDocTagProps, TSDocThrows, TSDocTitle, TypeDeclaration, TypeDeclarationProps, TypeParameters, TypeParametersProps, TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports, TypescriptFileHeaderImportsProps, TypescriptFileHeaderProps, TypescriptFileProps, getCallSignatureProps, isValidJSIdentifier };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { TSDoc, TSDocAlias, TSDocAttributesTags, TSDocDefaultValue, TSDocDomain, TSDocExample, TSDocHidden, TSDocIgnore, TSDocInternal, TSDocLink, TSDocModule, TSDocParam, TSDocParams, TSDocPermission, TSDocReadonly, TSDocRemarks, TSDocReturns, TSDocRuntime, TSDocTag, TSDocThrows, TSDocTitle } from "./components/tsdoc.mjs";
|
|
2
|
-
import { TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports } from "./components/typescript-file.mjs";
|
|
3
|
-
import { BuiltinFile } from "./components/builtin-file.mjs";
|
|
4
|
-
import { LexicalScope } from "./contexts/lexical-scope.mjs";
|
|
5
|
-
import "./contexts/index.mjs";
|
|
6
|
-
import { getCallSignatureProps } from "./helpers/get-call-signature-props.mjs";
|
|
7
|
-
import { isValidJSIdentifier } from "./helpers/utilities.mjs";
|
|
8
|
-
import "./helpers/index.mjs";
|
|
9
|
-
import { PropertyName } from "./components/property-name.mjs";
|
|
10
|
-
import { TypeParameters } from "./components/type-parameters.mjs";
|
|
11
|
-
import { ClassDeclaration, ClassField, ClassMember, ClassMethod, ClassPropertyGet, ClassPropertySet } from "./components/class-declaration.mjs";
|
|
12
|
-
import { DynamicImportStatement } from "./components/dynamic-import-statement.mjs";
|
|
13
|
-
import { EntryFile } from "./components/entry-file.mjs";
|
|
14
|
-
import { TSDocContextClass, TSDocContextMethod, TSDocContextProperty, TSDocReflectionClass, TSDocReflectionMethod, TSDocReflectionProperty } from "./components/tsdoc-reflection.mjs";
|
|
15
|
-
import { InterfaceDeclaration, InterfaceDeclarationProperty, InterfaceExpression, InterfaceMember } from "./components/interface-declaration.mjs";
|
|
16
|
-
import { ObjectDeclaration, ObjectDeclarationProperty } from "./components/object-declaration.mjs";
|
|
17
|
-
import { RecordExpression } from "./components/record-expression.mjs";
|
|
18
|
-
import { TypeDeclaration } from "./components/type-declaration.mjs";
|
|
19
|
-
import "./components/index.mjs";
|
|
20
|
-
|
|
21
|
-
export { BuiltinFile, ClassDeclaration, ClassField, ClassMember, ClassMethod, ClassPropertyGet, ClassPropertySet, DynamicImportStatement, EntryFile, InterfaceDeclaration, InterfaceDeclarationProperty, InterfaceExpression, InterfaceMember, LexicalScope, ObjectDeclaration, ObjectDeclarationProperty, PropertyName, RecordExpression, TSDoc, TSDocAlias, TSDocAttributesTags, TSDocContextClass, TSDocContextMethod, TSDocContextProperty, TSDocDefaultValue, TSDocDomain, TSDocExample, TSDocHidden, TSDocIgnore, TSDocInternal, TSDocLink, TSDocModule, TSDocParam, TSDocParams, TSDocPermission, TSDocReadonly, TSDocReflectionClass, TSDocReflectionMethod, TSDocReflectionProperty, TSDocRemarks, TSDocReturns, TSDocRuntime, TSDocTag, TSDocThrows, TSDocTitle, TypeDeclaration, TypeParameters, TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports, getCallSignatureProps, isValidJSIdentifier };
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_yaml_components_yaml_file = require('./yaml-file.cjs');
|
|
3
|
-
|
|
4
|
-
exports.YamlFile = require_yaml_components_yaml_file.YamlFile;
|
|
5
|
-
exports.YamlFileHeader = require_yaml_components_yaml_file.YamlFileHeader;
|
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_runtime = require('../../_virtual/_rolldown/runtime.cjs');
|
|
3
|
-
const require_core_contexts_context = require('../../core/contexts/context.cjs');
|
|
4
|
-
const require_core_components_source_file = require('../../core/components/source-file.cjs');
|
|
5
|
-
const require_core_components_single_line_comment = require('../../core/components/single-line-comment.cjs');
|
|
6
|
-
let _alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
7
|
-
let _alloy_js_core = require("@alloy-js/core");
|
|
8
|
-
let _stryke_string_format_title_case = require("@stryke/string-format/title-case");
|
|
9
|
-
let powerlines_utils = require("powerlines/utils");
|
|
10
|
-
let _stryke_type_checks = require("@stryke/type-checks");
|
|
11
|
-
|
|
12
|
-
//#region src/yaml/components/yaml-file.tsx
|
|
13
|
-
function YamlFileDataItem({ key, value }) {
|
|
14
|
-
return [
|
|
15
|
-
(0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
|
|
16
|
-
get when() {
|
|
17
|
-
return Boolean(key);
|
|
18
|
-
},
|
|
19
|
-
children: _alloy_js_core.code`${key}:`
|
|
20
|
-
}),
|
|
21
|
-
(0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
|
|
22
|
-
when: typeof value === "string" || typeof value === "number" || typeof value === "boolean",
|
|
23
|
-
get children() {
|
|
24
|
-
return _alloy_js_core.code` ${String(value)}`;
|
|
25
|
-
}
|
|
26
|
-
}),
|
|
27
|
-
(0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
|
|
28
|
-
get when() {
|
|
29
|
-
return (0, _alloy_js_core_jsx_runtime.memo)(() => !!(0, _stryke_type_checks.isSetObject)(value))() && !Array.isArray(value);
|
|
30
|
-
},
|
|
31
|
-
get children() {
|
|
32
|
-
return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.For, {
|
|
33
|
-
get each() {
|
|
34
|
-
return Object.entries(value);
|
|
35
|
-
},
|
|
36
|
-
children: ([nestedKey, nestedValue]) => (0, _alloy_js_core_jsx_runtime.createComponent)(YamlFileDataItem, {
|
|
37
|
-
key: nestedKey,
|
|
38
|
-
value: nestedValue
|
|
39
|
-
})
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
}),
|
|
43
|
-
(0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
|
|
44
|
-
get when() {
|
|
45
|
-
return Array.isArray(value);
|
|
46
|
-
},
|
|
47
|
-
get children() {
|
|
48
|
-
return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.For, {
|
|
49
|
-
each: value,
|
|
50
|
-
children: (item) => (0, _alloy_js_core_jsx_runtime.createComponent)(YamlFileDataItem, { value: item })
|
|
51
|
-
});
|
|
52
|
-
}
|
|
53
|
-
})
|
|
54
|
-
];
|
|
55
|
-
}
|
|
56
|
-
function YamlFileData({ data }) {
|
|
57
|
-
return [(0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
|
|
58
|
-
get when() {
|
|
59
|
-
return Boolean(data);
|
|
60
|
-
},
|
|
61
|
-
get children() {
|
|
62
|
-
return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.For, {
|
|
63
|
-
get each() {
|
|
64
|
-
return Object.entries(data ?? {});
|
|
65
|
-
},
|
|
66
|
-
children: ([key, value]) => (0, _alloy_js_core_jsx_runtime.createComponent)(YamlFileDataItem, {
|
|
67
|
-
key,
|
|
68
|
-
value
|
|
69
|
-
})
|
|
70
|
-
});
|
|
71
|
-
}
|
|
72
|
-
})];
|
|
73
|
-
}
|
|
74
|
-
/**
|
|
75
|
-
* A base component representing a Powerlines generated YAML source file.
|
|
76
|
-
*
|
|
77
|
-
* @remarks
|
|
78
|
-
* The file content can be provided either through the `data` prop, which accepts a nested object representing the YAML structure, or through the `children` prop, which allows for custom YAML content to be rendered. The `header` prop can be used to provide custom header content for the YAML file, which is rendered above the generated file header warning and generation comment.
|
|
79
|
-
*
|
|
80
|
-
* @param props - The properties for the source file.
|
|
81
|
-
* @returns The rendered source file component.
|
|
82
|
-
*/
|
|
83
|
-
function YamlFile(props) {
|
|
84
|
-
const [{ children, path, data, header }, rest] = (0, _alloy_js_core.splitProps)(props, [
|
|
85
|
-
"children",
|
|
86
|
-
"path",
|
|
87
|
-
"data",
|
|
88
|
-
"header"
|
|
89
|
-
]);
|
|
90
|
-
return (0, _alloy_js_core_jsx_runtime.createComponent)(require_core_components_source_file.SourceFile, (0, _alloy_js_core_jsx_runtime.mergeProps)(rest, {
|
|
91
|
-
path,
|
|
92
|
-
get header() {
|
|
93
|
-
return (0, _alloy_js_core_jsx_runtime.createComponent)(YamlFileHeader, { children: header });
|
|
94
|
-
},
|
|
95
|
-
filetype: "yaml",
|
|
96
|
-
get children() {
|
|
97
|
-
return [(0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
|
|
98
|
-
get when() {
|
|
99
|
-
return Boolean(data);
|
|
100
|
-
},
|
|
101
|
-
get children() {
|
|
102
|
-
return (0, _alloy_js_core_jsx_runtime.createComponent)(YamlFileData, { data });
|
|
103
|
-
}
|
|
104
|
-
}), (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
|
|
105
|
-
get when() {
|
|
106
|
-
return Boolean(children);
|
|
107
|
-
},
|
|
108
|
-
get children() {
|
|
109
|
-
return [children, (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})];
|
|
110
|
-
}
|
|
111
|
-
})];
|
|
112
|
-
}
|
|
113
|
-
}));
|
|
114
|
-
}
|
|
115
|
-
/**
|
|
116
|
-
* Renders the header for a Powerlines YAML source file.
|
|
117
|
-
*
|
|
118
|
-
* @param props - The properties for the source file header.
|
|
119
|
-
* @returns The rendered source file header.
|
|
120
|
-
*/
|
|
121
|
-
function YamlFileHeader(props) {
|
|
122
|
-
const { children } = props;
|
|
123
|
-
const context = require_core_contexts_context.usePowerlinesSafe();
|
|
124
|
-
return [
|
|
125
|
-
(0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
|
|
126
|
-
get when() {
|
|
127
|
-
return Boolean(children);
|
|
128
|
-
},
|
|
129
|
-
get children() {
|
|
130
|
-
return [children, (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})];
|
|
131
|
-
}
|
|
132
|
-
}),
|
|
133
|
-
(0, _alloy_js_core_jsx_runtime.createComponent)(require_core_components_single_line_comment.SingleLineComment, { get children() {
|
|
134
|
-
return `Generated by ${(0, _stryke_string_format_title_case.titleCase)(context?.config?.framework) || "Powerlines"}`;
|
|
135
|
-
} }),
|
|
136
|
-
(0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
|
|
137
|
-
(0, _alloy_js_core_jsx_runtime.createComponent)(require_core_components_single_line_comment.SingleLineComment, {
|
|
138
|
-
variant: "yaml",
|
|
139
|
-
get children() {
|
|
140
|
-
return (0, powerlines_utils.getFileHeaderWarning)(context);
|
|
141
|
-
}
|
|
142
|
-
}),
|
|
143
|
-
(0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})
|
|
144
|
-
];
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
//#endregion
|
|
148
|
-
exports.YamlFile = YamlFile;
|
|
149
|
-
exports.YamlFileHeader = YamlFileHeader;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { ComponentProps, SourceFileHeaderProps } from "../../types/components.cjs";
|
|
2
|
-
import { SourceFileProps as SourceFileProps$1 } from "../../core/components/source-file.cjs";
|
|
3
|
-
import { Children } from "@alloy-js/core";
|
|
4
|
-
|
|
5
|
-
//#region src/yaml/components/yaml-file.d.ts
|
|
6
|
-
interface YamlData {
|
|
7
|
-
[key: string]: string | number | boolean | YamlData | YamlData[];
|
|
8
|
-
}
|
|
9
|
-
type YamlFileProps = Omit<SourceFileProps$1, "filetype"> & ComponentProps & {
|
|
10
|
-
header?: Children;
|
|
11
|
-
data?: YamlData;
|
|
12
|
-
};
|
|
13
|
-
/**
|
|
14
|
-
* A base component representing a Powerlines generated YAML source file.
|
|
15
|
-
*
|
|
16
|
-
* @remarks
|
|
17
|
-
* The file content can be provided either through the `data` prop, which accepts a nested object representing the YAML structure, or through the `children` prop, which allows for custom YAML content to be rendered. The `header` prop can be used to provide custom header content for the YAML file, which is rendered above the generated file header warning and generation comment.
|
|
18
|
-
*
|
|
19
|
-
* @param props - The properties for the source file.
|
|
20
|
-
* @returns The rendered source file component.
|
|
21
|
-
*/
|
|
22
|
-
declare function YamlFile(props: YamlFileProps): Children;
|
|
23
|
-
/**
|
|
24
|
-
* Renders the header for a Powerlines YAML source file.
|
|
25
|
-
*
|
|
26
|
-
* @param props - The properties for the source file header.
|
|
27
|
-
* @returns The rendered source file header.
|
|
28
|
-
*/
|
|
29
|
-
declare function YamlFileHeader(props: SourceFileHeaderProps): Children;
|
|
30
|
-
//#endregion
|
|
31
|
-
export { YamlData, YamlFile, YamlFileHeader, YamlFileProps };
|
|
32
|
-
//# sourceMappingURL=yaml-file.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"yaml-file.d.cts","names":[],"sources":["../../../src/yaml/components/yaml-file.tsx"],"mappings":";;;;;UA4BiB,QAAA;EAAA,CACd,GAAA,uCAA0C,QAAA,GAAW,QAAA;AAAA;AAAA,KAoD5C,aAAA,GAAgB,IAAA,CAAK,iBAAA,gBAC/B,cAAA;EACE,MAAA,GAAS,QAAA;EACT,IAAA,GAAO,QAAA;AAAA;;;;;AAHX;;;;;iBAegB,QAAA,CAAS,KAAA,EAAO,aAAA,GAAa,QAAA;;;;;;;iBAiC7B,cAAA,CAAe,KAAA,EAAO,qBAAA,GAAqB,QAAA"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { ComponentProps, SourceFileHeaderProps } from "../../types/components.mjs";
|
|
2
|
-
import { SourceFileProps as SourceFileProps$1 } from "../../core/components/source-file.mjs";
|
|
3
|
-
import { Children } from "@alloy-js/core";
|
|
4
|
-
|
|
5
|
-
//#region src/yaml/components/yaml-file.d.ts
|
|
6
|
-
interface YamlData {
|
|
7
|
-
[key: string]: string | number | boolean | YamlData | YamlData[];
|
|
8
|
-
}
|
|
9
|
-
type YamlFileProps = Omit<SourceFileProps$1, "filetype"> & ComponentProps & {
|
|
10
|
-
header?: Children;
|
|
11
|
-
data?: YamlData;
|
|
12
|
-
};
|
|
13
|
-
/**
|
|
14
|
-
* A base component representing a Powerlines generated YAML source file.
|
|
15
|
-
*
|
|
16
|
-
* @remarks
|
|
17
|
-
* The file content can be provided either through the `data` prop, which accepts a nested object representing the YAML structure, or through the `children` prop, which allows for custom YAML content to be rendered. The `header` prop can be used to provide custom header content for the YAML file, which is rendered above the generated file header warning and generation comment.
|
|
18
|
-
*
|
|
19
|
-
* @param props - The properties for the source file.
|
|
20
|
-
* @returns The rendered source file component.
|
|
21
|
-
*/
|
|
22
|
-
declare function YamlFile(props: YamlFileProps): Children;
|
|
23
|
-
/**
|
|
24
|
-
* Renders the header for a Powerlines YAML source file.
|
|
25
|
-
*
|
|
26
|
-
* @param props - The properties for the source file header.
|
|
27
|
-
* @returns The rendered source file header.
|
|
28
|
-
*/
|
|
29
|
-
declare function YamlFileHeader(props: SourceFileHeaderProps): Children;
|
|
30
|
-
//#endregion
|
|
31
|
-
export { YamlData, YamlFile, YamlFileHeader, YamlFileProps };
|
|
32
|
-
//# sourceMappingURL=yaml-file.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"yaml-file.d.mts","names":[],"sources":["../../../src/yaml/components/yaml-file.tsx"],"mappings":";;;;;UA4BiB,QAAA;EAAA,CACd,GAAA,uCAA0C,QAAA,GAAW,QAAA;AAAA;AAAA,KAoD5C,aAAA,GAAgB,IAAA,CAAK,iBAAA,gBAC/B,cAAA;EACE,MAAA,GAAS,QAAA;EACT,IAAA,GAAO,QAAA;AAAA;;;;;AAHX;;;;;iBAegB,QAAA,CAAS,KAAA,EAAO,aAAA,GAAa,QAAA;;;;;;;iBAiC7B,cAAA,CAAe,KAAA,EAAO,qBAAA,GAAqB,QAAA"}
|
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
import { usePowerlinesSafe } from "../../core/contexts/context.mjs";
|
|
2
|
-
import { SourceFile } from "../../core/components/source-file.mjs";
|
|
3
|
-
import { SingleLineComment } from "../../core/components/single-line-comment.mjs";
|
|
4
|
-
import { createComponent, createIntrinsic, memo, mergeProps } from "@alloy-js/core/jsx-runtime";
|
|
5
|
-
import { For, Show, code, splitProps } from "@alloy-js/core";
|
|
6
|
-
import { titleCase } from "@stryke/string-format/title-case";
|
|
7
|
-
import { getFileHeaderWarning } from "powerlines/utils";
|
|
8
|
-
import { isSetObject } from "@stryke/type-checks";
|
|
9
|
-
|
|
10
|
-
//#region src/yaml/components/yaml-file.tsx
|
|
11
|
-
function YamlFileDataItem({ key, value }) {
|
|
12
|
-
return [
|
|
13
|
-
createComponent(Show, {
|
|
14
|
-
get when() {
|
|
15
|
-
return Boolean(key);
|
|
16
|
-
},
|
|
17
|
-
children: code`${key}:`
|
|
18
|
-
}),
|
|
19
|
-
createComponent(Show, {
|
|
20
|
-
when: typeof value === "string" || typeof value === "number" || typeof value === "boolean",
|
|
21
|
-
get children() {
|
|
22
|
-
return code` ${String(value)}`;
|
|
23
|
-
}
|
|
24
|
-
}),
|
|
25
|
-
createComponent(Show, {
|
|
26
|
-
get when() {
|
|
27
|
-
return memo(() => !!isSetObject(value))() && !Array.isArray(value);
|
|
28
|
-
},
|
|
29
|
-
get children() {
|
|
30
|
-
return createComponent(For, {
|
|
31
|
-
get each() {
|
|
32
|
-
return Object.entries(value);
|
|
33
|
-
},
|
|
34
|
-
children: ([nestedKey, nestedValue]) => createComponent(YamlFileDataItem, {
|
|
35
|
-
key: nestedKey,
|
|
36
|
-
value: nestedValue
|
|
37
|
-
})
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
}),
|
|
41
|
-
createComponent(Show, {
|
|
42
|
-
get when() {
|
|
43
|
-
return Array.isArray(value);
|
|
44
|
-
},
|
|
45
|
-
get children() {
|
|
46
|
-
return createComponent(For, {
|
|
47
|
-
each: value,
|
|
48
|
-
children: (item) => createComponent(YamlFileDataItem, { value: item })
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
})
|
|
52
|
-
];
|
|
53
|
-
}
|
|
54
|
-
function YamlFileData({ data }) {
|
|
55
|
-
return [createComponent(Show, {
|
|
56
|
-
get when() {
|
|
57
|
-
return Boolean(data);
|
|
58
|
-
},
|
|
59
|
-
get children() {
|
|
60
|
-
return createComponent(For, {
|
|
61
|
-
get each() {
|
|
62
|
-
return Object.entries(data ?? {});
|
|
63
|
-
},
|
|
64
|
-
children: ([key, value]) => createComponent(YamlFileDataItem, {
|
|
65
|
-
key,
|
|
66
|
-
value
|
|
67
|
-
})
|
|
68
|
-
});
|
|
69
|
-
}
|
|
70
|
-
})];
|
|
71
|
-
}
|
|
72
|
-
/**
|
|
73
|
-
* A base component representing a Powerlines generated YAML source file.
|
|
74
|
-
*
|
|
75
|
-
* @remarks
|
|
76
|
-
* The file content can be provided either through the `data` prop, which accepts a nested object representing the YAML structure, or through the `children` prop, which allows for custom YAML content to be rendered. The `header` prop can be used to provide custom header content for the YAML file, which is rendered above the generated file header warning and generation comment.
|
|
77
|
-
*
|
|
78
|
-
* @param props - The properties for the source file.
|
|
79
|
-
* @returns The rendered source file component.
|
|
80
|
-
*/
|
|
81
|
-
function YamlFile(props) {
|
|
82
|
-
const [{ children, path, data, header }, rest] = splitProps(props, [
|
|
83
|
-
"children",
|
|
84
|
-
"path",
|
|
85
|
-
"data",
|
|
86
|
-
"header"
|
|
87
|
-
]);
|
|
88
|
-
return createComponent(SourceFile, mergeProps(rest, {
|
|
89
|
-
path,
|
|
90
|
-
get header() {
|
|
91
|
-
return createComponent(YamlFileHeader, { children: header });
|
|
92
|
-
},
|
|
93
|
-
filetype: "yaml",
|
|
94
|
-
get children() {
|
|
95
|
-
return [createComponent(Show, {
|
|
96
|
-
get when() {
|
|
97
|
-
return Boolean(data);
|
|
98
|
-
},
|
|
99
|
-
get children() {
|
|
100
|
-
return createComponent(YamlFileData, { data });
|
|
101
|
-
}
|
|
102
|
-
}), createComponent(Show, {
|
|
103
|
-
get when() {
|
|
104
|
-
return Boolean(children);
|
|
105
|
-
},
|
|
106
|
-
get children() {
|
|
107
|
-
return [children, createIntrinsic("hbr", {})];
|
|
108
|
-
}
|
|
109
|
-
})];
|
|
110
|
-
}
|
|
111
|
-
}));
|
|
112
|
-
}
|
|
113
|
-
/**
|
|
114
|
-
* Renders the header for a Powerlines YAML source file.
|
|
115
|
-
*
|
|
116
|
-
* @param props - The properties for the source file header.
|
|
117
|
-
* @returns The rendered source file header.
|
|
118
|
-
*/
|
|
119
|
-
function YamlFileHeader(props) {
|
|
120
|
-
const { children } = props;
|
|
121
|
-
const context = usePowerlinesSafe();
|
|
122
|
-
return [
|
|
123
|
-
createComponent(Show, {
|
|
124
|
-
get when() {
|
|
125
|
-
return Boolean(children);
|
|
126
|
-
},
|
|
127
|
-
get children() {
|
|
128
|
-
return [children, createIntrinsic("hbr", {})];
|
|
129
|
-
}
|
|
130
|
-
}),
|
|
131
|
-
createComponent(SingleLineComment, { get children() {
|
|
132
|
-
return `Generated by ${titleCase(context?.config?.framework) || "Powerlines"}`;
|
|
133
|
-
} }),
|
|
134
|
-
createIntrinsic("hbr", {}),
|
|
135
|
-
createComponent(SingleLineComment, {
|
|
136
|
-
variant: "yaml",
|
|
137
|
-
get children() {
|
|
138
|
-
return getFileHeaderWarning(context);
|
|
139
|
-
}
|
|
140
|
-
}),
|
|
141
|
-
createIntrinsic("hbr", {})
|
|
142
|
-
];
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
//#endregion
|
|
146
|
-
export { YamlFile, YamlFileHeader };
|
|
147
|
-
//# sourceMappingURL=yaml-file.mjs.map
|