@powerlines/plugin-content-collections 0.1.331 → 0.1.333
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/helpers/create-emitter.mjs +1 -2
- package/dist/helpers/create-writer.mjs +1 -2
- package/dist/index.mjs +1 -2
- package/dist/node_modules/.pnpm/@content-collections_core@0.12.0_patch_hash_bceb89349da763f8c715d7b53875be4a1e5bc5161d7_3067b2e8f290866ec343d5ebc4494f7e/node_modules/@content-collections/core/dist/index.mjs +1 -2
- package/dist/node_modules/.pnpm/camelcase@8.0.0/node_modules/camelcase/index.mjs +1 -2
- package/dist/node_modules/.pnpm/esbuild@0.25.12/node_modules/esbuild/lib/main.mjs +1 -2
- package/dist/node_modules/.pnpm/esprima@4.0.1/node_modules/esprima/dist/esprima.mjs +1 -2
- package/dist/node_modules/.pnpm/extend-shallow@2.0.1/node_modules/extend-shallow/index.mjs +1 -2
- package/dist/node_modules/.pnpm/fdir@6.5.0_@types_picomatch@4.0.2_picomatch@4.0.3/node_modules/fdir/dist/index.mjs +1 -2
- package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/index.mjs +1 -2
- package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/defaults.mjs +1 -2
- package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/engine.mjs +1 -2
- package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/engines.mjs +1 -2
- package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/excerpt.mjs +1 -2
- package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/parse.mjs +1 -2
- package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/stringify.mjs +1 -2
- package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/to-file.mjs +1 -2
- package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/utils.mjs +1 -2
- package/dist/node_modules/.pnpm/is-extendable@0.1.1/node_modules/is-extendable/index.mjs +1 -2
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/index.mjs +1 -2
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/common.mjs +1 -2
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/dumper.mjs +1 -2
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/exception.mjs +1 -2
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/loader.mjs +1 -2
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/mark.mjs +1 -2
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/core.mjs +1 -2
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/default_full.mjs +1 -2
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/default_safe.mjs +1 -2
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/failsafe.mjs +1 -2
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/json.mjs +1 -2
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema.mjs +1 -2
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/binary.mjs +1 -2
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/bool.mjs +1 -2
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/float.mjs +1 -2
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/int.mjs +1 -2
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/js/function.mjs +1 -2
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/js/regexp.mjs +1 -2
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/js/undefined.mjs +1 -2
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/map.mjs +1 -2
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/merge.mjs +1 -2
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/null.mjs +1 -2
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/omap.mjs +1 -2
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/pairs.mjs +1 -2
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/seq.mjs +1 -2
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/set.mjs +1 -2
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/str.mjs +1 -2
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/timestamp.mjs +1 -2
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type.mjs +1 -2
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml.mjs +1 -2
- package/dist/node_modules/.pnpm/kind-of@6.0.3/node_modules/kind-of/index.mjs +1 -2
- package/dist/node_modules/.pnpm/p-limit@6.2.0/node_modules/p-limit/index.mjs +1 -2
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/index.mjs +1 -2
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/constants.mjs +1 -2
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/parse.mjs +1 -2
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/picomatch.mjs +1 -2
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/scan.mjs +1 -2
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/utils.mjs +1 -2
- package/dist/node_modules/.pnpm/randombytes@2.1.0/node_modules/randombytes/index.mjs +1 -2
- package/dist/node_modules/.pnpm/section-matter@1.0.0/node_modules/section-matter/index.mjs +1 -2
- package/dist/node_modules/.pnpm/serialize-javascript@6.0.2/node_modules/serialize-javascript/index.mjs +1 -2
- package/dist/node_modules/.pnpm/strip-bom-string@1.0.0/node_modules/strip-bom-string/index.mjs +1 -2
- package/dist/node_modules/.pnpm/tinyglobby@0.2.15/node_modules/tinyglobby/dist/index.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-collection.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-doc.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-node.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-scalar.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/composer.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-map.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-scalar.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-seq.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-end.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-flow-collection.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-flow-scalar.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-props.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-contains-newline.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-empty-scalar-position.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-flow-indent-check.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-map-includes.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/Document.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/anchors.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/applyReviver.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/createNode.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/directives.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/errors.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/index.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/log.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Alias.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Collection.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Node.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Pair.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Scalar.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/YAMLMap.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/YAMLSeq.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/addPairToJSMap.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/identity.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/toJS.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst-scalar.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst-stringify.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst-visit.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/lexer.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/line-counter.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/parser.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/public-api.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/Schema.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/map.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/null.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/seq.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/string.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/bool.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/float.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/int.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/schema.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/json/schema.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/tags.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/binary.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/bool.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/float.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/int.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/merge.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/omap.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/pairs.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/schema.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/set.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/timestamp.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/foldFlowLines.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringify.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyCollection.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyComment.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyDocument.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyNumber.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyPair.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyString.mjs +1 -2
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/visit.mjs +1 -2
- package/dist/node_modules/.pnpm/yocto-queue@1.2.2/node_modules/yocto-queue/index.mjs +1 -2
- package/package.json +10 -10
- package/dist/helpers/create-emitter.d.cts +0 -30
- package/dist/helpers/create-emitter.d.cts.map +0 -1
- package/dist/helpers/create-emitter.d.mts +0 -30
- package/dist/helpers/create-emitter.d.mts.map +0 -1
- package/dist/helpers/create-emitter.mjs.map +0 -1
- package/dist/helpers/create-writer.d.cts +0 -15
- package/dist/helpers/create-writer.d.cts.map +0 -1
- package/dist/helpers/create-writer.d.mts +0 -15
- package/dist/helpers/create-writer.d.mts.map +0 -1
- package/dist/helpers/create-writer.mjs.map +0 -1
- package/dist/helpers/index.d.cts +0 -3
- package/dist/helpers/index.d.mts +0 -3
- package/dist/index.d.cts +0 -23
- package/dist/index.d.cts.map +0 -1
- package/dist/index.d.mts +0 -23
- package/dist/index.d.mts.map +0 -1
- package/dist/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@content-collections_core@0.12.0_patch_hash_bceb89349da763f8c715d7b53875be4a1e5bc5161d7_3067b2e8f290866ec343d5ebc4494f7e/node_modules/@content-collections/core/dist/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/camelcase@8.0.0/node_modules/camelcase/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/esbuild@0.25.12/node_modules/esbuild/lib/main.mjs.map +0 -1
- package/dist/node_modules/.pnpm/esprima@4.0.1/node_modules/esprima/dist/esprima.mjs.map +0 -1
- package/dist/node_modules/.pnpm/extend-shallow@2.0.1/node_modules/extend-shallow/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/fdir@6.5.0_@types_picomatch@4.0.2_picomatch@4.0.3/node_modules/fdir/dist/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/defaults.mjs.map +0 -1
- package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/engine.mjs.map +0 -1
- package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/engines.mjs.map +0 -1
- package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/excerpt.mjs.map +0 -1
- package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/parse.mjs.map +0 -1
- package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/stringify.mjs.map +0 -1
- package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/to-file.mjs.map +0 -1
- package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/utils.mjs.map +0 -1
- package/dist/node_modules/.pnpm/is-extendable@0.1.1/node_modules/is-extendable/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/common.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/dumper.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/exception.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/loader.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/mark.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/core.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/default_full.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/default_safe.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/failsafe.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/json.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/binary.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/bool.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/float.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/int.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/js/function.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/js/regexp.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/js/undefined.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/map.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/merge.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/null.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/omap.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/pairs.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/seq.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/set.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/str.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/timestamp.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml.mjs.map +0 -1
- package/dist/node_modules/.pnpm/kind-of@6.0.3/node_modules/kind-of/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/p-limit@6.2.0/node_modules/p-limit/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/constants.mjs.map +0 -1
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/parse.mjs.map +0 -1
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/picomatch.mjs.map +0 -1
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/scan.mjs.map +0 -1
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/utils.mjs.map +0 -1
- package/dist/node_modules/.pnpm/randombytes@2.1.0/node_modules/randombytes/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/section-matter@1.0.0/node_modules/section-matter/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/serialize-javascript@6.0.2/node_modules/serialize-javascript/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/strip-bom-string@1.0.0/node_modules/strip-bom-string/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/tinyglobby@0.2.15/node_modules/tinyglobby/dist/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-collection.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-doc.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-node.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-scalar.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/composer.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-map.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-scalar.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-seq.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-end.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-flow-collection.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-flow-scalar.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-props.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-contains-newline.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-empty-scalar-position.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-flow-indent-check.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-map-includes.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/Document.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/anchors.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/applyReviver.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/createNode.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/directives.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/errors.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/log.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Alias.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Collection.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Node.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Pair.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Scalar.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/YAMLMap.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/YAMLSeq.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/addPairToJSMap.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/identity.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/toJS.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst-scalar.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst-stringify.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst-visit.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/lexer.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/line-counter.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/parser.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/public-api.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/Schema.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/map.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/null.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/seq.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/string.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/bool.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/float.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/int.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/schema.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/json/schema.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/tags.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/binary.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/bool.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/float.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/int.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/merge.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/omap.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/pairs.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/schema.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/set.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/timestamp.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/foldFlowLines.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringify.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyCollection.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyComment.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyDocument.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyNumber.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyPair.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyString.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/visit.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yocto-queue@1.2.2/node_modules/yocto-queue/index.mjs.map +0 -1
- package/dist/types/index.d.cts +0 -2
- package/dist/types/index.d.mts +0 -2
- package/dist/types/plugin.d.cts +0 -48
- package/dist/types/plugin.d.cts.map +0 -1
- package/dist/types/plugin.d.mts +0 -48
- package/dist/types/plugin.d.mts.map +0 -1
package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-contains-newline.mjs
CHANGED
|
@@ -32,5 +32,4 @@ var require_util_contains_newline = /* @__PURE__ */ __commonJSMin(((exports) =>
|
|
|
32
32
|
//#endregion
|
|
33
33
|
export default require_util_contains_newline();
|
|
34
34
|
|
|
35
|
-
export { require_util_contains_newline };
|
|
36
|
-
//# sourceMappingURL=util-contains-newline.mjs.map
|
|
35
|
+
export { require_util_contains_newline };
|
|
@@ -30,5 +30,4 @@ var require_util_empty_scalar_position = /* @__PURE__ */ __commonJSMin(((exports
|
|
|
30
30
|
//#endregion
|
|
31
31
|
export default require_util_empty_scalar_position();
|
|
32
32
|
|
|
33
|
-
export { require_util_empty_scalar_position };
|
|
34
|
-
//# sourceMappingURL=util-empty-scalar-position.mjs.map
|
|
33
|
+
export { require_util_empty_scalar_position };
|
package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-flow-indent-check.mjs
CHANGED
|
@@ -16,5 +16,4 @@ var require_util_flow_indent_check = /* @__PURE__ */ __commonJSMin(((exports) =>
|
|
|
16
16
|
//#endregion
|
|
17
17
|
export default require_util_flow_indent_check();
|
|
18
18
|
|
|
19
|
-
export { require_util_flow_indent_check };
|
|
20
|
-
//# sourceMappingURL=util-flow-indent-check.mjs.map
|
|
19
|
+
export { require_util_flow_indent_check };
|
package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-map-includes.mjs
CHANGED
|
@@ -16,5 +16,4 @@ var require_util_map_includes = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
16
16
|
//#endregion
|
|
17
17
|
export default require_util_map_includes();
|
|
18
18
|
|
|
19
|
-
export { require_util_map_includes };
|
|
20
|
-
//# sourceMappingURL=util-map-includes.mjs.map
|
|
19
|
+
export { require_util_map_includes };
|
package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyCollection.mjs
CHANGED
|
@@ -120,5 +120,4 @@ var require_stringifyCollection = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
120
120
|
//#endregion
|
|
121
121
|
export default require_stringifyCollection();
|
|
122
122
|
|
|
123
|
-
export { require_stringifyCollection };
|
|
124
|
-
//# sourceMappingURL=stringifyCollection.mjs.map
|
|
123
|
+
export { require_stringifyCollection };
|
package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyComment.mjs
CHANGED
|
@@ -23,5 +23,4 @@ var require_stringifyComment = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
23
23
|
//#endregion
|
|
24
24
|
export default require_stringifyComment();
|
|
25
25
|
|
|
26
|
-
export { require_stringifyComment };
|
|
27
|
-
//# sourceMappingURL=stringifyComment.mjs.map
|
|
26
|
+
export { require_stringifyComment };
|
package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyDocument.mjs
CHANGED
|
@@ -67,5 +67,4 @@ var require_stringifyDocument = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
67
67
|
//#endregion
|
|
68
68
|
export default require_stringifyDocument();
|
|
69
69
|
|
|
70
|
-
export { require_stringifyDocument };
|
|
71
|
-
//# sourceMappingURL=stringifyDocument.mjs.map
|
|
70
|
+
export { require_stringifyDocument };
|
package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyString.mjs
CHANGED
|
@@ -229,5 +229,4 @@ var require_stringifyString = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
229
229
|
//#endregion
|
|
230
230
|
export default require_stringifyString();
|
|
231
231
|
|
|
232
|
-
export { require_stringifyString };
|
|
233
|
-
//# sourceMappingURL=stringifyString.mjs.map
|
|
232
|
+
export { require_stringifyString };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-content-collections",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.333",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A Powerlines plugin to generate project code using Content Collections.",
|
|
6
6
|
"repository": {
|
|
@@ -138,21 +138,21 @@
|
|
|
138
138
|
"dependencies": {
|
|
139
139
|
"@content-collections/core": "^0.12.0",
|
|
140
140
|
"@standard-schema/spec": "^1.1.0",
|
|
141
|
-
"@stryke/fs": "^0.33.
|
|
142
|
-
"@stryke/path": "^0.26.
|
|
143
|
-
"@stryke/string-format": "^0.17.
|
|
144
|
-
"@stryke/type-checks": "^0.5.
|
|
145
|
-
"@stryke/types": "^0.10.
|
|
141
|
+
"@stryke/fs": "^0.33.57",
|
|
142
|
+
"@stryke/path": "^0.26.19",
|
|
143
|
+
"@stryke/string-format": "^0.17.3",
|
|
144
|
+
"@stryke/type-checks": "^0.5.38",
|
|
145
|
+
"@stryke/types": "^0.10.52",
|
|
146
146
|
"defu": "^6.1.4",
|
|
147
147
|
"pluralize": "^8.0.0",
|
|
148
|
-
"powerlines": "^0.40.
|
|
148
|
+
"powerlines": "^0.40.20"
|
|
149
149
|
},
|
|
150
150
|
"devDependencies": {
|
|
151
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
152
|
-
"@types/node": "^25.
|
|
151
|
+
"@powerlines/plugin-plugin": "^0.12.284",
|
|
152
|
+
"@types/node": "^25.4.0",
|
|
153
153
|
"@types/pluralize": "^0.0.33"
|
|
154
154
|
},
|
|
155
155
|
"publishConfig": { "access": "public" },
|
|
156
156
|
"types": "./dist/index.d.cts",
|
|
157
|
-
"gitHead": "
|
|
157
|
+
"gitHead": "8d772181f794749e0f19f97c732dd921148c31c8"
|
|
158
158
|
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
//#region src/helpers/create-emitter.d.ts
|
|
2
|
-
type EventMap = Record<string, object>;
|
|
3
|
-
interface EventWithError {
|
|
4
|
-
error: Error;
|
|
5
|
-
}
|
|
6
|
-
interface SystemEvent {
|
|
7
|
-
_event: string;
|
|
8
|
-
}
|
|
9
|
-
type ErrorEvent = EventWithError & SystemEvent;
|
|
10
|
-
interface SystemEvents extends EventMap {
|
|
11
|
-
_error: ErrorEvent;
|
|
12
|
-
_all: SystemEvent;
|
|
13
|
-
}
|
|
14
|
-
type Keys<TEvents extends EventMap> = keyof TEvents & string;
|
|
15
|
-
type Listener<TEvent> = (event: TEvent) => void;
|
|
16
|
-
/**
|
|
17
|
-
* Create an event emitter with typed events.
|
|
18
|
-
*
|
|
19
|
-
* @returns An event emitter instance with typed event handling.
|
|
20
|
-
*/
|
|
21
|
-
declare function createEmitter<TEvents extends EventMap>(): {
|
|
22
|
-
on: {
|
|
23
|
-
<TKey extends Keys<TEvents>>(key: TKey, listener: Listener<TEvents[TKey]>): void;
|
|
24
|
-
<TKey extends Keys<SystemEvents>>(key: TKey, listener: Listener<SystemEvents[TKey]>): void;
|
|
25
|
-
};
|
|
26
|
-
emit: <TKey extends Keys<TEvents>>(key: TKey, event: TEvents[TKey]) => void;
|
|
27
|
-
};
|
|
28
|
-
//#endregion
|
|
29
|
-
export { createEmitter };
|
|
30
|
-
//# sourceMappingURL=create-emitter.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-emitter.d.cts","names":[],"sources":["../../src/helpers/create-emitter.ts"],"sourcesContent":[],"mappings":";KAoBK,QAAA,GAAW;UAEN,cAAA,CAFG;EAEH,KAAA,EACD,KADC;AACI;AAGO,UAAX,WAAA,CAIK;EAEL,MAAA,EAAA,MAAA;;KAFL,UAAA,GAAa,cAIV,GAJ2B,WAI3B;UAFE,YAAA,SAAqB,QAAA,CAAA;EAAQ,MAAA,EAC7B,UAD6B;EAKlC,IAAA,EAHG,WAGC;AAA0C;AAQnD,KARK,IAQW,CAAA,gBARU,QAQG,CAAA,GAAA,MARe,OAQf,GAAA,MAAA;KAPxB,QAOyC,CAAA,MAAA,CAAA,GAAA,CAAA,KAAA,EAPd,MAOc,EAAA,GAAA,IAAA;;;;;;AAKhC,iBALE,aAKF,CAAA,gBALgC,QAKhC,CAAA,CAAA,CAAA,EAAA;EAGkB,EAAA,EAAA;IAAL,CAAA,aALA,IAKA,CALK,OAKL,CAAA,CAAA,CAAA,GAAA,EAJlB,IAIkB,EAAA,QAAA,EAHb,QAGa,CAHJ,OAGI,CAHI,IAGJ,CAAA,CAAA,CAAA,EAAA,IAAA;IAClB,CAAA,aADkB,IAClB,CADuB,YACvB,CAAA,CAAA,CAAA,GAAA,EAAA,IAAA,EAAA,QAAA,EACK,QADL,CACc,YADd,CAC2B,IAD3B,CAAA,CAAA,CAAA,EAAA,IAAA;EACc,CAAA;EAAa,IAAA,EAAA,CAAA,aAOP,IAPO,CAOF,OAPE,CAAA,CAAA,CAAA,GAAA,EAOa,IAPb,EAAA,KAAA,EAO0B,OAP1B,CAOkC,IAPlC,CAAA,EAAA,GAAA,IAAA;CAAtB"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
//#region src/helpers/create-emitter.d.ts
|
|
2
|
-
type EventMap = Record<string, object>;
|
|
3
|
-
interface EventWithError {
|
|
4
|
-
error: Error;
|
|
5
|
-
}
|
|
6
|
-
interface SystemEvent {
|
|
7
|
-
_event: string;
|
|
8
|
-
}
|
|
9
|
-
type ErrorEvent = EventWithError & SystemEvent;
|
|
10
|
-
interface SystemEvents extends EventMap {
|
|
11
|
-
_error: ErrorEvent;
|
|
12
|
-
_all: SystemEvent;
|
|
13
|
-
}
|
|
14
|
-
type Keys<TEvents extends EventMap> = keyof TEvents & string;
|
|
15
|
-
type Listener<TEvent> = (event: TEvent) => void;
|
|
16
|
-
/**
|
|
17
|
-
* Create an event emitter with typed events.
|
|
18
|
-
*
|
|
19
|
-
* @returns An event emitter instance with typed event handling.
|
|
20
|
-
*/
|
|
21
|
-
declare function createEmitter<TEvents extends EventMap>(): {
|
|
22
|
-
on: {
|
|
23
|
-
<TKey extends Keys<TEvents>>(key: TKey, listener: Listener<TEvents[TKey]>): void;
|
|
24
|
-
<TKey extends Keys<SystemEvents>>(key: TKey, listener: Listener<SystemEvents[TKey]>): void;
|
|
25
|
-
};
|
|
26
|
-
emit: <TKey extends Keys<TEvents>>(key: TKey, event: TEvents[TKey]) => void;
|
|
27
|
-
};
|
|
28
|
-
//#endregion
|
|
29
|
-
export { createEmitter };
|
|
30
|
-
//# sourceMappingURL=create-emitter.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-emitter.d.mts","names":[],"sources":["../../src/helpers/create-emitter.ts"],"sourcesContent":[],"mappings":";KAoBK,QAAA,GAAW;UAEN,cAAA,CAFG;EAEH,KAAA,EACD,KADC;AACI;AAGO,UAAX,WAAA,CAIK;EAEL,MAAA,EAAA,MAAA;;KAFL,UAAA,GAAa,cAIV,GAJ2B,WAI3B;UAFE,YAAA,SAAqB,QAAA,CAAA;EAAQ,MAAA,EAC7B,UAD6B;EAKlC,IAAA,EAHG,WAGC;AAA0C;AAQnD,KARK,IAQW,CAAA,gBARU,QAQG,CAAA,GAAA,MARe,OAQf,GAAA,MAAA;KAPxB,QAOyC,CAAA,MAAA,CAAA,GAAA,CAAA,KAAA,EAPd,MAOc,EAAA,GAAA,IAAA;;;;;;AAKhC,iBALE,aAKF,CAAA,gBALgC,QAKhC,CAAA,CAAA,CAAA,EAAA;EAGkB,EAAA,EAAA;IAAL,CAAA,aALA,IAKA,CALK,OAKL,CAAA,CAAA,CAAA,GAAA,EAJlB,IAIkB,EAAA,QAAA,EAHb,QAGa,CAHJ,OAGI,CAHI,IAGJ,CAAA,CAAA,CAAA,EAAA,IAAA;IAClB,CAAA,aADkB,IAClB,CADuB,YACvB,CAAA,CAAA,CAAA,GAAA,EAAA,IAAA,EAAA,QAAA,EACK,QADL,CACc,YADd,CAC2B,IAD3B,CAAA,CAAA,CAAA,EAAA,IAAA;EACc,CAAA;EAAa,IAAA,EAAA,CAAA,aAOP,IAPO,CAOF,OAPE,CAAA,CAAA,CAAA,GAAA,EAOa,IAPb,EAAA,KAAA,EAO0B,OAP1B,CAOkC,IAPlC,CAAA,EAAA,GAAA,IAAA;CAAtB"}
|