@kjanat/dreamcli 4.0.0-rc.2 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -7
- package/dist/{runtime/adapter.d.mts → adapter-D0hbBNVB.d.mts} +5 -7
- package/dist/completion-D4mz6axB.mjs +6 -0
- package/dist/completion.d.mts +90 -0
- package/dist/completion.mjs +1 -0
- package/dist/config-B9ddC-Kb.mjs +1 -0
- package/dist/config.d.mts +2 -0
- package/dist/config.mjs +1 -0
- package/dist/core-Cp2w8vRq.mjs +17 -0
- package/dist/index-BziI2aKc.d.mts +5440 -0
- package/dist/index-DOfClfYR.d.mts +370 -0
- package/dist/index-DWsnGZlx.d.mts +831 -0
- package/dist/{core/cli/index.d.mts → index-DXROeDPC.d.mts} +149 -25
- package/dist/index-DndPmT8J.d.mts +275 -0
- package/dist/{core/json-schema/index.d.mts → index-DyoaS234.d.mts} +54 -45
- package/dist/index.d.mts +190 -41
- package/dist/index.mjs +1 -26
- package/dist/json-schema-C9SzZ7jY.mjs +52 -0
- package/dist/json-schema.d.mts +2 -0
- package/dist/json-schema.mjs +1 -0
- package/dist/package-json-BgE9YjjQ.mjs +3 -0
- package/dist/prompt.d.mts +48 -0
- package/dist/prompt.mjs +1 -0
- package/dist/rolldown-runtime-G4Kt5YOX.mjs +1 -0
- package/dist/runtime.d.mts +2 -6
- package/dist/runtime.mjs +1 -6
- package/dist/terminal-C8KTXjv5.mjs +6 -0
- package/dist/test-prompter-v__jT2yG.mjs +1 -0
- package/dist/testkit.d.mts +54 -6
- package/dist/testkit.mjs +1 -5
- package/dist/version.d.mts +16 -4
- package/dist/version.mjs +1 -7
- package/dreamcli.schema.json +697 -538
- package/package.json +37 -12
- package/skills/cli-creation/SKILL.md +16 -11
- package/CHANGELOG.md +0 -2453
- package/dist/core/cli/builtins.d.mts +0 -47
- package/dist/core/cli/builtins.mjs +0 -135
- package/dist/core/cli/compiled.d.mts +0 -29
- package/dist/core/cli/compiled.mjs +0 -76
- package/dist/core/cli/dispatch.d.mts +0 -38
- package/dist/core/cli/dispatch.mjs +0 -205
- package/dist/core/cli/help-links.d.mts +0 -15
- package/dist/core/cli/help-links.mjs +0 -41
- package/dist/core/cli/index.mjs +0 -1265
- package/dist/core/cli/planner.d.mts +0 -96
- package/dist/core/cli/planner.mjs +0 -323
- package/dist/core/cli/plugin.d.mts +0 -94
- package/dist/core/cli/plugin.mjs +0 -41
- package/dist/core/cli/propagate.d.mts +0 -39
- package/dist/core/cli/propagate.mjs +0 -57
- package/dist/core/cli/reserved-flags.d.mts +0 -1
- package/dist/core/cli/reserved-flags.mjs +0 -158
- package/dist/core/cli/root-help.d.mts +0 -1
- package/dist/core/cli/root-help.mjs +0 -221
- package/dist/core/cli/root-output-flags.d.mts +0 -1
- package/dist/core/cli/root-output-flags.mjs +0 -169
- package/dist/core/cli/root-surface.d.mts +0 -1
- package/dist/core/cli/root-surface.mjs +0 -28
- package/dist/core/cli/runtime-preflight.d.mts +0 -1
- package/dist/core/cli/runtime-preflight.mjs +0 -221
- package/dist/core/completion/index.d.mts +0 -76
- package/dist/core/completion/index.mjs +0 -90
- package/dist/core/completion/shells/bash.d.mts +0 -22
- package/dist/core/completion/shells/bash.mjs +0 -309
- package/dist/core/completion/shells/fish.d.mts +0 -18
- package/dist/core/completion/shells/fish.mjs +0 -163
- package/dist/core/completion/shells/powershell.d.mts +0 -12
- package/dist/core/completion/shells/powershell.mjs +0 -359
- package/dist/core/completion/shells/shared.d.mts +0 -49
- package/dist/core/completion/shells/shared.mjs +0 -147
- package/dist/core/completion/shells/zsh.d.mts +0 -22
- package/dist/core/completion/shells/zsh.mjs +0 -252
- package/dist/core/config/index.d.mts +0 -191
- package/dist/core/config/index.mjs +0 -285
- package/dist/core/config/package-json.d.mts +0 -179
- package/dist/core/config/package-json.mjs +0 -353
- package/dist/core/errors/index.d.mts +0 -126
- package/dist/core/errors/index.mjs +0 -87
- package/dist/core/execution/index.d.mts +0 -1
- package/dist/core/execution/index.mjs +0 -220
- package/dist/core/help/ansi.d.mts +0 -73
- package/dist/core/help/ansi.mjs +0 -121
- package/dist/core/help/index.d.mts +0 -110
- package/dist/core/help/index.mjs +0 -414
- package/dist/core/help/theme.d.mts +0 -48
- package/dist/core/help/theme.mjs +0 -46
- package/dist/core/json-schema/index.mjs +0 -1007
- package/dist/core/json-schema/meta-descriptions.generated.d.mts +0 -274
- package/dist/core/json-schema/meta-descriptions.generated.mjs +0 -136
- package/dist/core/output/activity.d.mts +0 -1
- package/dist/core/output/activity.mjs +0 -452
- package/dist/core/output/bind.d.mts +0 -1
- package/dist/core/output/bind.mjs +0 -56
- package/dist/core/output/contracts.d.mts +0 -81
- package/dist/core/output/contracts.mjs +0 -57
- package/dist/core/output/display-value.d.mts +0 -1
- package/dist/core/output/display-value.mjs +0 -32
- package/dist/core/output/index.d.mts +0 -160
- package/dist/core/output/index.mjs +0 -512
- package/dist/core/output/renderers.d.mts +0 -1
- package/dist/core/output/renderers.mjs +0 -46
- package/dist/core/output/writer.d.mts +0 -39
- package/dist/core/output/writer.mjs +0 -12
- package/dist/core/parse/index.d.mts +0 -178
- package/dist/core/parse/index.mjs +0 -850
- package/dist/core/parse/occurrences.d.mts +0 -89
- package/dist/core/parse/occurrences.mjs +0 -114
- package/dist/core/prompt/index.d.mts +0 -213
- package/dist/core/prompt/index.mjs +0 -348
- package/dist/core/read-flags/index.d.mts +0 -150
- package/dist/core/read-flags/index.mjs +0 -217
- package/dist/core/resolve/args.d.mts +0 -39
- package/dist/core/resolve/args.mjs +0 -182
- package/dist/core/resolve/coerce.d.mts +0 -79
- package/dist/core/resolve/coerce.mjs +0 -900
- package/dist/core/resolve/config.d.mts +0 -1
- package/dist/core/resolve/config.mjs +0 -19
- package/dist/core/resolve/contracts.d.mts +0 -145
- package/dist/core/resolve/errors.d.mts +0 -10
- package/dist/core/resolve/errors.mjs +0 -148
- package/dist/core/resolve/flags.d.mts +0 -47
- package/dist/core/resolve/flags.mjs +0 -246
- package/dist/core/resolve/index.d.mts +0 -44
- package/dist/core/resolve/index.mjs +0 -123
- package/dist/core/resolve/path-checks.d.mts +0 -47
- package/dist/core/resolve/path-checks.mjs +0 -102
- package/dist/core/resolve/redaction.d.mts +0 -12
- package/dist/core/resolve/redaction.mjs +0 -14
- package/dist/core/resolve/stages.d.mts +0 -85
- package/dist/core/resolve/stages.mjs +0 -170
- package/dist/core/resolve/standard.d.mts +0 -1
- package/dist/core/resolve/standard.mjs +0 -212
- package/dist/core/schema/activity.d.mts +0 -189
- package/dist/core/schema/arg.d.mts +0 -1451
- package/dist/core/schema/arg.mjs +0 -1139
- package/dist/core/schema/brand.d.mts +0 -17
- package/dist/core/schema/cardinality.d.mts +0 -301
- package/dist/core/schema/cardinality.mjs +0 -514
- package/dist/core/schema/command.d.mts +0 -1086
- package/dist/core/schema/command.mjs +0 -999
- package/dist/core/schema/flag.d.mts +0 -1487
- package/dist/core/schema/flag.mjs +0 -1207
- package/dist/core/schema/index.d.mts +0 -15
- package/dist/core/schema/index.mjs +0 -10
- package/dist/core/schema/middleware.d.mts +0 -126
- package/dist/core/schema/middleware.mjs +0 -41
- package/dist/core/schema/number-constraints.d.mts +0 -96
- package/dist/core/schema/number-constraints.mjs +0 -60
- package/dist/core/schema/prompt.d.mts +0 -135
- package/dist/core/schema/provenance.d.mts +0 -99
- package/dist/core/schema/provenance.mjs +0 -28
- package/dist/core/schema/run.d.mts +0 -161
- package/dist/core/schema/source.d.mts +0 -179
- package/dist/core/schema/source.mjs +0 -206
- package/dist/core/schema/standard.d.mts +0 -93
- package/dist/core/schema/standard.mjs +0 -15
- package/dist/core/schema/stdin.d.mts +0 -87
- package/dist/core/schema/stdin.mjs +0 -91
- package/dist/core/schema/string-constraints.d.mts +0 -108
- package/dist/core/schema/string-constraints.mjs +0 -86
- package/dist/core/schema/value-parsers.d.mts +0 -150
- package/dist/core/schema/value-parsers.mjs +0 -160
- package/dist/core/schema/value.d.mts +0 -242
- package/dist/core/schema/value.mjs +0 -573
- package/dist/core/testkit/index.d.mts +0 -56
- package/dist/core/testkit/index.mjs +0 -102
- package/dist/runtime/adapter.mjs +0 -92
- package/dist/runtime/auto.d.mts +0 -25
- package/dist/runtime/auto.mjs +0 -45
- package/dist/runtime/deno.d.mts +0 -99
- package/dist/runtime/deno.mjs +0 -265
- package/dist/runtime/detect.d.mts +0 -86
- package/dist/runtime/detect.mjs +0 -45
- package/dist/runtime/index.d.mts +0 -6
- package/dist/runtime/node.d.mts +0 -71
- package/dist/runtime/node.mjs +0 -228
- package/dist/runtime/paths.d.mts +0 -1
- package/dist/runtime/paths.mjs +0 -48
- package/dist/strings.d.mts +0 -12
- package/dist/strings.mjs +0 -22
- package/examples/basic.ts +0 -37
- package/examples/flag-types.ts +0 -79
- package/examples/gh/node_modules/typescript/LICENSE +0 -55
- package/examples/gh/node_modules/typescript/NOTICE.txt +0 -436
- package/examples/gh/node_modules/typescript/README.md +0 -49
- package/examples/gh/node_modules/typescript/bin/tsc +0 -2
- package/examples/gh/node_modules/typescript/dist/api/async/api.d.ts +0 -529
- package/examples/gh/node_modules/typescript/dist/api/async/api.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/async/api.js +0 -1657
- package/examples/gh/node_modules/typescript/dist/api/async/api.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/async/client.d.ts +0 -39
- package/examples/gh/node_modules/typescript/dist/api/async/client.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/async/client.js +0 -211
- package/examples/gh/node_modules/typescript/dist/api/async/client.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/async/types.d.ts +0 -310
- package/examples/gh/node_modules/typescript/dist/api/async/types.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/async/types.js +0 -2
- package/examples/gh/node_modules/typescript/dist/api/async/types.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/compilerOptions.d.ts +0 -109
- package/examples/gh/node_modules/typescript/dist/api/compilerOptions.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/compilerOptions.js +0 -2
- package/examples/gh/node_modules/typescript/dist/api/compilerOptions.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/fs.d.ts +0 -23
- package/examples/gh/node_modules/typescript/dist/api/fs.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/fs.js +0 -109
- package/examples/gh/node_modules/typescript/dist/api/fs.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/node/encoder.d.ts +0 -15
- package/examples/gh/node_modules/typescript/dist/api/node/encoder.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/node/encoder.generated.d.ts +0 -5
- package/examples/gh/node_modules/typescript/dist/api/node/encoder.generated.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/node/encoder.generated.js +0 -74
- package/examples/gh/node_modules/typescript/dist/api/node/encoder.generated.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/node/encoder.js +0 -287
- package/examples/gh/node_modules/typescript/dist/api/node/encoder.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/node/msgpack.d.ts +0 -32
- package/examples/gh/node_modules/typescript/dist/api/node/msgpack.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/node/msgpack.js +0 -213
- package/examples/gh/node_modules/typescript/dist/api/node/msgpack.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/node/node.d.ts +0 -76
- package/examples/gh/node_modules/typescript/dist/api/node/node.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/node/node.generated.d.ts +0 -182
- package/examples/gh/node_modules/typescript/dist/api/node/node.generated.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/node/node.generated.js +0 -835
- package/examples/gh/node_modules/typescript/dist/api/node/node.generated.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/node/node.infrastructure.d.ts +0 -62
- package/examples/gh/node_modules/typescript/dist/api/node/node.infrastructure.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/node/node.infrastructure.js +0 -122
- package/examples/gh/node_modules/typescript/dist/api/node/node.infrastructure.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/node/node.js +0 -298
- package/examples/gh/node_modules/typescript/dist/api/node/node.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/node/protocol.d.ts +0 -29
- package/examples/gh/node_modules/typescript/dist/api/node/protocol.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/node/protocol.generated.d.ts +0 -4
- package/examples/gh/node_modules/typescript/dist/api/node/protocol.generated.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/node/protocol.generated.js +0 -241
- package/examples/gh/node_modules/typescript/dist/api/node/protocol.generated.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/node/protocol.js +0 -30
- package/examples/gh/node_modules/typescript/dist/api/node/protocol.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/node/wtf8.d.ts +0 -6
- package/examples/gh/node_modules/typescript/dist/api/node/wtf8.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/node/wtf8.js +0 -61
- package/examples/gh/node_modules/typescript/dist/api/node/wtf8.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/options.d.ts +0 -32
- package/examples/gh/node_modules/typescript/dist/api/options.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/options.js +0 -11
- package/examples/gh/node_modules/typescript/dist/api/options.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/path.d.ts +0 -110
- package/examples/gh/node_modules/typescript/dist/api/path.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/path.js +0 -508
- package/examples/gh/node_modules/typescript/dist/api/path.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/proto.d.ts +0 -239
- package/examples/gh/node_modules/typescript/dist/api/proto.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/proto.js +0 -37
- package/examples/gh/node_modules/typescript/dist/api/proto.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/sourceFileCache.d.ts +0 -79
- package/examples/gh/node_modules/typescript/dist/api/sourceFileCache.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/sourceFileCache.js +0 -169
- package/examples/gh/node_modules/typescript/dist/api/sourceFileCache.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/sync/api.d.ts +0 -529
- package/examples/gh/node_modules/typescript/dist/api/sync/api.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/sync/api.js +0 -1665
- package/examples/gh/node_modules/typescript/dist/api/sync/api.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/sync/client.d.ts +0 -30
- package/examples/gh/node_modules/typescript/dist/api/sync/client.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/sync/client.js +0 -124
- package/examples/gh/node_modules/typescript/dist/api/sync/client.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/sync/types.d.ts +0 -310
- package/examples/gh/node_modules/typescript/dist/api/sync/types.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/sync/types.js +0 -2
- package/examples/gh/node_modules/typescript/dist/api/sync/types.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/syncChannel.d.ts +0 -114
- package/examples/gh/node_modules/typescript/dist/api/syncChannel.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/syncChannel.js +0 -508
- package/examples/gh/node_modules/typescript/dist/api/syncChannel.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/timing.d.ts +0 -175
- package/examples/gh/node_modules/typescript/dist/api/timing.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/timing.js +0 -149
- package/examples/gh/node_modules/typescript/dist/api/timing.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/ast.d.ts +0 -100
- package/examples/gh/node_modules/typescript/dist/ast/ast.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/ast.generated.d.ts +0 -1161
- package/examples/gh/node_modules/typescript/dist/ast/ast.generated.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/ast.generated.js +0 -4
- package/examples/gh/node_modules/typescript/dist/ast/ast.generated.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/ast.js +0 -7
- package/examples/gh/node_modules/typescript/dist/ast/ast.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/astnav.d.ts +0 -19
- package/examples/gh/node_modules/typescript/dist/ast/astnav.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/astnav.js +0 -596
- package/examples/gh/node_modules/typescript/dist/ast/astnav.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/clone.d.ts +0 -16
- package/examples/gh/node_modules/typescript/dist/ast/clone.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/clone.js +0 -104
- package/examples/gh/node_modules/typescript/dist/ast/clone.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/factory.generated.d.ts +0 -520
- package/examples/gh/node_modules/typescript/dist/ast/factory.generated.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/factory.generated.js +0 -3057
- package/examples/gh/node_modules/typescript/dist/ast/factory.generated.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/index.d.ts +0 -20
- package/examples/gh/node_modules/typescript/dist/ast/index.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/index.js +0 -20
- package/examples/gh/node_modules/typescript/dist/ast/index.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/is.d.ts +0 -35
- package/examples/gh/node_modules/typescript/dist/ast/is.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/is.generated.d.ts +0 -329
- package/examples/gh/node_modules/typescript/dist/ast/is.generated.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/is.generated.js +0 -1103
- package/examples/gh/node_modules/typescript/dist/ast/is.generated.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/is.js +0 -233
- package/examples/gh/node_modules/typescript/dist/ast/is.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/jsdoc.d.ts +0 -11
- package/examples/gh/node_modules/typescript/dist/ast/jsdoc.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/jsdoc.js +0 -202
- package/examples/gh/node_modules/typescript/dist/ast/jsdoc.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/scanner.d.ts +0 -97
- package/examples/gh/node_modules/typescript/dist/ast/scanner.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/scanner.js +0 -2230
- package/examples/gh/node_modules/typescript/dist/ast/scanner.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/utils.d.ts +0 -17
- package/examples/gh/node_modules/typescript/dist/ast/utils.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/utils.js +0 -67
- package/examples/gh/node_modules/typescript/dist/ast/utils.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/visitor.d.ts +0 -14
- package/examples/gh/node_modules/typescript/dist/ast/visitor.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/visitor.generated.d.ts +0 -50
- package/examples/gh/node_modules/typescript/dist/ast/visitor.generated.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/visitor.generated.js +0 -978
- package/examples/gh/node_modules/typescript/dist/ast/visitor.generated.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/visitor.js +0 -47
- package/examples/gh/node_modules/typescript/dist/ast/visitor.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/characterCodes.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/characterCodes.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/characterCodes.enum.d.ts +0 -129
- package/examples/gh/node_modules/typescript/dist/enums/characterCodes.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/characterCodes.enum.js +0 -132
- package/examples/gh/node_modules/typescript/dist/enums/characterCodes.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/characterCodes.js +0 -130
- package/examples/gh/node_modules/typescript/dist/enums/characterCodes.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/commentDirectiveType.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/commentDirectiveType.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/commentDirectiveType.enum.d.ts +0 -5
- package/examples/gh/node_modules/typescript/dist/enums/commentDirectiveType.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/commentDirectiveType.enum.js +0 -6
- package/examples/gh/node_modules/typescript/dist/enums/commentDirectiveType.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/commentDirectiveType.js +0 -6
- package/examples/gh/node_modules/typescript/dist/enums/commentDirectiveType.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/completionItemKind.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/completionItemKind.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/completionItemKind.enum.d.ts +0 -28
- package/examples/gh/node_modules/typescript/dist/enums/completionItemKind.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/completionItemKind.enum.js +0 -30
- package/examples/gh/node_modules/typescript/dist/enums/completionItemKind.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/completionItemKind.js +0 -30
- package/examples/gh/node_modules/typescript/dist/enums/completionItemKind.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/diagnosticCategory.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/diagnosticCategory.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/diagnosticCategory.enum.d.ts +0 -7
- package/examples/gh/node_modules/typescript/dist/enums/diagnosticCategory.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/diagnosticCategory.enum.js +0 -9
- package/examples/gh/node_modules/typescript/dist/enums/diagnosticCategory.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/diagnosticCategory.js +0 -9
- package/examples/gh/node_modules/typescript/dist/enums/diagnosticCategory.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/elementFlags.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/elementFlags.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/elementFlags.enum.d.ts +0 -12
- package/examples/gh/node_modules/typescript/dist/enums/elementFlags.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/elementFlags.enum.js +0 -14
- package/examples/gh/node_modules/typescript/dist/enums/elementFlags.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/elementFlags.js +0 -14
- package/examples/gh/node_modules/typescript/dist/enums/elementFlags.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/internalSymbolName.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/internalSymbolName.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/internalSymbolName.enum.d.ts +0 -23
- package/examples/gh/node_modules/typescript/dist/enums/internalSymbolName.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/internalSymbolName.enum.js +0 -25
- package/examples/gh/node_modules/typescript/dist/enums/internalSymbolName.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/internalSymbolName.js +0 -25
- package/examples/gh/node_modules/typescript/dist/enums/internalSymbolName.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/jsxEmit.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/jsxEmit.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/jsxEmit.enum.d.ts +0 -9
- package/examples/gh/node_modules/typescript/dist/enums/jsxEmit.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/jsxEmit.enum.js +0 -11
- package/examples/gh/node_modules/typescript/dist/enums/jsxEmit.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/jsxEmit.js +0 -11
- package/examples/gh/node_modules/typescript/dist/enums/jsxEmit.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/languageVariant.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/languageVariant.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/languageVariant.enum.d.ts +0 -5
- package/examples/gh/node_modules/typescript/dist/enums/languageVariant.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/languageVariant.enum.js +0 -6
- package/examples/gh/node_modules/typescript/dist/enums/languageVariant.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/languageVariant.js +0 -6
- package/examples/gh/node_modules/typescript/dist/enums/languageVariant.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/modifierFlags.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/modifierFlags.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/modifierFlags.enum.d.ts +0 -42
- package/examples/gh/node_modules/typescript/dist/enums/modifierFlags.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/modifierFlags.enum.js +0 -44
- package/examples/gh/node_modules/typescript/dist/enums/modifierFlags.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/modifierFlags.js +0 -44
- package/examples/gh/node_modules/typescript/dist/enums/modifierFlags.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/moduleDetectionKind.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/moduleDetectionKind.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/moduleDetectionKind.enum.d.ts +0 -7
- package/examples/gh/node_modules/typescript/dist/enums/moduleDetectionKind.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/moduleDetectionKind.enum.js +0 -9
- package/examples/gh/node_modules/typescript/dist/enums/moduleDetectionKind.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/moduleDetectionKind.js +0 -9
- package/examples/gh/node_modules/typescript/dist/enums/moduleDetectionKind.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/moduleKind.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/moduleKind.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/moduleKind.enum.d.ts +0 -17
- package/examples/gh/node_modules/typescript/dist/enums/moduleKind.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/moduleKind.enum.js +0 -19
- package/examples/gh/node_modules/typescript/dist/enums/moduleKind.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/moduleKind.js +0 -19
- package/examples/gh/node_modules/typescript/dist/enums/moduleKind.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/moduleResolutionKind.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/moduleResolutionKind.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/moduleResolutionKind.enum.d.ts +0 -9
- package/examples/gh/node_modules/typescript/dist/enums/moduleResolutionKind.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/moduleResolutionKind.enum.js +0 -11
- package/examples/gh/node_modules/typescript/dist/enums/moduleResolutionKind.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/moduleResolutionKind.js +0 -11
- package/examples/gh/node_modules/typescript/dist/enums/moduleResolutionKind.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/newLineKind.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/newLineKind.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/newLineKind.enum.d.ts +0 -6
- package/examples/gh/node_modules/typescript/dist/enums/newLineKind.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/newLineKind.enum.js +0 -8
- package/examples/gh/node_modules/typescript/dist/enums/newLineKind.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/newLineKind.js +0 -8
- package/examples/gh/node_modules/typescript/dist/enums/newLineKind.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/nodeBuilderFlags.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/nodeBuilderFlags.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/nodeBuilderFlags.enum.d.ts +0 -36
- package/examples/gh/node_modules/typescript/dist/enums/nodeBuilderFlags.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/nodeBuilderFlags.enum.js +0 -38
- package/examples/gh/node_modules/typescript/dist/enums/nodeBuilderFlags.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/nodeBuilderFlags.js +0 -38
- package/examples/gh/node_modules/typescript/dist/enums/nodeBuilderFlags.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/nodeFlags.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/nodeFlags.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/nodeFlags.enum.d.ts +0 -44
- package/examples/gh/node_modules/typescript/dist/enums/nodeFlags.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/nodeFlags.enum.js +0 -46
- package/examples/gh/node_modules/typescript/dist/enums/nodeFlags.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/nodeFlags.js +0 -46
- package/examples/gh/node_modules/typescript/dist/enums/nodeFlags.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/objectFlags.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/objectFlags.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/objectFlags.enum.d.ts +0 -50
- package/examples/gh/node_modules/typescript/dist/enums/objectFlags.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/objectFlags.enum.js +0 -52
- package/examples/gh/node_modules/typescript/dist/enums/objectFlags.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/objectFlags.js +0 -52
- package/examples/gh/node_modules/typescript/dist/enums/objectFlags.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/outerExpressionKinds.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/outerExpressionKinds.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/outerExpressionKinds.enum.d.ts +0 -16
- package/examples/gh/node_modules/typescript/dist/enums/outerExpressionKinds.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/outerExpressionKinds.enum.js +0 -18
- package/examples/gh/node_modules/typescript/dist/enums/outerExpressionKinds.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/outerExpressionKinds.js +0 -18
- package/examples/gh/node_modules/typescript/dist/enums/outerExpressionKinds.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/regularExpressionFlags.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/regularExpressionFlags.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/regularExpressionFlags.enum.d.ts +0 -13
- package/examples/gh/node_modules/typescript/dist/enums/regularExpressionFlags.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/regularExpressionFlags.enum.js +0 -14
- package/examples/gh/node_modules/typescript/dist/enums/regularExpressionFlags.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/regularExpressionFlags.js +0 -14
- package/examples/gh/node_modules/typescript/dist/enums/regularExpressionFlags.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/scriptKind.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/scriptKind.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/scriptKind.enum.d.ts +0 -11
- package/examples/gh/node_modules/typescript/dist/enums/scriptKind.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/scriptKind.enum.js +0 -12
- package/examples/gh/node_modules/typescript/dist/enums/scriptKind.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/scriptKind.js +0 -12
- package/examples/gh/node_modules/typescript/dist/enums/scriptKind.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/scriptTarget.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/scriptTarget.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/scriptTarget.enum.d.ts +0 -17
- package/examples/gh/node_modules/typescript/dist/enums/scriptTarget.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/scriptTarget.enum.js +0 -18
- package/examples/gh/node_modules/typescript/dist/enums/scriptTarget.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/scriptTarget.js +0 -18
- package/examples/gh/node_modules/typescript/dist/enums/scriptTarget.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/signatureFlags.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/signatureFlags.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/signatureFlags.enum.d.ts +0 -15
- package/examples/gh/node_modules/typescript/dist/enums/signatureFlags.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/signatureFlags.enum.js +0 -17
- package/examples/gh/node_modules/typescript/dist/enums/signatureFlags.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/signatureFlags.js +0 -17
- package/examples/gh/node_modules/typescript/dist/enums/signatureFlags.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/signatureKind.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/signatureKind.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/signatureKind.enum.d.ts +0 -5
- package/examples/gh/node_modules/typescript/dist/enums/signatureKind.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/signatureKind.enum.js +0 -7
- package/examples/gh/node_modules/typescript/dist/enums/signatureKind.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/signatureKind.js +0 -7
- package/examples/gh/node_modules/typescript/dist/enums/signatureKind.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/symbolFlags.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/symbolFlags.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/symbolFlags.enum.d.ts +0 -71
- package/examples/gh/node_modules/typescript/dist/enums/symbolFlags.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/symbolFlags.enum.js +0 -73
- package/examples/gh/node_modules/typescript/dist/enums/symbolFlags.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/symbolFlags.js +0 -73
- package/examples/gh/node_modules/typescript/dist/enums/symbolFlags.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/syntaxKind.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/syntaxKind.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/syntaxKind.enum.d.ts +0 -389
- package/examples/gh/node_modules/typescript/dist/enums/syntaxKind.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/syntaxKind.enum.js +0 -391
- package/examples/gh/node_modules/typescript/dist/enums/syntaxKind.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/syntaxKind.js +0 -391
- package/examples/gh/node_modules/typescript/dist/enums/syntaxKind.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/tokenFlags.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/tokenFlags.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/tokenFlags.enum.d.ts +0 -30
- package/examples/gh/node_modules/typescript/dist/enums/tokenFlags.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/tokenFlags.enum.js +0 -32
- package/examples/gh/node_modules/typescript/dist/enums/tokenFlags.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/tokenFlags.js +0 -32
- package/examples/gh/node_modules/typescript/dist/enums/tokenFlags.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/typeFlags.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/typeFlags.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/typeFlags.enum.d.ts +0 -76
- package/examples/gh/node_modules/typescript/dist/enums/typeFlags.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/typeFlags.enum.js +0 -78
- package/examples/gh/node_modules/typescript/dist/enums/typeFlags.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/typeFlags.js +0 -78
- package/examples/gh/node_modules/typescript/dist/enums/typeFlags.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/typePredicateKind.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/typePredicateKind.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/typePredicateKind.enum.d.ts +0 -7
- package/examples/gh/node_modules/typescript/dist/enums/typePredicateKind.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/typePredicateKind.enum.js +0 -9
- package/examples/gh/node_modules/typescript/dist/enums/typePredicateKind.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/typePredicateKind.js +0 -9
- package/examples/gh/node_modules/typescript/dist/enums/typePredicateKind.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/internal/utils.d.ts +0 -23
- package/examples/gh/node_modules/typescript/dist/internal/utils.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/internal/utils.js +0 -25
- package/examples/gh/node_modules/typescript/dist/internal/utils.js.map +0 -1
- package/examples/gh/node_modules/typescript/lib/getExePath.d.ts +0 -2
- package/examples/gh/node_modules/typescript/lib/getExePath.js +0 -70
- package/examples/gh/node_modules/typescript/lib/tsc.js +0 -28
- package/examples/gh/node_modules/typescript/lib/version.cjs +0 -3
- package/examples/gh/node_modules/typescript/lib/version.d.cts +0 -2
- package/examples/gh/node_modules/typescript/package.json +0 -87
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/License.txt +0 -11
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/README.md +0 -54
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/browser/main.d.ts +0 -17
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/browser/main.js +0 -83
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/browser/ril.d.ts +0 -22
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/browser/ril.js +0 -210
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/api.d.ts +0 -14
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/api.js +0 -87
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/cancellation.d.ts +0 -32
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/cancellation.js +0 -132
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/connection.d.ts +0 -367
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/connection.js +0 -1271
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/disposable.d.ts +0 -9
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/disposable.js +0 -16
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/encoding.d.ts +0 -52
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/encoding.js +0 -70
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/events.d.ts +0 -39
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/events.js +0 -135
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/is.d.ts +0 -7
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/is.js +0 -34
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/linkedMap.d.ts +0 -55
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/linkedMap.js +0 -412
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageBuffer.d.ts +0 -18
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageBuffer.js +0 -155
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageReader.d.ts +0 -77
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageReader.js +0 -246
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageWriter.d.ts +0 -60
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageWriter.js +0 -157
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messages.d.ts +0 -369
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messages.js +0 -436
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/ral.d.ts +0 -74
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/ral.js +0 -23
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/semaphore.d.ts +0 -10
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/semaphore.js +0 -74
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/sharedArrayCancellation.d.ts +0 -15
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/sharedArrayCancellation.js +0 -77
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/node/main.d.ts +0 -58
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/node/main.js +0 -289
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/node/ril.d.ts +0 -12
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/node/ril.js +0 -163
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/package.json +0 -54
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/typings/thenable.d.ts +0 -5
- package/examples/gh/package.json +0 -45
- package/examples/gh/src/commands/auth.ts +0 -66
- package/examples/gh/src/commands/issue.ts +0 -120
- package/examples/gh/src/commands/pr.ts +0 -125
- package/examples/gh/src/data/issues.yaml +0 -5
- package/examples/gh/src/data/issues.yaml.d.ts +0 -17
- package/examples/gh/src/data/pull-requests.yaml +0 -7
- package/examples/gh/src/data/pull-requests.yaml.d.ts +0 -18
- package/examples/gh/src/docs.ts +0 -11
- package/examples/gh/src/lib/auth.ts +0 -37
- package/examples/gh/src/lib/utils.ts +0 -17
- package/examples/gh/src/main.test.ts +0 -307
- package/examples/gh/src/main.ts +0 -46
- package/examples/help-config.ts +0 -43
- package/examples/interactive.ts +0 -67
- package/examples/json-mode.ts +0 -95
- package/examples/middleware.ts +0 -71
- package/examples/multi-command.ts +0 -66
- package/examples/output-extras.ts +0 -46
- package/examples/parser-control.ts +0 -40
- package/examples/pwsh-demo/README.md +0 -40
- package/examples/pwsh-demo/package.json +0 -41
- package/examples/pwsh-demo/pwsh-demo.cmd +0 -3
- package/examples/pwsh-demo/smoke-powershell.ps1 +0 -218
- package/examples/pwsh-demo/src/main.test.ts +0 -45
- package/examples/pwsh-demo/src/main.ts +0 -140
- package/examples/spinner-progress.ts +0 -49
- package/examples/standard-schema.ts +0 -45
- package/examples/testing.ts +0 -147
- package/examples/transport-launcher.ts +0 -85
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
//#region src/core/schema/stdin.d.ts
|
|
2
|
-
/** All stdin trigger modes as a runtime array. */
|
|
3
|
-
declare const STDIN_WHENS: readonly ["dash", "missing", "dash-or-missing"];
|
|
4
|
-
/**
|
|
5
|
-
* When a stdin-enabled input reads the stdin stream.
|
|
6
|
-
*
|
|
7
|
-
* - `'dash'` — only an explicit `-` selects stdin; an absent input falls
|
|
8
|
-
* through to the later sources
|
|
9
|
-
* - `'missing'` — only an absent input selects stdin; a `-` stays the literal
|
|
10
|
-
* string `'-'`
|
|
11
|
-
* - `'dash-or-missing'` — both select stdin
|
|
12
|
-
*/
|
|
13
|
-
type StdinWhen = (typeof STDIN_WHENS)[number];
|
|
14
|
-
/** All stdin consumption modes as a runtime array. */
|
|
15
|
-
declare const STDIN_CONSUMES: readonly ["exclusive", "broadcast"];
|
|
16
|
-
/**
|
|
17
|
-
* How a stdin-enabled input shares the stream with the command's other inputs.
|
|
18
|
-
*
|
|
19
|
-
* - `'exclusive'` — this input is the command's only stdin consumer, and a
|
|
20
|
-
* second exclusive consumer is a schema error
|
|
21
|
-
* - `'broadcast'` — every broadcast consumer on the command receives the same
|
|
22
|
-
* buffer
|
|
23
|
-
*/
|
|
24
|
-
type StdinConsume = (typeof STDIN_CONSUMES)[number];
|
|
25
|
-
/** The normalized stdin axis of a flag or an arg. */
|
|
26
|
-
interface StdinBinding {
|
|
27
|
-
/** When this input reads the stdin stream. */
|
|
28
|
-
readonly when: StdinWhen;
|
|
29
|
-
/** Whether this input consumes the stream alone. */
|
|
30
|
-
readonly consume: StdinConsume;
|
|
31
|
-
/** Whether one trailing line terminator is dropped from a single value. */
|
|
32
|
-
readonly trim: boolean;
|
|
33
|
-
}
|
|
34
|
-
/** Stdin settings accepted by `.stdin()` and by the schema definitions. */
|
|
35
|
-
interface StdinOptions {
|
|
36
|
-
/**
|
|
37
|
-
* When this input reads the stdin stream.
|
|
38
|
-
* @defaultValue `'dash-or-missing'`
|
|
39
|
-
*/
|
|
40
|
-
readonly when?: StdinWhen | undefined;
|
|
41
|
-
/**
|
|
42
|
-
* Whether this input consumes the stream alone.
|
|
43
|
-
* @defaultValue `'exclusive'`
|
|
44
|
-
*/
|
|
45
|
-
readonly consume?: StdinConsume | undefined;
|
|
46
|
-
/**
|
|
47
|
-
* Drop one trailing `\n`, `\r\n`, or `\r` from a single value read off the
|
|
48
|
-
* stream, so `echo ./dir | mycli` delivers `'./dir'`. A string is the one
|
|
49
|
-
* kind that still carries the terminator at that point; every other kind
|
|
50
|
-
* drops it while decoding and is unaffected.
|
|
51
|
-
* @defaultValue `false`
|
|
52
|
-
*/
|
|
53
|
-
readonly trim?: boolean | undefined;
|
|
54
|
-
}
|
|
55
|
-
/** The binding `.stdin()` produces when called without options. */
|
|
56
|
-
declare const DEFAULT_STDIN_BINDING: StdinBinding;
|
|
57
|
-
/**
|
|
58
|
-
* Reject stdin settings that name a mode outside the declared unions.
|
|
59
|
-
*
|
|
60
|
-
* @param options - Stdin settings from a builder call or a schema definition.
|
|
61
|
-
* @throws {CLIError} With code `'INVALID_SCHEMA'` on an unknown mode.
|
|
62
|
-
*/
|
|
63
|
-
declare function assertStdinOptions(options: StdinOptions): void;
|
|
64
|
-
/**
|
|
65
|
-
* Normalize stdin settings into the binding a schema stores.
|
|
66
|
-
*
|
|
67
|
-
* @param options - Stdin settings, or `undefined` for every default.
|
|
68
|
-
* @returns A fully populated {@link StdinBinding}.
|
|
69
|
-
* @throws {CLIError} With code `'INVALID_SCHEMA'` on an unknown mode.
|
|
70
|
-
*/
|
|
71
|
-
declare function normalizeStdinBinding(options?: StdinOptions): StdinBinding;
|
|
72
|
-
/**
|
|
73
|
-
* Whether an explicit `-` selects stdin for this binding.
|
|
74
|
-
*
|
|
75
|
-
* @param binding - Anything carrying the stdin trigger.
|
|
76
|
-
* @returns `true` for `'dash'` and `'dash-or-missing'`.
|
|
77
|
-
*/
|
|
78
|
-
declare function stdinReadsOnDash(binding: Pick<StdinBinding, "when">): boolean;
|
|
79
|
-
/**
|
|
80
|
-
* Whether an absent CLI value selects stdin for this binding.
|
|
81
|
-
*
|
|
82
|
-
* @param binding - Anything carrying the stdin trigger.
|
|
83
|
-
* @returns `true` for `'missing'` and `'dash-or-missing'`.
|
|
84
|
-
*/
|
|
85
|
-
declare function stdinReadsWhenMissing(binding: Pick<StdinBinding, "when">): boolean;
|
|
86
|
-
//#endregion
|
|
87
|
-
export { DEFAULT_STDIN_BINDING, STDIN_CONSUMES, STDIN_WHENS, type StdinBinding, type StdinConsume, type StdinOptions, type StdinWhen, assertStdinOptions, normalizeStdinBinding, stdinReadsOnDash, stdinReadsWhenMissing };
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import { CLIError } from "../errors/index.mjs";
|
|
2
|
-
//#region src/core/schema/stdin.ts
|
|
3
|
-
/**
|
|
4
|
-
* The stdin binding shared by the `flag` and `arg` factories.
|
|
5
|
-
*
|
|
6
|
-
* A {@link StdinBinding} says when an input reads the stdin stream, whether it
|
|
7
|
-
* consumes the stream alone, and whether a single value drops the terminator a
|
|
8
|
-
* pipe appends. Both factories store one of these under their `stdin` field, and
|
|
9
|
-
* the parse, preflight, and resolve pipelines read the stdin axis through it.
|
|
10
|
-
*
|
|
11
|
-
* @module dreamcli/core/schema/stdin
|
|
12
|
-
*/
|
|
13
|
-
/** All stdin trigger modes as a runtime array. */
|
|
14
|
-
const STDIN_WHENS = [
|
|
15
|
-
"dash",
|
|
16
|
-
"missing",
|
|
17
|
-
"dash-or-missing"
|
|
18
|
-
];
|
|
19
|
-
/** All stdin consumption modes as a runtime array. */
|
|
20
|
-
const STDIN_CONSUMES = ["exclusive", "broadcast"];
|
|
21
|
-
/** The binding `.stdin()` produces when called without options. */
|
|
22
|
-
const DEFAULT_STDIN_BINDING = {
|
|
23
|
-
when: "dash-or-missing",
|
|
24
|
-
consume: "exclusive",
|
|
25
|
-
trim: false
|
|
26
|
-
};
|
|
27
|
-
/**
|
|
28
|
-
* Reject stdin settings that name a mode outside the declared unions.
|
|
29
|
-
*
|
|
30
|
-
* @param options - Stdin settings from a builder call or a schema definition.
|
|
31
|
-
* @throws {CLIError} With code `'INVALID_SCHEMA'` on an unknown mode.
|
|
32
|
-
*/
|
|
33
|
-
function assertStdinOptions(options) {
|
|
34
|
-
if (options.when !== void 0 && !STDIN_WHENS.includes(options.when)) throw new CLIError(`Unknown stdin mode '${String(options.when)}'`, {
|
|
35
|
-
code: "INVALID_SCHEMA",
|
|
36
|
-
details: {
|
|
37
|
-
when: options.when,
|
|
38
|
-
allowed: [...STDIN_WHENS]
|
|
39
|
-
},
|
|
40
|
-
suggest: `Use one of: ${STDIN_WHENS.join(", ")}`
|
|
41
|
-
});
|
|
42
|
-
if (options.consume !== void 0 && !STDIN_CONSUMES.includes(options.consume)) throw new CLIError(`Unknown stdin consumption mode '${String(options.consume)}'`, {
|
|
43
|
-
code: "INVALID_SCHEMA",
|
|
44
|
-
details: {
|
|
45
|
-
consume: options.consume,
|
|
46
|
-
allowed: [...STDIN_CONSUMES]
|
|
47
|
-
},
|
|
48
|
-
suggest: `Use one of: ${STDIN_CONSUMES.join(", ")}`
|
|
49
|
-
});
|
|
50
|
-
if (options.trim !== void 0 && typeof options.trim !== "boolean") throw new CLIError(`Stdin trim must be a boolean, received '${String(options.trim)}'`, {
|
|
51
|
-
code: "INVALID_SCHEMA",
|
|
52
|
-
details: { trim: options.trim },
|
|
53
|
-
suggest: "Pass trim: true or trim: false"
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* Normalize stdin settings into the binding a schema stores.
|
|
58
|
-
*
|
|
59
|
-
* @param options - Stdin settings, or `undefined` for every default.
|
|
60
|
-
* @returns A fully populated {@link StdinBinding}.
|
|
61
|
-
* @throws {CLIError} With code `'INVALID_SCHEMA'` on an unknown mode.
|
|
62
|
-
*/
|
|
63
|
-
function normalizeStdinBinding(options) {
|
|
64
|
-
if (options === void 0) return DEFAULT_STDIN_BINDING;
|
|
65
|
-
assertStdinOptions(options);
|
|
66
|
-
return {
|
|
67
|
-
when: options.when ?? DEFAULT_STDIN_BINDING.when,
|
|
68
|
-
consume: options.consume ?? DEFAULT_STDIN_BINDING.consume,
|
|
69
|
-
trim: options.trim ?? DEFAULT_STDIN_BINDING.trim
|
|
70
|
-
};
|
|
71
|
-
}
|
|
72
|
-
/**
|
|
73
|
-
* Whether an explicit `-` selects stdin for this binding.
|
|
74
|
-
*
|
|
75
|
-
* @param binding - Anything carrying the stdin trigger.
|
|
76
|
-
* @returns `true` for `'dash'` and `'dash-or-missing'`.
|
|
77
|
-
*/
|
|
78
|
-
function stdinReadsOnDash(binding) {
|
|
79
|
-
return binding.when === "dash" || binding.when === "dash-or-missing";
|
|
80
|
-
}
|
|
81
|
-
/**
|
|
82
|
-
* Whether an absent CLI value selects stdin for this binding.
|
|
83
|
-
*
|
|
84
|
-
* @param binding - Anything carrying the stdin trigger.
|
|
85
|
-
* @returns `true` for `'missing'` and `'dash-or-missing'`.
|
|
86
|
-
*/
|
|
87
|
-
function stdinReadsWhenMissing(binding) {
|
|
88
|
-
return binding.when === "missing" || binding.when === "dash-or-missing";
|
|
89
|
-
}
|
|
90
|
-
//#endregion
|
|
91
|
-
export { DEFAULT_STDIN_BINDING, STDIN_CONSUMES, STDIN_WHENS, assertStdinOptions, normalizeStdinBinding, stdinReadsOnDash, stdinReadsWhenMissing };
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
//#region src/core/schema/string-constraints.d.ts
|
|
2
|
-
/**
|
|
3
|
-
* String constraints for string-valued flags.
|
|
4
|
-
*
|
|
5
|
-
* A single, shared representation and validator so the parse path
|
|
6
|
-
* (`core/parse`) and the resolver coercion path (`core/resolve/coerce`) cannot
|
|
7
|
-
* drift: both import {@link validateStringConstraints} and apply the checks in
|
|
8
|
-
* the same order (nonEmpty → minLength → maxLength → pattern).
|
|
9
|
-
*
|
|
10
|
-
* @module dreamcli/core/schema/string-constraints
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
* Runtime string constraints attached to a string flag/arg schema.
|
|
14
|
-
*
|
|
15
|
-
* Length bounds are **inclusive** and measured in UTF-16 code units
|
|
16
|
-
* (`String.prototype.length`). All fields are optional; an absent field means
|
|
17
|
-
* "no constraint".
|
|
18
|
-
*/
|
|
19
|
-
interface StringConstraints {
|
|
20
|
-
/**
|
|
21
|
-
* Reject empty strings (`''`). Whitespace-only strings are still accepted;
|
|
22
|
-
* combine with {@link StringConstraints.pattern | pattern} for stricter rules.
|
|
23
|
-
* @defaultValue `false`
|
|
24
|
-
*/
|
|
25
|
-
readonly nonEmpty?: boolean;
|
|
26
|
-
/**
|
|
27
|
-
* Inclusive minimum length. Shorter values are rejected.
|
|
28
|
-
* @defaultValue `undefined` (no minimum)
|
|
29
|
-
*/
|
|
30
|
-
readonly minLength?: number;
|
|
31
|
-
/**
|
|
32
|
-
* Inclusive maximum length. Longer values are rejected.
|
|
33
|
-
* @defaultValue `undefined` (no maximum)
|
|
34
|
-
*/
|
|
35
|
-
readonly maxLength?: number;
|
|
36
|
-
/**
|
|
37
|
-
* Regular expression the value must match. Tested with
|
|
38
|
-
* `RegExp.prototype.test`; anchor with `^`/`$` for full-string matching.
|
|
39
|
-
* @defaultValue `undefined` (no pattern)
|
|
40
|
-
*/
|
|
41
|
-
readonly pattern?: RegExp;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* A failed string constraint, discriminated by which rule was violated.
|
|
45
|
-
*
|
|
46
|
-
* `minLength` / `maxLength` carry the offending bound and `pattern` carries
|
|
47
|
-
* the source so callers can render them.
|
|
48
|
-
*/
|
|
49
|
-
type StringConstraintViolation = {
|
|
50
|
-
readonly kind: "nonEmpty";
|
|
51
|
-
} | {
|
|
52
|
-
readonly kind: "minLength";
|
|
53
|
-
readonly bound: number;
|
|
54
|
-
} | {
|
|
55
|
-
readonly kind: "maxLength";
|
|
56
|
-
readonly bound: number;
|
|
57
|
-
} | {
|
|
58
|
-
readonly kind: "pattern";
|
|
59
|
-
readonly pattern: string;
|
|
60
|
-
};
|
|
61
|
-
/**
|
|
62
|
-
* Validate a string value against constraints.
|
|
63
|
-
*
|
|
64
|
-
* The single source of truth for string-constraint checks, shared by the
|
|
65
|
-
* parse and coerce paths. Checks run in a fixed order — **nonEmpty →
|
|
66
|
-
* minLength → maxLength → pattern** — and the first failure is returned.
|
|
67
|
-
* Stateful regexes (`g` / `y` flags) are tested from index 0 every time, so
|
|
68
|
-
* repeated validations cannot flip-flop on `lastIndex`.
|
|
69
|
-
*
|
|
70
|
-
* @param value - The string value to validate.
|
|
71
|
-
* @param constraints - Constraints to enforce, or `undefined` for none.
|
|
72
|
-
* @returns The first {@link StringConstraintViolation}, or `undefined` if valid.
|
|
73
|
-
*/
|
|
74
|
-
declare function validateStringConstraints(value: string, constraints: StringConstraints | undefined): StringConstraintViolation | undefined;
|
|
75
|
-
/**
|
|
76
|
-
* Render a terse, human-readable reason for a constraint violation.
|
|
77
|
-
*
|
|
78
|
-
* @param violation - The violation to describe.
|
|
79
|
-
* @returns A message suffix such as `must not be empty` or `must match /^ghp_/`.
|
|
80
|
-
*/
|
|
81
|
-
declare function describeStringConstraintViolation(violation: StringConstraintViolation): string;
|
|
82
|
-
/**
|
|
83
|
-
* Build the error-detail fields naming the rule a value broke.
|
|
84
|
-
*
|
|
85
|
-
* The parse path for flags and args and the resolver coercion path for env,
|
|
86
|
-
* config, prompt, and stdin all attach these fields, so a consumer reading
|
|
87
|
-
* `details` gets one shape wherever the failure came from.
|
|
88
|
-
*
|
|
89
|
-
* @param violation - The violation to describe.
|
|
90
|
-
* @returns `constraint` plus the bound or pattern the violation carries.
|
|
91
|
-
*/
|
|
92
|
-
declare function stringConstraintDetails(violation: StringConstraintViolation): Readonly<Record<string, unknown>>;
|
|
93
|
-
/**
|
|
94
|
-
* Assert that a constraints object is well-formed at schema-construction time.
|
|
95
|
-
*
|
|
96
|
-
* Length bounds must be non-negative integers — a fractional or negative
|
|
97
|
-
* length is meaningless (omit the field for "no bound"). An inverted range
|
|
98
|
-
* (`minLength > maxLength`) is also rejected, since it makes the flag/arg
|
|
99
|
-
* permanently unsatisfiable. Throws so the misconfiguration surfaces where
|
|
100
|
-
* the flag/arg is declared, not at parse time.
|
|
101
|
-
*
|
|
102
|
-
* @param constraints - The constraints to validate.
|
|
103
|
-
* @throws RangeError if `minLength` or `maxLength` is negative, fractional, or
|
|
104
|
-
* non-finite, or if `minLength` exceeds `maxLength`.
|
|
105
|
-
*/
|
|
106
|
-
declare function assertStringConstraints(constraints: StringConstraints): void;
|
|
107
|
-
//#endregion
|
|
108
|
-
export { type StringConstraintViolation, type StringConstraints, assertStringConstraints, describeStringConstraintViolation, stringConstraintDetails, validateStringConstraints };
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
//#region src/core/schema/string-constraints.ts
|
|
2
|
-
/**
|
|
3
|
-
* Validate a string value against constraints.
|
|
4
|
-
*
|
|
5
|
-
* The single source of truth for string-constraint checks, shared by the
|
|
6
|
-
* parse and coerce paths. Checks run in a fixed order — **nonEmpty →
|
|
7
|
-
* minLength → maxLength → pattern** — and the first failure is returned.
|
|
8
|
-
* Stateful regexes (`g` / `y` flags) are tested from index 0 every time, so
|
|
9
|
-
* repeated validations cannot flip-flop on `lastIndex`.
|
|
10
|
-
*
|
|
11
|
-
* @param value - The string value to validate.
|
|
12
|
-
* @param constraints - Constraints to enforce, or `undefined` for none.
|
|
13
|
-
* @returns The first {@link StringConstraintViolation}, or `undefined` if valid.
|
|
14
|
-
*/
|
|
15
|
-
function validateStringConstraints(value, constraints) {
|
|
16
|
-
if (constraints === void 0) return;
|
|
17
|
-
if (constraints.nonEmpty === true && value.length === 0) return { kind: "nonEmpty" };
|
|
18
|
-
if (constraints.minLength !== void 0 && value.length < constraints.minLength) return {
|
|
19
|
-
kind: "minLength",
|
|
20
|
-
bound: constraints.minLength
|
|
21
|
-
};
|
|
22
|
-
if (constraints.maxLength !== void 0 && value.length > constraints.maxLength) return {
|
|
23
|
-
kind: "maxLength",
|
|
24
|
-
bound: constraints.maxLength
|
|
25
|
-
};
|
|
26
|
-
if (constraints.pattern !== void 0) {
|
|
27
|
-
constraints.pattern.lastIndex = 0;
|
|
28
|
-
if (!constraints.pattern.test(value)) return {
|
|
29
|
-
kind: "pattern",
|
|
30
|
-
pattern: String(constraints.pattern)
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Render a terse, human-readable reason for a constraint violation.
|
|
36
|
-
*
|
|
37
|
-
* @param violation - The violation to describe.
|
|
38
|
-
* @returns A message suffix such as `must not be empty` or `must match /^ghp_/`.
|
|
39
|
-
*/
|
|
40
|
-
function describeStringConstraintViolation(violation) {
|
|
41
|
-
switch (violation.kind) {
|
|
42
|
-
case "nonEmpty": return "must not be empty";
|
|
43
|
-
case "minLength": return `must be at least ${violation.bound} characters`;
|
|
44
|
-
case "maxLength": return `must be at most ${violation.bound} characters`;
|
|
45
|
-
case "pattern": return `must match ${violation.pattern}`;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* Build the error-detail fields naming the rule a value broke.
|
|
50
|
-
*
|
|
51
|
-
* The parse path for flags and args and the resolver coercion path for env,
|
|
52
|
-
* config, prompt, and stdin all attach these fields, so a consumer reading
|
|
53
|
-
* `details` gets one shape wherever the failure came from.
|
|
54
|
-
*
|
|
55
|
-
* @param violation - The violation to describe.
|
|
56
|
-
* @returns `constraint` plus the bound or pattern the violation carries.
|
|
57
|
-
*/
|
|
58
|
-
function stringConstraintDetails(violation) {
|
|
59
|
-
return {
|
|
60
|
-
constraint: violation.kind,
|
|
61
|
-
..."bound" in violation ? { bound: violation.bound } : {},
|
|
62
|
-
..."pattern" in violation ? { pattern: violation.pattern } : {}
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
/**
|
|
66
|
-
* Assert that a constraints object is well-formed at schema-construction time.
|
|
67
|
-
*
|
|
68
|
-
* Length bounds must be non-negative integers — a fractional or negative
|
|
69
|
-
* length is meaningless (omit the field for "no bound"). An inverted range
|
|
70
|
-
* (`minLength > maxLength`) is also rejected, since it makes the flag/arg
|
|
71
|
-
* permanently unsatisfiable. Throws so the misconfiguration surfaces where
|
|
72
|
-
* the flag/arg is declared, not at parse time.
|
|
73
|
-
*
|
|
74
|
-
* @param constraints - The constraints to validate.
|
|
75
|
-
* @throws RangeError if `minLength` or `maxLength` is negative, fractional, or
|
|
76
|
-
* non-finite, or if `minLength` exceeds `maxLength`.
|
|
77
|
-
*/
|
|
78
|
-
function assertStringConstraints(constraints) {
|
|
79
|
-
for (const field of ["minLength", "maxLength"]) {
|
|
80
|
-
const bound = constraints[field];
|
|
81
|
-
if (bound !== void 0 && (!Number.isInteger(bound) || bound < 0)) throw new RangeError(`string constraint '${field}' must be a non-negative integer (got ${bound}); omit it for no bound`);
|
|
82
|
-
}
|
|
83
|
-
if (constraints.minLength !== void 0 && constraints.maxLength !== void 0 && constraints.minLength > constraints.maxLength) throw new RangeError(`string constraint 'minLength' (${constraints.minLength}) must not exceed 'maxLength' (${constraints.maxLength})`);
|
|
84
|
-
}
|
|
85
|
-
//#endregion
|
|
86
|
-
export { assertStringConstraints, describeStringConstraintViolation, stringConstraintDetails, validateStringConstraints };
|
|
@@ -1,150 +0,0 @@
|
|
|
1
|
-
//#region src/core/schema/value-parsers.d.ts
|
|
2
|
-
/**
|
|
3
|
-
* Value-level machinery behind the sugar factories on both `flag` and `arg`
|
|
4
|
-
* (`url()`, `path()`, `date()`, `duration()`, `bytes()`).
|
|
5
|
-
*
|
|
6
|
-
* Each parser converts a raw CLI/env/config/stdin value into a typed value and
|
|
7
|
-
* throws a plain `Error` with a human-readable reason on invalid input. The
|
|
8
|
-
* parse and resolve pipelines wrap thrown errors with the subject's context
|
|
9
|
-
* (`Failed to parse flag --x: <reason>`, `Failed to parse argument <x>: …`),
|
|
10
|
-
* so parsers only describe the value problem itself.
|
|
11
|
-
*
|
|
12
|
-
* The option types keep their `Flag` prefix from the release that introduced
|
|
13
|
-
* them on the flag factory alone. They describe the value, not flag syntax,
|
|
14
|
-
* and the arg factory takes the same objects.
|
|
15
|
-
*
|
|
16
|
-
* @module dreamcli/core/schema/value-parsers
|
|
17
|
-
*/
|
|
18
|
-
/** Options accepted by `flag.url()` and `arg.url()`. */
|
|
19
|
-
interface UrlFlagOptions {
|
|
20
|
-
/**
|
|
21
|
-
* Allowed URL protocols, without the trailing colon (e.g. `['https']`).
|
|
22
|
-
* @defaultValue `undefined` (any protocol)
|
|
23
|
-
*/
|
|
24
|
-
readonly protocols?: readonly string[];
|
|
25
|
-
}
|
|
26
|
-
/** Options accepted by `flag.date()` and `arg.date()`. */
|
|
27
|
-
interface DateFlagOptions {
|
|
28
|
-
/**
|
|
29
|
-
* Inclusive earliest allowed date.
|
|
30
|
-
* @defaultValue `undefined` (no lower bound)
|
|
31
|
-
*/
|
|
32
|
-
readonly min?: Date;
|
|
33
|
-
/**
|
|
34
|
-
* Inclusive latest allowed date.
|
|
35
|
-
* @defaultValue `undefined` (no upper bound)
|
|
36
|
-
*/
|
|
37
|
-
readonly max?: Date;
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* Parse a strict ISO-8601 date string into a `Date`.
|
|
41
|
-
*
|
|
42
|
-
* Rejects non-string input, non-ISO shapes, and calendar-invalid components
|
|
43
|
-
* (`2026-02-31` does not silently roll over to March). Offset-less datetimes
|
|
44
|
-
* are interpreted as UTC so results never depend on the machine's timezone.
|
|
45
|
-
*
|
|
46
|
-
* @param raw - Raw flag value.
|
|
47
|
-
* @param options - Optional inclusive date bounds.
|
|
48
|
-
* @returns The parsed `Date`.
|
|
49
|
-
* @throws Error with a human-readable reason on invalid input.
|
|
50
|
-
*/
|
|
51
|
-
declare function parseDateValue(raw: unknown, options?: DateFlagOptions): Date;
|
|
52
|
-
/**
|
|
53
|
-
* Parse a URL string into a `URL`, optionally restricting protocols.
|
|
54
|
-
*
|
|
55
|
-
* @param raw - Raw flag value.
|
|
56
|
-
* @param options - Optional protocol allowlist.
|
|
57
|
-
* @returns The parsed `URL`.
|
|
58
|
-
* @throws Error with a human-readable reason on invalid input.
|
|
59
|
-
*/
|
|
60
|
-
declare function parseUrlValue(raw: unknown, options?: UrlFlagOptions): URL;
|
|
61
|
-
/**
|
|
62
|
-
* Parse a human duration (`'30s'`, `'5m'`, `'1.5h'`, `'250ms'`, `'2d'`) into
|
|
63
|
-
* milliseconds. A bare number (`'1500'`) is treated as milliseconds. Compound
|
|
64
|
-
* values (`'1h30m'`) are supported.
|
|
65
|
-
*
|
|
66
|
-
* @param raw - Raw flag value.
|
|
67
|
-
* @returns Duration in milliseconds.
|
|
68
|
-
* @throws Error with a human-readable reason on invalid input.
|
|
69
|
-
*/
|
|
70
|
-
declare function parseDurationValue(raw: unknown): number;
|
|
71
|
-
/**
|
|
72
|
-
* Parse a human byte size (`'512mb'`, `'1.5gb'`, `'64kb'`, `'100b'`) into a
|
|
73
|
-
* byte count. Units are binary (`1kb` = 1024 bytes) and case-insensitive; a
|
|
74
|
-
* bare number is treated as bytes.
|
|
75
|
-
*
|
|
76
|
-
* @param raw - Raw flag value.
|
|
77
|
-
* @returns Size in bytes.
|
|
78
|
-
* @throws Error with a human-readable reason on invalid input.
|
|
79
|
-
*/
|
|
80
|
-
declare function parseBytesValue(raw: unknown): number;
|
|
81
|
-
/** Options accepted by `flag.path()` and `arg.path()` for any-kind or file paths. */
|
|
82
|
-
interface FilePathFlagOptions {
|
|
83
|
-
/**
|
|
84
|
-
* Reject the value if nothing exists at the path.
|
|
85
|
-
* @defaultValue `false` (`true` when `type` is set)
|
|
86
|
-
*/
|
|
87
|
-
readonly mustExist?: boolean;
|
|
88
|
-
/**
|
|
89
|
-
* Require the path to be a file or a directory. Implies existence
|
|
90
|
-
* unless `mustExist` is explicitly `false`, in which case a missing
|
|
91
|
-
* path passes and only an existing path is type-checked.
|
|
92
|
-
* @defaultValue `undefined` (any kind)
|
|
93
|
-
*/
|
|
94
|
-
readonly type?: "file";
|
|
95
|
-
/** Directory creation is only available with `type: 'directory'`. */
|
|
96
|
-
readonly create?: never;
|
|
97
|
-
}
|
|
98
|
-
/** Options accepted by `flag.path()` and `arg.path()` for directory paths. */
|
|
99
|
-
interface DirectoryPathFlagOptions {
|
|
100
|
-
/**
|
|
101
|
-
* Reject the value if nothing exists at the path.
|
|
102
|
-
* @defaultValue `false` (`true` when `type` is set)
|
|
103
|
-
*/
|
|
104
|
-
readonly mustExist?: boolean;
|
|
105
|
-
/**
|
|
106
|
-
* Require the path to be a directory. Implies existence unless
|
|
107
|
-
* `mustExist` is explicitly `false`, in which case a missing path
|
|
108
|
-
* passes and only an existing path is type-checked.
|
|
109
|
-
*/
|
|
110
|
-
readonly type: "directory";
|
|
111
|
-
/**
|
|
112
|
-
* Create the directory (recursively) when nothing exists at the path.
|
|
113
|
-
* An existing non-directory path still fails the type check.
|
|
114
|
-
* @defaultValue `false`
|
|
115
|
-
*/
|
|
116
|
-
readonly create?: boolean;
|
|
117
|
-
}
|
|
118
|
-
/** Options accepted by `flag.path()` and `arg.path()`. */
|
|
119
|
-
type PathFlagOptions = FilePathFlagOptions | DirectoryPathFlagOptions;
|
|
120
|
-
/**
|
|
121
|
-
* Filesystem expectations attached by `flag.path()` and `arg.path()`.
|
|
122
|
-
*
|
|
123
|
-
* Checked after resolution (not during parse) via the runtime adapter, so
|
|
124
|
-
* `src/core` stays free of platform I/O and every resolved value is validated
|
|
125
|
-
* whichever source produced it, defaults included.
|
|
126
|
-
*/
|
|
127
|
-
interface PathChecks {
|
|
128
|
-
/** Reject the value if nothing exists at the path. */
|
|
129
|
-
readonly mustExist: boolean;
|
|
130
|
-
/**
|
|
131
|
-
* Require the existing path to be a file or a directory. Implies
|
|
132
|
-
* existence when set, unless `mustExist` is `false`.
|
|
133
|
-
*/
|
|
134
|
-
readonly type: "file" | "directory" | undefined;
|
|
135
|
-
/** Create the directory (recursively) when nothing exists at the path. */
|
|
136
|
-
readonly create: boolean;
|
|
137
|
-
}
|
|
138
|
-
/**
|
|
139
|
-
* Normalize path factory options into the {@link PathChecks} a schema stores.
|
|
140
|
-
*
|
|
141
|
-
* Options that ask for nothing (absent, `{}`, or `mustExist: false` alone)
|
|
142
|
-
* produce `undefined`, so the schema records no checks and the resolver skips
|
|
143
|
-
* the filesystem entirely.
|
|
144
|
-
*
|
|
145
|
-
* @param options - Options passed to `flag.path()` or `arg.path()`.
|
|
146
|
-
* @returns The checks to store, or `undefined` when none were requested.
|
|
147
|
-
*/
|
|
148
|
-
declare function buildPathChecks(options?: PathFlagOptions): PathChecks | undefined;
|
|
149
|
-
//#endregion
|
|
150
|
-
export { type DateFlagOptions, type PathChecks, type PathFlagOptions, type UrlFlagOptions, buildPathChecks, parseBytesValue, parseDateValue, parseDurationValue, parseUrlValue };
|
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
//#region src/core/schema/value-parsers.ts
|
|
2
|
-
/**
|
|
3
|
-
* Strict ISO-8601 shapes accepted by {@link parseDateValue}:
|
|
4
|
-
* `YYYY-MM-DD`, optionally followed by `THH:MM`, `:SS`, `.mmm`, and a
|
|
5
|
-
* `Z` / `±HH:MM` offset. Anything else — including `Date.parse`-lenient
|
|
6
|
-
* inputs like `'0'` or `'March 5'` — is rejected.
|
|
7
|
-
*/
|
|
8
|
-
const ISO_DATE_PATTERN = /^(\d{4})-(\d{2})-(\d{2})(?:T(\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{1,3}))?)?(Z|[+-]\d{2}:\d{2})?)?$/;
|
|
9
|
-
/**
|
|
10
|
-
* Parse a strict ISO-8601 date string into a `Date`.
|
|
11
|
-
*
|
|
12
|
-
* Rejects non-string input, non-ISO shapes, and calendar-invalid components
|
|
13
|
-
* (`2026-02-31` does not silently roll over to March). Offset-less datetimes
|
|
14
|
-
* are interpreted as UTC so results never depend on the machine's timezone.
|
|
15
|
-
*
|
|
16
|
-
* @param raw - Raw flag value.
|
|
17
|
-
* @param options - Optional inclusive date bounds.
|
|
18
|
-
* @returns The parsed `Date`.
|
|
19
|
-
* @throws Error with a human-readable reason on invalid input.
|
|
20
|
-
*/
|
|
21
|
-
function parseDateValue(raw, options) {
|
|
22
|
-
if (raw instanceof Date) return validateDateBounds(raw, options);
|
|
23
|
-
if (typeof raw !== "string") throw new Error(`Invalid date '${String(raw)}': expected an ISO-8601 string`);
|
|
24
|
-
const match = ISO_DATE_PATTERN.exec(raw);
|
|
25
|
-
if (match === null) throw new Error(`Invalid date '${raw}': expected ISO-8601 (e.g. 2026-07-10 or 2026-07-10T14:30:00Z)`);
|
|
26
|
-
const [, yearPart, monthPart, dayPart, hourPart, minutePart, secondPart] = match;
|
|
27
|
-
const year = Number(yearPart);
|
|
28
|
-
const month = Number(monthPart);
|
|
29
|
-
const day = Number(dayPart);
|
|
30
|
-
if (month < 1 || month > 12) throw new Error(`Invalid date '${raw}': month must be 01-12`);
|
|
31
|
-
if (day < 1 || day > daysInMonth(year, month)) throw new Error(`Invalid date '${raw}': not a real calendar date`);
|
|
32
|
-
if (hourPart !== void 0 && Number(hourPart) > 23) throw new Error(`Invalid date '${raw}': hours must be 00-23`);
|
|
33
|
-
if (minutePart !== void 0 && Number(minutePart) > 59) throw new Error(`Invalid date '${raw}': minutes must be 00-59`);
|
|
34
|
-
if (secondPart !== void 0 && Number(secondPart) > 59) throw new Error(`Invalid date '${raw}': seconds must be 00-59`);
|
|
35
|
-
const hasTime = match[4] !== void 0;
|
|
36
|
-
const hasOffset = match[8] !== void 0;
|
|
37
|
-
const parsed = new Date(hasTime && !hasOffset ? `${raw}Z` : raw);
|
|
38
|
-
if (Number.isNaN(parsed.getTime())) throw new Error(`Invalid date '${raw}'`);
|
|
39
|
-
return validateDateBounds(parsed, options, raw);
|
|
40
|
-
}
|
|
41
|
-
/** Number of days in a month (1-12), accounting for leap years. */
|
|
42
|
-
function daysInMonth(year, month) {
|
|
43
|
-
return new Date(Date.UTC(year, month, 0)).getUTCDate();
|
|
44
|
-
}
|
|
45
|
-
/** Enforce inclusive date bounds, throwing a human-readable error on violation. */
|
|
46
|
-
function validateDateBounds(value, options, raw) {
|
|
47
|
-
const display = raw ?? value.toISOString();
|
|
48
|
-
if (options?.min !== void 0 && value.getTime() < options.min.getTime()) throw new Error(`Date '${display}' is before the earliest allowed ${options.min.toISOString()}`);
|
|
49
|
-
if (options?.max !== void 0 && value.getTime() > options.max.getTime()) throw new Error(`Date '${display}' is after the latest allowed ${options.max.toISOString()}`);
|
|
50
|
-
return value;
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* Parse a URL string into a `URL`, optionally restricting protocols.
|
|
54
|
-
*
|
|
55
|
-
* @param raw - Raw flag value.
|
|
56
|
-
* @param options - Optional protocol allowlist.
|
|
57
|
-
* @returns The parsed `URL`.
|
|
58
|
-
* @throws Error with a human-readable reason on invalid input.
|
|
59
|
-
*/
|
|
60
|
-
function parseUrlValue(raw, options) {
|
|
61
|
-
if (typeof raw !== "string" && !(raw instanceof URL)) throw new Error(`Invalid URL '${String(raw)}': expected a URL string`);
|
|
62
|
-
let parsed;
|
|
63
|
-
try {
|
|
64
|
-
parsed = raw instanceof URL ? raw : new URL(raw);
|
|
65
|
-
} catch {
|
|
66
|
-
throw new Error(`Invalid URL '${String(raw)}'`);
|
|
67
|
-
}
|
|
68
|
-
if (options?.protocols !== void 0) {
|
|
69
|
-
const protocol = parsed.protocol.replace(/:$/, "");
|
|
70
|
-
if (!options.protocols.includes(protocol)) throw new Error(`URL protocol '${protocol}' is not allowed. Allowed: ${options.protocols.join(", ")}`);
|
|
71
|
-
}
|
|
72
|
-
return parsed;
|
|
73
|
-
}
|
|
74
|
-
/** Duration unit suffixes mapped to their length in milliseconds. */
|
|
75
|
-
const DURATION_UNITS = {
|
|
76
|
-
ms: 1,
|
|
77
|
-
s: 1e3,
|
|
78
|
-
m: 6e4,
|
|
79
|
-
h: 36e5,
|
|
80
|
-
d: 864e5
|
|
81
|
-
};
|
|
82
|
-
/**
|
|
83
|
-
* Parse a human duration (`'30s'`, `'5m'`, `'1.5h'`, `'250ms'`, `'2d'`) into
|
|
84
|
-
* milliseconds. A bare number (`'1500'`) is treated as milliseconds. Compound
|
|
85
|
-
* values (`'1h30m'`) are supported.
|
|
86
|
-
*
|
|
87
|
-
* @param raw - Raw flag value.
|
|
88
|
-
* @returns Duration in milliseconds.
|
|
89
|
-
* @throws Error with a human-readable reason on invalid input.
|
|
90
|
-
*/
|
|
91
|
-
function parseDurationValue(raw) {
|
|
92
|
-
if (typeof raw === "number") {
|
|
93
|
-
if (!Number.isFinite(raw) || raw < 0) throw new Error(`Invalid duration '${String(raw)}': must be a non-negative number`);
|
|
94
|
-
return raw;
|
|
95
|
-
}
|
|
96
|
-
if (typeof raw !== "string" || raw.length === 0) throw new Error(`Invalid duration '${String(raw)}': expected e.g. 30s, 5m, 1h30m, or 250ms`);
|
|
97
|
-
if (/^\d+(?:\.\d+)?$/.test(raw)) return Number(raw);
|
|
98
|
-
const segmentPattern = /(\d+(?:\.\d+)?)(ms|s|m|h|d)/gy;
|
|
99
|
-
let total = 0;
|
|
100
|
-
let consumed = 0;
|
|
101
|
-
for (const segment of raw.matchAll(segmentPattern)) {
|
|
102
|
-
const [text, amount, unit] = segment;
|
|
103
|
-
const scale = unit === void 0 ? void 0 : DURATION_UNITS[unit];
|
|
104
|
-
if (amount === void 0 || scale === void 0) break;
|
|
105
|
-
total += Number(amount) * scale;
|
|
106
|
-
consumed += text.length;
|
|
107
|
-
}
|
|
108
|
-
if (consumed !== raw.length || consumed === 0) throw new Error(`Invalid duration '${raw}': expected e.g. 30s, 5m, 1h30m, or 250ms`);
|
|
109
|
-
return total;
|
|
110
|
-
}
|
|
111
|
-
/** Byte unit suffixes mapped to their size (binary, 1 kb = 1024 bytes). */
|
|
112
|
-
const BYTE_UNITS = {
|
|
113
|
-
b: 1,
|
|
114
|
-
kb: 1024,
|
|
115
|
-
mb: 1024 ** 2,
|
|
116
|
-
gb: 1024 ** 3,
|
|
117
|
-
tb: 1024 ** 4
|
|
118
|
-
};
|
|
119
|
-
/**
|
|
120
|
-
* Parse a human byte size (`'512mb'`, `'1.5gb'`, `'64kb'`, `'100b'`) into a
|
|
121
|
-
* byte count. Units are binary (`1kb` = 1024 bytes) and case-insensitive; a
|
|
122
|
-
* bare number is treated as bytes.
|
|
123
|
-
*
|
|
124
|
-
* @param raw - Raw flag value.
|
|
125
|
-
* @returns Size in bytes.
|
|
126
|
-
* @throws Error with a human-readable reason on invalid input.
|
|
127
|
-
*/
|
|
128
|
-
function parseBytesValue(raw) {
|
|
129
|
-
if (typeof raw === "number") {
|
|
130
|
-
if (!Number.isFinite(raw) || raw < 0) throw new Error(`Invalid size '${String(raw)}': must be a non-negative number`);
|
|
131
|
-
return raw;
|
|
132
|
-
}
|
|
133
|
-
if (typeof raw !== "string" || raw.length === 0) throw new Error(`Invalid size '${String(raw)}': expected e.g. 512mb, 1.5gb, or 64kb`);
|
|
134
|
-
const match = /^(\d+(?:\.\d+)?)\s*(b|kb|mb|gb|tb)?$/i.exec(raw);
|
|
135
|
-
if (match === null || match[1] === void 0) throw new Error(`Invalid size '${raw}': expected e.g. 512mb, 1.5gb, or 64kb`);
|
|
136
|
-
const unit = (match[2] ?? "b").toLowerCase();
|
|
137
|
-
const scale = BYTE_UNITS[unit];
|
|
138
|
-
if (scale === void 0) throw new Error(`Invalid size '${raw}': unknown unit '${match[2] ?? ""}'`);
|
|
139
|
-
return Math.round(Number(match[1]) * scale);
|
|
140
|
-
}
|
|
141
|
-
/**
|
|
142
|
-
* Normalize path factory options into the {@link PathChecks} a schema stores.
|
|
143
|
-
*
|
|
144
|
-
* Options that ask for nothing (absent, `{}`, or `mustExist: false` alone)
|
|
145
|
-
* produce `undefined`, so the schema records no checks and the resolver skips
|
|
146
|
-
* the filesystem entirely.
|
|
147
|
-
*
|
|
148
|
-
* @param options - Options passed to `flag.path()` or `arg.path()`.
|
|
149
|
-
* @returns The checks to store, or `undefined` when none were requested.
|
|
150
|
-
*/
|
|
151
|
-
function buildPathChecks(options) {
|
|
152
|
-
if (options === void 0 || options.mustExist !== true && options.type === void 0) return;
|
|
153
|
-
return {
|
|
154
|
-
mustExist: options.mustExist ?? true,
|
|
155
|
-
type: options.type,
|
|
156
|
-
create: options.type === "directory" && options.create === true
|
|
157
|
-
};
|
|
158
|
-
}
|
|
159
|
-
//#endregion
|
|
160
|
-
export { buildPathChecks, parseBytesValue, parseDateValue, parseDurationValue, parseUrlValue };
|