@sayoriqwq/effect-harness 0.0.1 → 0.0.2
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/HARNESS.md +55 -23
- package/README.md +60 -90
- package/dist/bin/effect-harness.js +20 -25
- package/dist/bin/effect-harness.js.map +1 -1
- package/dist/src/cli/Main.d.ts +3 -2
- package/dist/src/cli/Main.js +21 -117
- package/dist/src/cli/Main.js.map +1 -1
- package/dist/src/harness/Errors.d.ts +2 -2
- package/dist/src/harness/Errors.js +4 -4
- package/dist/src/harness/Errors.js.map +1 -1
- package/dist/src/harness/Guardrails.d.ts +1 -4
- package/dist/src/harness/Guardrails.js +27 -46
- package/dist/src/harness/Guardrails.js.map +1 -1
- package/dist/src/harness/Model.d.ts +40 -32
- package/dist/src/harness/Model.js +92 -91
- package/dist/src/harness/Model.js.map +1 -1
- package/dist/src/harness/ProviderDiscovery.d.ts +169 -0
- package/dist/src/harness/ProviderDiscovery.js +153 -0
- package/dist/src/harness/ProviderDiscovery.js.map +1 -0
- package/dist/src/harness/SourcePin.d.ts +1 -9
- package/dist/src/harness/SourcePin.js +120 -226
- package/dist/src/harness/SourcePin.js.map +1 -1
- package/dist/src/harness/verify/JsonFields.d.ts +1 -0
- package/dist/src/harness/verify/JsonFields.js +4 -0
- package/dist/src/harness/verify/JsonFields.js.map +1 -0
- package/dist/src/harness/verify/Pipeline.d.ts +7 -0
- package/dist/src/harness/verify/Pipeline.js +55 -0
- package/dist/src/harness/verify/Pipeline.js.map +1 -0
- package/dist/src/harness/verify/ProviderProfile.d.ts +3 -0
- package/dist/src/harness/verify/ProviderProfile.js +706 -0
- package/dist/src/harness/verify/ProviderProfile.js.map +1 -0
- package/dist/src/harness/verify/ProviderRepository.d.ts +4 -0
- package/dist/src/harness/verify/ProviderRepository.js +127 -0
- package/dist/src/harness/verify/ProviderRepository.js.map +1 -0
- package/dist/src/harness/verify/Tsgo.d.ts +3 -0
- package/dist/src/harness/verify/Tsgo.js +166 -0
- package/dist/src/harness/verify/Tsgo.js.map +1 -0
- package/dist/src/harness/verify/TsgoMetadata.d.ts +4 -0
- package/dist/src/harness/verify/TsgoMetadata.js +50 -0
- package/dist/src/harness/verify/TsgoMetadata.js.map +1 -0
- package/dist/src/harness/verify/TsgoPolicy.d.ts +205 -0
- package/dist/src/harness/verify/TsgoPolicy.js +140 -0
- package/dist/src/harness/verify/TsgoPolicy.js.map +1 -0
- package/dist/src/harness/verify/TsgoSuppressions.d.ts +2 -0
- package/dist/src/harness/verify/TsgoSuppressions.js +24 -0
- package/dist/src/harness/verify/TsgoSuppressions.js.map +1 -0
- package/dist/src/harness/verify/VerifyStage.d.ts +62 -0
- package/dist/src/harness/verify/VerifyStage.js +85 -0
- package/dist/src/harness/verify/VerifyStage.js.map +1 -0
- package/dist/src/platform/Json.d.ts +2 -6
- package/dist/src/platform/Json.js +3 -22
- package/dist/src/platform/Json.js.map +1 -1
- package/dist/src/platform/Process.d.ts +1 -3
- package/dist/src/platform/Process.js +1 -46
- package/dist/src/platform/Process.js.map +1 -1
- package/harness/code.md +83 -0
- package/harness/diagnostic-layers.md +94 -0
- package/harness/effect-routes.md +50 -0
- package/harness/feedback-loop.md +156 -0
- package/harness/index.md +78 -17
- package/harness/offcial-guide.md +50 -0
- package/harness/offcial-migrate.md +220 -0
- package/harness/source.md +74 -35
- package/harness/tsgo-routes.md +58 -0
- package/harness/tsgo.md +241 -0
- package/package.json +30 -31
- package/provider/docs/diagnostics.md +48 -0
- package/provider/docs/discovery.md +104 -0
- package/provider/docs/editor-policy.md +55 -0
- package/provider/docs/effect-code.md +41 -0
- package/provider/docs/index.md +48 -0
- package/provider/docs/managed-surfaces.md +51 -0
- package/provider/docs/package-config.md +55 -0
- package/provider/docs/quality-policy.md +58 -0
- package/provider/docs/source-identity.md +48 -0
- package/provider/effect-harness.provider.json +984 -0
- package/provider/index.md +185 -0
- package/provider/snippets/agents.md +34 -0
- package/repos/effect/.changeset/add-adaptive-rate-limiter-store.md +5 -0
- package/repos/effect/.changeset/add-values-unprepared.md +17 -0
- package/repos/effect/.changeset/calm-tracers-sample.md +5 -0
- package/repos/effect/.changeset/curvy-birds-float.md +10 -0
- package/repos/effect/.changeset/eff-849-transpose-option.md +5 -0
- package/repos/effect/.changeset/every-olives-burn.md +5 -0
- package/repos/effect/.changeset/fix-2414.md +5 -0
- package/repos/effect/.changeset/fix-2419.md +5 -0
- package/repos/effect/.changeset/fix-2497.md +5 -0
- package/repos/effect/.changeset/fix-2499.md +5 -0
- package/repos/effect/.changeset/fix-anthropic-caller-toolid.md +5 -0
- package/repos/effect/.changeset/fix-config-array-default.md +5 -0
- package/repos/effect/.changeset/fix-cron-next-missing-day-overflow.md +5 -0
- package/repos/effect/.changeset/fix-http-tracer-response-cause.md +5 -0
- package/repos/effect/.changeset/fix-httpapi-malformed-json-400.md +5 -0
- package/repos/effect/.changeset/fix-rpc-unknown-tag-isolation.md +5 -0
- package/repos/effect/.changeset/fix-schema-encoding-checks.md +12 -0
- package/repos/effect/.changeset/fix-string-case-digits.md +5 -0
- package/repos/effect/.changeset/fix-workflow-defect-reply-serialization.md +5 -0
- package/repos/effect/.changeset/frozen-intrinsics-stack-trace-limit.md +7 -0
- package/repos/effect/.changeset/fuzzy-crews-fold.md +5 -0
- package/repos/effect/.changeset/good-trees-pull.md +5 -0
- package/repos/effect/.changeset/major-chairs-design.md +5 -0
- package/repos/effect/.changeset/many-badgers-obey.md +5 -0
- package/repos/effect/.changeset/modern-carrots-see.md +5 -0
- package/repos/effect/.changeset/neat-windows-buy.md +10 -0
- package/repos/effect/.changeset/openapi-generator-sse-constraint-decoder.md +7 -0
- package/repos/effect/.changeset/openrouter-input-audio.md +9 -0
- package/repos/effect/.changeset/pre.json +46 -0
- package/repos/effect/.changeset/pretty-moments-clap.md +5 -0
- package/repos/effect/.changeset/quiet-tigers-yell.md +5 -0
- package/repos/effect/.changeset/random-choice.md +5 -0
- package/repos/effect/.changeset/remove-schema-stringtree-keep-declarations.md +5 -0
- package/repos/effect/.changeset/rpc-client-http-early-close.md +5 -0
- package/repos/effect/.changeset/schema-lazy-bottom.md +13 -0
- package/repos/effect/.changeset/semantic-matching.md +13 -0
- package/repos/effect/.changeset/short-stamps-throw.md +5 -0
- package/repos/effect/.changeset/slick-signs-wish.md +5 -0
- package/repos/effect/.changeset/slick-toes-rush.md +5 -0
- package/repos/effect/.changeset/sqlite-bun-prepare-error-channel.md +5 -0
- package/repos/effect/.changeset/sqlite-do-durable-object-transactions.md +5 -0
- package/repos/effect/.changeset/to-codec-json-schema.md +5 -0
- package/repos/effect/.changeset/try-promise-catch-defect.md +11 -0
- package/repos/effect/.changeset/twelve-dragons-move.md +5 -0
- package/repos/effect/.changeset/use-url-can-parse.md +5 -0
- package/repos/effect/.oxlintrc.json +1 -0
- package/repos/effect/AGENTS.md +9 -0
- package/repos/effect/cookbooks/schedule.md +425 -3197
- package/repos/effect/migration/schema.md +38 -0
- package/repos/effect/package.json +3 -1
- package/repos/effect/packages/ai/anthropic/CHANGELOG.md +65 -0
- package/repos/effect/packages/ai/anthropic/package.json +1 -1
- package/repos/effect/packages/ai/anthropic/src/AnthropicLanguageModel.ts +3 -3
- package/repos/effect/packages/ai/anthropic/src/Generated.ts +2 -2
- package/repos/effect/packages/ai/openai/CHANGELOG.md +63 -0
- package/repos/effect/packages/ai/openai/package.json +1 -1
- package/repos/effect/packages/ai/openai/src/Generated.ts +3 -3
- package/repos/effect/packages/ai/openai/src/OpenAiLanguageModel.ts +2 -2
- package/repos/effect/packages/ai/openai/src/internal/utilities.ts +0 -6
- package/repos/effect/packages/ai/openai-compat/CHANGELOG.md +63 -0
- package/repos/effect/packages/ai/openai-compat/package.json +1 -1
- package/repos/effect/packages/ai/openai-compat/src/OpenAiLanguageModel.ts +1 -1
- package/repos/effect/packages/ai/openai-compat/src/internal/utilities.ts +0 -9
- package/repos/effect/packages/ai/openrouter/CHANGELOG.md +69 -0
- package/repos/effect/packages/ai/openrouter/package.json +1 -1
- package/repos/effect/packages/ai/openrouter/src/Generated.ts +3 -3
- package/repos/effect/packages/ai/openrouter/src/OpenRouterLanguageModel.ts +66 -1
- package/repos/effect/packages/ai/openrouter/test/OpenRouterLanguageModel.test.ts +265 -0
- package/repos/effect/packages/atom/react/CHANGELOG.md +63 -0
- package/repos/effect/packages/atom/react/package.json +1 -1
- package/repos/effect/packages/atom/solid/CHANGELOG.md +63 -0
- package/repos/effect/packages/atom/solid/package.json +1 -1
- package/repos/effect/packages/atom/vue/CHANGELOG.md +63 -0
- package/repos/effect/packages/atom/vue/package.json +1 -1
- package/repos/effect/packages/effect/CHANGELOG.md +178 -0
- package/repos/effect/packages/effect/SCHEMA.md +19 -38
- package/repos/effect/packages/effect/package.json +1 -1
- package/repos/effect/packages/effect/src/ChannelSchema.ts +9 -9
- package/repos/effect/packages/effect/src/Config.ts +15 -6
- package/repos/effect/packages/effect/src/ConfigProvider.ts +4 -3
- package/repos/effect/packages/effect/src/Context.ts +4 -5
- package/repos/effect/packages/effect/src/Cron.ts +4 -0
- package/repos/effect/packages/effect/src/Effect.ts +86 -36
- package/repos/effect/packages/effect/src/Latch.ts +21 -0
- package/repos/effect/packages/effect/src/Layer.ts +4 -4
- package/repos/effect/packages/effect/src/LayerMap.ts +4 -3
- package/repos/effect/packages/effect/src/Random.ts +42 -0
- package/repos/effect/packages/effect/src/Schedule.ts +8 -8
- package/repos/effect/packages/effect/src/Schema.ts +1071 -715
- package/repos/effect/packages/effect/src/SchemaAST.ts +262 -176
- package/repos/effect/packages/effect/src/SchemaParser.ts +85 -77
- package/repos/effect/packages/effect/src/SchemaTransformation.ts +5 -6
- package/repos/effect/packages/effect/src/String.ts +46 -12
- package/repos/effect/packages/effect/src/internal/effect.ts +76 -61
- package/repos/effect/packages/effect/src/internal/matcher.ts +0 -5
- package/repos/effect/packages/effect/src/internal/request.ts +1 -1
- package/repos/effect/packages/effect/src/internal/schema/arbitrary.ts +24 -3
- package/repos/effect/packages/effect/src/internal/schema/representation.ts +1 -5
- package/repos/effect/packages/effect/src/internal/schema/schema.ts +1 -1
- package/repos/effect/packages/effect/src/internal/stackTraceLimit.ts +63 -0
- package/repos/effect/packages/effect/src/internal/tracer.ts +4 -3
- package/repos/effect/packages/effect/src/testing/TestSchema.ts +14 -13
- package/repos/effect/packages/effect/src/unstable/ai/AnthropicStructuredOutput.ts +2 -2
- package/repos/effect/packages/effect/src/unstable/ai/Chat.ts +1 -1
- package/repos/effect/packages/effect/src/unstable/ai/LanguageModel.ts +7 -7
- package/repos/effect/packages/effect/src/unstable/ai/McpSchema.ts +16 -14
- package/repos/effect/packages/effect/src/unstable/ai/McpServer.ts +7 -7
- package/repos/effect/packages/effect/src/unstable/ai/OpenAiStructuredOutput.ts +2 -2
- package/repos/effect/packages/effect/src/unstable/ai/Response.ts +9 -5
- package/repos/effect/packages/effect/src/unstable/ai/Tool.ts +53 -50
- package/repos/effect/packages/effect/src/unstable/cli/Argument.ts +9 -8
- package/repos/effect/packages/effect/src/unstable/cli/Flag.ts +9 -8
- package/repos/effect/packages/effect/src/unstable/cli/Param.ts +11 -86
- package/repos/effect/packages/effect/src/unstable/cli/Primitive.ts +5 -6
- package/repos/effect/packages/effect/src/unstable/cli/Prompt.ts +1 -1
- package/repos/effect/packages/effect/src/unstable/cli/internal/ansi.ts +0 -33
- package/repos/effect/packages/effect/src/unstable/cli/internal/config.ts +0 -8
- package/repos/effect/packages/effect/src/unstable/cli/internal/parser.ts +2 -2
- package/repos/effect/packages/effect/src/unstable/cluster/MessageStorage.ts +1 -1
- package/repos/effect/packages/effect/src/unstable/cluster/Reply.ts +6 -2
- package/repos/effect/packages/effect/src/unstable/cluster/ShardingConfig.ts +2 -2
- package/repos/effect/packages/effect/src/unstable/devtools/DevToolsSchema.ts +1 -1
- package/repos/effect/packages/effect/src/unstable/encoding/Msgpack.ts +9 -7
- package/repos/effect/packages/effect/src/unstable/encoding/Ndjson.ts +10 -10
- package/repos/effect/packages/effect/src/unstable/encoding/Sse.ts +1 -1
- package/repos/effect/packages/effect/src/unstable/eventlog/Event.ts +3 -3
- package/repos/effect/packages/effect/src/unstable/http/HttpBody.ts +1 -1
- package/repos/effect/packages/effect/src/unstable/http/HttpClient.ts +78 -23
- package/repos/effect/packages/effect/src/unstable/http/HttpClientRequest.ts +1 -1
- package/repos/effect/packages/effect/src/unstable/http/HttpIncomingMessage.ts +1 -1
- package/repos/effect/packages/effect/src/unstable/http/HttpMiddleware.ts +12 -3
- package/repos/effect/packages/effect/src/unstable/httpapi/HttpApi.ts +1 -1
- package/repos/effect/packages/effect/src/unstable/httpapi/HttpApiBuilder.ts +42 -26
- package/repos/effect/packages/effect/src/unstable/httpapi/HttpApiClient.ts +10 -10
- package/repos/effect/packages/effect/src/unstable/httpapi/HttpApiEndpoint.ts +45 -33
- package/repos/effect/packages/effect/src/unstable/httpapi/HttpApiMiddleware.ts +6 -5
- package/repos/effect/packages/effect/src/unstable/httpapi/HttpApiSchema.ts +16 -43
- package/repos/effect/packages/effect/src/unstable/httpapi/OpenApi.ts +5 -5
- package/repos/effect/packages/effect/src/unstable/observability/OtlpTracer.ts +2 -1
- package/repos/effect/packages/effect/src/unstable/observability/internal/otlpProtobuf.ts +0 -75
- package/repos/effect/packages/effect/src/unstable/observability/internal/protobuf.ts +0 -42
- package/repos/effect/packages/effect/src/unstable/persistence/KeyValueStore.ts +2 -2
- package/repos/effect/packages/effect/src/unstable/persistence/Persistable.ts +7 -7
- package/repos/effect/packages/effect/src/unstable/persistence/PersistedQueue.ts +4 -4
- package/repos/effect/packages/effect/src/unstable/persistence/Persistence.ts +5 -5
- package/repos/effect/packages/effect/src/unstable/persistence/RateLimiter.ts +599 -5
- package/repos/effect/packages/effect/src/unstable/reactivity/AsyncResult.ts +4 -4
- package/repos/effect/packages/effect/src/unstable/reactivity/Atom.ts +1 -1
- package/repos/effect/packages/effect/src/unstable/reactivity/AtomHttpApi.ts +1 -1
- package/repos/effect/packages/effect/src/unstable/rpc/Rpc.ts +7 -8
- package/repos/effect/packages/effect/src/unstable/rpc/RpcClient.ts +26 -4
- package/repos/effect/packages/effect/src/unstable/rpc/RpcGroup.ts +3 -4
- package/repos/effect/packages/effect/src/unstable/rpc/RpcMessage.ts +19 -0
- package/repos/effect/packages/effect/src/unstable/rpc/RpcMiddleware.ts +6 -5
- package/repos/effect/packages/effect/src/unstable/rpc/RpcSchema.ts +12 -9
- package/repos/effect/packages/effect/src/unstable/rpc/RpcServer.ts +4 -4
- package/repos/effect/packages/effect/src/unstable/rpc/RpcWorker.ts +3 -3
- package/repos/effect/packages/effect/src/unstable/schema/Model.ts +2 -2
- package/repos/effect/packages/effect/src/unstable/schema/VariantSchema.ts +19 -17
- package/repos/effect/packages/effect/src/unstable/sql/SqlConnection.ts +5 -0
- package/repos/effect/packages/effect/src/unstable/sql/SqlModel.ts +2 -2
- package/repos/effect/packages/effect/src/unstable/sql/SqlResolver.ts +21 -8
- package/repos/effect/packages/effect/src/unstable/sql/SqlSchema.ts +5 -5
- package/repos/effect/packages/effect/src/unstable/sql/Statement.ts +11 -0
- package/repos/effect/packages/effect/src/unstable/workflow/Activity.ts +8 -6
- package/repos/effect/packages/effect/src/unstable/workflow/DurableDeferred.ts +33 -33
- package/repos/effect/packages/effect/src/unstable/workflow/Workflow.ts +5 -5
- package/repos/effect/packages/effect/src/unstable/workflow/WorkflowEngine.ts +11 -11
- package/repos/effect/packages/effect/test/Config.test.ts +60 -0
- package/repos/effect/packages/effect/test/ConfigProvider.test.ts +11 -0
- package/repos/effect/packages/effect/test/Cron.test.ts +15 -0
- package/repos/effect/packages/effect/test/Effect.test.ts +252 -0
- package/repos/effect/packages/effect/test/Latch.test.ts +12 -0
- package/repos/effect/packages/effect/test/Random.test.ts +37 -0
- package/repos/effect/packages/effect/test/Request.test.ts +28 -0
- package/repos/effect/packages/effect/test/Schedule.test.ts +21 -4
- package/repos/effect/packages/effect/test/StackTraceLimit.test.ts +60 -0
- package/repos/effect/packages/effect/test/String.test.ts +25 -0
- package/repos/effect/packages/effect/test/cluster/ClusterWorkflowEngine.test.ts +42 -1
- package/repos/effect/packages/effect/test/rpc/RpcClient.test.ts +28 -3
- package/repos/effect/packages/effect/test/schema/Schema.test.ts +621 -109
- package/repos/effect/packages/effect/test/schema/SchemaAST.test.ts +132 -11
- package/repos/effect/packages/effect/test/schema/representation/fromASTs.test.ts +291 -2
- package/repos/effect/packages/effect/test/schema/representation/toCodeDocument.test.ts +1 -1
- package/repos/effect/packages/effect/test/schema/toArbitrary.test.ts +21 -6
- package/repos/effect/packages/effect/test/schema/toCodec.test.ts +94 -50
- package/repos/effect/packages/effect/test/schema/toEquivalence.test.ts +7 -0
- package/repos/effect/packages/effect/test/schema/toFormatter.test.ts +9 -1
- package/repos/effect/packages/effect/test/schema/toJsonSchemaDocument.test.ts +1 -1
- package/repos/effect/packages/effect/test/schema/v3-v4.test.ts +6 -6
- package/repos/effect/packages/effect/test/unstable/ai/AnthropicStructuredOutput.test.ts +2 -2
- package/repos/effect/packages/effect/test/unstable/ai/OpenAiStructuredOutput.test.ts +2 -2
- package/repos/effect/packages/effect/test/unstable/cli/Arguments.test.ts +8 -2
- package/repos/effect/packages/effect/test/unstable/cli/Param.test.ts +8 -2
- package/repos/effect/packages/effect/test/unstable/cli/Primitive.test.ts +16 -2
- package/repos/effect/packages/effect/test/unstable/cli/Prompt.test.ts +32 -0
- package/repos/effect/packages/effect/test/unstable/http/HttpClient.test.ts +442 -1
- package/repos/effect/packages/effect/test/unstable/http/HttpMiddleware.test.ts +41 -0
- package/repos/effect/packages/effect/test/unstable/httpapi/HttpApiBuilder.test.ts +58 -1
- package/repos/effect/packages/effect/test/unstable/httpapi/HttpApiSchema.test.ts +16 -2
- package/repos/effect/packages/effect/test/unstable/persistence/RateLimiter.test.ts +697 -0
- package/repos/effect/packages/effect/test/unstable/sql/SqlResolver.test.ts +37 -0
- package/repos/effect/packages/effect/typeperf/README.md +176 -0
- package/repos/effect/packages/effect/typeperf/config.json +99 -0
- package/repos/effect/packages/effect/typeperf/run.mjs +195 -0
- package/repos/effect/packages/effect/typeperf/suites/schema/baseline.ts +4 -0
- package/repos/effect/packages/effect/typeperf/suites/schema/fixtures/array.ts +14 -0
- package/repos/effect/packages/effect/typeperf/suites/schema/fixtures/brand.ts +10 -0
- package/repos/effect/packages/effect/typeperf/suites/schema/fixtures/decode-unknown-effect.ts +8 -0
- package/repos/effect/packages/effect/typeperf/suites/schema/fixtures/encode-unknown-effect.ts +8 -0
- package/repos/effect/packages/effect/typeperf/suites/schema/fixtures/exit.ts +14 -0
- package/repos/effect/packages/effect/typeperf/suites/schema/fixtures/non-empty-array.ts +14 -0
- package/repos/effect/packages/effect/typeperf/suites/schema/fixtures/record.ts +14 -0
- package/repos/effect/packages/effect/typeperf/suites/schema/fixtures/struct-mixed.ts +22 -0
- package/repos/effect/packages/effect/typeperf/suites/schema/fixtures/struct-mutable-only.ts +22 -0
- package/repos/effect/packages/effect/typeperf/suites/schema/fixtures/struct-optional-only.ts +22 -0
- package/repos/effect/packages/effect/typeperf/suites/schema/fixtures/struct-required.ts +22 -0
- package/repos/effect/packages/effect/typeperf/suites/schema/fixtures/struct-with-rest.ts +17 -0
- package/repos/effect/packages/effect/typeperf/suites/schema/fixtures/tagged-union.ts +16 -0
- package/repos/effect/packages/effect/typeperf/suites/schema/fixtures/to-codec-array-from-single.ts +12 -0
- package/repos/effect/packages/effect/typeperf/suites/schema/fixtures/to-codec-json.ts +13 -0
- package/repos/effect/packages/effect/typeperf/suites/schema/fixtures/to-codec-string-tree.ts +10 -0
- package/repos/effect/packages/effect/typeperf/suites/schema/fixtures/to-encoded.ts +10 -0
- package/repos/effect/packages/effect/typeperf/suites/schema/fixtures/to-standard-json-schema.ts +11 -0
- package/repos/effect/packages/effect/typeperf/suites/schema/fixtures/to-type.ts +10 -0
- package/repos/effect/packages/effect/typeperf/suites/schema/fixtures/tuple-with-rest.ts +20 -0
- package/repos/effect/packages/effect/typeperf/suites/schema/fixtures/tuple.ts +16 -0
- package/repos/effect/packages/effect/typeperf/suites/schema/fixtures/union.ts +15 -0
- package/repos/effect/packages/effect/typeperf/suites/schema/thresholds.json +68 -0
- package/repos/effect/packages/effect/typetest/Config.tst.ts +12 -0
- package/repos/effect/packages/effect/typetest/Effect.tst.ts +70 -0
- package/repos/effect/packages/effect/typetest/Random.tst.ts +22 -0
- package/repos/effect/packages/effect/typetest/schema/Array.tst.ts +18 -0
- package/repos/effect/packages/effect/typetest/schema/Schema.tst.ts +96 -1
- package/repos/effect/packages/effect/typetest/schema/Struct.tst.ts +49 -19
- package/repos/effect/packages/effect/typetest/schema/Union.tst.ts +18 -0
- package/repos/effect/packages/effect/typetest/schema/toArbitrary.tst.ts +1 -1
- package/repos/effect/packages/opentelemetry/CHANGELOG.md +65 -0
- package/repos/effect/packages/opentelemetry/package.json +1 -1
- package/repos/effect/packages/opentelemetry/src/Tracer.ts +1 -1
- package/repos/effect/packages/opentelemetry/test/Tracer.test.ts +16 -0
- package/repos/effect/packages/platform-browser/CHANGELOG.md +63 -0
- package/repos/effect/packages/platform-browser/package.json +1 -1
- package/repos/effect/packages/platform-bun/CHANGELOG.md +72 -0
- package/repos/effect/packages/platform-bun/package.json +1 -1
- package/repos/effect/packages/platform-node/CHANGELOG.md +74 -0
- package/repos/effect/packages/platform-node/package.json +1 -1
- package/repos/effect/packages/platform-node/src/NodeHttpServer.ts +4 -3
- package/repos/effect/packages/platform-node/test/RpcServer.test.ts +81 -2
- package/repos/effect/packages/platform-node-shared/CHANGELOG.md +63 -0
- package/repos/effect/packages/platform-node-shared/package.json +1 -1
- package/repos/effect/packages/platform-node-shared/test/fixtures/bash/parent-exits-early.sh +0 -0
- package/repos/effect/packages/platform-node-shared/test/fixtures/bash/spawn-children.sh +0 -0
- package/repos/effect/packages/sql/clickhouse/CHANGELOG.md +74 -0
- package/repos/effect/packages/sql/clickhouse/package.json +1 -1
- package/repos/effect/packages/sql/clickhouse/src/ClickhouseClient.ts +3 -0
- package/repos/effect/packages/sql/d1/CHANGELOG.md +65 -0
- package/repos/effect/packages/sql/d1/package.json +1 -1
- package/repos/effect/packages/sql/d1/src/D1Client.ts +18 -0
- package/repos/effect/packages/sql/libsql/CHANGELOG.md +65 -0
- package/repos/effect/packages/sql/libsql/package.json +1 -1
- package/repos/effect/packages/sql/libsql/src/LibsqlClient.ts +3 -0
- package/repos/effect/packages/sql/mssql/CHANGELOG.md +71 -0
- package/repos/effect/packages/sql/mssql/package.json +1 -1
- package/repos/effect/packages/sql/mssql/src/MssqlClient.ts +16 -1
- package/repos/effect/packages/sql/mysql2/CHANGELOG.md +65 -0
- package/repos/effect/packages/sql/mysql2/package.json +1 -1
- package/repos/effect/packages/sql/mysql2/src/MysqlClient.ts +3 -0
- package/repos/effect/packages/sql/pg/CHANGELOG.md +65 -0
- package/repos/effect/packages/sql/pg/package.json +1 -1
- package/repos/effect/packages/sql/pg/src/PgClient.ts +3 -0
- package/repos/effect/packages/sql/pglite/CHANGELOG.md +65 -0
- package/repos/effect/packages/sql/pglite/package.json +1 -1
- package/repos/effect/packages/sql/pglite/src/PgliteClient.ts +10 -0
- package/repos/effect/packages/sql/sqlite-bun/CHANGELOG.md +67 -0
- package/repos/effect/packages/sql/sqlite-bun/package.json +1 -1
- package/repos/effect/packages/sql/sqlite-bun/src/SqliteClient.ts +15 -9
- package/repos/effect/packages/sql/sqlite-do/CHANGELOG.md +67 -0
- package/repos/effect/packages/sql/sqlite-do/package.json +1 -1
- package/repos/effect/packages/sql/sqlite-do/src/SqliteClient.ts +122 -30
- package/repos/effect/packages/sql/sqlite-do/src/SqliteMigrator.ts +19 -4
- package/repos/effect/packages/sql/sqlite-do/test/Client.test.ts +304 -9
- package/repos/effect/packages/sql/sqlite-node/CHANGELOG.md +65 -0
- package/repos/effect/packages/sql/sqlite-node/package.json +1 -1
- package/repos/effect/packages/sql/sqlite-node/src/SqliteClient.ts +22 -0
- package/repos/effect/packages/sql/sqlite-node/test/Client.test.ts +2 -0
- package/repos/effect/packages/sql/sqlite-react-native/CHANGELOG.md +65 -0
- package/repos/effect/packages/sql/sqlite-react-native/package.json +1 -1
- package/repos/effect/packages/sql/sqlite-react-native/src/SqliteClient.ts +3 -0
- package/repos/effect/packages/sql/sqlite-wasm/CHANGELOG.md +65 -0
- package/repos/effect/packages/sql/sqlite-wasm/package.json +1 -1
- package/repos/effect/packages/sql/sqlite-wasm/src/SqliteClient.ts +6 -0
- package/repos/effect/packages/tools/ai-docgen/src/main.ts +3 -1
- package/repos/effect/packages/tools/bundle/README.md +226 -0
- package/repos/effect/packages/tools/bundle/fixtures/schema-class.ts +12 -0
- package/repos/effect/packages/tools/bundle/src/Cli.ts +23 -4
- package/repos/effect/packages/tools/bundle/src/Plugins.ts +55 -10
- package/repos/effect/packages/tools/bundle/src/Reporter.ts +106 -7
- package/repos/effect/packages/tools/bundle/src/Rollup.ts +24 -2
- package/repos/effect/packages/tools/bundle/src/bin.ts +0 -0
- package/repos/effect/packages/tools/bundle/test/Plugins.test.ts +74 -0
- package/repos/effect/packages/tools/bundle/vitest.config.ts +6 -0
- package/repos/effect/packages/tools/jsdocs/src/Jsdocs.ts +61 -0
- package/repos/effect/packages/tools/jsdocs/src/bin.ts +20 -8
- package/repos/effect/packages/tools/jsdocs/test/jsdocs.test.ts +54 -1
- package/repos/effect/packages/tools/openapi-generator/CHANGELOG.md +76 -0
- package/repos/effect/packages/tools/openapi-generator/package.json +1 -1
- package/repos/effect/packages/tools/openapi-generator/src/OpenApiTransformer.ts +3 -3
- package/repos/effect/packages/tools/openapi-generator/src/bin.ts +0 -0
- package/repos/effect/packages/tools/openapi-generator/test/OpenApiGenerator.test.ts +4 -3
- package/repos/effect/packages/tools/oxc/oxlintrc.json +1 -0
- package/repos/effect/packages/tools/oxc/src/oxlint/index.ts +2 -0
- package/repos/effect/packages/tools/oxc/src/oxlint/rules/no-unused-internal.ts +642 -0
- package/repos/effect/packages/tools/oxc/test/no-unused-internal.test.ts +129 -0
- package/repos/effect/packages/tools/utils/src/bin.ts +0 -0
- package/repos/effect/packages/vitest/CHANGELOG.md +63 -0
- package/repos/effect/packages/vitest/package.json +1 -1
- package/repos/effect/scripts/bundle-analyze.sh +61 -0
- package/repos/effect/scripts/bundle-compare-selected.sh +97 -0
- package/repos/effect/scripts/bundle-compare.sh +0 -0
- package/repos/effect/scripts/worktree-setup.sh +0 -0
- package/repos/effect/tsconfig.json +3 -0
- package/repos/effect/tsconfig.packages.json +1 -0
- package/repos/effect.subtree.json +36 -12
- package/repos/tsgo/.changeset/config.json +22 -0
- package/repos/tsgo/.cuggino.json +1 -0
- package/repos/tsgo/.gitattributes +1 -0
- package/repos/tsgo/.github/workflows/ci.yml +105 -0
- package/repos/tsgo/.github/workflows/generate-stable-branch.yml +173 -0
- package/repos/tsgo/.github/workflows/refresh-flake-hash.yml +90 -0
- package/repos/tsgo/.github/workflows/release.yml +148 -0
- package/repos/tsgo/.github/workflows/update-typescript-go.yml +315 -0
- package/repos/tsgo/.github/workflows/validate-generated-stable.yml +152 -0
- package/repos/tsgo/.github/workflows/version.yml +48 -0
- package/repos/tsgo/.gitmodules +4 -0
- package/repos/tsgo/.golangci.yml +92 -0
- package/repos/tsgo/.opencode/commands/port-commit.md +25 -0
- package/repos/tsgo/.specs/ast-navigation-utilities.md +118 -0
- package/repos/tsgo/.specs/auto-import-style-overrides.md +75 -0
- package/repos/tsgo/.specs/cli-platform-filesystem.md +24 -0
- package/repos/tsgo/.specs/completion-infrastructure.md +105 -0
- package/repos/tsgo/.specs/deterministic-keys.md +138 -0
- package/repos/tsgo/.specs/diagnostic-metadata-generation.md +131 -0
- package/repos/tsgo/.specs/diagnostic-metadata-previews.md +97 -0
- package/repos/tsgo/.specs/diagnostics-and-quickfixes-patterns.md +231 -0
- package/repos/tsgo/.specs/document-symbol-postprocessing.md +68 -0
- package/repos/tsgo/.specs/duplicate-package.md +52 -0
- package/repos/tsgo/.specs/effect-fn-opportunity-layer-members.md +31 -0
- package/repos/tsgo/.specs/effect-links-type-cache.md +144 -0
- package/repos/tsgo/.specs/effect-type-version-detection.md +37 -0
- package/repos/tsgo/.specs/fixable-context.md +123 -0
- package/repos/tsgo/.specs/inlay-hints-gen-suppression.md +53 -0
- package/repos/tsgo/.specs/layer-info-mermaid-links.md +59 -0
- package/repos/tsgo/.specs/missed-pipeable-opportunity.md +82 -0
- package/repos/tsgo/.specs/missing-effect-error-return-awareness.md +21 -0
- package/repos/tsgo/.specs/path-scoped-diagnostic-config.md +265 -0
- package/repos/tsgo/.specs/perf-replace-iterchildren-with-foreachchild.md +124 -0
- package/repos/tsgo/.specs/quick-fix-baselines.md +59 -0
- package/repos/tsgo/.specs/refactor-infrastructure.md +93 -0
- package/repos/tsgo/.specs/release-prepare.md +39 -0
- package/repos/tsgo/.specs/rule-context.md +82 -0
- package/repos/tsgo/.specs/scope-aware-global-diagnostics.md +68 -0
- package/repos/tsgo/.specs/setup-diagnostic-prompt-parity.md +47 -0
- package/repos/tsgo/.specs/setup-implicit-prepare-script.md +27 -0
- package/repos/tsgo/.specs/setup-unified-pipeline.md +41 -0
- package/repos/tsgo/.specs/tsconfig-schema-generation.md +46 -0
- package/repos/tsgo/.specs/tsgo-cli-only.md +33 -0
- package/repos/tsgo/.specs/wildcard-directives.md +45 -0
- package/repos/tsgo/.vscode/settings.json +33 -0
- package/repos/tsgo/AGENTS.md +63 -0
- package/repos/tsgo/LICENSE +21 -0
- package/repos/tsgo/README.md +297 -0
- package/repos/tsgo/_packages/tsgo/CHANGELOG.md +619 -0
- package/repos/tsgo/_packages/tsgo/LICENSE +21 -0
- package/repos/tsgo/_packages/tsgo/package.json +50 -0
- package/repos/tsgo/_packages/tsgo/src/ansi.ts +29 -0
- package/repos/tsgo/_packages/tsgo/src/cli.ts +348 -0
- package/repos/tsgo/_packages/tsgo/src/config.ts +38 -0
- package/repos/tsgo/_packages/tsgo/src/metadata.json +2020 -0
- package/repos/tsgo/_packages/tsgo/src/presets.ts +133 -0
- package/repos/tsgo/_packages/tsgo/src/setup/assessment.ts +233 -0
- package/repos/tsgo/_packages/tsgo/src/setup/changes.ts +969 -0
- package/repos/tsgo/_packages/tsgo/src/setup/consts.ts +55 -0
- package/repos/tsgo/_packages/tsgo/src/setup/diff-renderer.ts +295 -0
- package/repos/tsgo/_packages/tsgo/src/setup/errors.ts +26 -0
- package/repos/tsgo/_packages/tsgo/src/setup/index.ts +31 -0
- package/repos/tsgo/_packages/tsgo/src/setup/rule-info.ts +69 -0
- package/repos/tsgo/_packages/tsgo/src/setup/rule-prompt.ts +614 -0
- package/repos/tsgo/_packages/tsgo/src/setup/target-prompt.ts +169 -0
- package/repos/tsgo/_packages/tsgo/src/setup/target.ts +34 -0
- package/repos/tsgo/_packages/tsgo/src/setup/tsconfig-prompt.ts +93 -0
- package/repos/tsgo/_packages/tsgo/src/setup/types.ts +98 -0
- package/repos/tsgo/_packages/tsgo/test/config-cli.test.ts +84 -0
- package/repos/tsgo/_packages/tsgo/test/presets.test.ts +48 -0
- package/repos/tsgo/_packages/tsgo/test/setup/__snapshots__/setup-cli.test.ts.snap +866 -0
- package/repos/tsgo/_packages/tsgo/test/setup/changes.test.ts +668 -0
- package/repos/tsgo/_packages/tsgo/test/setup/consts.test.ts +38 -0
- package/repos/tsgo/_packages/tsgo/test/setup/diff-renderer.test.ts +225 -0
- package/repos/tsgo/_packages/tsgo/test/setup/setup-cli.test.ts +797 -0
- package/repos/tsgo/_packages/tsgo/tsconfig.json +7 -0
- package/repos/tsgo/_packages/tsgo/tsconfig.src.json +17 -0
- package/repos/tsgo/_packages/tsgo/tsconfig.test.json +18 -0
- package/repos/tsgo/_packages/tsgo/tsdown.config.ts +37 -0
- package/repos/tsgo/_packages/tsgo/vitest.config.ts +7 -0
- package/repos/tsgo/_packages/tsgo-darwin-arm64/CHANGELOG.md +193 -0
- package/repos/tsgo/_packages/tsgo-darwin-arm64/LICENSE +21 -0
- package/repos/tsgo/_packages/tsgo-darwin-arm64/README.md +1 -0
- package/repos/tsgo/_packages/tsgo-darwin-arm64/package.json +29 -0
- package/repos/tsgo/_packages/tsgo-darwin-x64/CHANGELOG.md +193 -0
- package/repos/tsgo/_packages/tsgo-darwin-x64/LICENSE +21 -0
- package/repos/tsgo/_packages/tsgo-darwin-x64/README.md +1 -0
- package/repos/tsgo/_packages/tsgo-darwin-x64/package.json +29 -0
- package/repos/tsgo/_packages/tsgo-linux-arm/CHANGELOG.md +193 -0
- package/repos/tsgo/_packages/tsgo-linux-arm/LICENSE +21 -0
- package/repos/tsgo/_packages/tsgo-linux-arm/README.md +1 -0
- package/repos/tsgo/_packages/tsgo-linux-arm/package.json +29 -0
- package/repos/tsgo/_packages/tsgo-linux-arm64/CHANGELOG.md +193 -0
- package/repos/tsgo/_packages/tsgo-linux-arm64/LICENSE +21 -0
- package/repos/tsgo/_packages/tsgo-linux-arm64/README.md +1 -0
- package/repos/tsgo/_packages/tsgo-linux-arm64/package.json +29 -0
- package/repos/tsgo/_packages/tsgo-linux-x64/CHANGELOG.md +193 -0
- package/repos/tsgo/_packages/tsgo-linux-x64/LICENSE +21 -0
- package/repos/tsgo/_packages/tsgo-linux-x64/README.md +1 -0
- package/repos/tsgo/_packages/tsgo-linux-x64/package.json +29 -0
- package/repos/tsgo/_packages/tsgo-win32-arm64/CHANGELOG.md +193 -0
- package/repos/tsgo/_packages/tsgo-win32-arm64/LICENSE +21 -0
- package/repos/tsgo/_packages/tsgo-win32-arm64/README.md +1 -0
- package/repos/tsgo/_packages/tsgo-win32-arm64/package.json +29 -0
- package/repos/tsgo/_packages/tsgo-win32-x64/CHANGELOG.md +193 -0
- package/repos/tsgo/_packages/tsgo-win32-x64/LICENSE +21 -0
- package/repos/tsgo/_packages/tsgo-win32-x64/README.md +1 -0
- package/repos/tsgo/_packages/tsgo-win32-x64/package.json +29 -0
- package/repos/tsgo/_patches/001-cmd-tsgo-main.patch +16 -0
- package/repos/tsgo/_patches/002-checker-checker.patch +74 -0
- package/repos/tsgo/_patches/003-checker-exports.patch +27 -0
- package/repos/tsgo/_patches/004-checker-relater.patch +23 -0
- package/repos/tsgo/_patches/005-checker-types.patch +26 -0
- package/repos/tsgo/_patches/006-compiler-program.patch +15 -0
- package/repos/tsgo/_patches/007-core-compileroptions.patch +23 -0
- package/repos/tsgo/_patches/008-diagnostics-generate.patch +20 -0
- package/repos/tsgo/_patches/009-execute-tsc-emit.patch +69 -0
- package/repos/tsgo/_patches/010-fourslash-fourslash.patch +417 -0
- package/repos/tsgo/_patches/011-ls-codeactions.patch +117 -0
- package/repos/tsgo/_patches/012-ls-hover.patch +41 -0
- package/repos/tsgo/_patches/013-tsoptions-parsinghelpers.patch +69 -0
- package/repos/tsgo/_patches/014-ast-utilities-nil-check.patch +13 -0
- package/repos/tsgo/_patches/015-ls-inlay-hints.patch +36 -0
- package/repos/tsgo/_patches/017-ls-server-refactor-capability.patch +12 -0
- package/repos/tsgo/_patches/018-ls-autoimport-stylepolicy.patch +170 -0
- package/repos/tsgo/_patches/021-core-version-suffix.patch +18 -0
- package/repos/tsgo/_patches/022-ls-completions.patch +55 -0
- package/repos/tsgo/_patches/023-checker-effect-links.patch +12 -0
- package/repos/tsgo/_patches/024-ls-document-symbols.patch +36 -0
- package/repos/tsgo/_patches/025-tsoptions-diagnostic-scopes.patch +31 -0
- package/repos/tsgo/_patches/027-ls-autoimport-view.patch +42 -0
- package/repos/tsgo/_tools/gen_shims/main.go +516 -0
- package/repos/tsgo/_tools/perf-check-tsgo.sh +166 -0
- package/repos/tsgo/_tools/release-prepare.sh +190 -0
- package/repos/tsgo/_tools/setup-repo.sh +129 -0
- package/repos/tsgo/_tools/tsconfig-base-schema.json +1383 -0
- package/repos/tsgo/_tools/update-flake-vendor-hash.sh +137 -0
- package/repos/tsgo/_tools/version-prepare.sh +24 -0
- package/repos/tsgo/etscheckerhooks/doc.go +6 -0
- package/repos/tsgo/etscheckerhooks/external_library_test.go +98 -0
- package/repos/tsgo/etscheckerhooks/init.go +42 -0
- package/repos/tsgo/etscore/climode.go +23 -0
- package/repos/tsgo/etscore/climode_test.go +59 -0
- package/repos/tsgo/etscore/consts.go +5 -0
- package/repos/tsgo/etscore/go.mod +7 -0
- package/repos/tsgo/etscore/options.go +367 -0
- package/repos/tsgo/etscore/options_parser.go +488 -0
- package/repos/tsgo/etscore/options_schema_test.go +423 -0
- package/repos/tsgo/etscore/options_test.go +685 -0
- package/repos/tsgo/etscore/severity.go +79 -0
- package/repos/tsgo/etscore/version_generated.go +5 -0
- package/repos/tsgo/etscore/version_generated_test.go +36 -0
- package/repos/tsgo/etsexecutehooks/doc.go +11 -0
- package/repos/tsgo/etsexecutehooks/init.go +58 -0
- package/repos/tsgo/etsexecutehooks/init_test.go +292 -0
- package/repos/tsgo/etslshooks/doc.go +15 -0
- package/repos/tsgo/etslshooks/document_symbols.go +556 -0
- package/repos/tsgo/etslshooks/init.go +359 -0
- package/repos/tsgo/etslshooks/inlay_hints.go +108 -0
- package/repos/tsgo/etstesthooks/doc.go +10 -0
- package/repos/tsgo/etstesthooks/init.go +45 -0
- package/repos/tsgo/etstesthooks/init_test.go +71 -0
- package/repos/tsgo/flake.lock +80 -0
- package/repos/tsgo/flake.nix +189 -0
- package/repos/tsgo/go.mod +107 -0
- package/repos/tsgo/go.sum +24 -0
- package/repos/tsgo/go.work +47 -0
- package/repos/tsgo/go.work.sum +34 -0
- package/repos/tsgo/internal/autoimportstyle/stylepolicy.go +266 -0
- package/repos/tsgo/internal/autoimportstyle/stylepolicy_test.go +462 -0
- package/repos/tsgo/internal/bundledeffect/effect.go +105 -0
- package/repos/tsgo/internal/codefixes/disable_diagnostics.go +44 -0
- package/repos/tsgo/internal/codegen/codegen.go +21 -0
- package/repos/tsgo/internal/codegens/codegens.go +27 -0
- package/repos/tsgo/internal/completion/completion.go +25 -0
- package/repos/tsgo/internal/completion/context.go +46 -0
- package/repos/tsgo/internal/completion/position.go +136 -0
- package/repos/tsgo/internal/completion/position_test.go +121 -0
- package/repos/tsgo/internal/completions/completions.go +33 -0
- package/repos/tsgo/internal/completions/context_self_in_classes.go +144 -0
- package/repos/tsgo/internal/completions/context_self_in_classes_test.go +162 -0
- package/repos/tsgo/internal/completions/duration_input.go +85 -0
- package/repos/tsgo/internal/completions/duration_input_test.go +95 -0
- package/repos/tsgo/internal/completions/effect_codegens_comment.go +57 -0
- package/repos/tsgo/internal/completions/effect_codegens_comment_test.go +121 -0
- package/repos/tsgo/internal/completions/effect_data_classes.go +66 -0
- package/repos/tsgo/internal/completions/effect_diagnostics_comment.go +68 -0
- package/repos/tsgo/internal/completions/effect_diagnostics_comment_test.go +145 -0
- package/repos/tsgo/internal/completions/effect_jsdoc_comment.go +42 -0
- package/repos/tsgo/internal/completions/effect_jsdoc_comment_test.go +112 -0
- package/repos/tsgo/internal/completions/effect_rpc_make_classes.go +56 -0
- package/repos/tsgo/internal/completions/effect_rpc_make_classes_test.go +67 -0
- package/repos/tsgo/internal/completions/effect_schema_self_in_classes.go +200 -0
- package/repos/tsgo/internal/completions/effect_self_in_classes.go +78 -0
- package/repos/tsgo/internal/completions/effect_self_in_classes_test.go +67 -0
- package/repos/tsgo/internal/completions/effect_sql_model_self_in_classes.go +62 -0
- package/repos/tsgo/internal/completions/effect_sql_model_self_in_classes_test.go +67 -0
- package/repos/tsgo/internal/completions/fn_function_star.go +90 -0
- package/repos/tsgo/internal/completions/fn_function_star_test.go +125 -0
- package/repos/tsgo/internal/completions/fourslash_test.go +177 -0
- package/repos/tsgo/internal/completions/gen_function_star.go +59 -0
- package/repos/tsgo/internal/completions/schema_brand.go +63 -0
- package/repos/tsgo/internal/completions/schema_brand_test.go +54 -0
- package/repos/tsgo/internal/diagnostics/effectDiagnosticMessages.json +390 -0
- package/repos/tsgo/internal/directives/parser.go +344 -0
- package/repos/tsgo/internal/directives/parser_test.go +926 -0
- package/repos/tsgo/internal/effectconfigraw/hooks.go +338 -0
- package/repos/tsgo/internal/effecttest/autoimport_style_consistency_test.go +435 -0
- package/repos/tsgo/internal/effecttest/baseline.go +638 -0
- package/repos/tsgo/internal/effecttest/completion_test.go +134 -0
- package/repos/tsgo/internal/effecttest/document_symbols_baseline.go +99 -0
- package/repos/tsgo/internal/effecttest/document_symbols_runner.go +234 -0
- package/repos/tsgo/internal/effecttest/document_symbols_runner_test.go +64 -0
- package/repos/tsgo/internal/effecttest/effect_in_failure_ts2589_test.go +216 -0
- package/repos/tsgo/internal/effecttest/feature_flags_test.go +266 -0
- package/repos/tsgo/internal/effecttest/hover_test.go +310 -0
- package/repos/tsgo/internal/effecttest/inlay_hints_baseline_test.go +177 -0
- package/repos/tsgo/internal/effecttest/inlay_hints_test.go +214 -0
- package/repos/tsgo/internal/effecttest/issue_173_test.go +84 -0
- package/repos/tsgo/internal/effecttest/quickfix_baseline.go +161 -0
- package/repos/tsgo/internal/effecttest/quickfix_runner.go +132 -0
- package/repos/tsgo/internal/effecttest/quickfix_runner_test.go +67 -0
- package/repos/tsgo/internal/effecttest/refactor_baseline.go +122 -0
- package/repos/tsgo/internal/effecttest/refactor_runner.go +251 -0
- package/repos/tsgo/internal/effecttest/refactor_runner_test.go +67 -0
- package/repos/tsgo/internal/effecttest/runner.go +401 -0
- package/repos/tsgo/internal/effecttest/runner_test.go +62 -0
- package/repos/tsgo/internal/effecttest/vfs.go +87 -0
- package/repos/tsgo/internal/fixable/context.go +89 -0
- package/repos/tsgo/internal/fixable/fixable.go +38 -0
- package/repos/tsgo/internal/fixables/catch_all_to_map_error.go +51 -0
- package/repos/tsgo/internal/fixables/catch_to_or_else_succeed.go +44 -0
- package/repos/tsgo/internal/fixables/class_self_mismatch.go +54 -0
- package/repos/tsgo/internal/fixables/deterministic_keys.go +47 -0
- package/repos/tsgo/internal/fixables/disable.go +126 -0
- package/repos/tsgo/internal/fixables/effect_fn_iife.go +90 -0
- package/repos/tsgo/internal/fixables/effect_fn_opportunity.go +480 -0
- package/repos/tsgo/internal/fixables/effect_map_void.go +56 -0
- package/repos/tsgo/internal/fixables/effect_succeed_with_void.go +56 -0
- package/repos/tsgo/internal/fixables/fixables.go +88 -0
- package/repos/tsgo/internal/fixables/instance_of_schema.go +73 -0
- package/repos/tsgo/internal/fixables/layer_merge_all_with_dependencies.go +90 -0
- package/repos/tsgo/internal/fixables/missed_pipeable_opportunity.go +161 -0
- package/repos/tsgo/internal/fixables/missing_effect_error_catch.go +192 -0
- package/repos/tsgo/internal/fixables/missing_return_yield_star.go +54 -0
- package/repos/tsgo/internal/fixables/missing_star_in_yield_effect_gen.go +52 -0
- package/repos/tsgo/internal/fixables/multiple_effect_provide.go +97 -0
- package/repos/tsgo/internal/fixables/new_schema_class.go +64 -0
- package/repos/tsgo/internal/fixables/overridden_schema_constructor.go +145 -0
- package/repos/tsgo/internal/fixables/redundant_schema_tag_identifier.go +50 -0
- package/repos/tsgo/internal/fixables/return_effect_in_gen.go +55 -0
- package/repos/tsgo/internal/fixables/run_effect_inside_effect.go +178 -0
- package/repos/tsgo/internal/fixables/schema_number.go +52 -0
- package/repos/tsgo/internal/fixables/schema_struct_with_tag.go +82 -0
- package/repos/tsgo/internal/fixables/schema_union_of_literals.go +59 -0
- package/repos/tsgo/internal/fixables/scope_in_layer_effect.go +47 -0
- package/repos/tsgo/internal/fixables/service_not_as_class.go +115 -0
- package/repos/tsgo/internal/fixables/unnecessary_arrow_block.go +45 -0
- package/repos/tsgo/internal/fixables/unnecessary_effect_gen.go +79 -0
- package/repos/tsgo/internal/fixables/unnecessary_fail_yieldable_error.go +48 -0
- package/repos/tsgo/internal/fixables/unnecessary_pipe.go +54 -0
- package/repos/tsgo/internal/fixables/unnecessary_pipe_chain.go +83 -0
- package/repos/tsgo/internal/fixables/unnecessary_typeof_type.go +39 -0
- package/repos/tsgo/internal/fixables/unsafe_effect_type_assertion.go +39 -0
- package/repos/tsgo/internal/graph/graph.go +789 -0
- package/repos/tsgo/internal/graph/graph_test.go +1099 -0
- package/repos/tsgo/internal/keybuilder/keybuilder.go +131 -0
- package/repos/tsgo/internal/keybuilder/keybuilder_test.go +226 -0
- package/repos/tsgo/internal/layergraph/extract.go +435 -0
- package/repos/tsgo/internal/layergraph/format.go +370 -0
- package/repos/tsgo/internal/layergraph/format_test.go +145 -0
- package/repos/tsgo/internal/layergraph/magic.go +171 -0
- package/repos/tsgo/internal/layergraph/magic_test.go +168 -0
- package/repos/tsgo/internal/layergraph/mermaidurl.go +32 -0
- package/repos/tsgo/internal/layergraph/mermaidurl_test.go +109 -0
- package/repos/tsgo/internal/layergraph/outline.go +80 -0
- package/repos/tsgo/internal/layergraph/providers.go +144 -0
- package/repos/tsgo/internal/layergraph/providers_test.go +132 -0
- package/repos/tsgo/internal/layergraph/types.go +112 -0
- package/repos/tsgo/internal/layergraph/types_test.go +60 -0
- package/repos/tsgo/internal/pluginoptions/resolver.go +158 -0
- package/repos/tsgo/internal/refactor/context.go +83 -0
- package/repos/tsgo/internal/refactor/refactor.go +28 -0
- package/repos/tsgo/internal/refactors/async_await_to_fn.go +179 -0
- package/repos/tsgo/internal/refactors/async_await_to_fn_try_promise.go +111 -0
- package/repos/tsgo/internal/refactors/async_await_to_gen.go +377 -0
- package/repos/tsgo/internal/refactors/async_await_to_gen_try_promise.go +263 -0
- package/repos/tsgo/internal/refactors/effect_gen_to_fn.go +308 -0
- package/repos/tsgo/internal/refactors/function_to_arrow.go +226 -0
- package/repos/tsgo/internal/refactors/layer_magic.go +407 -0
- package/repos/tsgo/internal/refactors/make_schema_opaque.go +308 -0
- package/repos/tsgo/internal/refactors/make_schema_opaque_with_ns.go +151 -0
- package/repos/tsgo/internal/refactors/pipeable_to_datafirst.go +189 -0
- package/repos/tsgo/internal/refactors/refactors.go +31 -0
- package/repos/tsgo/internal/refactors/remove_unnecessary_effect_gen.go +90 -0
- package/repos/tsgo/internal/refactors/structural_type_to_schema.go +65 -0
- package/repos/tsgo/internal/refactors/toggle_lazy_const.go +104 -0
- package/repos/tsgo/internal/refactors/toggle_pipe_style.go +105 -0
- package/repos/tsgo/internal/refactors/toggle_return_type_annotation.go +155 -0
- package/repos/tsgo/internal/refactors/toggle_type_annotation.go +122 -0
- package/repos/tsgo/internal/refactors/type_to_effect_schema.go +87 -0
- package/repos/tsgo/internal/refactors/type_to_effect_schema_class.go +45 -0
- package/repos/tsgo/internal/refactors/wrap_with_effect_gen.go +97 -0
- package/repos/tsgo/internal/refactors/wrap_with_pipe.go +38 -0
- package/repos/tsgo/internal/refactors/write_tag_class_accessors.go +381 -0
- package/repos/tsgo/internal/rewriter/tracker.go +149 -0
- package/repos/tsgo/internal/rule/context.go +67 -0
- package/repos/tsgo/internal/rule/metadata.go +15 -0
- package/repos/tsgo/internal/rule/rule.go +73 -0
- package/repos/tsgo/internal/rule/rule_test.go +93 -0
- package/repos/tsgo/internal/rulerunner/diagnostics.go +249 -0
- package/repos/tsgo/internal/rules/any_unknown_in_error_context.go +174 -0
- package/repos/tsgo/internal/rules/async_function.go +45 -0
- package/repos/tsgo/internal/rules/catch_all_to_map_error.go +109 -0
- package/repos/tsgo/internal/rules/catch_to_or_else_succeed.go +105 -0
- package/repos/tsgo/internal/rules/catch_unfailable_effect.go +73 -0
- package/repos/tsgo/internal/rules/class_self_mismatch.go +160 -0
- package/repos/tsgo/internal/rules/crypto_random_uuid.go +88 -0
- package/repos/tsgo/internal/rules/deterministic_keys.go +264 -0
- package/repos/tsgo/internal/rules/duplicate_package.go +131 -0
- package/repos/tsgo/internal/rules/effect_do_notation.go +70 -0
- package/repos/tsgo/internal/rules/effect_fn_iife.go +122 -0
- package/repos/tsgo/internal/rules/effect_fn_implicit_any.go +131 -0
- package/repos/tsgo/internal/rules/effect_fn_opportunity.go +220 -0
- package/repos/tsgo/internal/rules/effect_gen_uses_adapter.go +55 -0
- package/repos/tsgo/internal/rules/effect_in_failure.go +97 -0
- package/repos/tsgo/internal/rules/effect_in_void_success.go +66 -0
- package/repos/tsgo/internal/rules/effect_map_flatten.go +78 -0
- package/repos/tsgo/internal/rules/effect_map_void.go +123 -0
- package/repos/tsgo/internal/rules/effect_succeed_with_void.go +99 -0
- package/repos/tsgo/internal/rules/extends_native_error.go +112 -0
- package/repos/tsgo/internal/rules/floating_effect.go +150 -0
- package/repos/tsgo/internal/rules/generic_effect_services.go +61 -0
- package/repos/tsgo/internal/rules/global_console.go +88 -0
- package/repos/tsgo/internal/rules/global_date.go +96 -0
- package/repos/tsgo/internal/rules/global_error_in_effect_catch.go +116 -0
- package/repos/tsgo/internal/rules/global_error_in_effect_failure.go +85 -0
- package/repos/tsgo/internal/rules/global_fetch.go +81 -0
- package/repos/tsgo/internal/rules/global_random.go +75 -0
- package/repos/tsgo/internal/rules/global_timers.go +105 -0
- package/repos/tsgo/internal/rules/instance_of_schema.go +80 -0
- package/repos/tsgo/internal/rules/layer_merge_all_with_dependencies.go +195 -0
- package/repos/tsgo/internal/rules/lazy_effect.go +213 -0
- package/repos/tsgo/internal/rules/lazy_promise_in_effect_sync.go +65 -0
- package/repos/tsgo/internal/rules/leaking_requirements.go +353 -0
- package/repos/tsgo/internal/rules/metadata.go +37 -0
- package/repos/tsgo/internal/rules/missed_pipeable_opportunity.go +203 -0
- package/repos/tsgo/internal/rules/missing_effect_context.go +273 -0
- package/repos/tsgo/internal/rules/missing_effect_error.go +115 -0
- package/repos/tsgo/internal/rules/missing_effect_service_dependency.go +190 -0
- package/repos/tsgo/internal/rules/missing_layer_context.go +87 -0
- package/repos/tsgo/internal/rules/missing_return_yield_star.go +98 -0
- package/repos/tsgo/internal/rules/missing_star_in_yield_effect_gen.go +77 -0
- package/repos/tsgo/internal/rules/multiple_catch_tag.go +229 -0
- package/repos/tsgo/internal/rules/multiple_effect_provide.go +119 -0
- package/repos/tsgo/internal/rules/nested_effect_gen_yield.go +72 -0
- package/repos/tsgo/internal/rules/new_promise.go +50 -0
- package/repos/tsgo/internal/rules/new_schema_class.go +102 -0
- package/repos/tsgo/internal/rules/node_builtin_import.go +160 -0
- package/repos/tsgo/internal/rules/non_object_effect_service_type.go +187 -0
- package/repos/tsgo/internal/rules/outdated_api.go +163 -0
- package/repos/tsgo/internal/rules/outdated_api_db.go +375 -0
- package/repos/tsgo/internal/rules/overridden_schema_constructor.go +175 -0
- package/repos/tsgo/internal/rules/prefer_schema_over_json.go +217 -0
- package/repos/tsgo/internal/rules/process_env.go +96 -0
- package/repos/tsgo/internal/rules/redundant_map_error.go +380 -0
- package/repos/tsgo/internal/rules/redundant_or_die.go +194 -0
- package/repos/tsgo/internal/rules/redundant_schema_tag_identifier.go +103 -0
- package/repos/tsgo/internal/rules/return_effect_in_gen.go +97 -0
- package/repos/tsgo/internal/rules/rules.go +92 -0
- package/repos/tsgo/internal/rules/rules_json_test.go +856 -0
- package/repos/tsgo/internal/rules/run_effect_inside_effect.go +155 -0
- package/repos/tsgo/internal/rules/schema_number.go +106 -0
- package/repos/tsgo/internal/rules/schema_struct_with_tag.go +162 -0
- package/repos/tsgo/internal/rules/schema_sync_in_effect.go +107 -0
- package/repos/tsgo/internal/rules/schema_union_of_literals.go +122 -0
- package/repos/tsgo/internal/rules/scope_in_layer_effect.go +201 -0
- package/repos/tsgo/internal/rules/service_not_as_class.go +179 -0
- package/repos/tsgo/internal/rules/strict_boolean_expressions.go +123 -0
- package/repos/tsgo/internal/rules/strict_effect_provide.go +77 -0
- package/repos/tsgo/internal/rules/try_catch_in_effect_gen.go +55 -0
- package/repos/tsgo/internal/rules/unknown_in_effect_catch.go +116 -0
- package/repos/tsgo/internal/rules/unnecessary_arrow_block.go +99 -0
- package/repos/tsgo/internal/rules/unnecessary_effect_gen.go +139 -0
- package/repos/tsgo/internal/rules/unnecessary_fail_yieldable_error.go +85 -0
- package/repos/tsgo/internal/rules/unnecessary_pipe.go +71 -0
- package/repos/tsgo/internal/rules/unnecessary_pipe_chain.go +74 -0
- package/repos/tsgo/internal/rules/unnecessary_typeof_type.go +206 -0
- package/repos/tsgo/internal/rules/unsafe_effect_type_assertion.go +170 -0
- package/repos/tsgo/internal/schemagen/schemagen.go +740 -0
- package/repos/tsgo/internal/schemagen/structural.go +703 -0
- package/repos/tsgo/internal/typeparser/context_tag.go +72 -0
- package/repos/tsgo/internal/typeparser/context_type.go +38 -0
- package/repos/tsgo/internal/typeparser/data_first_signature.go +158 -0
- package/repos/tsgo/internal/typeparser/data_first_signature_test.go +324 -0
- package/repos/tsgo/internal/typeparser/data_type.go +41 -0
- package/repos/tsgo/internal/typeparser/discover.go +223 -0
- package/repos/tsgo/internal/typeparser/effect_context.go +237 -0
- package/repos/tsgo/internal/typeparser/effect_fn.go +248 -0
- package/repos/tsgo/internal/typeparser/effect_fn_opportunity.go +840 -0
- package/repos/tsgo/internal/typeparser/effect_fn_test.go +197 -0
- package/repos/tsgo/internal/typeparser/effect_gen.go +60 -0
- package/repos/tsgo/internal/typeparser/effect_gen_test.go +113 -0
- package/repos/tsgo/internal/typeparser/effect_model_type.go +49 -0
- package/repos/tsgo/internal/typeparser/effect_type.go +257 -0
- package/repos/tsgo/internal/typeparser/effect_yieldable_type.go +51 -0
- package/repos/tsgo/internal/typeparser/execution_flow.go +396 -0
- package/repos/tsgo/internal/typeparser/expected_and_real_type.go +333 -0
- package/repos/tsgo/internal/typeparser/expected_and_real_type_test.go +447 -0
- package/repos/tsgo/internal/typeparser/extends_context_service.go +102 -0
- package/repos/tsgo/internal/typeparser/extends_context_tag.go +102 -0
- package/repos/tsgo/internal/typeparser/extends_data_tagged.go +85 -0
- package/repos/tsgo/internal/typeparser/extends_effect_model_class.go +86 -0
- package/repos/tsgo/internal/typeparser/extends_effect_service.go +113 -0
- package/repos/tsgo/internal/typeparser/extends_effect_tag.go +101 -0
- package/repos/tsgo/internal/typeparser/extends_schema_class.go +114 -0
- package/repos/tsgo/internal/typeparser/extends_schema_tagged.go +144 -0
- package/repos/tsgo/internal/typeparser/extends_sql_model_class.go +84 -0
- package/repos/tsgo/internal/typeparser/function_node.go +98 -0
- package/repos/tsgo/internal/typeparser/get_type_at_location.go +98 -0
- package/repos/tsgo/internal/typeparser/global_error.go +35 -0
- package/repos/tsgo/internal/typeparser/helpers.go +111 -0
- package/repos/tsgo/internal/typeparser/helpers_test.go +427 -0
- package/repos/tsgo/internal/typeparser/layer_type.go +145 -0
- package/repos/tsgo/internal/typeparser/lazy_expression.go +90 -0
- package/repos/tsgo/internal/typeparser/module_export_reference.go +94 -0
- package/repos/tsgo/internal/typeparser/module_identifier.go +183 -0
- package/repos/tsgo/internal/typeparser/module_identifier_test.go +111 -0
- package/repos/tsgo/internal/typeparser/packagejson.go +40 -0
- package/repos/tsgo/internal/typeparser/pipeable.go +114 -0
- package/repos/tsgo/internal/typeparser/piping_flow.go +531 -0
- package/repos/tsgo/internal/typeparser/promise_type.go +31 -0
- package/repos/tsgo/internal/typeparser/reconstruct.go +84 -0
- package/repos/tsgo/internal/typeparser/schema_type.go +207 -0
- package/repos/tsgo/internal/typeparser/scope_type.go +59 -0
- package/repos/tsgo/internal/typeparser/service_type.go +66 -0
- package/repos/tsgo/internal/typeparser/service_type_test.go +110 -0
- package/repos/tsgo/internal/typeparser/sql_model_type.go +42 -0
- package/repos/tsgo/internal/typeparser/stream_type.go +28 -0
- package/repos/tsgo/internal/typeparser/type_parser.go +95 -0
- package/repos/tsgo/internal/typeparser/unique_types_map.go +66 -0
- package/repos/tsgo/internal/typeparser/unroll_members.go +15 -0
- package/repos/tsgo/internal/typeparser/yieldable_error.go +85 -0
- package/repos/tsgo/package.json +22 -0
- package/repos/tsgo/pnpm-lock.yaml +2762 -0
- package/repos/tsgo/pnpm-workspace.yaml +7 -0
- package/repos/tsgo/schema.json +2812 -0
- package/repos/tsgo/shim/api/go.mod +5 -0
- package/repos/tsgo/shim/api/shim.go +262 -0
- package/repos/tsgo/shim/ast/go.mod +5 -0
- package/repos/tsgo/shim/ast/shim.go +2725 -0
- package/repos/tsgo/shim/astnav/go.mod +5 -0
- package/repos/tsgo/shim/astnav/shim.go +27 -0
- package/repos/tsgo/shim/bundled/go.mod +5 -0
- package/repos/tsgo/shim/bundled/shim.go +19 -0
- package/repos/tsgo/shim/checker/extra-shim.json +10 -0
- package/repos/tsgo/shim/checker/go.mod +5 -0
- package/repos/tsgo/shim/checker/shim.go +1159 -0
- package/repos/tsgo/shim/collections/go.mod +5 -0
- package/repos/tsgo/shim/collections/shim.go +16 -0
- package/repos/tsgo/shim/compiler/go.mod +5 -0
- package/repos/tsgo/shim/compiler/shim.go +50 -0
- package/repos/tsgo/shim/core/go.mod +5 -0
- package/repos/tsgo/shim/core/shim.go +200 -0
- package/repos/tsgo/shim/diagnostics/go.mod +5 -0
- package/repos/tsgo/shim/diagnostics/shim.go +2272 -0
- package/repos/tsgo/shim/execute/tsc/go.mod +5 -0
- package/repos/tsgo/shim/execute/tsc/shim.go +62 -0
- package/repos/tsgo/shim/format/go.mod +5 -0
- package/repos/tsgo/shim/format/shim.go +72 -0
- package/repos/tsgo/shim/fourslash/extra-shim.json +8 -0
- package/repos/tsgo/shim/fourslash/go.mod +5 -0
- package/repos/tsgo/shim/fourslash/shim.go +59 -0
- package/repos/tsgo/shim/ls/autoimport/go.mod +5 -0
- package/repos/tsgo/shim/ls/autoimport/shim.go +64 -0
- package/repos/tsgo/shim/ls/change/extra-shim.json +5 -0
- package/repos/tsgo/shim/ls/change/go.mod +5 -0
- package/repos/tsgo/shim/ls/change/shim.go +30 -0
- package/repos/tsgo/shim/ls/extra-shim.json +8 -0
- package/repos/tsgo/shim/ls/go.mod +5 -0
- package/repos/tsgo/shim/ls/lsconv/go.mod +5 -0
- package/repos/tsgo/shim/ls/lsconv/shim.go +28 -0
- package/repos/tsgo/shim/ls/lsutil/go.mod +5 -0
- package/repos/tsgo/shim/ls/lsutil/shim.go +202 -0
- package/repos/tsgo/shim/ls/shim.go +154 -0
- package/repos/tsgo/shim/lsp/go.mod +5 -0
- package/repos/tsgo/shim/lsp/lsproto/go.mod +5 -0
- package/repos/tsgo/shim/lsp/lsproto/shim.go +1271 -0
- package/repos/tsgo/shim/lsp/shim.go +19 -0
- package/repos/tsgo/shim/module/go.mod +5 -0
- package/repos/tsgo/shim/module/shim.go +76 -0
- package/repos/tsgo/shim/modulespecifiers/go.mod +5 -0
- package/repos/tsgo/shim/modulespecifiers/shim.go +87 -0
- package/repos/tsgo/shim/packagejson/go.mod +5 -0
- package/repos/tsgo/shim/packagejson/shim.go +32 -0
- package/repos/tsgo/shim/parser/go.mod +5 -0
- package/repos/tsgo/shim/parser/shim.go +55 -0
- package/repos/tsgo/shim/project/go.mod +5 -0
- package/repos/tsgo/shim/project/logging/go.mod +3 -0
- package/repos/tsgo/shim/project/logging/shim.go +20 -0
- package/repos/tsgo/shim/project/shim.go +101 -0
- package/repos/tsgo/shim/repo/go.mod +5 -0
- package/repos/tsgo/shim/repo/shim.go +19 -0
- package/repos/tsgo/shim/scanner/go.mod +5 -0
- package/repos/tsgo/shim/scanner/shim.go +98 -0
- package/repos/tsgo/shim/sourcemap/go.mod +5 -0
- package/repos/tsgo/shim/sourcemap/shim.go +37 -0
- package/repos/tsgo/shim/testrunner/go.mod +5 -0
- package/repos/tsgo/shim/testrunner/shim.go +16 -0
- package/repos/tsgo/shim/testutil/baseline/go.mod +5 -0
- package/repos/tsgo/shim/testutil/baseline/shim.go +19 -0
- package/repos/tsgo/shim/testutil/go.mod +5 -0
- package/repos/tsgo/shim/testutil/harnessutil/go.mod +5 -0
- package/repos/tsgo/shim/testutil/harnessutil/shim.go +46 -0
- package/repos/tsgo/shim/testutil/lsptestutil/go.mod +5 -0
- package/repos/tsgo/shim/testutil/lsptestutil/shim.go +17 -0
- package/repos/tsgo/shim/testutil/shim.go +15 -0
- package/repos/tsgo/shim/testutil/tsbaseline/go.mod +5 -0
- package/repos/tsgo/shim/testutil/tsbaseline/shim.go +26 -0
- package/repos/tsgo/shim/tsoptions/go.mod +5 -0
- package/repos/tsgo/shim/tsoptions/shim.go +126 -0
- package/repos/tsgo/shim/tspath/go.mod +5 -0
- package/repos/tsgo/shim/tspath/shim.go +165 -0
- package/repos/tsgo/shim/vfs/cachedvfs/go.mod +5 -0
- package/repos/tsgo/shim/vfs/cachedvfs/shim.go +12 -0
- package/repos/tsgo/shim/vfs/go.mod +5 -0
- package/repos/tsgo/shim/vfs/iovfs/go.mod +5 -0
- package/repos/tsgo/shim/vfs/iovfs/shim.go +14 -0
- package/repos/tsgo/shim/vfs/osvfs/go.mod +5 -0
- package/repos/tsgo/shim/vfs/osvfs/shim.go +13 -0
- package/repos/tsgo/shim/vfs/shim.go +19 -0
- package/repos/tsgo/shim/vfs/vfsmatch/shim.go +21 -0
- package/repos/tsgo/shim/vfs/vfstest/go.mod +5 -0
- package/repos/tsgo/shim/vfs/vfstest/shim.go +16 -0
- package/repos/tsgo/testdata/baselines/reference/README.md +297 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/anyUnknownInErrorContext.errors.txt +154 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/anyUnknownInErrorContext.flows.anyUnknownInErrorContext.mermaid +77 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/anyUnknownInErrorContext.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/anyUnknownInErrorContext.layers.txt +69 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/anyUnknownInErrorContext.pipings.txt +197 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/anyUnknownInErrorContext.quickfixes.txt +407 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/asyncAwaitToFn.refactors.txt +98 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/asyncAwaitToFnTryPromise.refactors.txt +124 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/asyncAwaitToFn_fetch.refactors.txt +112 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/asyncAwaitToFn_generics.refactors.txt +98 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/asyncAwaitToGen.refactors.txt +98 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/asyncAwaitToGenTryPromise.refactors.txt +130 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/asyncAwaitToGenTryPromise_anonymous.refactors.txt +370 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/asyncAwaitToGen_anonymous.refactors.txt +370 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/asyncAwaitToGen_namedImport.refactors.txt +98 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/asyncFunction.errors.txt +52 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/asyncFunction.flows.asyncFunction.mermaid +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/asyncFunction.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/asyncFunction.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/asyncFunction.pipings.txt +85 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/asyncFunction.quickfixes.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/asyncFunction_preview.errors.txt +16 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/asyncFunction_preview.flows.asyncFunction_preview.mermaid +2 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/asyncFunction_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/asyncFunction_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/asyncFunction_preview.pipings.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/asyncFunction_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchAllToMapError.errors.txt +88 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchAllToMapError.flows.catchAllToMapError.mermaid +164 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchAllToMapError.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchAllToMapError.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchAllToMapError.pipings.txt +289 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchAllToMapError.quickfixes.txt +413 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchAllToMapError_effectFn.errors.txt +42 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchAllToMapError_effectFn.flows.catchAllToMapError_effectFn.mermaid +87 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchAllToMapError_effectFn.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchAllToMapError_effectFn.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchAllToMapError_effectFn.pipings.txt +169 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchAllToMapError_effectFn.quickfixes.txt +129 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchAllToMapError_effectFnRegular.errors.txt +38 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchAllToMapError_effectFnRegular.flows.catchAllToMapError_effectFnRegular.mermaid +66 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchAllToMapError_effectFnRegular.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchAllToMapError_effectFnRegular.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchAllToMapError_effectFnRegular.pipings.txt +127 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchAllToMapError_effectFnRegular.quickfixes.txt +85 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchToOrElseSucceed.errors.txt +65 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchToOrElseSucceed.flows.catchToOrElseSucceed.mermaid +131 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchToOrElseSucceed.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchToOrElseSucceed.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchToOrElseSucceed.pipings.txt +239 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchToOrElseSucceed.quickfixes.txt +251 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchToOrElseSucceed_preview.errors.txt +16 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchToOrElseSucceed_preview.flows.catchToOrElseSucceed_preview.mermaid +18 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchToOrElseSucceed_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchToOrElseSucceed_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchToOrElseSucceed_preview.pipings.txt +33 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchToOrElseSucceed_preview.quickfixes.txt +25 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchUnfailableEffect.errors.txt +63 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchUnfailableEffect.flows.catchUnfailableEffect.mermaid +157 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchUnfailableEffect.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchUnfailableEffect.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchUnfailableEffect.pipings.txt +265 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchUnfailableEffect.quickfixes.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchUnfailableEffect_effectFn.errors.txt +36 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchUnfailableEffect_effectFn.flows.catchUnfailableEffect_effectFn.mermaid +73 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchUnfailableEffect_effectFn.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchUnfailableEffect_effectFn.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchUnfailableEffect_effectFn.pipings.txt +127 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchUnfailableEffect_effectFn.quickfixes.txt +33 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchUnfailableEffect_effectFnRegular.errors.txt +32 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchUnfailableEffect_effectFnRegular.flows.catchUnfailableEffect_effectFnRegular.mermaid +56 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchUnfailableEffect_effectFnRegular.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchUnfailableEffect_effectFnRegular.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchUnfailableEffect_effectFnRegular.pipings.txt +99 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchUnfailableEffect_effectFnRegular.quickfixes.txt +23 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchUnfailableEffect_variants.errors.txt +54 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchUnfailableEffect_variants.flows.catchUnfailableEffect_variants.mermaid +78 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchUnfailableEffect_variants.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchUnfailableEffect_variants.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchUnfailableEffect_variants.pipings.txt +105 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/catchUnfailableEffect_variants.quickfixes.txt +53 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/classSelfMismatch.errors.txt +28 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/classSelfMismatch.flows.classSelfMismatch.mermaid +3 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/classSelfMismatch.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/classSelfMismatch.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/classSelfMismatch.pipings.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/classSelfMismatch.quickfixes.txt +37 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/classSelfMismatch_contextTag.errors.txt +22 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/classSelfMismatch_contextTag.flows.classSelfMismatch_contextTag.mermaid +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/classSelfMismatch_contextTag.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/classSelfMismatch_contextTag.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/classSelfMismatch_contextTag.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/classSelfMismatch_contextTag.quickfixes.txt +31 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/classSelfMismatch_effectTag.errors.txt +22 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/classSelfMismatch_effectTag.flows.classSelfMismatch_effectTag.mermaid +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/classSelfMismatch_effectTag.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/classSelfMismatch_effectTag.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/classSelfMismatch_effectTag.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/classSelfMismatch_effectTag.quickfixes.txt +31 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/classSelfMismatch_preview.errors.txt +20 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/classSelfMismatch_preview.flows.classSelfMismatch_preview.mermaid +8 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/classSelfMismatch_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/classSelfMismatch_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/classSelfMismatch_preview.pipings.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/classSelfMismatch_preview.quickfixes.txt +7 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/classSelfMismatch_schema.errors.txt +92 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/classSelfMismatch_schema.flows.classSelfMismatch_schema.mermaid +57 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/classSelfMismatch_schema.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/classSelfMismatch_schema.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/classSelfMismatch_schema.pipings.txt +113 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/classSelfMismatch_schema.quickfixes.txt +713 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/classSelfMismatch_schemaFalsePositive.errors.txt +24 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/classSelfMismatch_schemaFalsePositive.flows.classSelfMismatch_schemaFalsePositive.mermaid +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/classSelfMismatch_schemaFalsePositive.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/classSelfMismatch_schemaFalsePositive.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/classSelfMismatch_schemaFalsePositive.pipings.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/classSelfMismatch_schemaFalsePositive.quickfixes.txt +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/classSelfMismatch_unionGiven.errors.txt +20 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/classSelfMismatch_unionGiven.flows.classSelfMismatch_unionGiven.mermaid +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/classSelfMismatch_unionGiven.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/classSelfMismatch_unionGiven.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/classSelfMismatch_unionGiven.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/classSelfMismatch_unionGiven.quickfixes.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/deterministicKeys.errors.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/deterministicKeys.flows.package.mermaid +2 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/deterministicKeys.flows.test.mermaid +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/deterministicKeys.flows.txt +2 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/deterministicKeys.layers.txt +2 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/deterministicKeys.pipings.txt +30 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/deterministicKeys.quickfixes.txt +55 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/deterministicKeys_custom.errors.txt +80 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/deterministicKeys_custom.flows.package.mermaid +2 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/deterministicKeys_custom.flows.test.mermaid +21 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/deterministicKeys_custom.flows.txt +3 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/deterministicKeys_custom.flows.utils.mermaid +17 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/deterministicKeys_custom.layers.txt +3 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/deterministicKeys_custom.pipings.txt +45 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/deterministicKeys_custom.quickfixes.txt +73 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/deterministicKeys_defaultHashed.errors.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/deterministicKeys_defaultHashed.flows.package.mermaid +2 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/deterministicKeys_defaultHashed.flows.test.mermaid +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/deterministicKeys_defaultHashed.flows.txt +2 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/deterministicKeys_defaultHashed.layers.txt +2 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/deterministicKeys_defaultHashed.pipings.txt +30 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/deterministicKeys_defaultHashed.quickfixes.txt +55 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/deterministicKeys_packageIdentifier.errors.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/deterministicKeys_packageIdentifier.flows.package.mermaid +2 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/deterministicKeys_packageIdentifier.flows.test.mermaid +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/deterministicKeys_packageIdentifier.flows.txt +2 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/deterministicKeys_packageIdentifier.layers.txt +2 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/deterministicKeys_packageIdentifier.pipings.txt +30 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/deterministicKeys_packageIdentifier.quickfixes.txt +55 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/duplicatePackage_preview.errors.txt +14 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/duplicatePackage_preview.flows.duplicatePackage_preview.mermaid +6 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/duplicatePackage_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/duplicatePackage_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/duplicatePackage_preview.pipings.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/duplicatePackage_preview.quickfixes.txt +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectDoNotation.errors.txt +28 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectDoNotation.flows.effectDoNotation.mermaid +21 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectDoNotation.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectDoNotation.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectDoNotation.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectDoNotation.quickfixes.txt +33 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectDoNotation_preview.errors.txt +21 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectDoNotation_preview.flows.effectDoNotation_preview.mermaid +40 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectDoNotation_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectDoNotation_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectDoNotation_preview.pipings.txt +51 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectDoNotation_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnIife.errors.txt +99 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnIife.flows.effectFnIife.mermaid +135 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnIife.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnIife.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnIife.pipings.txt +309 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnIife.quickfixes.txt +435 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_alreadyEffectFn.errors.txt +34 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_alreadyEffectFn.flows.effectFnOpportunity_alreadyEffectFn.mermaid +28 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_alreadyEffectFn.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_alreadyEffectFn.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_alreadyEffectFn.pipings.txt +85 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_alreadyEffectFn.quickfixes.txt +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_basic.errors.txt +67 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_basic.flows.effectFnOpportunity_basic.mermaid +52 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_basic.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_basic.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_basic.pipings.txt +113 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_basic.quickfixes.txt +514 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_genWithThis.errors.txt +45 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_genWithThis.flows.effectFnOpportunity_genWithThis.mermaid +28 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_genWithThis.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_genWithThis.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_genWithThis.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_genWithThis.quickfixes.txt +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_inferred.errors.txt +49 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_inferred.flows.effectFnOpportunity_inferred.mermaid +40 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_inferred.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_inferred.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_inferred.pipings.txt +85 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_inferred.quickfixes.txt +80 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_inferredLayer.errors.txt +63 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_inferredLayer.flows.effectFnOpportunity_inferredLayer.mermaid +89 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_inferredLayer.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_inferredLayer.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_inferredLayer.pipings.txt +163 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_inferredLayer.quickfixes.txt +541 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_invalid.errors.txt +45 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_invalid.flows.effectFnOpportunity_invalid.mermaid +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_invalid.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_invalid.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_invalid.pipings.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_invalid.quickfixes.txt +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_multipleReturns.errors.txt +65 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_multipleReturns.flows.effectFnOpportunity_multipleReturns.mermaid +61 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_multipleReturns.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_multipleReturns.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_multipleReturns.pipings.txt +127 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_multipleReturns.quickfixes.txt +135 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_noPipeWithSpan.errors.txt +70 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_noPipeWithSpan.flows.effectFnOpportunity_noPipeWithSpan.mermaid +65 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_noPipeWithSpan.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_noPipeWithSpan.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_noPipeWithSpan.pipings.txt +109 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_noPipeWithSpan.quickfixes.txt +425 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_overloadsNever.errors.txt +50 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_overloadsNever.flows.effectFnOpportunity_overloadsNever.mermaid +26 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_overloadsNever.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_overloadsNever.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_overloadsNever.pipings.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_overloadsNever.quickfixes.txt +57 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_overloadsOk.errors.txt +94 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_overloadsOk.flows.effectFnOpportunity_overloadsOk.mermaid +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_overloadsOk.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_overloadsOk.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_overloadsOk.pipings.txt +85 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_overloadsOk.quickfixes.txt +773 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_params.errors.txt +55 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_params.flows.effectFnOpportunity_params.mermaid +40 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_params.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_params.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_params.pipings.txt +85 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_params.quickfixes.txt +303 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_paramsInPipe.errors.txt +55 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_paramsInPipe.flows.effectFnOpportunity_paramsInPipe.mermaid +91 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_paramsInPipe.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_paramsInPipe.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_paramsInPipe.pipings.txt +143 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_paramsInPipe.quickfixes.txt +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_pipeWithSpan.errors.txt +71 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_pipeWithSpan.flows.effectFnOpportunity_pipeWithSpan.mermaid +75 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_pipeWithSpan.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_pipeWithSpan.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_pipeWithSpan.pipings.txt +109 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_pipeWithSpan.quickfixes.txt +437 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_plainFew.errors.txt +42 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_plainFew.flows.effectFnOpportunity_plainFew.mermaid +46 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_plainFew.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_plainFew.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_plainFew.pipings.txt +85 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_plainFew.quickfixes.txt +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_plainMany.errors.txt +70 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_plainMany.flows.effectFnOpportunity_plainMany.mermaid +39 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_plainMany.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_plainMany.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_plainMany.pipings.txt +71 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_plainMany.quickfixes.txt +315 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_returnType.errors.txt +62 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_returnType.flows.effectFnOpportunity_returnType.mermaid +40 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_returnType.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_returnType.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_returnType.pipings.txt +85 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_returnType.quickfixes.txt +126 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_typeParams.errors.txt +111 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_typeParams.flows.effectFnOpportunity_typeParams.mermaid +64 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_typeParams.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_typeParams.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_typeParams.pipings.txt +127 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectFnOpportunity_typeParams.quickfixes.txt +1266 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectGenToFn.refactors.txt +569 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectGenToFn_classMethod.refactors.txt +44 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectGenToFn_mixedPipes.refactors.txt +80 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectGenToFn_returns.refactors.txt +104 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectGenToFn_withPipes.refactors.txt +77 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectGenUsesAdapter.errors.txt +23 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectGenUsesAdapter.flows.effectGenUsesAdapter.mermaid +21 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectGenUsesAdapter.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectGenUsesAdapter.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectGenUsesAdapter.pipings.txt +57 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectGenUsesAdapter.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectGenUsesAdapter_preview.errors.txt +17 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectGenUsesAdapter_preview.flows.effectGenUsesAdapter_preview.mermaid +11 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectGenUsesAdapter_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectGenUsesAdapter_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectGenUsesAdapter_preview.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectGenUsesAdapter_preview.quickfixes.txt +20 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectInFailure.errors.txt +47 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectInFailure.flows.effectInFailure.mermaid +55 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectInFailure.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectInFailure.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectInFailure.pipings.txt +159 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectInFailure.quickfixes.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectMapFlatten.errors.txt +54 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectMapFlatten.flows.effectMapFlatten.mermaid +127 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectMapFlatten.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectMapFlatten.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectMapFlatten.pipings.txt +217 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectMapFlatten.quickfixes.txt +33 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectMapFlatten_preview.errors.txt +18 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectMapFlatten_preview.flows.effectMapFlatten_preview.mermaid +20 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectMapFlatten_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectMapFlatten_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectMapFlatten_preview.pipings.txt +37 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectMapFlatten_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectMapVoid.errors.txt +79 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectMapVoid.flows.effectMapVoid.mermaid +123 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectMapVoid.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectMapVoid.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectMapVoid.pipings.txt +181 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectMapVoid.quickfixes.txt +423 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectSucceedWithVoid.errors.txt +54 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectSucceedWithVoid.flows.effectSucceedWithVoid.mermaid +47 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectSucceedWithVoid.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectSucceedWithVoid.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectSucceedWithVoid.pipings.txt +127 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/effectSucceedWithVoid.quickfixes.txt +243 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/extendsNativeError.errors.txt +33 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/extendsNativeError.flows.extendsNativeError.mermaid +7 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/extendsNativeError.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/extendsNativeError.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/extendsNativeError.pipings.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/extendsNativeError.quickfixes.txt +33 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/floatingEffect.errors.txt +56 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/floatingEffect.flows.floatingEffect.mermaid +40 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/floatingEffect.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/floatingEffect.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/floatingEffect.pipings.txt +125 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/floatingEffect.quickfixes.txt +124 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/floatingEffect_stream.errors.txt +17 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/floatingEffect_stream.flows.floatingEffect_stream.mermaid +8 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/floatingEffect_stream.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/floatingEffect_stream.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/floatingEffect_stream.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/floatingEffect_stream.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/functionToArrow.refactors.txt +7 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/genericEffectServices.errors.txt +20 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/genericEffectServices.flows.genericEffectServices.mermaid +3 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/genericEffectServices.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/genericEffectServices.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/genericEffectServices.pipings.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/genericEffectServices.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/genericEffectServices_preview.errors.txt +17 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/genericEffectServices_preview.flows.genericEffectServices_preview.mermaid +2 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/genericEffectServices_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/genericEffectServices_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/genericEffectServices_preview.pipings.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/genericEffectServices_preview.quickfixes.txt +7 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalConsole.errors.txt +55 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalConsole.flows.globalConsole.mermaid +58 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalConsole.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalConsole.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalConsole.pipings.txt +141 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalConsole.quickfixes.txt +49 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalConsoleInEffect.errors.txt +70 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalConsoleInEffect.flows.globalConsoleInEffect.mermaid +65 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalConsoleInEffect.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalConsoleInEffect.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalConsoleInEffect.pipings.txt +225 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalConsoleInEffect.quickfixes.txt +46 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalConsoleInEffect_preview.errors.txt +17 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalConsoleInEffect_preview.flows.globalConsoleInEffect_preview.mermaid +8 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalConsoleInEffect_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalConsoleInEffect_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalConsoleInEffect_preview.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalConsoleInEffect_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalConsoleInEffect_thunks.errors.txt +39 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalConsoleInEffect_thunks.flows.globalConsoleInEffect_thunks.mermaid +65 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalConsoleInEffect_thunks.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalConsoleInEffect_thunks.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalConsoleInEffect_thunks.pipings.txt +155 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalConsoleInEffect_thunks.quickfixes.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalConsole_preview.errors.txt +14 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalConsole_preview.flows.globalConsole_preview.mermaid +6 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalConsole_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalConsole_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalConsole_preview.pipings.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalConsole_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalDate.errors.txt +50 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalDate.flows.globalDate.mermaid +26 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalDate.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalDate.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalDate.pipings.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalDate.quickfixes.txt +52 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalDateInEffect.errors.txt +60 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalDateInEffect.flows.globalDateInEffect.mermaid +32 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalDateInEffect.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalDateInEffect.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalDateInEffect.pipings.txt +71 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalDateInEffect.quickfixes.txt +49 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalDateInEffect_preview.errors.txt +18 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalDateInEffect_preview.flows.globalDateInEffect_preview.mermaid +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalDateInEffect_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalDateInEffect_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalDateInEffect_preview.pipings.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalDateInEffect_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalDateInEffect_thunks.errors.txt +39 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalDateInEffect_thunks.flows.globalDateInEffect_thunks.mermaid +45 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalDateInEffect_thunks.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalDateInEffect_thunks.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalDateInEffect_thunks.pipings.txt +85 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalDateInEffect_thunks.quickfixes.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalDate_preview.errors.txt +14 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalDate_preview.flows.globalDate_preview.mermaid +2 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalDate_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalDate_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalDate_preview.pipings.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalDate_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalErrorInEffectCatch.errors.txt +46 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalErrorInEffectCatch.flows.globalErrorInEffectCatch.mermaid +62 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalErrorInEffectCatch.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalErrorInEffectCatch.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalErrorInEffectCatch.pipings.txt +135 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalErrorInEffectCatch.quickfixes.txt +46 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalErrorInEffectFailure.errors.txt +87 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalErrorInEffectFailure.flows.globalErrorInEffectFailure.mermaid +85 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalErrorInEffectFailure.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalErrorInEffectFailure.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalErrorInEffectFailure.pipings.txt +191 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalErrorInEffectFailure.quickfixes.txt +254 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalFetch.errors.txt +42 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalFetch.flows.globalFetch.mermaid +16 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalFetch.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalFetch.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalFetch.pipings.txt +99 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalFetch.quickfixes.txt +52 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalFetchInEffect.errors.txt +37 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalFetchInEffect.flows.globalFetchInEffect.mermaid +17 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalFetchInEffect.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalFetchInEffect.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalFetchInEffect.pipings.txt +113 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalFetchInEffect.quickfixes.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalFetchInEffect_preview.errors.txt +17 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalFetchInEffect_preview.flows.globalFetchInEffect_preview.mermaid +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalFetchInEffect_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalFetchInEffect_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalFetchInEffect_preview.pipings.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalFetchInEffect_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalFetchInEffect_thunks.errors.txt +42 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalFetchInEffect_thunks.flows.globalFetchInEffect_thunks.mermaid +45 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalFetchInEffect_thunks.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalFetchInEffect_thunks.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalFetchInEffect_thunks.pipings.txt +155 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalFetchInEffect_thunks.quickfixes.txt +53 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalFetch_preview.errors.txt +14 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalFetch_preview.flows.globalFetch_preview.mermaid +2 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalFetch_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalFetch_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalFetch_preview.pipings.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalFetch_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalRandom.errors.txt +48 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalRandom.flows.globalRandom.mermaid +27 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalRandom.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalRandom.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalRandom.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalRandom.quickfixes.txt +55 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalRandomInEffect.errors.txt +40 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalRandomInEffect.flows.globalRandomInEffect.mermaid +21 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalRandomInEffect.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalRandomInEffect.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalRandomInEffect.pipings.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalRandomInEffect.quickfixes.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalRandomInEffect_preview.errors.txt +18 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalRandomInEffect_preview.flows.globalRandomInEffect_preview.mermaid +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalRandomInEffect_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalRandomInEffect_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalRandomInEffect_preview.pipings.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalRandomInEffect_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalRandomInEffect_thunks.errors.txt +39 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalRandomInEffect_thunks.flows.globalRandomInEffect_thunks.mermaid +45 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalRandomInEffect_thunks.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalRandomInEffect_thunks.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalRandomInEffect_thunks.pipings.txt +85 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalRandomInEffect_thunks.quickfixes.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalRandom_preview.errors.txt +14 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalRandom_preview.flows.globalRandom_preview.mermaid +2 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalRandom_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalRandom_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalRandom_preview.pipings.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalRandom_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalTimers.errors.txt +48 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalTimers.flows.globalTimers.mermaid +37 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalTimers.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalTimers.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalTimers.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalTimers.quickfixes.txt +55 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalTimersInEffect.errors.txt +48 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalTimersInEffect.flows.globalTimersInEffect.mermaid +26 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalTimersInEffect.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalTimersInEffect.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalTimersInEffect.pipings.txt +57 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalTimersInEffect.quickfixes.txt +36 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalTimersInEffect_preview.errors.txt +17 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalTimersInEffect_preview.flows.globalTimersInEffect_preview.mermaid +4 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalTimersInEffect_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalTimersInEffect_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalTimersInEffect_preview.pipings.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalTimersInEffect_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalTimersInEffect_thunks.errors.txt +39 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalTimersInEffect_thunks.flows.globalTimersInEffect_thunks.mermaid +55 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalTimersInEffect_thunks.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalTimersInEffect_thunks.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalTimersInEffect_thunks.pipings.txt +85 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalTimersInEffect_thunks.quickfixes.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalTimers_preview.errors.txt +14 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalTimers_preview.flows.globalTimers_preview.mermaid +4 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalTimers_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalTimers_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalTimers_preview.pipings.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/globalTimers_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/instanceOfSchema.errors.txt +48 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/instanceOfSchema.flows.instanceOfSchema.mermaid +42 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/instanceOfSchema.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/instanceOfSchema.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/instanceOfSchema.pipings.txt +85 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/instanceOfSchema.quickfixes.txt +105 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/layerMagic_build.refactors.txt +1176 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/layerMagic_prepare.refactors.txt +390 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/layerMergeAllWithDependencies.errors.txt +59 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/layerMergeAllWithDependencies.flows.layerMergeAllWithDependencies.mermaid +32 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/layerMergeAllWithDependencies.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/layerMergeAllWithDependencies.layers.txt +349 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/layerMergeAllWithDependencies.pipings.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/layerMergeAllWithDependencies.quickfixes.txt +223 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/lazyPromiseInEffectSync.errors.txt +33 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/lazyPromiseInEffectSync.flows.lazyPromiseInEffectSync.mermaid +36 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/lazyPromiseInEffectSync.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/lazyPromiseInEffectSync.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/lazyPromiseInEffectSync.pipings.txt +99 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/lazyPromiseInEffectSync.quickfixes.txt +23 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/lazyPromiseInEffectSync_preview.errors.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/lazyPromiseInEffectSync_preview.flows.lazyPromiseInEffectSync_preview.mermaid +8 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/lazyPromiseInEffectSync_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/lazyPromiseInEffectSync_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/lazyPromiseInEffectSync_preview.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/lazyPromiseInEffectSync_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/leakingRequirements.errors.txt +68 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/leakingRequirements.flows.leakingRequirements.mermaid +28 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/leakingRequirements.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/leakingRequirements.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/leakingRequirements.pipings.txt +57 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/leakingRequirements.quickfixes.txt +45 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/leakingRequirements_allowJsdoc.errors.txt +104 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/leakingRequirements_allowJsdoc.flows.leakingRequirements_allowJsdoc.mermaid +46 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/leakingRequirements_allowJsdoc.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/leakingRequirements_allowJsdoc.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/leakingRequirements_allowJsdoc.pipings.txt +99 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/leakingRequirements_allowJsdoc.quickfixes.txt +39 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/leakingRequirements_genericTag.errors.txt +40 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/leakingRequirements_genericTag.flows.leakingRequirements_genericTag.mermaid +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/leakingRequirements_genericTag.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/leakingRequirements_genericTag.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/leakingRequirements_genericTag.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/leakingRequirements_genericTag.quickfixes.txt +21 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/leakingRequirements_heuristic.errors.txt +20 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/leakingRequirements_heuristic.flows.leakingRequirements_heuristic.mermaid +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/leakingRequirements_heuristic.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/leakingRequirements_heuristic.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/leakingRequirements_heuristic.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/leakingRequirements_heuristic.quickfixes.txt +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/leakingRequirements_leakableJsDoc.errors.txt +24 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/leakingRequirements_leakableJsDoc.flows.leakingRequirements_leakableJsDoc.mermaid +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/leakingRequirements_leakableJsDoc.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/leakingRequirements_leakableJsDoc.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/leakingRequirements_leakableJsDoc.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/leakingRequirements_leakableJsDoc.quickfixes.txt +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/leakingRequirements_noScope.errors.txt +22 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/leakingRequirements_noScope.flows.leakingRequirements_noScope.mermaid +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/leakingRequirements_noScope.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/leakingRequirements_noScope.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/leakingRequirements_noScope.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/leakingRequirements_noScope.quickfixes.txt +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/makeSchemaOpaque.refactors.txt +88 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/makeSchemaOpaqueWithNs_shortImport.refactors.txt +88 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/makeSchemaOpaque_brand.refactors.txt +73 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/makeSchemaOpaque_shortImport.refactors.txt +88 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/makeSchemaOpaque_shortImportAlias.refactors.txt +88 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/makeSchemaOpaque_union.refactors.txt +88 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missedPipeableOpportunity.errors.txt +69 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missedPipeableOpportunity.flows.missedPipeableOpportunity.mermaid +182 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missedPipeableOpportunity.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missedPipeableOpportunity.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missedPipeableOpportunity.pipings.txt +303 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missedPipeableOpportunity.quickfixes.txt +253 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missedPipeableOpportunity_error.errors.txt +44 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missedPipeableOpportunity_error.flows.missedPipeableOpportunity_error.mermaid +50 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missedPipeableOpportunity_error.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missedPipeableOpportunity_error.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missedPipeableOpportunity_error.pipings.txt +133 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missedPipeableOpportunity_error.quickfixes.txt +16 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missedPipeableOpportunity_safer.errors.txt +53 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missedPipeableOpportunity_safer.flows.missedPipeableOpportunity_safer.mermaid +52 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missedPipeableOpportunity_safer.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missedPipeableOpportunity_safer.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missedPipeableOpportunity_safer.pipings.txt +87 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missedPipeableOpportunity_safer.quickfixes.txt +71 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectContext_arrowReturnType.errors.txt +30 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectContext_arrowReturnType.flows.missingEffectContext_arrowReturnType.mermaid +33 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectContext_arrowReturnType.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectContext_arrowReturnType.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectContext_arrowReturnType.pipings.txt +51 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectContext_arrowReturnType.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectContext_callExpression.errors.txt +49 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectContext_callExpression.flows.missingEffectContext_callExpression.mermaid +22 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectContext_callExpression.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectContext_callExpression.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectContext_callExpression.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectContext_callExpression.quickfixes.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectContext_conciseBody.errors.txt +21 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectContext_conciseBody.flows.missingEffectContext_conciseBody.mermaid +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectContext_conciseBody.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectContext_conciseBody.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectContext_conciseBody.pipings.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectContext_conciseBody.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectContext_lazy.errors.txt +31 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectContext_lazy.flows.missingEffectContext_lazy.mermaid +26 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectContext_lazy.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectContext_lazy.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectContext_lazy.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectContext_lazy.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectContext_pipe.errors.txt +20 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectContext_pipe.flows.missingEffectContext_pipe.mermaid +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectContext_pipe.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectContext_pipe.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectContext_pipe.pipings.txt +19 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectContext_pipe.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectContext_plainAssignment.errors.txt +61 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectContext_plainAssignment.flows.missingEffectContext_plainAssignment.mermaid +18 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectContext_plainAssignment.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectContext_plainAssignment.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectContext_plainAssignment.pipings.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectContext_plainAssignment.quickfixes.txt +59 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectContext_returnSignature.errors.txt +44 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectContext_returnSignature.flows.missingEffectContext_returnSignature.mermaid +14 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectContext_returnSignature.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectContext_returnSignature.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectContext_returnSignature.pipings.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectContext_returnSignature.quickfixes.txt +33 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectContext_skipArrowDefaults.errors.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectContext_skipArrowDefaults.flows.missingEffectContext_skipArrowDefaults.mermaid +11 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectContext_skipArrowDefaults.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectContext_skipArrowDefaults.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectContext_skipArrowDefaults.pipings.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectContext_skipArrowDefaults.quickfixes.txt +10 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectError_callExpression.errors.txt +53 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectError_callExpression.flows.missingEffectError_callExpression.mermaid +22 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectError_callExpression.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectError_callExpression.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectError_callExpression.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectError_callExpression.quickfixes.txt +90 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectError_plainAssignment.errors.txt +67 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectError_plainAssignment.flows.missingEffectError_plainAssignment.mermaid +24 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectError_plainAssignment.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectError_plainAssignment.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectError_plainAssignment.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectError_plainAssignment.quickfixes.txt +211 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectError_returnSignature.errors.txt +47 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectError_returnSignature.flows.missingEffectError_returnSignature.mermaid +14 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectError_returnSignature.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectError_returnSignature.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectError_returnSignature.pipings.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectError_returnSignature.quickfixes.txt +111 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectError_tagged.errors.txt +36 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectError_tagged.flows.missingEffectError_tagged.mermaid +22 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectError_tagged.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectError_tagged.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectError_tagged.pipings.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectError_tagged.quickfixes.txt +110 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectServiceDependency.errors.txt +98 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectServiceDependency.flows.missingEffectServiceDependency.mermaid +80 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectServiceDependency.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectServiceDependency.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectServiceDependency.pipings.txt +141 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectServiceDependency.quickfixes.txt +33 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectServiceDependency_preview.errors.txt +21 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectServiceDependency_preview.flows.missingEffectServiceDependency_preview.mermaid +16 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectServiceDependency_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectServiceDependency_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectServiceDependency_preview.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingEffectServiceDependency_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingLayerContext.errors.txt +44 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingLayerContext.flows.missingLayerContext.mermaid +22 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingLayerContext.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingLayerContext.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingLayerContext.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingLayerContext.quickfixes.txt +23 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingReturnYieldStar.errors.txt +46 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingReturnYieldStar.flows.missingReturnYieldStar.mermaid +54 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingReturnYieldStar.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingReturnYieldStar.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingReturnYieldStar.pipings.txt +127 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingReturnYieldStar.quickfixes.txt +178 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingReturnYieldStar_yieldable.errors.txt +21 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingReturnYieldStar_yieldable.flows.missingReturnYieldStar_yieldable.mermaid +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingReturnYieldStar_yieldable.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingReturnYieldStar_yieldable.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingReturnYieldStar_yieldable.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingReturnYieldStar_yieldable.quickfixes.txt +30 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingStarInYieldEffectGen.errors.txt +92 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingStarInYieldEffectGen.flows.missingStarInYieldEffectGen.mermaid +53 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingStarInYieldEffectGen.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingStarInYieldEffectGen.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingStarInYieldEffectGen.pipings.txt +183 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/missingStarInYieldEffectGen.quickfixes.txt +538 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/multipleEffectProvide.errors.txt +53 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/multipleEffectProvide.flows.multipleEffectProvide.mermaid +63 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/multipleEffectProvide.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/multipleEffectProvide.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/multipleEffectProvide.pipings.txt +71 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/multipleEffectProvide.quickfixes.txt +201 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/multipleEffectProvide_effectFn.errors.txt +67 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/multipleEffectProvide_effectFn.flows.multipleEffectProvide_effectFn.mermaid +78 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/multipleEffectProvide_effectFn.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/multipleEffectProvide_effectFn.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/multipleEffectProvide_effectFn.pipings.txt +77 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/multipleEffectProvide_effectFn.quickfixes.txt +254 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/multipleEffectProvide_effectFnRegular.errors.txt +50 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/multipleEffectProvide_effectFnRegular.flows.multipleEffectProvide_effectFnRegular.mermaid +61 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/multipleEffectProvide_effectFnRegular.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/multipleEffectProvide_effectFnRegular.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/multipleEffectProvide_effectFnRegular.pipings.txt +59 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/multipleEffectProvide_effectFnRegular.quickfixes.txt +149 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/nestedEffectGenYield.errors.txt +89 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/nestedEffectGenYield.flows.nestedEffectGenYield.mermaid +55 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/nestedEffectGenYield.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/nestedEffectGenYield.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/nestedEffectGenYield.pipings.txt +201 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/nestedEffectGenYield.quickfixes.txt +286 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/nestedEffectGenYield_preview.errors.txt +21 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/nestedEffectGenYield_preview.flows.nestedEffectGenYield_preview.mermaid +7 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/nestedEffectGenYield_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/nestedEffectGenYield_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/nestedEffectGenYield_preview.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/nestedEffectGenYield_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/newPromise.errors.txt +44 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/newPromise.flows.newPromise.mermaid +49 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/newPromise.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/newPromise.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/newPromise.pipings.txt +71 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/newPromise.quickfixes.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/newPromise_preview.errors.txt +14 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/newPromise_preview.flows.newPromise_preview.mermaid +10 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/newPromise_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/newPromise_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/newPromise_preview.pipings.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/newPromise_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/nodeBuiltinImport.errors.txt +103 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/nodeBuiltinImport.flows.nodeBuiltinImport.mermaid +6 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/nodeBuiltinImport.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/nodeBuiltinImport.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/nodeBuiltinImport.pipings.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/nodeBuiltinImport.quickfixes.txt +217 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/nonObjectEffectServiceType.errors.txt +81 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/nonObjectEffectServiceType.flows.nonObjectEffectServiceType.mermaid +53 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/nonObjectEffectServiceType.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/nonObjectEffectServiceType.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/nonObjectEffectServiceType.pipings.txt +85 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/nonObjectEffectServiceType.quickfixes.txt +73 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/nonObjectEffectServiceType_preview.errors.txt +18 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/nonObjectEffectServiceType_preview.flows.nonObjectEffectServiceType_preview.mermaid +2 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/nonObjectEffectServiceType_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/nonObjectEffectServiceType_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/nonObjectEffectServiceType_preview.pipings.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/nonObjectEffectServiceType_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/outdatedApi.errors.txt +34 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/outdatedApi.flows.outdatedApi.mermaid +50 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/outdatedApi.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/outdatedApi.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/outdatedApi.pipings.txt +121 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/outdatedApi.quickfixes.txt +42 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/overriddenSchemaConstructor.errors.txt +53 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/overriddenSchemaConstructor.flows.overriddenSchemaConstructor.mermaid +31 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/overriddenSchemaConstructor.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/overriddenSchemaConstructor.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/overriddenSchemaConstructor.pipings.txt +85 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/overriddenSchemaConstructor.quickfixes.txt +202 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/overriddenSchemaConstructor_static.errors.txt +25 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/overriddenSchemaConstructor_static.flows.overriddenSchemaConstructor_static.mermaid +9 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/overriddenSchemaConstructor_static.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/overriddenSchemaConstructor_static.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/overriddenSchemaConstructor_static.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/overriddenSchemaConstructor_static.quickfixes.txt +51 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/overriddenSchemaConstructor_valid.errors.txt +17 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/overriddenSchemaConstructor_valid.flows.overriddenSchemaConstructor_valid.mermaid +9 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/overriddenSchemaConstructor_valid.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/overriddenSchemaConstructor_valid.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/overriddenSchemaConstructor_valid.pipings.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/overriddenSchemaConstructor_valid.quickfixes.txt +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/pipeableToDatafirst.refactors.txt +378 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/preferSchemaOverJson.errors.txt +107 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/preferSchemaOverJson.flows.preferSchemaOverJson.mermaid +73 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/preferSchemaOverJson.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/preferSchemaOverJson.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/preferSchemaOverJson.pipings.txt +295 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/preferSchemaOverJson.quickfixes.txt +126 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/processEnv.errors.txt +36 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/processEnv.flows.processEnv.mermaid +17 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/processEnv.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/processEnv.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/processEnv.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/processEnv.quickfixes.txt +33 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/processEnvInEffect.errors.txt +38 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/processEnvInEffect.flows.processEnvInEffect.mermaid +23 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/processEnvInEffect.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/processEnvInEffect.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/processEnvInEffect.pipings.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/processEnvInEffect.quickfixes.txt +23 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/processEnvInEffect_preview.errors.txt +18 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/processEnvInEffect_preview.flows.processEnvInEffect_preview.mermaid +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/processEnvInEffect_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/processEnvInEffect_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/processEnvInEffect_preview.pipings.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/processEnvInEffect_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/processEnvInEffect_thunks.errors.txt +40 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/processEnvInEffect_thunks.flows.processEnvInEffect_thunks.mermaid +45 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/processEnvInEffect_thunks.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/processEnvInEffect_thunks.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/processEnvInEffect_thunks.pipings.txt +85 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/processEnvInEffect_thunks.quickfixes.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/processEnv_preview.errors.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/processEnv_preview.flows.processEnv_preview.mermaid +2 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/processEnv_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/processEnv_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/processEnv_preview.pipings.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/processEnv_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/redundantOrDie.errors.txt +81 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/redundantOrDie.flows.redundantOrDie.mermaid +92 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/redundantOrDie.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/redundantOrDie.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/redundantOrDie.pipings.txt +285 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/redundantOrDie.quickfixes.txt +33 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/redundantOrDie_preview.errors.txt +25 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/redundantOrDie_preview.flows.redundantOrDie_preview.mermaid +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/redundantOrDie_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/redundantOrDie_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/redundantOrDie_preview.pipings.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/redundantOrDie_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/redundantSchemaTagIdentifier.errors.txt +51 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/redundantSchemaTagIdentifier.flows.redundantSchemaTagIdentifier.mermaid +30 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/redundantSchemaTagIdentifier.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/redundantSchemaTagIdentifier.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/redundantSchemaTagIdentifier.pipings.txt +57 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/redundantSchemaTagIdentifier.quickfixes.txt +156 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/redundantSchemaTagIdentifier_preview.errors.txt +18 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/redundantSchemaTagIdentifier_preview.flows.redundantSchemaTagIdentifier_preview.mermaid +8 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/redundantSchemaTagIdentifier_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/redundantSchemaTagIdentifier_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/redundantSchemaTagIdentifier_preview.pipings.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/redundantSchemaTagIdentifier_preview.quickfixes.txt +27 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/removeUnnecessaryEffectGen.refactors.txt +93 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/returnEffectInGen.errors.txt +16 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/returnEffectInGen.flows.returnEffectInGen.mermaid +9 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/returnEffectInGen.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/returnEffectInGen.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/returnEffectInGen.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/returnEffectInGen.quickfixes.txt +25 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/returnEffectInGenNoDiagnostics.errors.txt +39 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/returnEffectInGenNoDiagnostics.flows.returnEffectInGenNoDiagnostics.mermaid +68 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/returnEffectInGenNoDiagnostics.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/returnEffectInGenNoDiagnostics.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/returnEffectInGenNoDiagnostics.pipings.txt +169 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/returnEffectInGenNoDiagnostics.quickfixes.txt +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/runEffectInsideEffect.errors.txt +39 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/runEffectInsideEffect.flows.runEffectInsideEffect.mermaid +47 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/runEffectInsideEffect.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/runEffectInsideEffect.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/runEffectInsideEffect.pipings.txt +131 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/runEffectInsideEffect.quickfixes.txt +57 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/runEffectInsideEffect_preview.errors.txt +19 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/runEffectInsideEffect_preview.flows.runEffectInsideEffect_preview.mermaid +17 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/runEffectInsideEffect_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/runEffectInsideEffect_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/runEffectInsideEffect_preview.pipings.txt +33 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/runEffectInsideEffect_preview.quickfixes.txt +30 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/schemaStructWithTag.errors.txt +34 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/schemaStructWithTag.flows.schemaStructWithTag.mermaid +4 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/schemaStructWithTag.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/schemaStructWithTag.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/schemaStructWithTag.pipings.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/schemaStructWithTag.quickfixes.txt +35 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/schemaSyncInEffect.errors.txt +84 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/schemaSyncInEffect.flows.schemaSyncInEffect.mermaid +48 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/schemaSyncInEffect.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/schemaSyncInEffect.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/schemaSyncInEffect.pipings.txt +225 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/schemaSyncInEffect.quickfixes.txt +56 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/schemaSyncInEffect_preview.errors.txt +22 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/schemaSyncInEffect_preview.flows.schemaSyncInEffect_preview.mermaid +12 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/schemaSyncInEffect_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/schemaSyncInEffect_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/schemaSyncInEffect_preview.pipings.txt +57 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/schemaSyncInEffect_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/schemaSyncInEffect_thunks.errors.txt +46 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/schemaSyncInEffect_thunks.flows.schemaSyncInEffect_thunks.mermaid +46 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/schemaSyncInEffect_thunks.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/schemaSyncInEffect_thunks.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/schemaSyncInEffect_thunks.pipings.txt +169 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/schemaSyncInEffect_thunks.quickfixes.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/schemaUnionOfLiterals.errors.txt +17 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/schemaUnionOfLiterals.flows.schemaUnionOfLiterals.mermaid +3 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/schemaUnionOfLiterals.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/schemaUnionOfLiterals.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/schemaUnionOfLiterals.pipings.txt +47 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/schemaUnionOfLiterals.quickfixes.txt +26 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/schemaUnionOfLiterals_preview.errors.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/schemaUnionOfLiterals_preview.flows.schemaUnionOfLiterals_preview.mermaid +2 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/schemaUnionOfLiterals_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/schemaUnionOfLiterals_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/schemaUnionOfLiterals_preview.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/schemaUnionOfLiterals_preview.quickfixes.txt +24 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/scopeInLayerEffect.errors.txt +84 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/scopeInLayerEffect.flows.scopeInLayerEffect.mermaid +121 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/scopeInLayerEffect.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/scopeInLayerEffect.layers.txt +102 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/scopeInLayerEffect.pipings.txt +251 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/scopeInLayerEffect.quickfixes.txt +165 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/scopeInLayerEffect_preview.errors.txt +25 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/scopeInLayerEffect_preview.flows.scopeInLayerEffect_preview.mermaid +26 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/scopeInLayerEffect_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/scopeInLayerEffect_preview.layers.txt +36 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/scopeInLayerEffect_preview.pipings.txt +47 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/scopeInLayerEffect_preview.quickfixes.txt +31 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/strictBooleanExpressions.errors.txt +82 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/strictBooleanExpressions.flows.strictBooleanExpressions.mermaid +19 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/strictBooleanExpressions.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/strictBooleanExpressions.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/strictBooleanExpressions.pipings.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/strictBooleanExpressions.quickfixes.txt +113 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/strictEffectProvide.errors.txt +68 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/strictEffectProvide.flows.strictEffectProvide.mermaid +77 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/strictEffectProvide.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/strictEffectProvide.layers.txt +59 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/strictEffectProvide.pipings.txt +121 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/strictEffectProvide.quickfixes.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/structuralTypeToSchema.refactors.txt +268 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/structuralTypeToSchema_avoidConflict.refactors.txt +117 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/structuralTypeToSchema_externalType.refactors.txt +62 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/structuralTypeToSchema_reuse.refactors.txt +112 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/structuralTypeToSchema_symbolNames.refactors.txt +129 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/structuralTypeToSchema_typeAlias.refactors.txt +86 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/structuralTypeToSchema_union.refactors.txt +58 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/toggleLazyConst.refactors.txt +140 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/togglePipeStyle.refactors.txt +94 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/toggleReturnTypeAnnotation.refactors.txt +335 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/toggleTypeAnnotation.refactors.txt +754 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/tryCatchInEffectGen.errors.txt +76 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/tryCatchInEffectGen.flows.tryCatchInEffectGen.mermaid +76 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/tryCatchInEffectGen.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/tryCatchInEffectGen.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/tryCatchInEffectGen.pipings.txt +197 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/tryCatchInEffectGen.quickfixes.txt +33 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/tryCatchInEffectGen_finally.errors.txt +19 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/tryCatchInEffectGen_finally.flows.tryCatchInEffectGen_finally.mermaid +17 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/tryCatchInEffectGen_finally.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/tryCatchInEffectGen_finally.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/tryCatchInEffectGen_finally.pipings.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/tryCatchInEffectGen_finally.quickfixes.txt +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/typeToEffectSchema.refactors.txt +319 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/typeToEffectSchemaClass.refactors.txt +303 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unknownInEffectCatch.errors.txt +64 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unknownInEffectCatch.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unknownInEffectCatch.flows.unknownInEffectCatch.mermaid +87 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unknownInEffectCatch.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unknownInEffectCatch.pipings.txt +209 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unknownInEffectCatch.quickfixes.txt +53 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryArrowBlock.errors.txt +41 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryArrowBlock.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryArrowBlock.flows.unnecessaryArrowBlock.mermaid +20 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryArrowBlock.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryArrowBlock.pipings.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryArrowBlock.quickfixes.txt +102 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryArrowBlock_preview.errors.txt +17 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryArrowBlock_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryArrowBlock_preview.flows.unnecessaryArrowBlock_preview.mermaid +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryArrowBlock_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryArrowBlock_preview.pipings.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryArrowBlock_preview.quickfixes.txt +22 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryEffectGen.errors.txt +27 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryEffectGen.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryEffectGen.flows.unnecessaryEffectGen.mermaid +31 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryEffectGen.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryEffectGen.pipings.txt +85 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryEffectGen.quickfixes.txt +32 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryEffectGen_ifBlock.errors.txt +18 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryEffectGen_ifBlock.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryEffectGen_ifBlock.flows.unnecessaryEffectGen_ifBlock.mermaid +28 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryEffectGen_ifBlock.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryEffectGen_ifBlock.pipings.txt +57 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryEffectGen_ifBlock.quickfixes.txt +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryEffectGen_noReturn.errors.txt +36 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryEffectGen_noReturn.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryEffectGen_noReturn.flows.unnecessaryEffectGen_noReturn.mermaid +28 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryEffectGen_noReturn.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryEffectGen_noReturn.pipings.txt +99 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryEffectGen_noReturn.quickfixes.txt +69 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryFailYieldableError.errors.txt +42 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryFailYieldableError.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryFailYieldableError.flows.unnecessaryFailYieldableError.mermaid +45 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryFailYieldableError.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryFailYieldableError.pipings.txt +113 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryFailYieldableError.quickfixes.txt +129 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryPipe.errors.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryPipe.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryPipe.flows.unnecessaryPipe.mermaid +33 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryPipe.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryPipe.pipings.txt +61 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryPipe.quickfixes.txt +67 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryPipeChain.errors.txt +20 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryPipeChain.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryPipeChain.flows.unnecessaryPipeChain.mermaid +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryPipeChain.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryPipeChain.pipings.txt +45 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryPipeChain.quickfixes.txt +49 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryPipe_disableMidObject.errors.txt +23 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryPipe_disableMidObject.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryPipe_disableMidObject.flows.unnecessaryPipe_disableMidObject.mermaid +20 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryPipe_disableMidObject.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryPipe_disableMidObject.pipings.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryPipe_disableMidObject.quickfixes.txt +55 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryPipe_namespace.errors.txt +23 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryPipe_namespace.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryPipe_namespace.flows.unnecessaryPipe_namespace.mermaid +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryPipe_namespace.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryPipe_namespace.pipings.txt +25 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unnecessaryPipe_namespace.quickfixes.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unsafeEffectTypeAssertion.errors.txt +62 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unsafeEffectTypeAssertion.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unsafeEffectTypeAssertion.flows.unsafeEffectTypeAssertion.mermaid +12 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unsafeEffectTypeAssertion.layers.txt +88 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unsafeEffectTypeAssertion.pipings.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/unsafeEffectTypeAssertion.quickfixes.txt +283 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/wrapWithEffectGen.refactors.txt +425 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/wrapWithEffectGen_noclass.refactors.txt +21 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v3/writeTagClassAccessors.refactors.txt +86 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/anyUnknownInErrorContext.errors.txt +153 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/anyUnknownInErrorContext.flows.anyUnknownInErrorContext.mermaid +77 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/anyUnknownInErrorContext.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/anyUnknownInErrorContext.layers.txt +69 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/anyUnknownInErrorContext.pipings.txt +197 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/anyUnknownInErrorContext.quickfixes.txt +403 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/anyUnknownInErrorContext_preview.errors.txt +32 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/anyUnknownInErrorContext_preview.flows.anyUnknownInErrorContext_preview.mermaid +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/anyUnknownInErrorContext_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/anyUnknownInErrorContext_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/anyUnknownInErrorContext_preview.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/anyUnknownInErrorContext_preview.quickfixes.txt +37 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/asyncAwaitToFn.refactors.txt +92 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/asyncAwaitToFnTryPromise.refactors.txt +118 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/asyncAwaitToFn_fetch.refactors.txt +106 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/asyncAwaitToFn_generics.refactors.txt +92 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/asyncAwaitToGen.refactors.txt +92 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/asyncAwaitToGenTryPromise.refactors.txt +124 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/asyncAwaitToGenTryPromise_anonymous.refactors.txt +358 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/asyncAwaitToGen_anonymous.refactors.txt +290 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/asyncAwaitToGen_namedImport.refactors.txt +92 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/asyncFunction.errors.txt +52 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/asyncFunction.flows.asyncFunction.mermaid +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/asyncFunction.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/asyncFunction.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/asyncFunction.pipings.txt +85 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/asyncFunction.quickfixes.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/asyncFunction_preview.errors.txt +16 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/asyncFunction_preview.flows.asyncFunction_preview.mermaid +2 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/asyncFunction_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/asyncFunction_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/asyncFunction_preview.pipings.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/asyncFunction_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/callExpPipeable.errors.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/callExpPipeable.flows.callExpPipeable.mermaid +34 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/callExpPipeable.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/callExpPipeable.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/callExpPipeable.pipings.txt +55 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/callExpPipeable.quickfixes.txt +7 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/catchAllToMapError.errors.txt +86 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/catchAllToMapError.flows.catchAllToMapError.mermaid +164 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/catchAllToMapError.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/catchAllToMapError.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/catchAllToMapError.pipings.txt +289 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/catchAllToMapError.quickfixes.txt +403 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/catchAllToMapError_effectFn.errors.txt +41 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/catchAllToMapError_effectFn.flows.catchAllToMapError_effectFn.mermaid +87 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/catchAllToMapError_effectFn.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/catchAllToMapError_effectFn.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/catchAllToMapError_effectFn.pipings.txt +169 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/catchAllToMapError_effectFn.quickfixes.txt +126 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/catchAllToMapError_preview.errors.txt +21 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/catchAllToMapError_preview.flows.catchAllToMapError_preview.mermaid +19 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/catchAllToMapError_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/catchAllToMapError_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/catchAllToMapError_preview.pipings.txt +33 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/catchAllToMapError_preview.quickfixes.txt +30 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/catchToOrElseSucceed.errors.txt +63 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/catchToOrElseSucceed.flows.catchToOrElseSucceed.mermaid +131 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/catchToOrElseSucceed.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/catchToOrElseSucceed.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/catchToOrElseSucceed.pipings.txt +239 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/catchToOrElseSucceed.quickfixes.txt +243 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/catchToOrElseSucceed_preview.errors.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/catchToOrElseSucceed_preview.flows.catchToOrElseSucceed_preview.mermaid +18 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/catchToOrElseSucceed_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/catchToOrElseSucceed_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/catchToOrElseSucceed_preview.pipings.txt +33 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/catchToOrElseSucceed_preview.quickfixes.txt +24 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/catchUnfailableEffect.errors.txt +93 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/catchUnfailableEffect.flows.catchUnfailableEffect.mermaid +152 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/catchUnfailableEffect.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/catchUnfailableEffect.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/catchUnfailableEffect.pipings.txt +215 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/catchUnfailableEffect.quickfixes.txt +78 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/catchUnfailableEffect_preview.errors.txt +17 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/catchUnfailableEffect_preview.flows.catchUnfailableEffect_preview.mermaid +18 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/catchUnfailableEffect_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/catchUnfailableEffect_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/catchUnfailableEffect_preview.pipings.txt +33 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/catchUnfailableEffect_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/classImplementsIssue.errors.txt +24 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/classImplementsIssue.flows.classImplementsIssue.mermaid +17 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/classImplementsIssue.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/classImplementsIssue.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/classImplementsIssue.pipings.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/classImplementsIssue.quickfixes.txt +7 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/classSelfMismatch_contextTag.errors.txt +18 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/classSelfMismatch_contextTag.flows.classSelfMismatch_contextTag.mermaid +3 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/classSelfMismatch_contextTag.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/classSelfMismatch_contextTag.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/classSelfMismatch_contextTag.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/classSelfMismatch_contextTag.quickfixes.txt +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/classSelfMismatch_schema.errors.txt +57 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/classSelfMismatch_schema.flows.classSelfMismatch_schema.mermaid +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/classSelfMismatch_schema.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/classSelfMismatch_schema.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/classSelfMismatch_schema.pipings.txt +113 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/classSelfMismatch_schema.quickfixes.txt +117 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/classSelfMismatch_service.errors.txt +23 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/classSelfMismatch_service.flows.classSelfMismatch_service.mermaid +3 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/classSelfMismatch_service.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/classSelfMismatch_service.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/classSelfMismatch_service.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/classSelfMismatch_service.quickfixes.txt +32 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/classSelfMismatch_sqlClass.errors.txt +22 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/classSelfMismatch_sqlClass.flows.classSelfMismatch_sqlClass.mermaid +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/classSelfMismatch_sqlClass.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/classSelfMismatch_sqlClass.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/classSelfMismatch_sqlClass.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/classSelfMismatch_sqlClass.quickfixes.txt +31 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/cryptoRandomUUID.errors.txt +48 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/cryptoRandomUUID.flows.cryptoRandomUUID.mermaid +27 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/cryptoRandomUUID.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/cryptoRandomUUID.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/cryptoRandomUUID.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/cryptoRandomUUID.quickfixes.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/cryptoRandomUUIDInEffect.errors.txt +38 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/cryptoRandomUUIDInEffect.flows.cryptoRandomUUIDInEffect.mermaid +21 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/cryptoRandomUUIDInEffect.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/cryptoRandomUUIDInEffect.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/cryptoRandomUUIDInEffect.pipings.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/cryptoRandomUUIDInEffect.quickfixes.txt +23 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/cryptoRandomUUIDInEffect_preview.errors.txt +17 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/cryptoRandomUUIDInEffect_preview.flows.cryptoRandomUUIDInEffect_preview.mermaid +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/cryptoRandomUUIDInEffect_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/cryptoRandomUUIDInEffect_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/cryptoRandomUUIDInEffect_preview.pipings.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/cryptoRandomUUIDInEffect_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/cryptoRandomUUIDInEffect_thunks.errors.txt +39 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/cryptoRandomUUIDInEffect_thunks.flows.cryptoRandomUUIDInEffect_thunks.mermaid +55 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/cryptoRandomUUIDInEffect_thunks.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/cryptoRandomUUIDInEffect_thunks.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/cryptoRandomUUIDInEffect_thunks.pipings.txt +85 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/cryptoRandomUUIDInEffect_thunks.quickfixes.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/cryptoRandomUUID_preview.errors.txt +14 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/cryptoRandomUUID_preview.flows.cryptoRandomUUID_preview.mermaid +2 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/cryptoRandomUUID_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/cryptoRandomUUID_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/cryptoRandomUUID_preview.pipings.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/cryptoRandomUUID_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/debugDocumentSymbolFlows.symbols.txt +35 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/deterministicKeys.errors.txt +41 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/deterministicKeys.flows.package.mermaid +2 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/deterministicKeys.flows.test.mermaid +7 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/deterministicKeys.flows.txt +2 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/deterministicKeys.layers.txt +2 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/deterministicKeys.pipings.txt +30 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/deterministicKeys.quickfixes.txt +51 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/deterministicKeys_custom.errors.txt +78 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/deterministicKeys_custom.flows.package.mermaid +2 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/deterministicKeys_custom.flows.test.mermaid +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/deterministicKeys_custom.flows.txt +3 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/deterministicKeys_custom.flows.utils.mermaid +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/deterministicKeys_custom.layers.txt +3 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/deterministicKeys_custom.pipings.txt +45 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/deterministicKeys_custom.quickfixes.txt +71 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/deterministicKeys_defaultHashed.errors.txt +41 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/deterministicKeys_defaultHashed.flows.package.mermaid +2 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/deterministicKeys_defaultHashed.flows.test.mermaid +7 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/deterministicKeys_defaultHashed.flows.txt +2 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/deterministicKeys_defaultHashed.layers.txt +2 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/deterministicKeys_defaultHashed.pipings.txt +30 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/deterministicKeys_defaultHashed.quickfixes.txt +51 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/deterministicKeys_packageIdentifier.errors.txt +41 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/deterministicKeys_packageIdentifier.flows.package.mermaid +2 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/deterministicKeys_packageIdentifier.flows.test.mermaid +7 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/deterministicKeys_packageIdentifier.flows.txt +2 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/deterministicKeys_packageIdentifier.layers.txt +2 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/deterministicKeys_packageIdentifier.pipings.txt +30 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/deterministicKeys_packageIdentifier.quickfixes.txt +51 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/deterministicKeys_preview.errors.txt +17 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/deterministicKeys_preview.flows.deterministicKeys_preview.mermaid +2 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/deterministicKeys_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/deterministicKeys_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/deterministicKeys_preview.pipings.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/deterministicKeys_preview.quickfixes.txt +26 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/documentSymbolEffectStub.symbols.txt +123 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/duplicatePackage.errors.txt +18 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/duplicatePackage.flows.duplicatePackage.mermaid +11 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/duplicatePackage.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/duplicatePackage.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/duplicatePackage.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/duplicatePackage.quickfixes.txt +26 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/duplicatePackage_detected.errors.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/duplicatePackage_detected.flows.test.mermaid +6 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/duplicatePackage_detected.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/duplicatePackage_detected.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/duplicatePackage_detected.pipings.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/duplicatePackage_detected.quickfixes.txt +17 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/duplicatePackage_suppressed.errors.txt +26 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/duplicatePackage_suppressed.flows.test.mermaid +6 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/duplicatePackage_suppressed.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/duplicatePackage_suppressed.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/duplicatePackage_suppressed.pipings.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/duplicatePackage_suppressed.quickfixes.txt +7 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectDoNotation.errors.txt +28 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectDoNotation.flows.effectDoNotation.mermaid +21 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectDoNotation.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectDoNotation.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectDoNotation.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectDoNotation.quickfixes.txt +33 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectDoNotation_preview.errors.txt +21 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectDoNotation_preview.flows.effectDoNotation_preview.mermaid +40 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectDoNotation_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectDoNotation_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectDoNotation_preview.pipings.txt +51 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectDoNotation_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFn.errors.txt +55 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFn.flows.effectFn.mermaid +153 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFn.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFn.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFn.pipings.txt +233 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFn.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnIife.errors.txt +98 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnIife.flows.effectFnIife.mermaid +135 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnIife.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnIife.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnIife.pipings.txt +309 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnIife.quickfixes.txt +429 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnIife_preview.errors.txt +19 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnIife_preview.flows.effectFnIife_preview.mermaid +12 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnIife_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnIife_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnIife_preview.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnIife_preview.quickfixes.txt +26 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnImplicitAny.errors.txt +117 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnImplicitAny.flows.effectFnImplicitAny.mermaid +109 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnImplicitAny.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnImplicitAny.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnImplicitAny.pipings.txt +213 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnImplicitAny.quickfixes.txt +42 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnImplicitAnyNonGen.errors.txt +97 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnImplicitAnyNonGen.flows.effectFnImplicitAnyNonGen.mermaid +135 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnImplicitAnyNonGen.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnImplicitAnyNonGen.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnImplicitAnyNonGen.pipings.txt +325 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnImplicitAnyNonGen.quickfixes.txt +42 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnImplicitAny_noDiags.errors.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnImplicitAny_noDiags.flows.effectFnImplicitAny_noDiags.mermaid +25 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnImplicitAny_noDiags.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnImplicitAny_noDiags.layers.txt +30 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnImplicitAny_noDiags.pipings.txt +61 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnImplicitAny_noDiags.quickfixes.txt +7 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnImplicitAny_preview.errors.txt +16 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnImplicitAny_preview.flows.effectFnImplicitAny_preview.mermaid +10 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnImplicitAny_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnImplicitAny_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnImplicitAny_preview.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnImplicitAny_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_alreadyEffectFn.errors.txt +33 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_alreadyEffectFn.flows.effectFnOpportunity_alreadyEffectFn.mermaid +28 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_alreadyEffectFn.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_alreadyEffectFn.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_alreadyEffectFn.pipings.txt +85 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_alreadyEffectFn.quickfixes.txt +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_basic.errors.txt +66 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_basic.flows.effectFnOpportunity_basic.mermaid +52 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_basic.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_basic.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_basic.pipings.txt +113 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_basic.quickfixes.txt +502 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_defaultConfig.errors.txt +61 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_defaultConfig.flows.effectFnOpportunity_defaultConfig.mermaid +51 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_defaultConfig.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_defaultConfig.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_defaultConfig.pipings.txt +93 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_defaultConfig.quickfixes.txt +153 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_genWithThis.errors.txt +44 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_genWithThis.flows.effectFnOpportunity_genWithThis.mermaid +28 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_genWithThis.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_genWithThis.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_genWithThis.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_genWithThis.quickfixes.txt +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_inferred.errors.txt +48 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_inferred.flows.effectFnOpportunity_inferred.mermaid +40 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_inferred.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_inferred.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_inferred.pipings.txt +85 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_inferred.quickfixes.txt +78 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_inferredLayer.errors.txt +59 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_inferredLayer.flows.effectFnOpportunity_inferredLayer.mermaid +83 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_inferredLayer.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_inferredLayer.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_inferredLayer.pipings.txt +163 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_inferredLayer.quickfixes.txt +493 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_inferredLayerThis.errors.txt +47 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_inferredLayerThis.flows.effectFnOpportunity_inferredLayerThis.mermaid +59 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_inferredLayerThis.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_inferredLayerThis.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_inferredLayerThis.pipings.txt +117 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_inferredLayerThis.quickfixes.txt +279 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_inferredOf.errors.txt +41 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_inferredOf.flows.effectFnOpportunity_inferredOf.mermaid +17 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_inferredOf.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_inferredOf.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_inferredOf.pipings.txt +57 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_inferredOf.quickfixes.txt +63 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_inferredServiceMake.errors.txt +40 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_inferredServiceMake.flows.effectFnOpportunity_inferredServiceMake.mermaid +17 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_inferredServiceMake.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_inferredServiceMake.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_inferredServiceMake.pipings.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_inferredServiceMake.quickfixes.txt +58 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_invalid.errors.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_invalid.flows.effectFnOpportunity_invalid.mermaid +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_invalid.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_invalid.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_invalid.pipings.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_invalid.quickfixes.txt +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_multipleReturns.errors.txt +64 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_multipleReturns.flows.effectFnOpportunity_multipleReturns.mermaid +61 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_multipleReturns.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_multipleReturns.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_multipleReturns.pipings.txt +127 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_multipleReturns.quickfixes.txt +132 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_noPipeWithSpan.errors.txt +69 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_noPipeWithSpan.flows.effectFnOpportunity_noPipeWithSpan.mermaid +65 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_noPipeWithSpan.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_noPipeWithSpan.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_noPipeWithSpan.pipings.txt +109 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_noPipeWithSpan.quickfixes.txt +413 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_overloadsNever.errors.txt +49 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_overloadsNever.flows.effectFnOpportunity_overloadsNever.mermaid +26 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_overloadsNever.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_overloadsNever.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_overloadsNever.pipings.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_overloadsNever.quickfixes.txt +56 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_overloadsOk.errors.txt +93 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_overloadsOk.flows.effectFnOpportunity_overloadsOk.mermaid +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_overloadsOk.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_overloadsOk.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_overloadsOk.pipings.txt +85 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_overloadsOk.quickfixes.txt +761 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_params.errors.txt +54 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_params.flows.effectFnOpportunity_params.mermaid +40 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_params.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_params.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_params.pipings.txt +85 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_params.quickfixes.txt +294 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_paramsInPipe.errors.txt +54 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_paramsInPipe.flows.effectFnOpportunity_paramsInPipe.mermaid +91 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_paramsInPipe.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_paramsInPipe.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_paramsInPipe.pipings.txt +143 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_paramsInPipe.quickfixes.txt +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_pipeWithSpan.errors.txt +70 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_pipeWithSpan.flows.effectFnOpportunity_pipeWithSpan.mermaid +75 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_pipeWithSpan.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_pipeWithSpan.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_pipeWithSpan.pipings.txt +109 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_pipeWithSpan.quickfixes.txt +425 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_plainFew.errors.txt +41 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_plainFew.flows.effectFnOpportunity_plainFew.mermaid +46 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_plainFew.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_plainFew.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_plainFew.pipings.txt +85 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_plainFew.quickfixes.txt +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_plainMany.errors.txt +69 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_plainMany.flows.effectFnOpportunity_plainMany.mermaid +39 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_plainMany.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_plainMany.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_plainMany.pipings.txt +71 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_plainMany.quickfixes.txt +309 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_preview.errors.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_preview.flows.effectFnOpportunity_preview.mermaid +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_preview.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_preview.quickfixes.txt +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_returnType.errors.txt +61 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_returnType.flows.effectFnOpportunity_returnType.mermaid +40 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_returnType.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_returnType.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_returnType.pipings.txt +85 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_returnType.quickfixes.txt +123 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_typeParams.errors.txt +110 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_typeParams.flows.effectFnOpportunity_typeParams.mermaid +64 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_typeParams.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_typeParams.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_typeParams.pipings.txt +127 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnOpportunity_typeParams.quickfixes.txt +1248 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnRegular.errors.txt +26 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnRegular.flows.effectFnRegular.mermaid +60 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnRegular.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnRegular.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnRegular.pipings.txt +89 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnRegular.quickfixes.txt +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnUntracedEagerImplicitAny.errors.txt +107 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnUntracedEagerImplicitAny.flows.effectFnUntracedEagerImplicitAny.mermaid +109 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnUntracedEagerImplicitAny.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnUntracedEagerImplicitAny.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnUntracedEagerImplicitAny.pipings.txt +213 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnUntracedEagerImplicitAny.quickfixes.txt +42 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnUntracedImplicitAny.errors.txt +107 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnUntracedImplicitAny.flows.effectFnUntracedImplicitAny.mermaid +109 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnUntracedImplicitAny.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnUntracedImplicitAny.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnUntracedImplicitAny.pipings.txt +213 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectFnUntracedImplicitAny.quickfixes.txt +42 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectGenToFn.refactors.txt +555 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectGenToFn_classMethod.refactors.txt +42 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectGenToFn_mixedPipes.refactors.txt +76 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectGenToFn_withPipes.refactors.txt +73 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectInFailure.errors.txt +47 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectInFailure.flows.effectInFailure.mermaid +71 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectInFailure.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectInFailure.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectInFailure.pipings.txt +159 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectInFailure.quickfixes.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectInFailure_preview.errors.txt +24 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectInFailure_preview.flows.effectInFailure_preview.mermaid +18 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectInFailure_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectInFailure_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectInFailure_preview.pipings.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectInFailure_preview.quickfixes.txt +23 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectInVoidSuccess.errors.txt +28 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectInVoidSuccess.flows.effectInVoidSuccess.mermaid +40 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectInVoidSuccess.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectInVoidSuccess.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectInVoidSuccess.pipings.txt +69 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectInVoidSuccess.quickfixes.txt +23 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectInVoidSuccess_preview.errors.txt +17 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectInVoidSuccess_preview.flows.effectInVoidSuccess_preview.mermaid +10 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectInVoidSuccess_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectInVoidSuccess_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectInVoidSuccess_preview.pipings.txt +19 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectInVoidSuccess_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectMapFlatten.errors.txt +54 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectMapFlatten.flows.effectMapFlatten.mermaid +127 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectMapFlatten.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectMapFlatten.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectMapFlatten.pipings.txt +217 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectMapFlatten.quickfixes.txt +33 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectMapFlatten_preview.errors.txt +18 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectMapFlatten_preview.flows.effectMapFlatten_preview.mermaid +20 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectMapFlatten_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectMapFlatten_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectMapFlatten_preview.pipings.txt +37 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectMapFlatten_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectMapVoid.errors.txt +76 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectMapVoid.flows.effectMapVoid.mermaid +123 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectMapVoid.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectMapVoid.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectMapVoid.pipings.txt +181 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectMapVoid.quickfixes.txt +405 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectMapVoid_preview.errors.txt +17 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectMapVoid_preview.flows.effectMapVoid_preview.mermaid +14 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectMapVoid_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectMapVoid_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectMapVoid_preview.pipings.txt +19 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectMapVoid_preview.quickfixes.txt +26 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectSucceedWithVoid.errors.txt +53 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectSucceedWithVoid.flows.effectSucceedWithVoid.mermaid +47 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectSucceedWithVoid.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectSucceedWithVoid.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectSucceedWithVoid.pipings.txt +127 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectSucceedWithVoid.quickfixes.txt +238 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectSucceedWithVoid_preview.errors.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectSucceedWithVoid_preview.flows.effectSucceedWithVoid_preview.mermaid +6 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectSucceedWithVoid_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectSucceedWithVoid_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectSucceedWithVoid_preview.pipings.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effectSucceedWithVoid_preview.quickfixes.txt +24 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effect_fn_opportunity_panic.errors.txt +154 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effect_fn_opportunity_panic.flows.effect_fn_opportunity_panic.mermaid +207 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effect_fn_opportunity_panic.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effect_fn_opportunity_panic.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effect_fn_opportunity_panic.pipings.txt +429 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/effect_fn_opportunity_panic.quickfixes.txt +267 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/emptyArgs.errors.txt +21 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/emptyArgs.flows.emptyArgs.mermaid +11 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/emptyArgs.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/emptyArgs.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/emptyArgs.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/emptyArgs.quickfixes.txt +51 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/extendsNativeError.errors.txt +32 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/extendsNativeError.flows.extendsNativeError.mermaid +7 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/extendsNativeError.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/extendsNativeError.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/extendsNativeError.pipings.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/extendsNativeError.quickfixes.txt +33 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/extendsNativeError_preview.errors.txt +14 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/extendsNativeError_preview.flows.extendsNativeError_preview.mermaid +2 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/extendsNativeError_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/extendsNativeError_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/extendsNativeError_preview.pipings.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/extendsNativeError_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/floatingEffect.errors.txt +45 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/floatingEffect.flows.floatingEffect.mermaid +24 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/floatingEffect.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/floatingEffect.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/floatingEffect.pipings.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/floatingEffect.quickfixes.txt +52 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/floatingEffectGen.errors.txt +14 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/floatingEffectGen.flows.floatingEffectGen.mermaid +8 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/floatingEffectGen.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/floatingEffectGen.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/floatingEffectGen.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/floatingEffectGen.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/floatingEffectSuppressed.errors.txt +50 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/floatingEffectSuppressed.flows.floatingEffectSuppressed.mermaid +46 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/floatingEffectSuppressed.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/floatingEffectSuppressed.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/floatingEffectSuppressed.pipings.txt +127 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/floatingEffectSuppressed.quickfixes.txt +53 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/floatingEffect_disabledWildcard.errors.txt +26 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/floatingEffect_disabledWildcard.flows.floatingEffect_disabledWildcard.mermaid +21 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/floatingEffect_disabledWildcard.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/floatingEffect_disabledWildcard.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/floatingEffect_disabledWildcard.pipings.txt +57 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/floatingEffect_disabledWildcard.quickfixes.txt +23 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/floatingEffect_preview.errors.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/floatingEffect_preview.flows.floatingEffect_preview.mermaid +6 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/floatingEffect_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/floatingEffect_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/floatingEffect_preview.pipings.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/floatingEffect_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/floatingEffect_stream.errors.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/floatingEffect_stream.flows.floatingEffect_stream.mermaid +8 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/floatingEffect_stream.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/floatingEffect_stream.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/floatingEffect_stream.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/floatingEffect_stream.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/floatingEffect_subtypes.errors.txt +21 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/floatingEffect_subtypes.flows.floatingEffect_subtypes.mermaid +28 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/floatingEffect_subtypes.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/floatingEffect_subtypes.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/floatingEffect_subtypes.pipings.txt +75 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/floatingEffect_subtypes.quickfixes.txt +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/functionCalls.errors.txt +24 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/functionCalls.flows.functionCalls.mermaid +50 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/functionCalls.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/functionCalls.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/functionCalls.pipings.txt +73 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/functionCalls.quickfixes.txt +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/functionToArrow.refactors.txt +278 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalConsole.errors.txt +55 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalConsole.flows.globalConsole.mermaid +58 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalConsole.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalConsole.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalConsole.pipings.txt +141 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalConsole.quickfixes.txt +49 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalConsoleInEffect.errors.txt +70 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalConsoleInEffect.flows.globalConsoleInEffect.mermaid +63 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalConsoleInEffect.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalConsoleInEffect.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalConsoleInEffect.pipings.txt +225 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalConsoleInEffect.quickfixes.txt +56 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalConsoleInEffect_preview.errors.txt +17 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalConsoleInEffect_preview.flows.globalConsoleInEffect_preview.mermaid +8 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalConsoleInEffect_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalConsoleInEffect_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalConsoleInEffect_preview.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalConsoleInEffect_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalConsoleInEffect_thunks.errors.txt +39 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalConsoleInEffect_thunks.flows.globalConsoleInEffect_thunks.mermaid +75 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalConsoleInEffect_thunks.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalConsoleInEffect_thunks.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalConsoleInEffect_thunks.pipings.txt +155 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalConsoleInEffect_thunks.quickfixes.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalConsole_preview.errors.txt +14 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalConsole_preview.flows.globalConsole_preview.mermaid +6 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalConsole_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalConsole_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalConsole_preview.pipings.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalConsole_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalDate.errors.txt +50 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalDate.flows.globalDate.mermaid +26 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalDate.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalDate.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalDate.pipings.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalDate.quickfixes.txt +52 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalDateInEffect.errors.txt +60 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalDateInEffect.flows.globalDateInEffect.mermaid +32 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalDateInEffect.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalDateInEffect.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalDateInEffect.pipings.txt +71 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalDateInEffect.quickfixes.txt +49 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalDateInEffect_preview.errors.txt +18 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalDateInEffect_preview.flows.globalDateInEffect_preview.mermaid +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalDateInEffect_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalDateInEffect_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalDateInEffect_preview.pipings.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalDateInEffect_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalDateInEffect_thunks.errors.txt +39 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalDateInEffect_thunks.flows.globalDateInEffect_thunks.mermaid +55 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalDateInEffect_thunks.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalDateInEffect_thunks.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalDateInEffect_thunks.pipings.txt +85 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalDateInEffect_thunks.quickfixes.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalDate_preview.errors.txt +14 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalDate_preview.flows.globalDate_preview.mermaid +2 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalDate_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalDate_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalDate_preview.pipings.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalDate_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalErrorInEffectCatch.errors.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalErrorInEffectCatch.flows.globalErrorInEffectCatch.mermaid +32 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalErrorInEffectCatch.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalErrorInEffectCatch.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalErrorInEffectCatch.pipings.txt +71 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalErrorInEffectCatch.quickfixes.txt +26 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalErrorInEffectCatch_preview.errors.txt +18 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalErrorInEffectCatch_preview.flows.globalErrorInEffectCatch_preview.mermaid +20 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalErrorInEffectCatch_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalErrorInEffectCatch_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalErrorInEffectCatch_preview.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalErrorInEffectCatch_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalErrorInEffectFailure.errors.txt +86 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalErrorInEffectFailure.flows.globalErrorInEffectFailure.mermaid +85 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalErrorInEffectFailure.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalErrorInEffectFailure.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalErrorInEffectFailure.pipings.txt +191 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalErrorInEffectFailure.quickfixes.txt +251 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalErrorInEffectFailure_preview.errors.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalErrorInEffectFailure_preview.flows.globalErrorInEffectFailure_preview.mermaid +6 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalErrorInEffectFailure_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalErrorInEffectFailure_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalErrorInEffectFailure_preview.pipings.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalErrorInEffectFailure_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalFetch.errors.txt +42 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalFetch.flows.globalFetch.mermaid +16 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalFetch.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalFetch.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalFetch.pipings.txt +99 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalFetch.quickfixes.txt +52 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalFetchInEffect.errors.txt +37 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalFetchInEffect.flows.globalFetchInEffect.mermaid +17 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalFetchInEffect.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalFetchInEffect.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalFetchInEffect.pipings.txt +113 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalFetchInEffect.quickfixes.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalFetchInEffect_preview.errors.txt +17 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalFetchInEffect_preview.flows.globalFetchInEffect_preview.mermaid +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalFetchInEffect_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalFetchInEffect_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalFetchInEffect_preview.pipings.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalFetchInEffect_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalFetchInEffect_thunks.errors.txt +42 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalFetchInEffect_thunks.flows.globalFetchInEffect_thunks.mermaid +55 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalFetchInEffect_thunks.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalFetchInEffect_thunks.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalFetchInEffect_thunks.pipings.txt +155 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalFetchInEffect_thunks.quickfixes.txt +53 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalFetch_preview.errors.txt +14 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalFetch_preview.flows.globalFetch_preview.mermaid +2 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalFetch_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalFetch_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalFetch_preview.pipings.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalFetch_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalRandom.errors.txt +48 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalRandom.flows.globalRandom.mermaid +27 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalRandom.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalRandom.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalRandom.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalRandom.quickfixes.txt +55 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalRandomInEffect.errors.txt +40 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalRandomInEffect.flows.globalRandomInEffect.mermaid +21 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalRandomInEffect.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalRandomInEffect.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalRandomInEffect.pipings.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalRandomInEffect.quickfixes.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalRandomInEffect_preview.errors.txt +18 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalRandomInEffect_preview.flows.globalRandomInEffect_preview.mermaid +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalRandomInEffect_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalRandomInEffect_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalRandomInEffect_preview.pipings.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalRandomInEffect_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalRandomInEffect_thunks.errors.txt +39 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalRandomInEffect_thunks.flows.globalRandomInEffect_thunks.mermaid +55 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalRandomInEffect_thunks.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalRandomInEffect_thunks.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalRandomInEffect_thunks.pipings.txt +85 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalRandomInEffect_thunks.quickfixes.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalRandom_preview.errors.txt +14 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalRandom_preview.flows.globalRandom_preview.mermaid +2 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalRandom_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalRandom_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalRandom_preview.pipings.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalRandom_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalTimers.errors.txt +48 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalTimers.flows.globalTimers.mermaid +37 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalTimers.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalTimers.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalTimers.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalTimers.quickfixes.txt +55 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalTimersInEffect.errors.txt +48 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalTimersInEffect.flows.globalTimersInEffect.mermaid +26 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalTimersInEffect.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalTimersInEffect.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalTimersInEffect.pipings.txt +57 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalTimersInEffect.quickfixes.txt +36 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalTimersInEffect_preview.errors.txt +17 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalTimersInEffect_preview.flows.globalTimersInEffect_preview.mermaid +4 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalTimersInEffect_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalTimersInEffect_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalTimersInEffect_preview.pipings.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalTimersInEffect_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalTimersInEffect_thunks.errors.txt +39 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalTimersInEffect_thunks.flows.globalTimersInEffect_thunks.mermaid +65 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalTimersInEffect_thunks.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalTimersInEffect_thunks.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalTimersInEffect_thunks.pipings.txt +85 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalTimersInEffect_thunks.quickfixes.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalTimers_preview.errors.txt +14 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalTimers_preview.flows.globalTimers_preview.mermaid +4 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalTimers_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalTimers_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalTimers_preview.pipings.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/globalTimers_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/instanceOfSchema.errors.txt +47 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/instanceOfSchema.flows.instanceOfSchema.mermaid +42 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/instanceOfSchema.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/instanceOfSchema.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/instanceOfSchema.pipings.txt +85 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/instanceOfSchema.quickfixes.txt +103 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/instanceOfSchema_preview.errors.txt +17 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/instanceOfSchema_preview.flows.instanceOfSchema_preview.mermaid +9 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/instanceOfSchema_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/instanceOfSchema_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/instanceOfSchema_preview.pipings.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/instanceOfSchema_preview.quickfixes.txt +26 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/interfaceExtendsIssue.errors.txt +16 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/interfaceExtendsIssue.flows.interfaceExtendsIssue.mermaid +2 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/interfaceExtendsIssue.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/interfaceExtendsIssue.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/interfaceExtendsIssue.pipings.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/interfaceExtendsIssue.quickfixes.txt +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/interfaceExtendsIssueNoPlugin.errors.txt +23 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/interfaceExtendsIssueNoPlugin.flows.interfaceExtendsIssueNoPlugin.mermaid +2 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/interfaceExtendsIssueNoPlugin.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/interfaceExtendsIssueNoPlugin.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/interfaceExtendsIssueNoPlugin.pipings.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/interfaceExtendsIssueNoPlugin.quickfixes.txt +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/issue179_nestedEffectGenThis.errors.txt +33 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/issue179_nestedEffectGenThis.flows.issue179_nestedEffectGenThis.mermaid +17 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/issue179_nestedEffectGenThis.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/issue179_nestedEffectGenThis.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/issue179_nestedEffectGenThis.pipings.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/issue179_nestedEffectGenThis.quickfixes.txt +7 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/issue179_remainingCases.errors.txt +89 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/issue179_remainingCases.flows.issue179_remainingCases.mermaid +126 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/issue179_remainingCases.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/issue179_remainingCases.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/issue179_remainingCases.pipings.txt +145 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/issue179_remainingCases.quickfixes.txt +10 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/jsxIntrinsicElements.errors.txt +31 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/jsxIntrinsicElements.flows.test.mermaid +7 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/jsxIntrinsicElements.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/jsxIntrinsicElements.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/jsxIntrinsicElements.pipings.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/jsxIntrinsicElements.quickfixes.txt +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphDocumented.errors.txt +58 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphDocumented.flows.layerGraphDocumented.mermaid +93 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphDocumented.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphDocumented.layers.txt +240 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphDocumented.pipings.txt +153 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphDocumented.quickfixes.txt +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphDuplicated.errors.txt +66 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphDuplicated.flows.layerGraphDuplicated.mermaid +176 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphDuplicated.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphDuplicated.layers.txt +480 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphDuplicated.pipings.txt +261 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphDuplicated.quickfixes.txt +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphEffect.errors.txt +22 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphEffect.flows.layerGraphEffect.mermaid +37 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphEffect.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphEffect.layers.txt +64 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphEffect.pipings.txt +65 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphEffect.quickfixes.txt +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphFollowSymbols.errors.txt +59 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphFollowSymbols.flows.followSymbols.mermaid +21 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphFollowSymbols.flows.simple.mermaid +95 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphFollowSymbols.flows.txt +2 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphFollowSymbols.layers.txt +920 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphFollowSymbols.pipings.txt +196 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphFollowSymbols.quickfixes.txt +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphFollowSymbolsDeep.errors.txt +54 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphFollowSymbolsDeep.flows.base.mermaid +53 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphFollowSymbolsDeep.flows.deep.mermaid +3 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphFollowSymbolsDeep.flows.middle.mermaid +3 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphFollowSymbolsDeep.flows.txt +3 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphFollowSymbolsDeep.layers.txt +628 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphFollowSymbolsDeep.pipings.txt +101 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphFollowSymbolsDeep.quickfixes.txt +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphFollowSymbolsOff.errors.txt +52 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphFollowSymbolsOff.flows.followSymbols.mermaid +21 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphFollowSymbolsOff.flows.simple.mermaid +81 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphFollowSymbolsOff.flows.txt +2 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphFollowSymbolsOff.layers.txt +396 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphFollowSymbolsOff.pipings.txt +178 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphFollowSymbolsOff.quickfixes.txt +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphMultiple.errors.txt +70 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphMultiple.flows.layerGraphMultiple.mermaid +165 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphMultiple.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphMultiple.layers.txt +377 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphMultiple.pipings.txt +243 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphMultiple.quickfixes.txt +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphSimple.errors.txt +47 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphSimple.flows.layerGraphSimple.mermaid +95 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphSimple.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphSimple.layers.txt +359 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphSimple.pipings.txt +163 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphSimple.quickfixes.txt +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphSpecialChars.errors.txt +30 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphSpecialChars.flows.layerGraphSpecialChars.mermaid +16 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphSpecialChars.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphSpecialChars.layers.txt +30 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphSpecialChars.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerGraphSpecialChars.quickfixes.txt +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerMagic_build.refactors.txt +1314 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerMagic_prepare.refactors.txt +467 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerMagic_prepareReuse.refactors.txt +330 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerMergeAllWithDependencies.errors.txt +66 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerMergeAllWithDependencies.flows.layerMergeAllWithDependencies.mermaid +78 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerMergeAllWithDependencies.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerMergeAllWithDependencies.layers.txt +349 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerMergeAllWithDependencies.pipings.txt +131 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerMergeAllWithDependencies.quickfixes.txt +251 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerMergeAllWithDependenciesNonPropertyAccess.errors.txt +33 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerMergeAllWithDependenciesNonPropertyAccess.flows.layerMergeAllWithDependenciesNonPropertyAccess.mermaid +47 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerMergeAllWithDependenciesNonPropertyAccess.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerMergeAllWithDependenciesNonPropertyAccess.layers.txt +90 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerMergeAllWithDependenciesNonPropertyAccess.pipings.txt +85 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerMergeAllWithDependenciesNonPropertyAccess.quickfixes.txt +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerMergeAllWithDependencies_preview.errors.txt +21 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerMergeAllWithDependencies_preview.flows.layerMergeAllWithDependencies_preview.mermaid +32 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerMergeAllWithDependencies_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerMergeAllWithDependencies_preview.layers.txt +73 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerMergeAllWithDependencies_preview.pipings.txt +57 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerMergeAllWithDependencies_preview.quickfixes.txt +30 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerServiceTypes.errors.txt +60 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerServiceTypes.flows.layerServiceTypes.mermaid +99 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerServiceTypes.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerServiceTypes.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerServiceTypes.pipings.txt +209 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/layerServiceTypes.quickfixes.txt +16 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/lazyEffect.errors.txt +139 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/lazyEffect.flows.lazyEffect.mermaid +112 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/lazyEffect.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/lazyEffect.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/lazyEffect.pipings.txt +155 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/lazyEffect.quickfixes.txt +103 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/lazyEffect_preview.errors.txt +17 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/lazyEffect_preview.flows.lazyEffect_preview.mermaid +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/lazyEffect_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/lazyEffect_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/lazyEffect_preview.pipings.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/lazyEffect_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/lazyPromiseInEffectSync.errors.txt +33 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/lazyPromiseInEffectSync.flows.lazyPromiseInEffectSync.mermaid +36 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/lazyPromiseInEffectSync.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/lazyPromiseInEffectSync.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/lazyPromiseInEffectSync.pipings.txt +99 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/lazyPromiseInEffectSync.quickfixes.txt +23 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/lazyPromiseInEffectSync_preview.errors.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/lazyPromiseInEffectSync_preview.flows.lazyPromiseInEffectSync_preview.mermaid +8 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/lazyPromiseInEffectSync_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/lazyPromiseInEffectSync_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/lazyPromiseInEffectSync_preview.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/lazyPromiseInEffectSync_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/leakingRequirements.errors.txt +67 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/leakingRequirements.flows.leakingRequirements.mermaid +4 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/leakingRequirements.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/leakingRequirements.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/leakingRequirements.pipings.txt +57 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/leakingRequirements.quickfixes.txt +45 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/leakingRequirements_allowJsdoc.errors.txt +72 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/leakingRequirements_allowJsdoc.flows.leakingRequirements_allowJsdoc.mermaid +7 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/leakingRequirements_allowJsdoc.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/leakingRequirements_allowJsdoc.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/leakingRequirements_allowJsdoc.pipings.txt +85 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/leakingRequirements_allowJsdoc.quickfixes.txt +21 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/leakingRequirements_genericTag.errors.txt +39 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/leakingRequirements_genericTag.flows.leakingRequirements_genericTag.mermaid +3 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/leakingRequirements_genericTag.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/leakingRequirements_genericTag.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/leakingRequirements_genericTag.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/leakingRequirements_genericTag.quickfixes.txt +21 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/leakingRequirements_heuristic.errors.txt +19 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/leakingRequirements_heuristic.flows.leakingRequirements_heuristic.mermaid +3 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/leakingRequirements_heuristic.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/leakingRequirements_heuristic.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/leakingRequirements_heuristic.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/leakingRequirements_heuristic.quickfixes.txt +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/leakingRequirements_leakableJsDoc.errors.txt +24 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/leakingRequirements_leakableJsDoc.flows.leakingRequirements_leakableJsDoc.mermaid +3 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/leakingRequirements_leakableJsDoc.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/leakingRequirements_leakableJsDoc.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/leakingRequirements_leakableJsDoc.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/leakingRequirements_leakableJsDoc.quickfixes.txt +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/leakingRequirements_noScope.errors.txt +21 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/leakingRequirements_noScope.flows.leakingRequirements_noScope.mermaid +3 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/leakingRequirements_noScope.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/leakingRequirements_noScope.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/leakingRequirements_noScope.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/leakingRequirements_noScope.quickfixes.txt +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/leakingRequirements_preview.errors.txt +39 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/leakingRequirements_preview.flows.leakingRequirements_preview.mermaid +3 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/leakingRequirements_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/leakingRequirements_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/leakingRequirements_preview.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/leakingRequirements_preview.quickfixes.txt +21 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/makeSchemaOpaque.refactors.txt +85 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/makeSchemaOpaqueWithNs_shortImport.refactors.txt +85 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/makeSchemaOpaque_brand.refactors.txt +70 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/makeSchemaOpaque_shortImport.refactors.txt +85 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/makeSchemaOpaque_shortImportAlias.refactors.txt +85 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/makeSchemaOpaque_union.refactors.txt +85 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missedPipeableOpportunity.errors.txt +70 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missedPipeableOpportunity.flows.missedPipeableOpportunity.mermaid +182 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missedPipeableOpportunity.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missedPipeableOpportunity.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missedPipeableOpportunity.pipings.txt +303 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missedPipeableOpportunity.quickfixes.txt +258 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missedPipeableOpportunity_error.errors.txt +44 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missedPipeableOpportunity_error.flows.missedPipeableOpportunity_error.mermaid +60 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missedPipeableOpportunity_error.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missedPipeableOpportunity_error.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missedPipeableOpportunity_error.pipings.txt +143 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missedPipeableOpportunity_error.quickfixes.txt +40 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missedPipeableOpportunity_preview.errors.txt +17 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missedPipeableOpportunity_preview.flows.missedPipeableOpportunity_preview.mermaid +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missedPipeableOpportunity_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missedPipeableOpportunity_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missedPipeableOpportunity_preview.pipings.txt +37 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missedPipeableOpportunity_preview.quickfixes.txt +26 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missedPipeableOpportunity_safer.errors.txt +54 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missedPipeableOpportunity_safer.flows.missedPipeableOpportunity_safer.mermaid +44 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missedPipeableOpportunity_safer.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missedPipeableOpportunity_safer.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missedPipeableOpportunity_safer.pipings.txt +87 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missedPipeableOpportunity_safer.quickfixes.txt +73 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingEffectContext.errors.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingEffectContext.flows.missingEffectContext.mermaid +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingEffectContext.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingEffectContext.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingEffectContext.pipings.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingEffectContext.quickfixes.txt +35 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingEffectContext_preview.errors.txt +18 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingEffectContext_preview.flows.missingEffectContext_preview.mermaid +11 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingEffectContext_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingEffectContext_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingEffectContext_preview.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingEffectContext_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingEffectContext_sugg.errors.txt +58 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingEffectContext_sugg.flows.missingEffectContext_sugg.mermaid +115 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingEffectContext_sugg.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingEffectContext_sugg.layers.txt +170 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingEffectContext_sugg.pipings.txt +203 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingEffectContext_sugg.quickfixes.txt +23 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingEffectError.errors.txt +38 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingEffectError.flows.missingEffectError.mermaid +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingEffectError.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingEffectError.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingEffectError.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingEffectError.quickfixes.txt +110 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingEffectError_preview.errors.txt +20 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingEffectError_preview.flows.missingEffectError_preview.mermaid +9 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingEffectError_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingEffectError_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingEffectError_preview.pipings.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingEffectError_preview.quickfixes.txt +45 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingLayerContext.errors.txt +48 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingLayerContext.flows.missingLayerContext.mermaid +61 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingLayerContext.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingLayerContext.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingLayerContext.pipings.txt +113 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingLayerContext.quickfixes.txt +23 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingLayerContext_preview.errors.txt +20 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingLayerContext_preview.flows.missingLayerContext_preview.mermaid +16 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingLayerContext_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingLayerContext_preview.layers.txt +36 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingLayerContext_preview.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingLayerContext_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingReturnYieldStar.errors.txt +54 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingReturnYieldStar.flows.missingReturnYieldStar.mermaid +71 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingReturnYieldStar.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingReturnYieldStar.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingReturnYieldStar.pipings.txt +159 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingReturnYieldStar.quickfixes.txt +210 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingReturnYieldStarFn.errors.txt +47 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingReturnYieldStarFn.flows.missingReturnYieldStarFn.mermaid +59 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingReturnYieldStarFn.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingReturnYieldStarFn.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingReturnYieldStarFn.pipings.txt +155 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingReturnYieldStarFn.quickfixes.txt +208 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingReturnYieldStarFnUntraced.errors.txt +30 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingReturnYieldStarFnUntraced.flows.missingReturnYieldStarFnUntraced.mermaid +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingReturnYieldStarFnUntraced.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingReturnYieldStarFnUntraced.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingReturnYieldStarFnUntraced.pipings.txt +85 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingReturnYieldStarFnUntraced.quickfixes.txt +67 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingReturnYieldStar_preview.errors.txt +18 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingReturnYieldStar_preview.flows.missingReturnYieldStar_preview.mermaid +14 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingReturnYieldStar_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingReturnYieldStar_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingReturnYieldStar_preview.pipings.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingReturnYieldStar_preview.quickfixes.txt +27 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingReturnYiesStarGenThis.errors.txt +17 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingReturnYiesStarGenThis.flows.missingReturnYiesStarGenThis.mermaid +9 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingReturnYiesStarGenThis.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingReturnYiesStarGenThis.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingReturnYiesStarGenThis.pipings.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingReturnYiesStarGenThis.quickfixes.txt +26 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingStarInYieldEffectGen.errors.txt +95 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingStarInYieldEffectGen.flows.missingStarInYieldEffectGen.mermaid +53 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingStarInYieldEffectGen.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingStarInYieldEffectGen.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingStarInYieldEffectGen.pipings.txt +183 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingStarInYieldEffectGen.quickfixes.txt +575 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingStarInYieldEffectGen_preview.errors.txt +19 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingStarInYieldEffectGen_preview.flows.missingStarInYieldEffectGen_preview.mermaid +11 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingStarInYieldEffectGen_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingStarInYieldEffectGen_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingStarInYieldEffectGen_preview.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/missingStarInYieldEffectGen_preview.quickfixes.txt +27 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/multipleCatchTag.errors.txt +78 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/multipleCatchTag.flows.multipleCatchTag.mermaid +240 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/multipleCatchTag.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/multipleCatchTag.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/multipleCatchTag.pipings.txt +397 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/multipleCatchTag.quickfixes.txt +33 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/multipleCatchTag_preview.errors.txt +25 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/multipleCatchTag_preview.flows.multipleCatchTag_preview.mermaid +40 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/multipleCatchTag_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/multipleCatchTag_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/multipleCatchTag_preview.pipings.txt +75 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/multipleCatchTag_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/multipleCatchTag_stream.errors.txt +50 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/multipleCatchTag_stream.flows.multipleCatchTag_stream.mermaid +149 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/multipleCatchTag_stream.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/multipleCatchTag_stream.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/multipleCatchTag_stream.pipings.txt +245 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/multipleCatchTag_stream.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/multipleEffectProvide.errors.txt +57 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/multipleEffectProvide.flows.multipleEffectProvide.mermaid +102 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/multipleEffectProvide.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/multipleEffectProvide.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/multipleEffectProvide.pipings.txt +155 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/multipleEffectProvide.quickfixes.txt +214 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/multipleEffectProvide_effectFn.errors.txt +72 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/multipleEffectProvide_effectFn.flows.multipleEffectProvide_effectFn.mermaid +117 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/multipleEffectProvide_effectFn.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/multipleEffectProvide_effectFn.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/multipleEffectProvide_effectFn.pipings.txt +161 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/multipleEffectProvide_effectFn.quickfixes.txt +274 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/multipleEffectProvide_effectFnRegular.errors.txt +55 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/multipleEffectProvide_effectFnRegular.flows.multipleEffectProvide_effectFnRegular.mermaid +100 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/multipleEffectProvide_effectFnRegular.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/multipleEffectProvide_effectFnRegular.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/multipleEffectProvide_effectFnRegular.pipings.txt +143 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/multipleEffectProvide_effectFnRegular.quickfixes.txt +164 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/multipleEffectProvide_preview.errors.txt +21 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/multipleEffectProvide_preview.flows.multipleEffectProvide_preview.mermaid +42 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/multipleEffectProvide_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/multipleEffectProvide_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/multipleEffectProvide_preview.pipings.txt +75 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/multipleEffectProvide_preview.quickfixes.txt +30 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/multipleFlows.errors.txt +25 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/multipleFlows.flows.multipleFlows.mermaid +36 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/multipleFlows.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/multipleFlows.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/multipleFlows.pipings.txt +55 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/multipleFlows.quickfixes.txt +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/nestedEffectGenYield.errors.txt +89 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/nestedEffectGenYield.flows.nestedEffectGenYield.mermaid +55 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/nestedEffectGenYield.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/nestedEffectGenYield.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/nestedEffectGenYield.pipings.txt +201 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/nestedEffectGenYield.quickfixes.txt +286 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/nestedEffectGenYield_preview.errors.txt +21 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/nestedEffectGenYield_preview.flows.nestedEffectGenYield_preview.mermaid +7 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/nestedEffectGenYield_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/nestedEffectGenYield_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/nestedEffectGenYield_preview.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/nestedEffectGenYield_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/nestedPipe.errors.txt +52 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/nestedPipe.flows.nestedPipe.mermaid +82 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/nestedPipe.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/nestedPipe.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/nestedPipe.pipings.txt +113 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/nestedPipe.quickfixes.txt +141 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/newPromise.errors.txt +44 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/newPromise.flows.newPromise.mermaid +49 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/newPromise.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/newPromise.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/newPromise.pipings.txt +71 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/newPromise.quickfixes.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/newPromise_preview.errors.txt +14 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/newPromise_preview.flows.newPromise_preview.mermaid +10 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/newPromise_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/newPromise_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/newPromise_preview.pipings.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/newPromise_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/newSchemaClass.errors.txt +48 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/newSchemaClass.flows.newSchemaClass.mermaid +32 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/newSchemaClass.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/newSchemaClass.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/newSchemaClass.pipings.txt +85 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/newSchemaClass.quickfixes.txt +147 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/newSchemaClass_preview.errors.txt +17 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/newSchemaClass_preview.flows.newSchemaClass_preview.mermaid +9 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/newSchemaClass_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/newSchemaClass_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/newSchemaClass_preview.pipings.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/newSchemaClass_preview.quickfixes.txt +26 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/nodeBuiltinImport.errors.txt +102 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/nodeBuiltinImport.flows.nodeBuiltinImport.mermaid +6 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/nodeBuiltinImport.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/nodeBuiltinImport.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/nodeBuiltinImport.pipings.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/nodeBuiltinImport.quickfixes.txt +217 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/nodeBuiltinImport_preview.errors.txt +18 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/nodeBuiltinImport_preview.flows.nodeBuiltinImport_preview.mermaid +2 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/nodeBuiltinImport_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/nodeBuiltinImport_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/nodeBuiltinImport_preview.pipings.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/nodeBuiltinImport_preview.quickfixes.txt +16 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/outdatedApi.errors.txt +223 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/outdatedApi.flows.outdatedApi.mermaid +236 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/outdatedApi.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/outdatedApi.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/outdatedApi.pipings.txt +557 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/outdatedApi.quickfixes.txt +352 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/outdatedApi_preview.errors.txt +18 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/outdatedApi_preview.flows.outdatedApi_preview.mermaid +4 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/outdatedApi_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/outdatedApi_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/outdatedApi_preview.pipings.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/outdatedApi_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/overriddenSchemaConstructor.errors.txt +42 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/overriddenSchemaConstructor.flows.overriddenSchemaConstructor.mermaid +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/overriddenSchemaConstructor.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/overriddenSchemaConstructor.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/overriddenSchemaConstructor.pipings.txt +57 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/overriddenSchemaConstructor.quickfixes.txt +86 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/overriddenSchemaConstructor_preview.errors.txt +17 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/overriddenSchemaConstructor_preview.flows.overriddenSchemaConstructor_preview.mermaid +9 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/overriddenSchemaConstructor_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/overriddenSchemaConstructor_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/overriddenSchemaConstructor_preview.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/overriddenSchemaConstructor_preview.quickfixes.txt +25 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/overriddenSchemaConstructor_static.errors.txt +24 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/overriddenSchemaConstructor_static.flows.overriddenSchemaConstructor_static.mermaid +9 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/overriddenSchemaConstructor_static.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/overriddenSchemaConstructor_static.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/overriddenSchemaConstructor_static.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/overriddenSchemaConstructor_static.quickfixes.txt +49 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/overriddenSchemaConstructor_valid.errors.txt +16 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/overriddenSchemaConstructor_valid.flows.overriddenSchemaConstructor_valid.mermaid +9 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/overriddenSchemaConstructor_valid.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/overriddenSchemaConstructor_valid.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/overriddenSchemaConstructor_valid.pipings.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/overriddenSchemaConstructor_valid.quickfixes.txt +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/parsingGen.errors.txt +22 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/parsingGen.flows.parsingGen.mermaid +25 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/parsingGen.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/parsingGen.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/parsingGen.pipings.txt +57 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/parsingGen.quickfixes.txt +14 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/pipeableToDatafirst.refactors.txt +366 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/pluginDisabled.errors.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/pluginDisabled.flows.test.mermaid +6 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/pluginDisabled.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/pluginDisabled.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/pluginDisabled.pipings.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/pluginDisabled.quickfixes.txt +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/preferSchemaOverJson.errors.txt +85 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/preferSchemaOverJson.flows.preferSchemaOverJson.mermaid +65 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/preferSchemaOverJson.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/preferSchemaOverJson.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/preferSchemaOverJson.pipings.txt +211 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/preferSchemaOverJson.quickfixes.txt +96 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/preferSchemaOverJson_preview.errors.txt +18 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/preferSchemaOverJson_preview.flows.preferSchemaOverJson_preview.mermaid +11 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/preferSchemaOverJson_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/preferSchemaOverJson_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/preferSchemaOverJson_preview.pipings.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/preferSchemaOverJson_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/processEnv.errors.txt +36 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/processEnv.flows.processEnv.mermaid +17 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/processEnv.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/processEnv.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/processEnv.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/processEnv.quickfixes.txt +33 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/processEnvInEffect.errors.txt +38 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/processEnvInEffect.flows.processEnvInEffect.mermaid +23 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/processEnvInEffect.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/processEnvInEffect.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/processEnvInEffect.pipings.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/processEnvInEffect.quickfixes.txt +23 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/processEnvInEffect_preview.errors.txt +18 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/processEnvInEffect_preview.flows.processEnvInEffect_preview.mermaid +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/processEnvInEffect_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/processEnvInEffect_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/processEnvInEffect_preview.pipings.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/processEnvInEffect_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/processEnvInEffect_thunks.errors.txt +40 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/processEnvInEffect_thunks.flows.processEnvInEffect_thunks.mermaid +55 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/processEnvInEffect_thunks.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/processEnvInEffect_thunks.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/processEnvInEffect_thunks.pipings.txt +85 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/processEnvInEffect_thunks.quickfixes.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/processEnv_preview.errors.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/processEnv_preview.flows.processEnv_preview.mermaid +2 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/processEnv_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/processEnv_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/processEnv_preview.pipings.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/processEnv_preview.quickfixes.txt +10 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/redundantMapError.errors.txt +86 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/redundantMapError.flows.redundantMapError.mermaid +136 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/redundantMapError.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/redundantMapError.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/redundantMapError.pipings.txt +235 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/redundantMapError.quickfixes.txt +23 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/redundantMapError_preview.errors.txt +32 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/redundantMapError_preview.flows.redundantMapError_preview.mermaid +26 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/redundantMapError_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/redundantMapError_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/redundantMapError_preview.pipings.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/redundantMapError_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/redundantOrDie.errors.txt +80 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/redundantOrDie.flows.redundantOrDie.mermaid +92 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/redundantOrDie.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/redundantOrDie.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/redundantOrDie.pipings.txt +285 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/redundantOrDie.quickfixes.txt +33 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/redundantOrDie_preview.errors.txt +24 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/redundantOrDie_preview.flows.redundantOrDie_preview.mermaid +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/redundantOrDie_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/redundantOrDie_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/redundantOrDie_preview.pipings.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/redundantOrDie_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/removeUnnecessaryEffectGen.refactors.txt +90 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/returnEffectInGen.errors.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/returnEffectInGen.flows.returnEffectInGen.mermaid +9 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/returnEffectInGen.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/returnEffectInGen.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/returnEffectInGen.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/returnEffectInGen.quickfixes.txt +24 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/returnEffectInGenNoDiagnostics.errors.txt +37 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/returnEffectInGenNoDiagnostics.flows.returnEffectInGenNoDiagnostics.mermaid +64 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/returnEffectInGenNoDiagnostics.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/returnEffectInGenNoDiagnostics.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/returnEffectInGenNoDiagnostics.pipings.txt +169 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/returnEffectInGenNoDiagnostics.quickfixes.txt +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/returnEffectInGen_preview.errors.txt +17 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/returnEffectInGen_preview.flows.returnEffectInGen_preview.mermaid +9 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/returnEffectInGen_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/returnEffectInGen_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/returnEffectInGen_preview.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/returnEffectInGen_preview.quickfixes.txt +26 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/runEffectInsideEffect.errors.txt +38 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/runEffectInsideEffect.flows.runEffectInsideEffect.mermaid +57 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/runEffectInsideEffect.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/runEffectInsideEffect.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/runEffectInsideEffect.pipings.txt +131 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/runEffectInsideEffect.quickfixes.txt +56 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/runEffectInsideEffect_preview.errors.txt +18 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/runEffectInsideEffect_preview.flows.runEffectInsideEffect_preview.mermaid +17 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/runEffectInsideEffect_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/runEffectInsideEffect_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/runEffectInsideEffect_preview.pipings.txt +33 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/runEffectInsideEffect_preview.quickfixes.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/schemaMutableKey_ts2322.errors.txt +36 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/schemaMutableKey_ts2322.flows.schemaMutableKey_ts2322.mermaid +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/schemaMutableKey_ts2322.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/schemaMutableKey_ts2322.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/schemaMutableKey_ts2322.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/schemaMutableKey_ts2322.quickfixes.txt +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/schemaMutableKey_ts2322_pluginDisabled.errors.txt +48 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/schemaMutableKey_ts2322_pluginDisabled.flows.schemaMutableKey_ts2322_pluginDisabled.mermaid +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/schemaMutableKey_ts2322_pluginDisabled.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/schemaMutableKey_ts2322_pluginDisabled.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/schemaMutableKey_ts2322_pluginDisabled.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/schemaMutableKey_ts2322_pluginDisabled.quickfixes.txt +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/schemaNumber.errors.txt +50 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/schemaNumber.flows.schemaNumber.mermaid +17 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/schemaNumber.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/schemaNumber.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/schemaNumber.pipings.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/schemaNumber.quickfixes.txt +187 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/schemaNumber_preview.errors.txt +22 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/schemaNumber_preview.flows.schemaNumber_preview.mermaid +6 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/schemaNumber_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/schemaNumber_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/schemaNumber_preview.pipings.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/schemaNumber_preview.quickfixes.txt +53 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/schemaStructWithTag.errors.txt +33 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/schemaStructWithTag.flows.schemaStructWithTag.mermaid +18 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/schemaStructWithTag.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/schemaStructWithTag.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/schemaStructWithTag.pipings.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/schemaStructWithTag.quickfixes.txt +34 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/schemaStructWithTag_preview.errors.txt +21 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/schemaStructWithTag_preview.flows.schemaStructWithTag_preview.mermaid +12 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/schemaStructWithTag_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/schemaStructWithTag_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/schemaStructWithTag_preview.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/schemaStructWithTag_preview.quickfixes.txt +24 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/schemaSyncInEffect.errors.txt +83 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/schemaSyncInEffect.flows.schemaSyncInEffect.mermaid +52 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/schemaSyncInEffect.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/schemaSyncInEffect.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/schemaSyncInEffect.pipings.txt +225 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/schemaSyncInEffect.quickfixes.txt +56 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/schemaSyncInEffect_thunks.errors.txt +45 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/schemaSyncInEffect_thunks.flows.schemaSyncInEffect_thunks.mermaid +60 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/schemaSyncInEffect_thunks.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/schemaSyncInEffect_thunks.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/schemaSyncInEffect_thunks.pipings.txt +169 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/schemaSyncInEffect_thunks.quickfixes.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/serviceNotAsClass.errors.txt +30 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/serviceNotAsClass.flows.serviceNotAsClass.mermaid +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/serviceNotAsClass.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/serviceNotAsClass.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/serviceNotAsClass.pipings.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/serviceNotAsClass.quickfixes.txt +78 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/serviceNotAsClass_preview.errors.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/serviceNotAsClass_preview.flows.serviceNotAsClass_preview.mermaid +2 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/serviceNotAsClass_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/serviceNotAsClass_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/serviceNotAsClass_preview.pipings.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/serviceNotAsClass_preview.quickfixes.txt +26 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/simpleEffect.errors.txt +52 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/simpleEffect.flows.simpleEffect.mermaid +190 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/simpleEffect.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/simpleEffect.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/simpleEffect.pipings.txt +193 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/simpleEffect.quickfixes.txt +53 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/simplePipe.errors.txt +22 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/simplePipe.flows.simplePipe.mermaid +51 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/simplePipe.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/simplePipe.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/simplePipe.pipings.txt +73 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/simplePipe.quickfixes.txt +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/strictBooleanExpressions.errors.txt +81 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/strictBooleanExpressions.flows.strictBooleanExpressions.mermaid +19 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/strictBooleanExpressions.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/strictBooleanExpressions.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/strictBooleanExpressions.pipings.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/strictBooleanExpressions.quickfixes.txt +113 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/strictBooleanExpressions_preview.errors.txt +18 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/strictBooleanExpressions_preview.flows.strictBooleanExpressions_preview.mermaid +2 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/strictBooleanExpressions_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/strictBooleanExpressions_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/strictBooleanExpressions_preview.pipings.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/strictBooleanExpressions_preview.quickfixes.txt +23 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/strictEffectProvide.errors.txt +70 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/strictEffectProvide.flows.strictEffectProvide.mermaid +101 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/strictEffectProvide.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/strictEffectProvide.layers.txt +59 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/strictEffectProvide.pipings.txt +177 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/strictEffectProvide.quickfixes.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/strictEffectProvide_preview.errors.txt +18 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/strictEffectProvide_preview.flows.strictEffectProvide_preview.mermaid +22 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/strictEffectProvide_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/strictEffectProvide_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/strictEffectProvide_preview.pipings.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/strictEffectProvide_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/structuralTypeToSchema.refactors.txt +264 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/structuralTypeToSchema_avoidConflict.refactors.txt +113 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/structuralTypeToSchema_externalType.refactors.txt +58 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/structuralTypeToSchema_reuse.refactors.txt +108 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/structuralTypeToSchema_symbolNames.refactors.txt +125 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/structuralTypeToSchema_typeAlias.refactors.txt +82 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/structuralTypeToSchema_union.refactors.txt +54 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/toggleLazyConst.refactors.txt +132 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/togglePipeStyle.refactors.txt +88 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/togglePipeStyle_nestedCallback.refactors.txt +108 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/toggleReturnTypeAnnotation.refactors.txt +322 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/toggleTypeAnnotation.refactors.txt +728 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/tryCatchInEffectGen.errors.txt +75 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/tryCatchInEffectGen.flows.tryCatchInEffectGen.mermaid +76 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/tryCatchInEffectGen.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/tryCatchInEffectGen.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/tryCatchInEffectGen.pipings.txt +197 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/tryCatchInEffectGen.quickfixes.txt +33 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/tryCatchInEffectGen_finally.errors.txt +18 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/tryCatchInEffectGen_finally.flows.tryCatchInEffectGen_finally.mermaid +17 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/tryCatchInEffectGen_finally.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/tryCatchInEffectGen_finally.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/tryCatchInEffectGen_finally.pipings.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/tryCatchInEffectGen_finally.quickfixes.txt +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/tryCatchInEffectGen_preview.errors.txt +19 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/tryCatchInEffectGen_preview.flows.tryCatchInEffectGen_preview.mermaid +14 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/tryCatchInEffectGen_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/tryCatchInEffectGen_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/tryCatchInEffectGen_preview.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/tryCatchInEffectGen_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/tsExpectErrorDoesNotSuppressEffectDiagnostics.errors.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/tsExpectErrorDoesNotSuppressEffectDiagnostics.flows.tsExpectErrorDoesNotSuppressEffectDiagnostics.mermaid +17 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/tsExpectErrorDoesNotSuppressEffectDiagnostics.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/tsExpectErrorDoesNotSuppressEffectDiagnostics.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/tsExpectErrorDoesNotSuppressEffectDiagnostics.pipings.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/tsExpectErrorDoesNotSuppressEffectDiagnostics.quickfixes.txt +36 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/typeToEffectSchema.refactors.txt +315 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/typeToEffectSchemaClass.refactors.txt +299 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unknownInEffectCatch.errors.txt +42 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unknownInEffectCatch.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unknownInEffectCatch.flows.unknownInEffectCatch.mermaid +54 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unknownInEffectCatch.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unknownInEffectCatch.pipings.txt +127 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unknownInEffectCatch.quickfixes.txt +33 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unknownInEffectCatch_preview.errors.txt +18 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unknownInEffectCatch_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unknownInEffectCatch_preview.flows.unknownInEffectCatch_preview.mermaid +14 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unknownInEffectCatch_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unknownInEffectCatch_preview.pipings.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unknownInEffectCatch_preview.quickfixes.txt +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryArrowBlock.errors.txt +41 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryArrowBlock.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryArrowBlock.flows.unnecessaryArrowBlock.mermaid +20 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryArrowBlock.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryArrowBlock.pipings.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryArrowBlock.quickfixes.txt +102 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryArrowBlock_preview.errors.txt +17 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryArrowBlock_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryArrowBlock_preview.flows.unnecessaryArrowBlock_preview.mermaid +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryArrowBlock_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryArrowBlock_preview.pipings.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryArrowBlock_preview.quickfixes.txt +22 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryEffectGen.errors.txt +26 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryEffectGen.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryEffectGen.flows.unnecessaryEffectGen.mermaid +31 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryEffectGen.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryEffectGen.pipings.txt +85 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryEffectGen.quickfixes.txt +31 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryEffectGen_ifBlock.errors.txt +17 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryEffectGen_ifBlock.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryEffectGen_ifBlock.flows.unnecessaryEffectGen_ifBlock.mermaid +28 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryEffectGen_ifBlock.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryEffectGen_ifBlock.pipings.txt +57 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryEffectGen_ifBlock.quickfixes.txt +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryEffectGen_noReturn.errors.txt +35 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryEffectGen_noReturn.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryEffectGen_noReturn.flows.unnecessaryEffectGen_noReturn.mermaid +28 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryEffectGen_noReturn.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryEffectGen_noReturn.pipings.txt +99 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryEffectGen_noReturn.quickfixes.txt +67 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryEffectGen_preview.errors.txt +19 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryEffectGen_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryEffectGen_preview.flows.unnecessaryEffectGen_preview.mermaid +11 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryEffectGen_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryEffectGen_preview.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryEffectGen_preview.quickfixes.txt +24 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryFailYieldableError.errors.txt +40 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryFailYieldableError.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryFailYieldableError.flows.unnecessaryFailYieldableError.mermaid +51 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryFailYieldableError.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryFailYieldableError.pipings.txt +127 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryFailYieldableError.quickfixes.txt +89 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryFailYieldableError_preview.errors.txt +19 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryFailYieldableError_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryFailYieldableError_preview.flows.unnecessaryFailYieldableError_preview.mermaid +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryFailYieldableError_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryFailYieldableError_preview.pipings.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryFailYieldableError_preview.quickfixes.txt +28 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryPipe.errors.txt +28 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryPipe.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryPipe.flows.unnecessaryPipe.mermaid +33 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryPipe.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryPipe.pipings.txt +61 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryPipe.quickfixes.txt +65 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryPipeChain.errors.txt +30 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryPipeChain.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryPipeChain.flows.unnecessaryPipeChain.mermaid +98 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryPipeChain.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryPipeChain.pipings.txt +107 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryPipeChain.quickfixes.txt +69 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryPipeChain_preview.errors.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryPipeChain_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryPipeChain_preview.flows.unnecessaryPipeChain_preview.mermaid +14 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryPipeChain_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryPipeChain_preview.pipings.txt +23 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryPipeChain_preview.quickfixes.txt +24 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryPipe_disableMidObject.errors.txt +22 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryPipe_disableMidObject.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryPipe_disableMidObject.flows.unnecessaryPipe_disableMidObject.mermaid +20 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryPipe_disableMidObject.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryPipe_disableMidObject.pipings.txt +43 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryPipe_disableMidObject.quickfixes.txt +53 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryPipe_namespace.errors.txt +22 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryPipe_namespace.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryPipe_namespace.flows.unnecessaryPipe_namespace.mermaid +5 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryPipe_namespace.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryPipe_namespace.pipings.txt +25 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryPipe_namespace.quickfixes.txt +28 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryPipe_preview.errors.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryPipe_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryPipe_preview.flows.unnecessaryPipe_preview.mermaid +2 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryPipe_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryPipe_preview.pipings.txt +11 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryPipe_preview.quickfixes.txt +24 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryTypeofType.errors.txt +57 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryTypeofType.flows.schemas.mermaid +23 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryTypeofType.flows.test.mermaid +13 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryTypeofType.flows.txt +2 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryTypeofType.layers.txt +2 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryTypeofType.pipings.txt +58 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryTypeofType.quickfixes.txt +108 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryTypeofType_preview.errors.txt +20 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryTypeofType_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryTypeofType_preview.flows.unnecessaryTypeofType_preview.mermaid +9 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryTypeofType_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryTypeofType_preview.pipings.txt +15 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unnecessaryTypeofType_preview.quickfixes.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unsafeEffectTypeAssertion.errors.txt +62 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unsafeEffectTypeAssertion.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unsafeEffectTypeAssertion.flows.unsafeEffectTypeAssertion.mermaid +12 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unsafeEffectTypeAssertion.layers.txt +88 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unsafeEffectTypeAssertion.pipings.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unsafeEffectTypeAssertion.quickfixes.txt +283 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unsafeEffectTypeAssertion_preview.errors.txt +19 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unsafeEffectTypeAssertion_preview.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unsafeEffectTypeAssertion_preview.flows.unsafeEffectTypeAssertion_preview.mermaid +2 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unsafeEffectTypeAssertion_preview.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unsafeEffectTypeAssertion_preview.pipings.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unsafeEffectTypeAssertion_preview.quickfixes.txt +26 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unusedDirective.errors.txt +21 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unusedDirective.flows.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unusedDirective.flows.unusedDirective.mermaid +8 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unusedDirective.layers.txt +1 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unusedDirective.pipings.txt +29 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/unusedDirective.quickfixes.txt +24 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/wrapWithEffectGen.refactors.txt +408 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/wrapWithEffectGen_nestedCallback.refactors.txt +10 -0
- package/repos/tsgo/testdata/baselines/reference/effect-v4/wrapWithPipe.refactors.txt +28 -0
- package/repos/tsgo/testdata/baselines/reference/inlayHints/effectInlayHintsDisabledPassthrough.baseline +105 -0
- package/repos/tsgo/testdata/baselines/reference/inlayHints/effectInlayHintsFnSuppression.baseline +18 -0
- package/repos/tsgo/testdata/baselines/reference/inlayHints/effectInlayHintsFnUntracedSuppression.baseline +18 -0
- package/repos/tsgo/testdata/baselines/reference/inlayHints/effectInlayHintsGenSuppression.baseline +18 -0
- package/repos/tsgo/testdata/baselines/reference/inlayHints/effectInlayHintsNonEffectNotSuppressed.baseline +18 -0
- package/repos/tsgo/testdata/baselines/reference/metadata.json +2020 -0
- package/repos/tsgo/testdata/baselines/reference/schema.json +2812 -0
- package/repos/tsgo/testdata/tests/cli-test/package.json +7 -0
- package/repos/tsgo/testdata/tests/cli-test/pnpm-lock.yaml +87 -0
- package/repos/tsgo/testdata/tests/effect-v3/anyUnknownInErrorContext.ts +40 -0
- package/repos/tsgo/testdata/tests/effect-v3/asyncFunction.ts +33 -0
- package/repos/tsgo/testdata/tests/effect-v3/asyncFunction_preview.ts +6 -0
- package/repos/tsgo/testdata/tests/effect-v3/catchAllToMapError.ts +66 -0
- package/repos/tsgo/testdata/tests/effect-v3/catchAllToMapError_effectFn.ts +26 -0
- package/repos/tsgo/testdata/tests/effect-v3/catchAllToMapError_effectFnRegular.ts +25 -0
- package/repos/tsgo/testdata/tests/effect-v3/catchToOrElseSucceed.ts +46 -0
- package/repos/tsgo/testdata/tests/effect-v3/catchToOrElseSucceed_preview.ts +6 -0
- package/repos/tsgo/testdata/tests/effect-v3/catchUnfailableEffect.ts +44 -0
- package/repos/tsgo/testdata/tests/effect-v3/catchUnfailableEffect_effectFn.ts +20 -0
- package/repos/tsgo/testdata/tests/effect-v3/catchUnfailableEffect_effectFnRegular.ts +19 -0
- package/repos/tsgo/testdata/tests/effect-v3/catchUnfailableEffect_variants.ts +32 -0
- package/repos/tsgo/testdata/tests/effect-v3/classSelfMismatch.ts +18 -0
- package/repos/tsgo/testdata/tests/effect-v3/classSelfMismatch_contextTag.ts +12 -0
- package/repos/tsgo/testdata/tests/effect-v3/classSelfMismatch_effectTag.ts +12 -0
- package/repos/tsgo/testdata/tests/effect-v3/classSelfMismatch_preview.ts +10 -0
- package/repos/tsgo/testdata/tests/effect-v3/classSelfMismatch_schema.ts +55 -0
- package/repos/tsgo/testdata/tests/effect-v3/classSelfMismatch_schemaFalsePositive.ts +17 -0
- package/repos/tsgo/testdata/tests/effect-v3/classSelfMismatch_unionGiven.ts +10 -0
- package/repos/tsgo/testdata/tests/effect-v3/deterministicKeys.ts +29 -0
- package/repos/tsgo/testdata/tests/effect-v3/deterministicKeys_custom.ts +65 -0
- package/repos/tsgo/testdata/tests/effect-v3/deterministicKeys_defaultHashed.ts +29 -0
- package/repos/tsgo/testdata/tests/effect-v3/deterministicKeys_packageIdentifier.ts +29 -0
- package/repos/tsgo/testdata/tests/effect-v3/duplicatePackage_preview.ts +8 -0
- package/repos/tsgo/testdata/tests/effect-v3/effectDoNotation.ts +12 -0
- package/repos/tsgo/testdata/tests/effect-v3/effectDoNotation_preview.ts +12 -0
- package/repos/tsgo/testdata/tests/effect-v3/effectFnIife.ts +53 -0
- package/repos/tsgo/testdata/tests/effect-v3/effectFnOpportunity_alreadyEffectFn.ts +27 -0
- package/repos/tsgo/testdata/tests/effect-v3/effectFnOpportunity_basic.ts +48 -0
- package/repos/tsgo/testdata/tests/effect-v3/effectFnOpportunity_genWithThis.ts +38 -0
- package/repos/tsgo/testdata/tests/effect-v3/effectFnOpportunity_inferred.ts +36 -0
- package/repos/tsgo/testdata/tests/effect-v3/effectFnOpportunity_inferredLayer.ts +44 -0
- package/repos/tsgo/testdata/tests/effect-v3/effectFnOpportunity_invalid.ts +38 -0
- package/repos/tsgo/testdata/tests/effect-v3/effectFnOpportunity_multipleReturns.ts +43 -0
- package/repos/tsgo/testdata/tests/effect-v3/effectFnOpportunity_noPipeWithSpan.ts +39 -0
- package/repos/tsgo/testdata/tests/effect-v3/effectFnOpportunity_overloadsNever.ts +38 -0
- package/repos/tsgo/testdata/tests/effect-v3/effectFnOpportunity_overloadsOk.ts +65 -0
- package/repos/tsgo/testdata/tests/effect-v3/effectFnOpportunity_params.ts +39 -0
- package/repos/tsgo/testdata/tests/effect-v3/effectFnOpportunity_paramsInPipe.ts +48 -0
- package/repos/tsgo/testdata/tests/effect-v3/effectFnOpportunity_pipeWithSpan.ts +40 -0
- package/repos/tsgo/testdata/tests/effect-v3/effectFnOpportunity_plainFew.ts +35 -0
- package/repos/tsgo/testdata/tests/effect-v3/effectFnOpportunity_plainMany.ts +54 -0
- package/repos/tsgo/testdata/tests/effect-v3/effectFnOpportunity_returnType.ts +40 -0
- package/repos/tsgo/testdata/tests/effect-v3/effectFnOpportunity_typeParams.ts +71 -0
- package/repos/tsgo/testdata/tests/effect-v3/effectGenUsesAdapter.ts +13 -0
- package/repos/tsgo/testdata/tests/effect-v3/effectGenUsesAdapter_preview.ts +7 -0
- package/repos/tsgo/testdata/tests/effect-v3/effectInFailure.ts +22 -0
- package/repos/tsgo/testdata/tests/effect-v3/effectMapFlatten.ts +38 -0
- package/repos/tsgo/testdata/tests/effect-v3/effectMapFlatten_preview.ts +9 -0
- package/repos/tsgo/testdata/tests/effect-v3/effectMapVoid.ts +54 -0
- package/repos/tsgo/testdata/tests/effect-v3/effectSucceedWithVoid.ts +32 -0
- package/repos/tsgo/testdata/tests/effect-v3/extendsNativeError.ts +17 -0
- package/repos/tsgo/testdata/tests/effect-v3/floatingEffect.ts +28 -0
- package/repos/tsgo/testdata/tests/effect-v3/floatingEffect_stream.ts +7 -0
- package/repos/tsgo/testdata/tests/effect-v3/genericEffectServices.ts +10 -0
- package/repos/tsgo/testdata/tests/effect-v3/genericEffectServices_preview.ts +7 -0
- package/repos/tsgo/testdata/tests/effect-v3/globalConsole.ts +36 -0
- package/repos/tsgo/testdata/tests/effect-v3/globalConsoleInEffect.ts +48 -0
- package/repos/tsgo/testdata/tests/effect-v3/globalConsoleInEffect_preview.ts +7 -0
- package/repos/tsgo/testdata/tests/effect-v3/globalConsoleInEffect_thunks.ts +21 -0
- package/repos/tsgo/testdata/tests/effect-v3/globalConsole_preview.ts +5 -0
- package/repos/tsgo/testdata/tests/effect-v3/globalDate.ts +32 -0
- package/repos/tsgo/testdata/tests/effect-v3/globalDateInEffect.ts +41 -0
- package/repos/tsgo/testdata/tests/effect-v3/globalDateInEffect_preview.ts +8 -0
- package/repos/tsgo/testdata/tests/effect-v3/globalDateInEffect_thunks.ts +21 -0
- package/repos/tsgo/testdata/tests/effect-v3/globalDate_preview.ts +5 -0
- package/repos/tsgo/testdata/tests/effect-v3/globalErrorInEffectCatch.ts +27 -0
- package/repos/tsgo/testdata/tests/effect-v3/globalErrorInEffectFailure.ts +49 -0
- package/repos/tsgo/testdata/tests/effect-v3/globalFetch.ts +23 -0
- package/repos/tsgo/testdata/tests/effect-v3/globalFetchInEffect.ts +25 -0
- package/repos/tsgo/testdata/tests/effect-v3/globalFetchInEffect_preview.ts +7 -0
- package/repos/tsgo/testdata/tests/effect-v3/globalFetchInEffect_thunks.ts +21 -0
- package/repos/tsgo/testdata/tests/effect-v3/globalFetch_preview.ts +5 -0
- package/repos/tsgo/testdata/tests/effect-v3/globalRandom.ts +30 -0
- package/repos/tsgo/testdata/tests/effect-v3/globalRandomInEffect.ts +27 -0
- package/repos/tsgo/testdata/tests/effect-v3/globalRandomInEffect_preview.ts +8 -0
- package/repos/tsgo/testdata/tests/effect-v3/globalRandomInEffect_thunks.ts +21 -0
- package/repos/tsgo/testdata/tests/effect-v3/globalRandom_preview.ts +5 -0
- package/repos/tsgo/testdata/tests/effect-v3/globalTimers.ts +30 -0
- package/repos/tsgo/testdata/tests/effect-v3/globalTimersInEffect.ts +33 -0
- package/repos/tsgo/testdata/tests/effect-v3/globalTimersInEffect_preview.ts +8 -0
- package/repos/tsgo/testdata/tests/effect-v3/globalTimersInEffect_thunks.ts +20 -0
- package/repos/tsgo/testdata/tests/effect-v3/globalTimers_preview.ts +4 -0
- package/repos/tsgo/testdata/tests/effect-v3/instanceOfSchema.ts +35 -0
- package/repos/tsgo/testdata/tests/effect-v3/layerMergeAllWithDependencies.ts +40 -0
- package/repos/tsgo/testdata/tests/effect-v3/lazyPromiseInEffectSync.ts +21 -0
- package/repos/tsgo/testdata/tests/effect-v3/lazyPromiseInEffectSync_preview.ts +6 -0
- package/repos/tsgo/testdata/tests/effect-v3/leakingRequirements.ts +23 -0
- package/repos/tsgo/testdata/tests/effect-v3/leakingRequirements_allowJsdoc.ts +59 -0
- package/repos/tsgo/testdata/tests/effect-v3/leakingRequirements_genericTag.ts +14 -0
- package/repos/tsgo/testdata/tests/effect-v3/leakingRequirements_heuristic.ts +13 -0
- package/repos/tsgo/testdata/tests/effect-v3/leakingRequirements_leakableJsDoc.ts +17 -0
- package/repos/tsgo/testdata/tests/effect-v3/leakingRequirements_noScope.ts +15 -0
- package/repos/tsgo/testdata/tests/effect-v3/missedPipeableOpportunity.ts +49 -0
- package/repos/tsgo/testdata/tests/effect-v3/missedPipeableOpportunity_error.ts +34 -0
- package/repos/tsgo/testdata/tests/effect-v3/missedPipeableOpportunity_safer.ts +36 -0
- package/repos/tsgo/testdata/tests/effect-v3/missingEffectContext_arrowReturnType.ts +20 -0
- package/repos/tsgo/testdata/tests/effect-v3/missingEffectContext_callExpression.ts +30 -0
- package/repos/tsgo/testdata/tests/effect-v3/missingEffectContext_conciseBody.ts +11 -0
- package/repos/tsgo/testdata/tests/effect-v3/missingEffectContext_lazy.ts +21 -0
- package/repos/tsgo/testdata/tests/effect-v3/missingEffectContext_pipe.ts +10 -0
- package/repos/tsgo/testdata/tests/effect-v3/missingEffectContext_plainAssignment.ts +39 -0
- package/repos/tsgo/testdata/tests/effect-v3/missingEffectContext_returnSignature.ts +28 -0
- package/repos/tsgo/testdata/tests/effect-v3/missingEffectContext_skipArrowDefaults.ts +8 -0
- package/repos/tsgo/testdata/tests/effect-v3/missingEffectError_callExpression.ts +31 -0
- package/repos/tsgo/testdata/tests/effect-v3/missingEffectError_plainAssignment.ts +39 -0
- package/repos/tsgo/testdata/tests/effect-v3/missingEffectError_returnSignature.ts +28 -0
- package/repos/tsgo/testdata/tests/effect-v3/missingEffectError_tagged.ts +23 -0
- package/repos/tsgo/testdata/tests/effect-v3/missingEffectServiceDependency.ts +82 -0
- package/repos/tsgo/testdata/tests/effect-v3/missingEffectServiceDependency_preview.ts +12 -0
- package/repos/tsgo/testdata/tests/effect-v3/missingLayerContext.ts +31 -0
- package/repos/tsgo/testdata/tests/effect-v3/missingReturnYieldStar.ts +27 -0
- package/repos/tsgo/testdata/tests/effect-v3/missingReturnYieldStar_yieldable.ts +11 -0
- package/repos/tsgo/testdata/tests/effect-v3/missingStarInYieldEffectGen.ts +44 -0
- package/repos/tsgo/testdata/tests/effect-v3/multipleEffectProvide.ts +34 -0
- package/repos/tsgo/testdata/tests/effect-v3/multipleEffectProvide_effectFn.ts +48 -0
- package/repos/tsgo/testdata/tests/effect-v3/multipleEffectProvide_effectFnRegular.ts +34 -0
- package/repos/tsgo/testdata/tests/effect-v3/nestedEffectGenYield.ts +36 -0
- package/repos/tsgo/testdata/tests/effect-v3/nestedEffectGenYield_preview.ts +10 -0
- package/repos/tsgo/testdata/tests/effect-v3/newPromise.ts +25 -0
- package/repos/tsgo/testdata/tests/effect-v3/newPromise_preview.ts +5 -0
- package/repos/tsgo/testdata/tests/effect-v3/nodeBuiltinImport.ts +48 -0
- package/repos/tsgo/testdata/tests/effect-v3/nonObjectEffectServiceType.ts +53 -0
- package/repos/tsgo/testdata/tests/effect-v3/nonObjectEffectServiceType_preview.ts +9 -0
- package/repos/tsgo/testdata/tests/effect-v3/outdatedApi.ts +22 -0
- package/repos/tsgo/testdata/tests/effect-v3/overriddenSchemaConstructor.ts +40 -0
- package/repos/tsgo/testdata/tests/effect-v3/overriddenSchemaConstructor_static.ts +15 -0
- package/repos/tsgo/testdata/tests/effect-v3/overriddenSchemaConstructor_valid.ts +10 -0
- package/repos/tsgo/testdata/tests/effect-v3/package.json +11 -0
- package/repos/tsgo/testdata/tests/effect-v3/preferSchemaOverJson.ts +64 -0
- package/repos/tsgo/testdata/tests/effect-v3/processEnv.ts +20 -0
- package/repos/tsgo/testdata/tests/effect-v3/processEnvInEffect.ts +25 -0
- package/repos/tsgo/testdata/tests/effect-v3/processEnvInEffect_preview.ts +8 -0
- package/repos/tsgo/testdata/tests/effect-v3/processEnvInEffect_thunks.ts +22 -0
- package/repos/tsgo/testdata/tests/effect-v3/processEnv_preview.ts +6 -0
- package/repos/tsgo/testdata/tests/effect-v3/redundantOrDie.ts +59 -0
- package/repos/tsgo/testdata/tests/effect-v3/redundantOrDie_preview.ts +13 -0
- package/repos/tsgo/testdata/tests/effect-v3/redundantSchemaTagIdentifier.ts +35 -0
- package/repos/tsgo/testdata/tests/effect-v3/redundantSchemaTagIdentifier_preview.ts +8 -0
- package/repos/tsgo/testdata/tests/effect-v3/returnEffectInGen.ts +6 -0
- package/repos/tsgo/testdata/tests/effect-v3/returnEffectInGenNoDiagnostics.ts +32 -0
- package/repos/tsgo/testdata/tests/effect-v3/runEffectInsideEffect.ts +26 -0
- package/repos/tsgo/testdata/tests/effect-v3/runEffectInsideEffect_preview.ts +9 -0
- package/repos/tsgo/testdata/tests/effect-v3/schemaStructWithTag.ts +20 -0
- package/repos/tsgo/testdata/tests/effect-v3/schemaSyncInEffect.ts +62 -0
- package/repos/tsgo/testdata/tests/effect-v3/schemaSyncInEffect_preview.ts +12 -0
- package/repos/tsgo/testdata/tests/effect-v3/schemaSyncInEffect_thunks.ts +27 -0
- package/repos/tsgo/testdata/tests/effect-v3/schemaUnionOfLiterals.ts +7 -0
- package/repos/tsgo/testdata/tests/effect-v3/schemaUnionOfLiterals_preview.ts +6 -0
- package/repos/tsgo/testdata/tests/effect-v3/scopeInLayerEffect.ts +52 -0
- package/repos/tsgo/testdata/tests/effect-v3/scopeInLayerEffect_preview.ts +12 -0
- package/repos/tsgo/testdata/tests/effect-v3/strictBooleanExpressions.ts +42 -0
- package/repos/tsgo/testdata/tests/effect-v3/strictEffectProvide.ts +49 -0
- package/repos/tsgo/testdata/tests/effect-v3/tryCatchInEffectGen.ts +47 -0
- package/repos/tsgo/testdata/tests/effect-v3/tryCatchInEffectGen_finally.ts +12 -0
- package/repos/tsgo/testdata/tests/effect-v3/unknownInEffectCatch.ts +42 -0
- package/repos/tsgo/testdata/tests/effect-v3/unnecessaryArrowBlock.ts +20 -0
- package/repos/tsgo/testdata/tests/effect-v3/unnecessaryArrowBlock_preview.ts +6 -0
- package/repos/tsgo/testdata/tests/effect-v3/unnecessaryEffectGen.ts +15 -0
- package/repos/tsgo/testdata/tests/effect-v3/unnecessaryEffectGen_ifBlock.ts +11 -0
- package/repos/tsgo/testdata/tests/effect-v3/unnecessaryEffectGen_noReturn.ts +19 -0
- package/repos/tsgo/testdata/tests/effect-v3/unnecessaryFailYieldableError.ts +26 -0
- package/repos/tsgo/testdata/tests/effect-v3/unnecessaryPipe.ts +16 -0
- package/repos/tsgo/testdata/tests/effect-v3/unnecessaryPipeChain.ts +7 -0
- package/repos/tsgo/testdata/tests/effect-v3/unnecessaryPipe_disableMidObject.ts +10 -0
- package/repos/tsgo/testdata/tests/effect-v3/unnecessaryPipe_namespace.ts +11 -0
- package/repos/tsgo/testdata/tests/effect-v3/unsafeEffectTypeAssertion.ts +24 -0
- package/repos/tsgo/testdata/tests/effect-v3-refactors/asyncAwaitToFn.ts +7 -0
- package/repos/tsgo/testdata/tests/effect-v3-refactors/asyncAwaitToFnTryPromise.ts +10 -0
- package/repos/tsgo/testdata/tests/effect-v3-refactors/asyncAwaitToFn_fetch.ts +8 -0
- package/repos/tsgo/testdata/tests/effect-v3-refactors/asyncAwaitToFn_generics.ts +7 -0
- package/repos/tsgo/testdata/tests/effect-v3-refactors/asyncAwaitToGen.ts +7 -0
- package/repos/tsgo/testdata/tests/effect-v3-refactors/asyncAwaitToGenTryPromise.ts +11 -0
- package/repos/tsgo/testdata/tests/effect-v3-refactors/asyncAwaitToGenTryPromise_anonymous.ts +21 -0
- package/repos/tsgo/testdata/tests/effect-v3-refactors/asyncAwaitToGen_anonymous.ts +21 -0
- package/repos/tsgo/testdata/tests/effect-v3-refactors/asyncAwaitToGen_namedImport.ts +7 -0
- package/repos/tsgo/testdata/tests/effect-v3-refactors/effectGenToFn.ts +34 -0
- package/repos/tsgo/testdata/tests/effect-v3-refactors/effectGenToFn_classMethod.ts +13 -0
- package/repos/tsgo/testdata/tests/effect-v3-refactors/effectGenToFn_mixedPipes.ts +13 -0
- package/repos/tsgo/testdata/tests/effect-v3-refactors/effectGenToFn_returns.ts +18 -0
- package/repos/tsgo/testdata/tests/effect-v3-refactors/effectGenToFn_withPipes.ts +13 -0
- package/repos/tsgo/testdata/tests/effect-v3-refactors/functionToArrow.ts +25 -0
- package/repos/tsgo/testdata/tests/effect-v3-refactors/layerMagic_build.ts +45 -0
- package/repos/tsgo/testdata/tests/effect-v3-refactors/layerMagic_prepare.ts +29 -0
- package/repos/tsgo/testdata/tests/effect-v3-refactors/makeSchemaOpaque.ts +8 -0
- package/repos/tsgo/testdata/tests/effect-v3-refactors/makeSchemaOpaqueWithNs_shortImport.ts +8 -0
- package/repos/tsgo/testdata/tests/effect-v3-refactors/makeSchemaOpaque_brand.ts +5 -0
- package/repos/tsgo/testdata/tests/effect-v3-refactors/makeSchemaOpaque_shortImport.ts +8 -0
- package/repos/tsgo/testdata/tests/effect-v3-refactors/makeSchemaOpaque_shortImportAlias.ts +8 -0
- package/repos/tsgo/testdata/tests/effect-v3-refactors/makeSchemaOpaque_union.ts +8 -0
- package/repos/tsgo/testdata/tests/effect-v3-refactors/package.json +11 -0
- package/repos/tsgo/testdata/tests/effect-v3-refactors/pipeableToDatafirst.ts +27 -0
- package/repos/tsgo/testdata/tests/effect-v3-refactors/removeUnnecessaryEffectGen.ts +22 -0
- package/repos/tsgo/testdata/tests/effect-v3-refactors/structuralTypeToSchema.ts +32 -0
- package/repos/tsgo/testdata/tests/effect-v3-refactors/structuralTypeToSchema_avoidConflict.ts +17 -0
- package/repos/tsgo/testdata/tests/effect-v3-refactors/structuralTypeToSchema_externalType.ts +6 -0
- package/repos/tsgo/testdata/tests/effect-v3-refactors/structuralTypeToSchema_reuse.ts +17 -0
- package/repos/tsgo/testdata/tests/effect-v3-refactors/structuralTypeToSchema_symbolNames.ts +18 -0
- package/repos/tsgo/testdata/tests/effect-v3-refactors/structuralTypeToSchema_typeAlias.ts +9 -0
- package/repos/tsgo/testdata/tests/effect-v3-refactors/structuralTypeToSchema_union.ts +5 -0
- package/repos/tsgo/testdata/tests/effect-v3-refactors/toggleLazyConst.ts +10 -0
- package/repos/tsgo/testdata/tests/effect-v3-refactors/togglePipeStyle.ts +8 -0
- package/repos/tsgo/testdata/tests/effect-v3-refactors/toggleReturnTypeAnnotation.ts +19 -0
- package/repos/tsgo/testdata/tests/effect-v3-refactors/toggleTypeAnnotation.ts +22 -0
- package/repos/tsgo/testdata/tests/effect-v3-refactors/typeToEffectSchema.ts +42 -0
- package/repos/tsgo/testdata/tests/effect-v3-refactors/typeToEffectSchemaClass.ts +38 -0
- package/repos/tsgo/testdata/tests/effect-v3-refactors/wrapWithEffectGen.ts +19 -0
- package/repos/tsgo/testdata/tests/effect-v3-refactors/wrapWithEffectGen_noclass.ts +7 -0
- package/repos/tsgo/testdata/tests/effect-v3-refactors/writeTagClassAccessors.ts +31 -0
- package/repos/tsgo/testdata/tests/effect-v4/anyUnknownInErrorContext.ts +39 -0
- package/repos/tsgo/testdata/tests/effect-v4/anyUnknownInErrorContext_preview.ts +8 -0
- package/repos/tsgo/testdata/tests/effect-v4/asyncFunction.ts +33 -0
- package/repos/tsgo/testdata/tests/effect-v4/asyncFunction_preview.ts +6 -0
- package/repos/tsgo/testdata/tests/effect-v4/callExpPipeable.ts +8 -0
- package/repos/tsgo/testdata/tests/effect-v4/catchAllToMapError.ts +64 -0
- package/repos/tsgo/testdata/tests/effect-v4/catchAllToMapError_effectFn.ts +25 -0
- package/repos/tsgo/testdata/tests/effect-v4/catchAllToMapError_preview.ts +11 -0
- package/repos/tsgo/testdata/tests/effect-v4/catchToOrElseSucceed.ts +44 -0
- package/repos/tsgo/testdata/tests/effect-v4/catchToOrElseSucceed_preview.ts +5 -0
- package/repos/tsgo/testdata/tests/effect-v4/catchUnfailableEffect.ts +56 -0
- package/repos/tsgo/testdata/tests/effect-v4/catchUnfailableEffect_preview.ts +7 -0
- package/repos/tsgo/testdata/tests/effect-v4/classImplementsIssue.ts +18 -0
- package/repos/tsgo/testdata/tests/effect-v4/classSelfMismatch_contextTag.ts +11 -0
- package/repos/tsgo/testdata/tests/effect-v4/classSelfMismatch_schema.ts +38 -0
- package/repos/tsgo/testdata/tests/effect-v4/classSelfMismatch_service.ts +13 -0
- package/repos/tsgo/testdata/tests/effect-v4/classSelfMismatch_sqlClass.ts +12 -0
- package/repos/tsgo/testdata/tests/effect-v4/cryptoRandomUUID.ts +29 -0
- package/repos/tsgo/testdata/tests/effect-v4/cryptoRandomUUIDInEffect.ts +25 -0
- package/repos/tsgo/testdata/tests/effect-v4/cryptoRandomUUIDInEffect_preview.ts +7 -0
- package/repos/tsgo/testdata/tests/effect-v4/cryptoRandomUUIDInEffect_thunks.ts +20 -0
- package/repos/tsgo/testdata/tests/effect-v4/cryptoRandomUUID_preview.ts +4 -0
- package/repos/tsgo/testdata/tests/effect-v4/deterministicKeys.ts +27 -0
- package/repos/tsgo/testdata/tests/effect-v4/deterministicKeys_custom.ts +63 -0
- package/repos/tsgo/testdata/tests/effect-v4/deterministicKeys_defaultHashed.ts +27 -0
- package/repos/tsgo/testdata/tests/effect-v4/deterministicKeys_packageIdentifier.ts +27 -0
- package/repos/tsgo/testdata/tests/effect-v4/deterministicKeys_preview.ts +7 -0
- package/repos/tsgo/testdata/tests/effect-v4/duplicatePackage.ts +6 -0
- package/repos/tsgo/testdata/tests/effect-v4/duplicatePackage_detected.ts +35 -0
- package/repos/tsgo/testdata/tests/effect-v4/duplicatePackage_suppressed.ts +37 -0
- package/repos/tsgo/testdata/tests/effect-v4/effectDoNotation.ts +12 -0
- package/repos/tsgo/testdata/tests/effect-v4/effectDoNotation_preview.ts +11 -0
- package/repos/tsgo/testdata/tests/effect-v4/effectFn.ts +45 -0
- package/repos/tsgo/testdata/tests/effect-v4/effectFnIife.ts +52 -0
- package/repos/tsgo/testdata/tests/effect-v4/effectFnIife_preview.ts +7 -0
- package/repos/tsgo/testdata/tests/effect-v4/effectFnImplicitAny.ts +92 -0
- package/repos/tsgo/testdata/tests/effect-v4/effectFnImplicitAnyNonGen.ts +72 -0
- package/repos/tsgo/testdata/tests/effect-v4/effectFnImplicitAny_noDiags.ts +22 -0
- package/repos/tsgo/testdata/tests/effect-v4/effectFnImplicitAny_preview.ts +6 -0
- package/repos/tsgo/testdata/tests/effect-v4/effectFnOpportunity_alreadyEffectFn.ts +26 -0
- package/repos/tsgo/testdata/tests/effect-v4/effectFnOpportunity_basic.ts +47 -0
- package/repos/tsgo/testdata/tests/effect-v4/effectFnOpportunity_defaultConfig.ts +36 -0
- package/repos/tsgo/testdata/tests/effect-v4/effectFnOpportunity_genWithThis.ts +37 -0
- package/repos/tsgo/testdata/tests/effect-v4/effectFnOpportunity_inferred.ts +35 -0
- package/repos/tsgo/testdata/tests/effect-v4/effectFnOpportunity_inferredLayer.ts +40 -0
- package/repos/tsgo/testdata/tests/effect-v4/effectFnOpportunity_inferredLayerThis.ts +31 -0
- package/repos/tsgo/testdata/tests/effect-v4/effectFnOpportunity_inferredOf.ts +26 -0
- package/repos/tsgo/testdata/tests/effect-v4/effectFnOpportunity_inferredServiceMake.ts +25 -0
- package/repos/tsgo/testdata/tests/effect-v4/effectFnOpportunity_invalid.ts +37 -0
- package/repos/tsgo/testdata/tests/effect-v4/effectFnOpportunity_multipleReturns.ts +42 -0
- package/repos/tsgo/testdata/tests/effect-v4/effectFnOpportunity_noPipeWithSpan.ts +38 -0
- package/repos/tsgo/testdata/tests/effect-v4/effectFnOpportunity_overloadsNever.ts +37 -0
- package/repos/tsgo/testdata/tests/effect-v4/effectFnOpportunity_overloadsOk.ts +64 -0
- package/repos/tsgo/testdata/tests/effect-v4/effectFnOpportunity_params.ts +38 -0
- package/repos/tsgo/testdata/tests/effect-v4/effectFnOpportunity_paramsInPipe.ts +47 -0
- package/repos/tsgo/testdata/tests/effect-v4/effectFnOpportunity_pipeWithSpan.ts +39 -0
- package/repos/tsgo/testdata/tests/effect-v4/effectFnOpportunity_plainFew.ts +34 -0
- package/repos/tsgo/testdata/tests/effect-v4/effectFnOpportunity_plainMany.ts +53 -0
- package/repos/tsgo/testdata/tests/effect-v4/effectFnOpportunity_preview.ts +8 -0
- package/repos/tsgo/testdata/tests/effect-v4/effectFnOpportunity_returnType.ts +39 -0
- package/repos/tsgo/testdata/tests/effect-v4/effectFnOpportunity_typeParams.ts +70 -0
- package/repos/tsgo/testdata/tests/effect-v4/effectFnRegular.ts +19 -0
- package/repos/tsgo/testdata/tests/effect-v4/effectFnUntracedEagerImplicitAny.ts +82 -0
- package/repos/tsgo/testdata/tests/effect-v4/effectFnUntracedImplicitAny.ts +82 -0
- package/repos/tsgo/testdata/tests/effect-v4/effectInFailure.ts +22 -0
- package/repos/tsgo/testdata/tests/effect-v4/effectInFailure_preview.ts +8 -0
- package/repos/tsgo/testdata/tests/effect-v4/effectInVoidSuccess.ts +15 -0
- package/repos/tsgo/testdata/tests/effect-v4/effectInVoidSuccess_preview.ts +7 -0
- package/repos/tsgo/testdata/tests/effect-v4/effectMapFlatten.ts +38 -0
- package/repos/tsgo/testdata/tests/effect-v4/effectMapFlatten_preview.ts +8 -0
- package/repos/tsgo/testdata/tests/effect-v4/effectMapVoid.ts +51 -0
- package/repos/tsgo/testdata/tests/effect-v4/effectMapVoid_preview.ts +7 -0
- package/repos/tsgo/testdata/tests/effect-v4/effectSucceedWithVoid.ts +31 -0
- package/repos/tsgo/testdata/tests/effect-v4/effectSucceedWithVoid_preview.ts +5 -0
- package/repos/tsgo/testdata/tests/effect-v4/effect_fn_opportunity_panic.ts +141 -0
- package/repos/tsgo/testdata/tests/effect-v4/emptyArgs.ts +8 -0
- package/repos/tsgo/testdata/tests/effect-v4/extendsNativeError.ts +16 -0
- package/repos/tsgo/testdata/tests/effect-v4/extendsNativeError_preview.ts +4 -0
- package/repos/tsgo/testdata/tests/effect-v4/floatingEffect.ts +26 -0
- package/repos/tsgo/testdata/tests/effect-v4/floatingEffectGen.ts +5 -0
- package/repos/tsgo/testdata/tests/effect-v4/floatingEffectSuppressed.ts +28 -0
- package/repos/tsgo/testdata/tests/effect-v4/floatingEffect_disabledWildcard.ts +13 -0
- package/repos/tsgo/testdata/tests/effect-v4/floatingEffect_preview.ts +5 -0
- package/repos/tsgo/testdata/tests/effect-v4/floatingEffect_stream.ts +5 -0
- package/repos/tsgo/testdata/tests/effect-v4/floatingEffect_subtypes.ts +14 -0
- package/repos/tsgo/testdata/tests/effect-v4/functionCalls.ts +17 -0
- package/repos/tsgo/testdata/tests/effect-v4/globalConsole.ts +36 -0
- package/repos/tsgo/testdata/tests/effect-v4/globalConsoleInEffect.ts +48 -0
- package/repos/tsgo/testdata/tests/effect-v4/globalConsoleInEffect_preview.ts +7 -0
- package/repos/tsgo/testdata/tests/effect-v4/globalConsoleInEffect_thunks.ts +20 -0
- package/repos/tsgo/testdata/tests/effect-v4/globalConsole_preview.ts +4 -0
- package/repos/tsgo/testdata/tests/effect-v4/globalDate.ts +31 -0
- package/repos/tsgo/testdata/tests/effect-v4/globalDateInEffect.ts +41 -0
- package/repos/tsgo/testdata/tests/effect-v4/globalDateInEffect_preview.ts +8 -0
- package/repos/tsgo/testdata/tests/effect-v4/globalDateInEffect_thunks.ts +20 -0
- package/repos/tsgo/testdata/tests/effect-v4/globalDate_preview.ts +4 -0
- package/repos/tsgo/testdata/tests/effect-v4/globalErrorInEffectCatch.ts +16 -0
- package/repos/tsgo/testdata/tests/effect-v4/globalErrorInEffectCatch_preview.ts +8 -0
- package/repos/tsgo/testdata/tests/effect-v4/globalErrorInEffectFailure.ts +48 -0
- package/repos/tsgo/testdata/tests/effect-v4/globalErrorInEffectFailure_preview.ts +5 -0
- package/repos/tsgo/testdata/tests/effect-v4/globalFetch.ts +23 -0
- package/repos/tsgo/testdata/tests/effect-v4/globalFetchInEffect.ts +24 -0
- package/repos/tsgo/testdata/tests/effect-v4/globalFetchInEffect_preview.ts +7 -0
- package/repos/tsgo/testdata/tests/effect-v4/globalFetchInEffect_thunks.ts +20 -0
- package/repos/tsgo/testdata/tests/effect-v4/globalFetch_preview.ts +4 -0
- package/repos/tsgo/testdata/tests/effect-v4/globalRandom.ts +29 -0
- package/repos/tsgo/testdata/tests/effect-v4/globalRandomInEffect.ts +27 -0
- package/repos/tsgo/testdata/tests/effect-v4/globalRandomInEffect_preview.ts +8 -0
- package/repos/tsgo/testdata/tests/effect-v4/globalRandomInEffect_thunks.ts +20 -0
- package/repos/tsgo/testdata/tests/effect-v4/globalRandom_preview.ts +4 -0
- package/repos/tsgo/testdata/tests/effect-v4/globalTimers.ts +29 -0
- package/repos/tsgo/testdata/tests/effect-v4/globalTimersInEffect.ts +32 -0
- package/repos/tsgo/testdata/tests/effect-v4/globalTimersInEffect_preview.ts +7 -0
- package/repos/tsgo/testdata/tests/effect-v4/globalTimersInEffect_thunks.ts +20 -0
- package/repos/tsgo/testdata/tests/effect-v4/globalTimers_preview.ts +4 -0
- package/repos/tsgo/testdata/tests/effect-v4/instanceOfSchema.ts +34 -0
- package/repos/tsgo/testdata/tests/effect-v4/instanceOfSchema_preview.ts +7 -0
- package/repos/tsgo/testdata/tests/effect-v4/interfaceExtendsIssue.ts +10 -0
- package/repos/tsgo/testdata/tests/effect-v4/interfaceExtendsIssueNoPlugin.ts +16 -0
- package/repos/tsgo/testdata/tests/effect-v4/issue179_nestedEffectGenThis.ts +26 -0
- package/repos/tsgo/testdata/tests/effect-v4/issue179_remainingCases.ts +82 -0
- package/repos/tsgo/testdata/tests/effect-v4/jsxIntrinsicElements.ts +41 -0
- package/repos/tsgo/testdata/tests/effect-v4/layerGraphDocumented.ts +51 -0
- package/repos/tsgo/testdata/tests/effect-v4/layerGraphDuplicated.ts +59 -0
- package/repos/tsgo/testdata/tests/effect-v4/layerGraphEffect.ts +15 -0
- package/repos/tsgo/testdata/tests/effect-v4/layerGraphFollowSymbols.ts +59 -0
- package/repos/tsgo/testdata/tests/effect-v4/layerGraphFollowSymbolsDeep.ts +53 -0
- package/repos/tsgo/testdata/tests/effect-v4/layerGraphFollowSymbolsOff.ts +56 -0
- package/repos/tsgo/testdata/tests/effect-v4/layerGraphMultiple.ts +63 -0
- package/repos/tsgo/testdata/tests/effect-v4/layerGraphSimple.ts +40 -0
- package/repos/tsgo/testdata/tests/effect-v4/layerGraphSpecialChars.ts +23 -0
- package/repos/tsgo/testdata/tests/effect-v4/layerMergeAllWithDependencies.ts +47 -0
- package/repos/tsgo/testdata/tests/effect-v4/layerMergeAllWithDependenciesNonPropertyAccess.ts +26 -0
- package/repos/tsgo/testdata/tests/effect-v4/layerMergeAllWithDependencies_preview.ts +11 -0
- package/repos/tsgo/testdata/tests/effect-v4/layerServiceTypes.ts +53 -0
- package/repos/tsgo/testdata/tests/effect-v4/lazyEffect.ts +102 -0
- package/repos/tsgo/testdata/tests/effect-v4/lazyEffect_preview.ts +7 -0
- package/repos/tsgo/testdata/tests/effect-v4/lazyPromiseInEffectSync.ts +20 -0
- package/repos/tsgo/testdata/tests/effect-v4/lazyPromiseInEffectSync_preview.ts +5 -0
- package/repos/tsgo/testdata/tests/effect-v4/leakingRequirements.ts +22 -0
- package/repos/tsgo/testdata/tests/effect-v4/leakingRequirements_allowJsdoc.ts +46 -0
- package/repos/tsgo/testdata/tests/effect-v4/leakingRequirements_genericTag.ts +13 -0
- package/repos/tsgo/testdata/tests/effect-v4/leakingRequirements_heuristic.ts +12 -0
- package/repos/tsgo/testdata/tests/effect-v4/leakingRequirements_leakableJsDoc.ts +17 -0
- package/repos/tsgo/testdata/tests/effect-v4/leakingRequirements_noScope.ts +14 -0
- package/repos/tsgo/testdata/tests/effect-v4/leakingRequirements_preview.ts +13 -0
- package/repos/tsgo/testdata/tests/effect-v4/missedPipeableOpportunity.ts +48 -0
- package/repos/tsgo/testdata/tests/effect-v4/missedPipeableOpportunity_error.ts +34 -0
- package/repos/tsgo/testdata/tests/effect-v4/missedPipeableOpportunity_preview.ts +7 -0
- package/repos/tsgo/testdata/tests/effect-v4/missedPipeableOpportunity_safer.ts +35 -0
- package/repos/tsgo/testdata/tests/effect-v4/missingEffectContext.ts +24 -0
- package/repos/tsgo/testdata/tests/effect-v4/missingEffectContext_preview.ts +8 -0
- package/repos/tsgo/testdata/tests/effect-v4/missingEffectContext_sugg.ts +43 -0
- package/repos/tsgo/testdata/tests/effect-v4/missingEffectError.ts +19 -0
- package/repos/tsgo/testdata/tests/effect-v4/missingEffectError_preview.ts +10 -0
- package/repos/tsgo/testdata/tests/effect-v4/missingLayerContext.ts +35 -0
- package/repos/tsgo/testdata/tests/effect-v4/missingLayerContext_preview.ts +10 -0
- package/repos/tsgo/testdata/tests/effect-v4/missingReturnYieldStar.ts +35 -0
- package/repos/tsgo/testdata/tests/effect-v4/missingReturnYieldStarFn.ts +26 -0
- package/repos/tsgo/testdata/tests/effect-v4/missingReturnYieldStarFnUntraced.ts +13 -0
- package/repos/tsgo/testdata/tests/effect-v4/missingReturnYieldStar_preview.ts +8 -0
- package/repos/tsgo/testdata/tests/effect-v4/missingReturnYiesStarGenThis.ts +8 -0
- package/repos/tsgo/testdata/tests/effect-v4/missingStarInYieldEffectGen.ts +48 -0
- package/repos/tsgo/testdata/tests/effect-v4/missingStarInYieldEffectGen_preview.ts +8 -0
- package/repos/tsgo/testdata/tests/effect-v4/multipleCatchTag.ts +58 -0
- package/repos/tsgo/testdata/tests/effect-v4/multipleCatchTag_preview.ts +14 -0
- package/repos/tsgo/testdata/tests/effect-v4/multipleCatchTag_stream.ts +39 -0
- package/repos/tsgo/testdata/tests/effect-v4/multipleEffectProvide.ts +38 -0
- package/repos/tsgo/testdata/tests/effect-v4/multipleEffectProvide_effectFn.ts +53 -0
- package/repos/tsgo/testdata/tests/effect-v4/multipleEffectProvide_effectFnRegular.ts +39 -0
- package/repos/tsgo/testdata/tests/effect-v4/multipleEffectProvide_preview.ts +11 -0
- package/repos/tsgo/testdata/tests/effect-v4/multipleFlows.ts +18 -0
- package/repos/tsgo/testdata/tests/effect-v4/nestedEffectGenYield.ts +35 -0
- package/repos/tsgo/testdata/tests/effect-v4/nestedEffectGenYield_preview.ts +9 -0
- package/repos/tsgo/testdata/tests/effect-v4/nestedPipe.ts +22 -0
- package/repos/tsgo/testdata/tests/effect-v4/newPromise.ts +25 -0
- package/repos/tsgo/testdata/tests/effect-v4/newPromise_preview.ts +4 -0
- package/repos/tsgo/testdata/tests/effect-v4/newSchemaClass.ts +32 -0
- package/repos/tsgo/testdata/tests/effect-v4/newSchemaClass_preview.ts +7 -0
- package/repos/tsgo/testdata/tests/effect-v4/nodeBuiltinImport.ts +47 -0
- package/repos/tsgo/testdata/tests/effect-v4/nodeBuiltinImport_preview.ts +5 -0
- package/repos/tsgo/testdata/tests/effect-v4/outdatedApi.ts +87 -0
- package/repos/tsgo/testdata/tests/effect-v4/outdatedApi_preview.ts +8 -0
- package/repos/tsgo/testdata/tests/effect-v4/overriddenSchemaConstructor.ts +32 -0
- package/repos/tsgo/testdata/tests/effect-v4/overriddenSchemaConstructor_preview.ts +7 -0
- package/repos/tsgo/testdata/tests/effect-v4/overriddenSchemaConstructor_static.ts +14 -0
- package/repos/tsgo/testdata/tests/effect-v4/overriddenSchemaConstructor_valid.ts +9 -0
- package/repos/tsgo/testdata/tests/effect-v4/package.json +11 -0
- package/repos/tsgo/testdata/tests/effect-v4/parsingGen.ts +11 -0
- package/repos/tsgo/testdata/tests/effect-v4/pluginDisabled.ts +8 -0
- package/repos/tsgo/testdata/tests/effect-v4/preferSchemaOverJson.ts +51 -0
- package/repos/tsgo/testdata/tests/effect-v4/preferSchemaOverJson_preview.ts +8 -0
- package/repos/tsgo/testdata/tests/effect-v4/processEnv.ts +20 -0
- package/repos/tsgo/testdata/tests/effect-v4/processEnvInEffect.ts +25 -0
- package/repos/tsgo/testdata/tests/effect-v4/processEnvInEffect_preview.ts +8 -0
- package/repos/tsgo/testdata/tests/effect-v4/processEnvInEffect_thunks.ts +21 -0
- package/repos/tsgo/testdata/tests/effect-v4/processEnv_preview.ts +5 -0
- package/repos/tsgo/testdata/tests/effect-v4/redundantMapError.ts +68 -0
- package/repos/tsgo/testdata/tests/effect-v4/redundantMapError_preview.ts +20 -0
- package/repos/tsgo/testdata/tests/effect-v4/redundantOrDie.ts +58 -0
- package/repos/tsgo/testdata/tests/effect-v4/redundantOrDie_preview.ts +12 -0
- package/repos/tsgo/testdata/tests/effect-v4/returnEffectInGen.ts +5 -0
- package/repos/tsgo/testdata/tests/effect-v4/returnEffectInGenNoDiagnostics.ts +30 -0
- package/repos/tsgo/testdata/tests/effect-v4/returnEffectInGen_preview.ts +7 -0
- package/repos/tsgo/testdata/tests/effect-v4/runEffectInsideEffect.ts +25 -0
- package/repos/tsgo/testdata/tests/effect-v4/runEffectInsideEffect_preview.ts +8 -0
- package/repos/tsgo/testdata/tests/effect-v4/schemaMutableKey_ts2322.ts +30 -0
- package/repos/tsgo/testdata/tests/effect-v4/schemaMutableKey_ts2322_pluginDisabled.ts +41 -0
- package/repos/tsgo/testdata/tests/effect-v4/schemaNumber.ts +25 -0
- package/repos/tsgo/testdata/tests/effect-v4/schemaNumber_preview.ts +9 -0
- package/repos/tsgo/testdata/tests/effect-v4/schemaStructWithTag.ts +19 -0
- package/repos/tsgo/testdata/tests/effect-v4/schemaStructWithTag_preview.ts +8 -0
- package/repos/tsgo/testdata/tests/effect-v4/schemaSyncInEffect.ts +61 -0
- package/repos/tsgo/testdata/tests/effect-v4/schemaSyncInEffect_thunks.ts +26 -0
- package/repos/tsgo/testdata/tests/effect-v4/serviceNotAsClass.ts +17 -0
- package/repos/tsgo/testdata/tests/effect-v4/serviceNotAsClass_preview.ts +5 -0
- package/repos/tsgo/testdata/tests/effect-v4/simpleEffect.ts +38 -0
- package/repos/tsgo/testdata/tests/effect-v4/simplePipe.ts +15 -0
- package/repos/tsgo/testdata/tests/effect-v4/strictBooleanExpressions.ts +41 -0
- package/repos/tsgo/testdata/tests/effect-v4/strictBooleanExpressions_preview.ts +5 -0
- package/repos/tsgo/testdata/tests/effect-v4/strictEffectProvide.ts +51 -0
- package/repos/tsgo/testdata/tests/effect-v4/strictEffectProvide_preview.ts +8 -0
- package/repos/tsgo/testdata/tests/effect-v4/tryCatchInEffectGen.ts +46 -0
- package/repos/tsgo/testdata/tests/effect-v4/tryCatchInEffectGen_finally.ts +11 -0
- package/repos/tsgo/testdata/tests/effect-v4/tryCatchInEffectGen_preview.ts +8 -0
- package/repos/tsgo/testdata/tests/effect-v4/tsExpectErrorDoesNotSuppressEffectDiagnostics.ts +24 -0
- package/repos/tsgo/testdata/tests/effect-v4/unknownInEffectCatch.ts +26 -0
- package/repos/tsgo/testdata/tests/effect-v4/unknownInEffectCatch_preview.ts +8 -0
- package/repos/tsgo/testdata/tests/effect-v4/unnecessaryArrowBlock.ts +19 -0
- package/repos/tsgo/testdata/tests/effect-v4/unnecessaryArrowBlock_preview.ts +5 -0
- package/repos/tsgo/testdata/tests/effect-v4/unnecessaryEffectGen.ts +14 -0
- package/repos/tsgo/testdata/tests/effect-v4/unnecessaryEffectGen_ifBlock.ts +10 -0
- package/repos/tsgo/testdata/tests/effect-v4/unnecessaryEffectGen_noReturn.ts +18 -0
- package/repos/tsgo/testdata/tests/effect-v4/unnecessaryEffectGen_preview.ts +7 -0
- package/repos/tsgo/testdata/tests/effect-v4/unnecessaryFailYieldableError.ts +27 -0
- package/repos/tsgo/testdata/tests/effect-v4/unnecessaryFailYieldableError_preview.ts +9 -0
- package/repos/tsgo/testdata/tests/effect-v4/unnecessaryPipe.ts +15 -0
- package/repos/tsgo/testdata/tests/effect-v4/unnecessaryPipeChain.ts +17 -0
- package/repos/tsgo/testdata/tests/effect-v4/unnecessaryPipeChain_preview.ts +5 -0
- package/repos/tsgo/testdata/tests/effect-v4/unnecessaryPipe_disableMidObject.ts +9 -0
- package/repos/tsgo/testdata/tests/effect-v4/unnecessaryPipe_namespace.ts +10 -0
- package/repos/tsgo/testdata/tests/effect-v4/unnecessaryPipe_preview.ts +5 -0
- package/repos/tsgo/testdata/tests/effect-v4/unnecessaryTypeofType.ts +40 -0
- package/repos/tsgo/testdata/tests/effect-v4/unnecessaryTypeofType_preview.ts +10 -0
- package/repos/tsgo/testdata/tests/effect-v4/unsafeEffectTypeAssertion.ts +24 -0
- package/repos/tsgo/testdata/tests/effect-v4/unsafeEffectTypeAssertion_preview.ts +7 -0
- package/repos/tsgo/testdata/tests/effect-v4/unusedDirective.ts +6 -0
- package/repos/tsgo/testdata/tests/effect-v4-document-symbols/debugDocumentSymbolFlows.ts +23 -0
- package/repos/tsgo/testdata/tests/effect-v4-document-symbols/documentSymbolEffectStub.ts +70 -0
- package/repos/tsgo/testdata/tests/effect-v4-document-symbols/package.json +11 -0
- package/repos/tsgo/testdata/tests/effect-v4-refactors/asyncAwaitToFn.ts +6 -0
- package/repos/tsgo/testdata/tests/effect-v4-refactors/asyncAwaitToFnTryPromise.ts +9 -0
- package/repos/tsgo/testdata/tests/effect-v4-refactors/asyncAwaitToFn_fetch.ts +7 -0
- package/repos/tsgo/testdata/tests/effect-v4-refactors/asyncAwaitToFn_generics.ts +6 -0
- package/repos/tsgo/testdata/tests/effect-v4-refactors/asyncAwaitToGen.ts +6 -0
- package/repos/tsgo/testdata/tests/effect-v4-refactors/asyncAwaitToGenTryPromise.ts +10 -0
- package/repos/tsgo/testdata/tests/effect-v4-refactors/asyncAwaitToGenTryPromise_anonymous.ts +20 -0
- package/repos/tsgo/testdata/tests/effect-v4-refactors/asyncAwaitToGen_anonymous.ts +15 -0
- package/repos/tsgo/testdata/tests/effect-v4-refactors/asyncAwaitToGen_namedImport.ts +6 -0
- package/repos/tsgo/testdata/tests/effect-v4-refactors/effectGenToFn.ts +33 -0
- package/repos/tsgo/testdata/tests/effect-v4-refactors/effectGenToFn_classMethod.ts +12 -0
- package/repos/tsgo/testdata/tests/effect-v4-refactors/effectGenToFn_mixedPipes.ts +12 -0
- package/repos/tsgo/testdata/tests/effect-v4-refactors/effectGenToFn_withPipes.ts +12 -0
- package/repos/tsgo/testdata/tests/effect-v4-refactors/functionToArrow.ts +24 -0
- package/repos/tsgo/testdata/tests/effect-v4-refactors/layerMagic_build.ts +51 -0
- package/repos/tsgo/testdata/tests/effect-v4-refactors/layerMagic_prepare.ts +36 -0
- package/repos/tsgo/testdata/tests/effect-v4-refactors/layerMagic_prepareReuse.ts +35 -0
- package/repos/tsgo/testdata/tests/effect-v4-refactors/makeSchemaOpaque.ts +7 -0
- package/repos/tsgo/testdata/tests/effect-v4-refactors/makeSchemaOpaqueWithNs_shortImport.ts +7 -0
- package/repos/tsgo/testdata/tests/effect-v4-refactors/makeSchemaOpaque_brand.ts +4 -0
- package/repos/tsgo/testdata/tests/effect-v4-refactors/makeSchemaOpaque_shortImport.ts +7 -0
- package/repos/tsgo/testdata/tests/effect-v4-refactors/makeSchemaOpaque_shortImportAlias.ts +7 -0
- package/repos/tsgo/testdata/tests/effect-v4-refactors/makeSchemaOpaque_union.ts +7 -0
- package/repos/tsgo/testdata/tests/effect-v4-refactors/package.json +11 -0
- package/repos/tsgo/testdata/tests/effect-v4-refactors/pipeableToDatafirst.ts +26 -0
- package/repos/tsgo/testdata/tests/effect-v4-refactors/removeUnnecessaryEffectGen.ts +21 -0
- package/repos/tsgo/testdata/tests/effect-v4-refactors/structuralTypeToSchema.ts +31 -0
- package/repos/tsgo/testdata/tests/effect-v4-refactors/structuralTypeToSchema_avoidConflict.ts +16 -0
- package/repos/tsgo/testdata/tests/effect-v4-refactors/structuralTypeToSchema_externalType.ts +5 -0
- package/repos/tsgo/testdata/tests/effect-v4-refactors/structuralTypeToSchema_reuse.ts +16 -0
- package/repos/tsgo/testdata/tests/effect-v4-refactors/structuralTypeToSchema_symbolNames.ts +17 -0
- package/repos/tsgo/testdata/tests/effect-v4-refactors/structuralTypeToSchema_typeAlias.ts +8 -0
- package/repos/tsgo/testdata/tests/effect-v4-refactors/structuralTypeToSchema_union.ts +4 -0
- package/repos/tsgo/testdata/tests/effect-v4-refactors/toggleLazyConst.ts +9 -0
- package/repos/tsgo/testdata/tests/effect-v4-refactors/togglePipeStyle.ts +7 -0
- package/repos/tsgo/testdata/tests/effect-v4-refactors/togglePipeStyle_nestedCallback.ts +19 -0
- package/repos/tsgo/testdata/tests/effect-v4-refactors/toggleReturnTypeAnnotation.ts +18 -0
- package/repos/tsgo/testdata/tests/effect-v4-refactors/toggleTypeAnnotation.ts +21 -0
- package/repos/tsgo/testdata/tests/effect-v4-refactors/typeToEffectSchema.ts +41 -0
- package/repos/tsgo/testdata/tests/effect-v4-refactors/typeToEffectSchemaClass.ts +37 -0
- package/repos/tsgo/testdata/tests/effect-v4-refactors/wrapWithEffectGen.ts +18 -0
- package/repos/tsgo/testdata/tests/effect-v4-refactors/wrapWithEffectGen_nestedCallback.ts +12 -0
- package/repos/tsgo/testdata/tests/effect-v4-refactors/wrapWithPipe.ts +4 -0
- package/repos/tsgo.subtree.json +40 -0
- package/dist/src/harness/CraftSkills.d.ts +0 -14
- package/dist/src/harness/CraftSkills.js +0 -164
- package/dist/src/harness/CraftSkills.js.map +0 -1
- package/dist/src/harness/GuardrailRules.d.ts +0 -6
- package/dist/src/harness/GuardrailRules.js +0 -303
- package/dist/src/harness/GuardrailRules.js.map +0 -1
- package/dist/src/harness/Init.d.ts +0 -9
- package/dist/src/harness/Init.js +0 -234
- package/dist/src/harness/Init.js.map +0 -1
- package/dist/src/harness/PnpmWorkspace.d.ts +0 -2
- package/dist/src/harness/PnpmWorkspace.js +0 -23
- package/dist/src/harness/PnpmWorkspace.js.map +0 -1
- package/dist/src/harness/Publish.d.ts +0 -53
- package/dist/src/harness/Publish.js +0 -282
- package/dist/src/harness/Publish.js.map +0 -1
- package/dist/src/harness/SelfVerify.d.ts +0 -4
- package/dist/src/harness/SelfVerify.js +0 -56
- package/dist/src/harness/SelfVerify.js.map +0 -1
- package/dist/src/harness/Status.d.ts +0 -12
- package/dist/src/harness/Status.js +0 -88
- package/dist/src/harness/Status.js.map +0 -1
- package/dist/src/harness/TargetVerify.d.ts +0 -8
- package/dist/src/harness/TargetVerify.js +0 -432
- package/dist/src/harness/TargetVerify.js.map +0 -1
- package/dist/src/harness/TestContract.d.ts +0 -6
- package/dist/src/harness/TestContract.js +0 -45
- package/dist/src/harness/TestContract.js.map +0 -1
- package/dist/src/platform/ManagedFiles.d.ts +0 -8
- package/dist/src/platform/ManagedFiles.js +0 -59
- package/dist/src/platform/ManagedFiles.js.map +0 -1
- package/guide/default-capabilities.md +0 -38
- package/guide/index.md +0 -49
- package/guide/setup.md +0 -64
- package/harness/default-capabilities.md +0 -32
- package/harness/exposure.md +0 -46
- package/harness/feedback/index.md +0 -60
- package/harness/official-inventory.md +0 -85
- package/harness/runtime/codex/AGENTS.fragment.md +0 -28
- package/harness/runtime/codex/agents/effect-worker.md +0 -26
- package/harness/runtime/codex/skills/effect-code/SKILL.md +0 -72
- package/harness/runtime/codex/skills/effect-code/agents/openai.yaml +0 -4
- package/harness/runtime/codex/skills/effect-feedback/SKILL.md +0 -66
- package/harness/runtime/codex/skills/effect-feedback/agents/openai.yaml +0 -4
- package/harness/target-agent-contract.md +0 -205
- package/repos/craft-skills.manifest.json +0 -34
- package/repos/effect/packages/effect/src/internal/concurrency.ts +0 -52
- package/repos/effect/scripts/check-cookbook-schedule.ts +0 -390
|
@@ -122,23 +122,23 @@ export interface MakeOptions {
|
|
|
122
122
|
* Whether to disable validation for the schema.
|
|
123
123
|
*/
|
|
124
124
|
readonly disableChecks?: boolean | undefined
|
|
125
|
+
|
|
126
|
+
/** @internal */
|
|
127
|
+
readonly "~payload"?: {
|
|
128
|
+
readonly token: unknown
|
|
129
|
+
readonly value: unknown
|
|
130
|
+
}
|
|
125
131
|
}
|
|
126
132
|
|
|
127
133
|
/**
|
|
128
134
|
* The fully-parameterized base interface for all schemas. Exposes all 14 type
|
|
129
|
-
* parameters controlling type inference, mutability, optionality, services,
|
|
130
|
-
*
|
|
135
|
+
* parameters controlling type inference, mutability, optionality, services, and
|
|
136
|
+
* transformation behavior.
|
|
131
137
|
*
|
|
132
138
|
* **When to use**
|
|
133
139
|
*
|
|
134
|
-
* Use when you are writing advanced generic schema utilities or performing
|
|
135
|
-
* introspection.
|
|
136
|
-
* - In user code, prefer {@link Schema}, {@link Codec}, {@link Decoder}, or
|
|
137
|
-
* {@link Encoder} instead.
|
|
138
|
-
*
|
|
139
|
-
* @see {@link Top} — the existential "any schema" type (erased type params)
|
|
140
|
-
* @see {@link Schema} — tracks only the decoded Type
|
|
141
|
-
* @see {@link Codec} — tracks Type + Encoded
|
|
140
|
+
* Use when you are writing advanced generic schema utilities or performing
|
|
141
|
+
* schema introspection.
|
|
142
142
|
*
|
|
143
143
|
* @category models
|
|
144
144
|
* @since 4.0.0
|
|
@@ -152,7 +152,7 @@ export interface Bottom<
|
|
|
152
152
|
out Rebuild extends Top,
|
|
153
153
|
out TypeMakeIn = T,
|
|
154
154
|
out Iso = T,
|
|
155
|
-
in out TypeParameters extends ReadonlyArray<
|
|
155
|
+
in out TypeParameters extends ReadonlyArray<Constraint> = readonly [],
|
|
156
156
|
out TypeMake = TypeMakeIn,
|
|
157
157
|
out TypeMutability extends Mutability = "readonly",
|
|
158
158
|
out TypeOptionality extends Optionality = "required",
|
|
@@ -248,13 +248,67 @@ export interface Bottom<
|
|
|
248
248
|
makeEffect(input: this["~type.make.in"], options?: MakeOptions): Effect.Effect<this["Type"], SchemaError>
|
|
249
249
|
}
|
|
250
250
|
|
|
251
|
+
/**
|
|
252
|
+
* Lazy `Bottom` variant for schema implementations that compute their public
|
|
253
|
+
* views on demand.
|
|
254
|
+
*
|
|
255
|
+
* **When to use**
|
|
256
|
+
*
|
|
257
|
+
* Use as an implementation base for schema interfaces that must expose
|
|
258
|
+
* `Bottom` behavior without forcing TypeScript to eagerly evaluate expensive
|
|
259
|
+
* `Type`, `Encoded`, or service views.
|
|
260
|
+
*
|
|
261
|
+
* **Details**
|
|
262
|
+
*
|
|
263
|
+
* The laziness is purely type-level; runtime behavior is unchanged.
|
|
264
|
+
* `BottomLazy` keeps the structural operations inherited from `Bottom`, but
|
|
265
|
+
* erases the expensive schema views to `unknown`. Concrete schema interfaces can
|
|
266
|
+
* then redeclare the precise views they expose. This keeps wide schemas such as
|
|
267
|
+
* `Struct` and `Union` cheaper when generic code reads a single view, while
|
|
268
|
+
* preserving their exact public types.
|
|
269
|
+
*
|
|
270
|
+
* @see {@link Bottom} for the fully parameterized schema interface when every
|
|
271
|
+
* view must be supplied directly.
|
|
272
|
+
*
|
|
273
|
+
* @category utility types
|
|
274
|
+
* @since 4.0.0
|
|
275
|
+
*/
|
|
276
|
+
export interface BottomLazy<
|
|
277
|
+
out Ast extends SchemaAST.AST,
|
|
278
|
+
out Rebuild extends Top,
|
|
279
|
+
in out TypeParameters extends ReadonlyArray<Constraint> = readonly [],
|
|
280
|
+
out TypeMutability extends Mutability = "readonly",
|
|
281
|
+
out TypeOptionality extends Optionality = "required",
|
|
282
|
+
out TypeConstructorDefault extends ConstructorDefault = "no-default",
|
|
283
|
+
out EncodedMutability extends Mutability = "readonly",
|
|
284
|
+
out EncodedOptionality extends Optionality = "required"
|
|
285
|
+
> extends
|
|
286
|
+
Bottom<
|
|
287
|
+
unknown,
|
|
288
|
+
unknown,
|
|
289
|
+
unknown,
|
|
290
|
+
unknown,
|
|
291
|
+
Ast,
|
|
292
|
+
Rebuild,
|
|
293
|
+
unknown,
|
|
294
|
+
unknown,
|
|
295
|
+
TypeParameters,
|
|
296
|
+
unknown,
|
|
297
|
+
TypeMutability,
|
|
298
|
+
TypeOptionality,
|
|
299
|
+
TypeConstructorDefault,
|
|
300
|
+
EncodedMutability,
|
|
301
|
+
EncodedOptionality
|
|
302
|
+
>
|
|
303
|
+
{}
|
|
304
|
+
|
|
251
305
|
/**
|
|
252
306
|
* Type-level representation returned by {@link declareConstructor}.
|
|
253
307
|
*
|
|
254
308
|
* @category constructors
|
|
255
309
|
* @since 4.0.0
|
|
256
310
|
*/
|
|
257
|
-
export interface declareConstructor<T, E, TypeParameters extends ReadonlyArray<
|
|
311
|
+
export interface declareConstructor<T, E, TypeParameters extends ReadonlyArray<Constraint>, Iso = T> extends
|
|
258
312
|
Bottom<
|
|
259
313
|
T,
|
|
260
314
|
E,
|
|
@@ -301,7 +355,7 @@ export interface declareConstructor<T, E, TypeParameters extends ReadonlyArray<T
|
|
|
301
355
|
* const isBox = (u: unknown): u is Box<unknown> =>
|
|
302
356
|
* typeof u === "object" && u !== null && "value" in u
|
|
303
357
|
*
|
|
304
|
-
* const Box = <A extends Schema.
|
|
358
|
+
* const Box = <A extends Schema.Constraint>(item: A) =>
|
|
305
359
|
* Schema.declareConstructor<Box<A["Type"]>, Box<A["Encoded"]>>()(
|
|
306
360
|
* [item],
|
|
307
361
|
* ([itemCodec]) =>
|
|
@@ -323,7 +377,7 @@ export interface declareConstructor<T, E, TypeParameters extends ReadonlyArray<T
|
|
|
323
377
|
* @since 4.0.0
|
|
324
378
|
*/
|
|
325
379
|
export function declareConstructor<T, E = T, Iso = T>() {
|
|
326
|
-
return <const TypeParameters extends ReadonlyArray<
|
|
380
|
+
return <const TypeParameters extends ReadonlyArray<Constraint>>(
|
|
327
381
|
typeParameters: TypeParameters,
|
|
328
382
|
run: (
|
|
329
383
|
typeParameters: {
|
|
@@ -566,8 +620,8 @@ export function annotateKey<S extends Top>(annotations: Annotations.Key<S["Type"
|
|
|
566
620
|
* In user code prefer the narrower interfaces:
|
|
567
621
|
* - {@link Schema}`<T>` — when you only care about the decoded type
|
|
568
622
|
* - {@link Codec}`<T, E, RD, RE>` — when you need the encoded type and service requirements
|
|
569
|
-
* - {@link
|
|
570
|
-
* - {@link
|
|
623
|
+
* - {@link ConstraintDecoder}`<T, RD>` — for decode-only APIs
|
|
624
|
+
* - {@link ConstraintEncoder}`<E, RE>` — for encode-only APIs
|
|
571
625
|
*
|
|
572
626
|
* @category models
|
|
573
627
|
* @since 4.0.0
|
|
@@ -592,6 +646,127 @@ export interface Top extends
|
|
|
592
646
|
>
|
|
593
647
|
{}
|
|
594
648
|
|
|
649
|
+
/**
|
|
650
|
+
* Lightweight structural constraint for APIs that accept schema values but only
|
|
651
|
+
* read their data and type-level views.
|
|
652
|
+
*
|
|
653
|
+
* **When to use**
|
|
654
|
+
*
|
|
655
|
+
* Use when you need to constrain a generic value to be a schema, but the API
|
|
656
|
+
* only reads properties such as `ast`, `Type`, `Encoded`, service
|
|
657
|
+
* requirements, constructor input views, or modifier flags.
|
|
658
|
+
*
|
|
659
|
+
* **Details**
|
|
660
|
+
*
|
|
661
|
+
* `Constraint` keeps the schema type identifier and the property surface needed
|
|
662
|
+
* by schema constructors, while avoiding the full `Bottom` protocol. Use
|
|
663
|
+
* {@link Top} when an API calls schema methods such as `annotate`, `check`,
|
|
664
|
+
* `rebuild`, `make`, or `makeEffect`.
|
|
665
|
+
*
|
|
666
|
+
* @see {@link Top} for the complete schema protocol.
|
|
667
|
+
*
|
|
668
|
+
* @category models
|
|
669
|
+
* @since 4.0.0
|
|
670
|
+
*/
|
|
671
|
+
export interface Constraint {
|
|
672
|
+
readonly [TypeId]: typeof TypeId
|
|
673
|
+
readonly "ast": SchemaAST.AST
|
|
674
|
+
|
|
675
|
+
readonly "Type": unknown
|
|
676
|
+
readonly "Encoded": unknown
|
|
677
|
+
readonly "DecodingServices": unknown
|
|
678
|
+
readonly "EncodingServices": unknown
|
|
679
|
+
|
|
680
|
+
readonly "~type.parameters": any
|
|
681
|
+
readonly "~type.make.in": unknown
|
|
682
|
+
readonly "~type.make": unknown
|
|
683
|
+
readonly "Iso": unknown
|
|
684
|
+
|
|
685
|
+
readonly "~type.optionality": Optionality
|
|
686
|
+
readonly "~type.mutability": Mutability
|
|
687
|
+
readonly "~type.constructor.default": ConstructorDefault
|
|
688
|
+
readonly "~encoded.optionality": Optionality
|
|
689
|
+
readonly "~encoded.mutability": Mutability
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
/**
|
|
693
|
+
* Lightweight structural constraint for APIs that need codec type views but do
|
|
694
|
+
* not need the full schema protocol.
|
|
695
|
+
*
|
|
696
|
+
* **When to use**
|
|
697
|
+
*
|
|
698
|
+
* Use when you need to preserve decoded type, encoded type, and service
|
|
699
|
+
* requirements for a schema value, but the API does not call schema methods
|
|
700
|
+
* such as `annotate`, `check`, `rebuild`, `make`, or `makeEffect`.
|
|
701
|
+
*
|
|
702
|
+
* @see {@link Constraint} for the generic lightweight schema constraint.
|
|
703
|
+
* @see {@link Codec} for the full schema protocol with codec type views.
|
|
704
|
+
*
|
|
705
|
+
* @category models
|
|
706
|
+
* @since 4.0.0
|
|
707
|
+
*/
|
|
708
|
+
export interface ConstraintCodec<out T, out E = T, out RD = never, out RE = never> extends Constraint {
|
|
709
|
+
readonly "Type": T
|
|
710
|
+
readonly "Encoded": E
|
|
711
|
+
readonly "DecodingServices": RD
|
|
712
|
+
readonly "EncodingServices": RE
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
/**
|
|
716
|
+
* Lightweight structural constraint for APIs that need decoder type views but
|
|
717
|
+
* do not need the full schema protocol.
|
|
718
|
+
*
|
|
719
|
+
* **When to use**
|
|
720
|
+
*
|
|
721
|
+
* Use when you need to preserve a schema's decoded type and decoding services,
|
|
722
|
+
* but the API does not constrain the encoded type, encoding services, or call
|
|
723
|
+
* schema methods such as `annotate`, `check`, `rebuild`, `make`, or
|
|
724
|
+
* `makeEffect`.
|
|
725
|
+
*
|
|
726
|
+
* @see {@link ConstraintCodec} for APIs that need both decoded and encoded codec views.
|
|
727
|
+
* @see {@link Codec} for the full schema protocol with codec type views.
|
|
728
|
+
*
|
|
729
|
+
* @category models
|
|
730
|
+
* @since 4.0.0
|
|
731
|
+
*/
|
|
732
|
+
export interface ConstraintDecoder<out T, out RD = never> extends ConstraintCodec<T, unknown, RD, unknown> {}
|
|
733
|
+
|
|
734
|
+
/**
|
|
735
|
+
* Lightweight structural constraint for APIs that need encoder type views but
|
|
736
|
+
* do not need the full schema protocol.
|
|
737
|
+
*
|
|
738
|
+
* **When to use**
|
|
739
|
+
*
|
|
740
|
+
* Use when you need to preserve a schema's encoded type and encoding services,
|
|
741
|
+
* but the API does not constrain the decoded type, decoding services, or call
|
|
742
|
+
* schema methods such as `annotate`, `check`, `rebuild`, `make`, or
|
|
743
|
+
* `makeEffect`.
|
|
744
|
+
*
|
|
745
|
+
* @see {@link ConstraintCodec} for APIs that need both decoded and encoded codec views.
|
|
746
|
+
* @see {@link Codec} for the full schema protocol with codec type views.
|
|
747
|
+
*
|
|
748
|
+
* @category models
|
|
749
|
+
* @since 4.0.0
|
|
750
|
+
*/
|
|
751
|
+
export interface ConstraintEncoder<out E, out RE = never> extends ConstraintCodec<unknown, E, unknown, RE> {}
|
|
752
|
+
|
|
753
|
+
/**
|
|
754
|
+
* Lightweight structural constraint for APIs that need schema views and the
|
|
755
|
+
* rebuilt schema type, but do not call the full schema protocol.
|
|
756
|
+
*
|
|
757
|
+
* **When to use**
|
|
758
|
+
*
|
|
759
|
+
* Use when an API needs to read `Rebuild` in addition to the schema views
|
|
760
|
+
* exposed by {@link Constraint}, but does not call methods such as `annotate`,
|
|
761
|
+
* `check`, `rebuild`, `make`, or `makeEffect`.
|
|
762
|
+
*
|
|
763
|
+
* @category models
|
|
764
|
+
* @since 4.0.0
|
|
765
|
+
*/
|
|
766
|
+
export interface ConstraintRebuildable extends Constraint {
|
|
767
|
+
readonly "Rebuild": Constraint
|
|
768
|
+
}
|
|
769
|
+
|
|
595
770
|
/**
|
|
596
771
|
* Namespace of type-level helpers for {@link Schema}.
|
|
597
772
|
*
|
|
@@ -614,7 +789,7 @@ export declare namespace Schema {
|
|
|
614
789
|
* @category utility types
|
|
615
790
|
* @since 3.10.0
|
|
616
791
|
*/
|
|
617
|
-
export type Type<S> = S extends
|
|
792
|
+
export type Type<S> = S extends { readonly "Type": infer T } ? T : never
|
|
618
793
|
}
|
|
619
794
|
|
|
620
795
|
/**
|
|
@@ -674,7 +849,8 @@ export declare namespace Codec {
|
|
|
674
849
|
* @category utility types
|
|
675
850
|
* @since 3.10.0
|
|
676
851
|
*/
|
|
677
|
-
export type Encoded<S> = S extends
|
|
852
|
+
export type Encoded<S> = S extends { readonly "Encoded": infer E } ? E : never
|
|
853
|
+
|
|
678
854
|
/**
|
|
679
855
|
* Extracts the Effect services required during *decoding* from a schema.
|
|
680
856
|
*
|
|
@@ -691,7 +867,8 @@ export declare namespace Codec {
|
|
|
691
867
|
* @category utility types
|
|
692
868
|
* @since 4.0.0
|
|
693
869
|
*/
|
|
694
|
-
export type DecodingServices<S> = S extends
|
|
870
|
+
export type DecodingServices<S> = S extends { readonly "DecodingServices": infer R } ? R : never
|
|
871
|
+
|
|
695
872
|
/**
|
|
696
873
|
* Extracts the Effect services required during *encoding* from a schema.
|
|
697
874
|
*
|
|
@@ -708,7 +885,7 @@ export declare namespace Codec {
|
|
|
708
885
|
* @category utility types
|
|
709
886
|
* @since 4.0.0
|
|
710
887
|
*/
|
|
711
|
-
export type EncodingServices<S> = S extends
|
|
888
|
+
export type EncodingServices<S> = S extends { readonly "EncodingServices": infer R } ? R : never
|
|
712
889
|
}
|
|
713
890
|
|
|
714
891
|
/**
|
|
@@ -747,8 +924,8 @@ export interface Optic<out T, out Iso> extends Schema<T> {
|
|
|
747
924
|
* Most concrete schemas produced by this module implement `Codec`.
|
|
748
925
|
*
|
|
749
926
|
* For APIs that only need one direction, prefer the narrower views:
|
|
750
|
-
* - {@link
|
|
751
|
-
* - {@link
|
|
927
|
+
* - {@link ConstraintDecoder}`<T, RD>` — decode-only
|
|
928
|
+
* - {@link ConstraintEncoder}`<E, RE>` — encode-only
|
|
752
929
|
* - {@link Schema}`<T>` — type-only (no encoded representation)
|
|
753
930
|
*
|
|
754
931
|
* **Example** (Accepting a codec that decodes to `number` from `string`)
|
|
@@ -776,60 +953,6 @@ export interface Codec<out T, out E = T, out RD = never, out RE = never> extends
|
|
|
776
953
|
readonly "Rebuild": Codec<T, E, RD, RE>
|
|
777
954
|
}
|
|
778
955
|
|
|
779
|
-
/**
|
|
780
|
-
* A {@link Codec} view for APIs that only *decode* (parse/validate) values.
|
|
781
|
-
*
|
|
782
|
-
* **Details**
|
|
783
|
-
*
|
|
784
|
-
* Use `Decoder<T, RD>` to accept "any schema that can decode to `T`" without
|
|
785
|
-
* constraining or depending on the encoded representation (`Encoded` is
|
|
786
|
-
* `unknown`) or encoding services.
|
|
787
|
-
*
|
|
788
|
-
* **Example** (Accepting schemas that only need to decode)
|
|
789
|
-
*
|
|
790
|
-
* ```ts
|
|
791
|
-
* import { Schema } from "effect"
|
|
792
|
-
*
|
|
793
|
-
* declare function validate<T>(decoder: Schema.Decoder<T>): (input: unknown) => T
|
|
794
|
-
*
|
|
795
|
-
* validate(Schema.String) // ok
|
|
796
|
-
* validate(Schema.NumberFromString) // ok
|
|
797
|
-
* ```
|
|
798
|
-
*
|
|
799
|
-
* @category models
|
|
800
|
-
* @since 4.0.0
|
|
801
|
-
*/
|
|
802
|
-
export interface Decoder<out T, out RD = never> extends Codec<T, unknown, RD, unknown> {
|
|
803
|
-
readonly "Rebuild": Decoder<T, RD>
|
|
804
|
-
}
|
|
805
|
-
|
|
806
|
-
/**
|
|
807
|
-
* A {@link Codec} view for APIs that only *encode* values.
|
|
808
|
-
*
|
|
809
|
-
* **Details**
|
|
810
|
-
*
|
|
811
|
-
* Use `Encoder<E, RE>` to accept "any schema that can encode to `E`" without
|
|
812
|
-
* constraining or depending on the decoded `Type` (`Type` is `unknown`) or
|
|
813
|
-
* decoding services.
|
|
814
|
-
*
|
|
815
|
-
* **Example** (Accepting schemas that only need to encode)
|
|
816
|
-
*
|
|
817
|
-
* ```ts
|
|
818
|
-
* import { Schema } from "effect"
|
|
819
|
-
*
|
|
820
|
-
* declare function serialize<E>(encoder: Schema.Encoder<E>): (value: unknown) => E
|
|
821
|
-
*
|
|
822
|
-
* serialize(Schema.String) // ok — encodes to string
|
|
823
|
-
* serialize(Schema.NumberFromString) // ok — encodes number to string
|
|
824
|
-
* ```
|
|
825
|
-
*
|
|
826
|
-
* @category models
|
|
827
|
-
* @since 4.0.0
|
|
828
|
-
*/
|
|
829
|
-
export interface Encoder<out E, out RE = never> extends Codec<unknown, E, unknown, RE> {
|
|
830
|
-
readonly "Rebuild": Encoder<E, RE>
|
|
831
|
-
}
|
|
832
|
-
|
|
833
956
|
/**
|
|
834
957
|
* Returns a codec widened to the full {@link Codec} interface, prompting
|
|
835
958
|
* TypeScript to infer all four type parameters (`T`, `E`, `RD`, `RE`).
|
|
@@ -987,7 +1110,7 @@ function makeStandardResult<A>(exit: Exit_.Exit<StandardSchemaV1.Result<A>>): St
|
|
|
987
1110
|
* @category Standard Schema
|
|
988
1111
|
* @since 4.0.0
|
|
989
1112
|
*/
|
|
990
|
-
export function toStandardSchemaV1<S extends
|
|
1113
|
+
export function toStandardSchemaV1<S extends ConstraintDecoder<unknown>>(
|
|
991
1114
|
self: S,
|
|
992
1115
|
options?: {
|
|
993
1116
|
readonly leafHook?: SchemaIssue.LeafHook | undefined
|
|
@@ -1037,7 +1160,7 @@ export function toStandardSchemaV1<S extends Decoder<unknown>>(
|
|
|
1037
1160
|
}
|
|
1038
1161
|
}
|
|
1039
1162
|
|
|
1040
|
-
function toBaseStandardJSONSchemaV1(self:
|
|
1163
|
+
function toBaseStandardJSONSchemaV1(self: Constraint, target: StandardJSONSchemaV1.Target): JsonSchema.JsonSchema {
|
|
1041
1164
|
const doc2020_12 = toJsonSchemaDocument(self)
|
|
1042
1165
|
if (target === "draft-2020-12") {
|
|
1043
1166
|
const schema = doc2020_12.schema
|
|
@@ -1066,7 +1189,9 @@ function toBaseStandardJSONSchemaV1(self: Top, target: StandardJSONSchemaV1.Targ
|
|
|
1066
1189
|
* @category Standard Schema
|
|
1067
1190
|
* @since 4.0.0
|
|
1068
1191
|
*/
|
|
1069
|
-
export function toStandardJSONSchemaV1<S extends
|
|
1192
|
+
export function toStandardJSONSchemaV1<S extends Constraint>(
|
|
1193
|
+
self: S
|
|
1194
|
+
): StandardJSONSchemaV1<S["Encoded"], S["Type"]> & S {
|
|
1070
1195
|
const jsonSchema: StandardJSONSchemaV1.Props<S["Encoded"], S["Type"]>["jsonSchema"] = {
|
|
1071
1196
|
input(options) {
|
|
1072
1197
|
return toBaseStandardJSONSchemaV1(self, options.target)
|
|
@@ -1173,7 +1298,8 @@ export const is = SchemaParser.is
|
|
|
1173
1298
|
* @category guards
|
|
1174
1299
|
* @since 4.0.0
|
|
1175
1300
|
*/
|
|
1176
|
-
export const asserts: <S extends
|
|
1301
|
+
export const asserts: <S extends Constraint, I>(schema: S, input: I) => asserts input is I & S["Type"] =
|
|
1302
|
+
SchemaParser.asserts
|
|
1177
1303
|
|
|
1178
1304
|
/**
|
|
1179
1305
|
* Decodes an `unknown` input against a schema, returning an `Effect` that
|
|
@@ -1196,7 +1322,7 @@ export const asserts: <S extends Top, I>(schema: S, input: I) => asserts input i
|
|
|
1196
1322
|
* @category decoding
|
|
1197
1323
|
* @since 4.0.0
|
|
1198
1324
|
*/
|
|
1199
|
-
export function decodeUnknownEffect<S extends
|
|
1325
|
+
export function decodeUnknownEffect<S extends Constraint>(schema: S, options?: SchemaAST.ParseOptions) {
|
|
1200
1326
|
const parser = SchemaParser.decodeUnknownEffect(schema, options)
|
|
1201
1327
|
return (
|
|
1202
1328
|
input: unknown,
|
|
@@ -1227,7 +1353,7 @@ export function decodeUnknownEffect<S extends Top>(schema: S, options?: SchemaAS
|
|
|
1227
1353
|
* @category decoding
|
|
1228
1354
|
* @since 4.0.0
|
|
1229
1355
|
*/
|
|
1230
|
-
export const decodeEffect: <S extends
|
|
1356
|
+
export const decodeEffect: <S extends Constraint>(
|
|
1231
1357
|
schema: S,
|
|
1232
1358
|
options?: SchemaAST.ParseOptions
|
|
1233
1359
|
) => (
|
|
@@ -1303,7 +1429,7 @@ function runSchemaErrorSync<A>(
|
|
|
1303
1429
|
* @category decoding
|
|
1304
1430
|
* @since 4.0.0
|
|
1305
1431
|
*/
|
|
1306
|
-
export function decodeUnknownExit<S extends
|
|
1432
|
+
export function decodeUnknownExit<S extends ConstraintDecoder<unknown>>(schema: S, options?: SchemaAST.ParseOptions) {
|
|
1307
1433
|
const parser = SchemaParser.decodeUnknownExit(schema, options)
|
|
1308
1434
|
return (input: unknown, options?: SchemaAST.ParseOptions): Exit_.Exit<S["Type"], SchemaError> => {
|
|
1309
1435
|
return InternalSchema.mapSchemaIssueExit(parser(input, options))
|
|
@@ -1340,7 +1466,7 @@ export function decodeUnknownExit<S extends Decoder<unknown>>(schema: S, options
|
|
|
1340
1466
|
* @category decoding
|
|
1341
1467
|
* @since 4.0.0
|
|
1342
1468
|
*/
|
|
1343
|
-
export const decodeExit: <S extends
|
|
1469
|
+
export const decodeExit: <S extends ConstraintDecoder<unknown>>(
|
|
1344
1470
|
schema: S,
|
|
1345
1471
|
options?: SchemaAST.ParseOptions
|
|
1346
1472
|
) => (input: S["Encoded"], options?: SchemaAST.ParseOptions) => Exit_.Exit<S["Type"], SchemaError> = decodeUnknownExit
|
|
@@ -1371,7 +1497,7 @@ export const decodeExit: <S extends Decoder<unknown>>(
|
|
|
1371
1497
|
* @category decoding
|
|
1372
1498
|
* @since 3.10.0
|
|
1373
1499
|
*/
|
|
1374
|
-
export const decodeUnknownOption: <S extends
|
|
1500
|
+
export const decodeUnknownOption: <S extends ConstraintDecoder<unknown>>(
|
|
1375
1501
|
schema: S,
|
|
1376
1502
|
options?: SchemaAST.ParseOptions
|
|
1377
1503
|
) => (input: unknown, options?: SchemaAST.ParseOptions) => Option_.Option<S["Type"]> = SchemaParser.decodeUnknownOption
|
|
@@ -1401,10 +1527,10 @@ export const decodeUnknownOption: <S extends Decoder<unknown>>(
|
|
|
1401
1527
|
* @category decoding
|
|
1402
1528
|
* @since 3.10.0
|
|
1403
1529
|
*/
|
|
1404
|
-
export const decodeOption: <S extends
|
|
1530
|
+
export const decodeOption: <S extends ConstraintDecoder<unknown>>(
|
|
1405
1531
|
schema: S,
|
|
1406
1532
|
options?: SchemaAST.ParseOptions
|
|
1407
|
-
) => (input: S["Encoded"], options?: SchemaAST.ParseOptions) => Option_.Option<S["Type"]> =
|
|
1533
|
+
) => (input: S["Encoded"], options?: SchemaAST.ParseOptions) => Option_.Option<S["Type"]> = SchemaParser.decodeOption
|
|
1408
1534
|
|
|
1409
1535
|
/**
|
|
1410
1536
|
* Decodes an `unknown` input against a schema, returning a `Result` that
|
|
@@ -1435,7 +1561,7 @@ export const decodeOption: <S extends Decoder<unknown>>(
|
|
|
1435
1561
|
* @category decoding
|
|
1436
1562
|
* @since 4.0.0
|
|
1437
1563
|
*/
|
|
1438
|
-
export function decodeUnknownResult<S extends
|
|
1564
|
+
export function decodeUnknownResult<S extends ConstraintDecoder<unknown>>(schema: S, options?: SchemaAST.ParseOptions) {
|
|
1439
1565
|
const parser = SchemaParser.decodeUnknownResult(schema, options)
|
|
1440
1566
|
return (input: unknown, options?: SchemaAST.ParseOptions): Result_.Result<S["Type"], SchemaError> => {
|
|
1441
1567
|
return Result_.mapError(parser(input, options), (issue) => new SchemaError(issue))
|
|
@@ -1470,7 +1596,7 @@ export function decodeUnknownResult<S extends Decoder<unknown>>(schema: S, optio
|
|
|
1470
1596
|
* @category decoding
|
|
1471
1597
|
* @since 4.0.0
|
|
1472
1598
|
*/
|
|
1473
|
-
export const decodeResult: <S extends
|
|
1599
|
+
export const decodeResult: <S extends ConstraintDecoder<unknown>>(
|
|
1474
1600
|
schema: S,
|
|
1475
1601
|
options?: SchemaAST.ParseOptions
|
|
1476
1602
|
) => (input: S["Encoded"], options?: SchemaAST.ParseOptions) => Result_.Result<S["Type"], SchemaError> =
|
|
@@ -1503,7 +1629,10 @@ export const decodeResult: <S extends Decoder<unknown>>(
|
|
|
1503
1629
|
* @category decoding
|
|
1504
1630
|
* @since 3.10.0
|
|
1505
1631
|
*/
|
|
1506
|
-
export function decodeUnknownPromise<S extends
|
|
1632
|
+
export function decodeUnknownPromise<S extends ConstraintDecoder<unknown>>(
|
|
1633
|
+
schema: S,
|
|
1634
|
+
options?: SchemaAST.ParseOptions
|
|
1635
|
+
) {
|
|
1507
1636
|
const parser = decodeUnknownEffect(schema, options)
|
|
1508
1637
|
return (input: unknown, options?: SchemaAST.ParseOptions): Promise<S["Type"]> => {
|
|
1509
1638
|
return runSchemaErrorPromise(parser(input, options))
|
|
@@ -1537,7 +1666,7 @@ export function decodeUnknownPromise<S extends Decoder<unknown>>(schema: S, opti
|
|
|
1537
1666
|
* @category decoding
|
|
1538
1667
|
* @since 3.10.0
|
|
1539
1668
|
*/
|
|
1540
|
-
export const decodePromise: <S extends
|
|
1669
|
+
export const decodePromise: <S extends ConstraintDecoder<unknown>>(
|
|
1541
1670
|
schema: S,
|
|
1542
1671
|
options?: SchemaAST.ParseOptions
|
|
1543
1672
|
) => (input: S["Encoded"], options?: SchemaAST.ParseOptions) => Promise<S["Type"]> = decodeUnknownPromise
|
|
@@ -1586,7 +1715,7 @@ export const decodePromise: <S extends Decoder<unknown>>(
|
|
|
1586
1715
|
* @category decoding
|
|
1587
1716
|
* @since 4.0.0
|
|
1588
1717
|
*/
|
|
1589
|
-
export function decodeUnknownSync<S extends
|
|
1718
|
+
export function decodeUnknownSync<S extends ConstraintDecoder<unknown>>(schema: S, options?: SchemaAST.ParseOptions) {
|
|
1590
1719
|
const parser = decodeUnknownEffect(schema, options)
|
|
1591
1720
|
return (input: unknown, options?: SchemaAST.ParseOptions): S["Type"] => {
|
|
1592
1721
|
return runSchemaErrorSync(parser(input, options))
|
|
@@ -1619,7 +1748,7 @@ export function decodeUnknownSync<S extends Decoder<unknown>>(schema: S, options
|
|
|
1619
1748
|
* @category decoding
|
|
1620
1749
|
* @since 4.0.0
|
|
1621
1750
|
*/
|
|
1622
|
-
export const decodeSync: <S extends
|
|
1751
|
+
export const decodeSync: <S extends ConstraintDecoder<unknown>>(
|
|
1623
1752
|
schema: S,
|
|
1624
1753
|
options?: SchemaAST.ParseOptions
|
|
1625
1754
|
) => (input: S["Encoded"], options?: SchemaAST.ParseOptions) => S["Type"] = decodeUnknownSync
|
|
@@ -1656,7 +1785,7 @@ export const decodeSync: <S extends Decoder<unknown>>(
|
|
|
1656
1785
|
* @category encoding
|
|
1657
1786
|
* @since 4.0.0
|
|
1658
1787
|
*/
|
|
1659
|
-
export function encodeUnknownEffect<S extends
|
|
1788
|
+
export function encodeUnknownEffect<S extends Constraint>(schema: S, options?: SchemaAST.ParseOptions) {
|
|
1660
1789
|
const parser = SchemaParser.encodeUnknownEffect(schema, options)
|
|
1661
1790
|
return (
|
|
1662
1791
|
input: unknown,
|
|
@@ -1687,7 +1816,7 @@ export function encodeUnknownEffect<S extends Top>(schema: S, options?: SchemaAS
|
|
|
1687
1816
|
* @category encoding
|
|
1688
1817
|
* @since 4.0.0
|
|
1689
1818
|
*/
|
|
1690
|
-
export const encodeEffect: <S extends
|
|
1819
|
+
export const encodeEffect: <S extends Constraint>(
|
|
1691
1820
|
schema: S,
|
|
1692
1821
|
options?: SchemaAST.ParseOptions
|
|
1693
1822
|
) => (
|
|
@@ -1724,7 +1853,7 @@ export const encodeEffect: <S extends Top>(
|
|
|
1724
1853
|
* @category encoding
|
|
1725
1854
|
* @since 4.0.0
|
|
1726
1855
|
*/
|
|
1727
|
-
export function encodeUnknownExit<S extends
|
|
1856
|
+
export function encodeUnknownExit<S extends ConstraintEncoder<unknown>>(schema: S, options?: SchemaAST.ParseOptions) {
|
|
1728
1857
|
const parser = SchemaParser.encodeUnknownExit(schema, options)
|
|
1729
1858
|
return (input: unknown, options?: SchemaAST.ParseOptions): Exit_.Exit<S["Encoded"], SchemaError> => {
|
|
1730
1859
|
return InternalSchema.mapSchemaIssueExit(parser(input, options))
|
|
@@ -1761,7 +1890,7 @@ export function encodeUnknownExit<S extends Encoder<unknown>>(schema: S, options
|
|
|
1761
1890
|
* @category encoding
|
|
1762
1891
|
* @since 4.0.0
|
|
1763
1892
|
*/
|
|
1764
|
-
export const encodeExit: <S extends
|
|
1893
|
+
export const encodeExit: <S extends ConstraintEncoder<unknown>>(
|
|
1765
1894
|
schema: S,
|
|
1766
1895
|
options?: SchemaAST.ParseOptions
|
|
1767
1896
|
) => (input: S["Type"], options?: SchemaAST.ParseOptions) => Exit_.Exit<S["Encoded"], SchemaError> = encodeUnknownExit
|
|
@@ -1792,7 +1921,7 @@ export const encodeExit: <S extends Encoder<unknown>>(
|
|
|
1792
1921
|
* @category encoding
|
|
1793
1922
|
* @since 3.10.0
|
|
1794
1923
|
*/
|
|
1795
|
-
export const encodeUnknownOption: <S extends
|
|
1924
|
+
export const encodeUnknownOption: <S extends ConstraintEncoder<unknown>>(
|
|
1796
1925
|
schema: S,
|
|
1797
1926
|
options?: SchemaAST.ParseOptions
|
|
1798
1927
|
) => (input: unknown, options?: SchemaAST.ParseOptions) => Option_.Option<S["Encoded"]> =
|
|
@@ -1823,10 +1952,10 @@ export const encodeUnknownOption: <S extends Encoder<unknown>>(
|
|
|
1823
1952
|
* @category encoding
|
|
1824
1953
|
* @since 3.10.0
|
|
1825
1954
|
*/
|
|
1826
|
-
export const encodeOption: <S extends
|
|
1955
|
+
export const encodeOption: <S extends ConstraintEncoder<unknown>>(
|
|
1827
1956
|
schema: S,
|
|
1828
1957
|
options?: SchemaAST.ParseOptions
|
|
1829
|
-
) => (input: S["Type"], options?: SchemaAST.ParseOptions) => Option_.Option<S["Encoded"]> =
|
|
1958
|
+
) => (input: S["Type"], options?: SchemaAST.ParseOptions) => Option_.Option<S["Encoded"]> = SchemaParser.encodeOption
|
|
1830
1959
|
|
|
1831
1960
|
/**
|
|
1832
1961
|
* Encodes an `unknown` input against a schema, returning a `Result` that
|
|
@@ -1856,7 +1985,7 @@ export const encodeOption: <S extends Encoder<unknown>>(
|
|
|
1856
1985
|
* @category encoding
|
|
1857
1986
|
* @since 4.0.0
|
|
1858
1987
|
*/
|
|
1859
|
-
export function encodeUnknownResult<S extends
|
|
1988
|
+
export function encodeUnknownResult<S extends ConstraintEncoder<unknown>>(schema: S, options?: SchemaAST.ParseOptions) {
|
|
1860
1989
|
const parser = SchemaParser.encodeUnknownResult(schema, options)
|
|
1861
1990
|
return (input: unknown, options?: SchemaAST.ParseOptions): Result_.Result<S["Encoded"], SchemaError> => {
|
|
1862
1991
|
return Result_.mapError(parser(input, options), (issue) => new SchemaError(issue))
|
|
@@ -1891,7 +2020,7 @@ export function encodeUnknownResult<S extends Encoder<unknown>>(schema: S, optio
|
|
|
1891
2020
|
* @category encoding
|
|
1892
2021
|
* @since 4.0.0
|
|
1893
2022
|
*/
|
|
1894
|
-
export const encodeResult: <S extends
|
|
2023
|
+
export const encodeResult: <S extends ConstraintEncoder<unknown>>(
|
|
1895
2024
|
schema: S,
|
|
1896
2025
|
options?: SchemaAST.ParseOptions
|
|
1897
2026
|
) => (input: S["Type"], options?: SchemaAST.ParseOptions) => Result_.Result<S["Encoded"], SchemaError> =
|
|
@@ -1923,7 +2052,10 @@ export const encodeResult: <S extends Encoder<unknown>>(
|
|
|
1923
2052
|
* @category encoding
|
|
1924
2053
|
* @since 3.10.0
|
|
1925
2054
|
*/
|
|
1926
|
-
export function encodeUnknownPromise<S extends
|
|
2055
|
+
export function encodeUnknownPromise<S extends ConstraintEncoder<unknown>>(
|
|
2056
|
+
schema: S,
|
|
2057
|
+
options?: SchemaAST.ParseOptions
|
|
2058
|
+
) {
|
|
1927
2059
|
const parser = encodeUnknownEffect(schema, options)
|
|
1928
2060
|
return (input: unknown, options?: SchemaAST.ParseOptions): Promise<S["Encoded"]> => {
|
|
1929
2061
|
return runSchemaErrorPromise(parser(input, options))
|
|
@@ -1957,7 +2089,7 @@ export function encodeUnknownPromise<S extends Encoder<unknown>>(schema: S, opti
|
|
|
1957
2089
|
* @category encoding
|
|
1958
2090
|
* @since 3.10.0
|
|
1959
2091
|
*/
|
|
1960
|
-
export const encodePromise: <S extends
|
|
2092
|
+
export const encodePromise: <S extends ConstraintEncoder<unknown>>(
|
|
1961
2093
|
schema: S,
|
|
1962
2094
|
options?: SchemaAST.ParseOptions
|
|
1963
2095
|
) => (input: S["Type"], options?: SchemaAST.ParseOptions) => Promise<S["Encoded"]> = encodeUnknownPromise
|
|
@@ -1988,7 +2120,7 @@ export const encodePromise: <S extends Encoder<unknown>>(
|
|
|
1988
2120
|
* @category encoding
|
|
1989
2121
|
* @since 4.0.0
|
|
1990
2122
|
*/
|
|
1991
|
-
export function encodeUnknownSync<S extends
|
|
2123
|
+
export function encodeUnknownSync<S extends ConstraintEncoder<unknown>>(schema: S, options?: SchemaAST.ParseOptions) {
|
|
1992
2124
|
const parser = encodeUnknownEffect(schema, options)
|
|
1993
2125
|
return (input: unknown, options?: SchemaAST.ParseOptions): S["Encoded"] => {
|
|
1994
2126
|
return runSchemaErrorSync(parser(input, options) as Effect.Effect<S["Encoded"], SchemaError>)
|
|
@@ -2019,7 +2151,7 @@ export function encodeUnknownSync<S extends Encoder<unknown>>(schema: S, options
|
|
|
2019
2151
|
* @category encoding
|
|
2020
2152
|
* @since 4.0.0
|
|
2021
2153
|
*/
|
|
2022
|
-
export const encodeSync: <S extends
|
|
2154
|
+
export const encodeSync: <S extends ConstraintEncoder<unknown>>(
|
|
2023
2155
|
schema: S,
|
|
2024
2156
|
options?: SchemaAST.ParseOptions
|
|
2025
2157
|
) => (input: S["Type"], options?: SchemaAST.ParseOptions) => S["Encoded"] = encodeUnknownSync
|
|
@@ -2041,7 +2173,7 @@ export const encodeSync: <S extends Encoder<unknown>>(
|
|
|
2041
2173
|
* @category constructors
|
|
2042
2174
|
* @since 3.10.0
|
|
2043
2175
|
*/
|
|
2044
|
-
export const make: <S extends
|
|
2176
|
+
export const make: <S extends Constraint>(ast: S["ast"], options?: object) => S = InternalSchema.make
|
|
2045
2177
|
|
|
2046
2178
|
/**
|
|
2047
2179
|
* Transforms a schema into a class that can be extended with `extends`. The
|
|
@@ -2086,18 +2218,11 @@ export function isSchema(u: unknown): u is Top {
|
|
|
2086
2218
|
* @category models
|
|
2087
2219
|
* @since 4.0.0
|
|
2088
2220
|
*/
|
|
2089
|
-
export interface optionalKey<S extends
|
|
2090
|
-
|
|
2091
|
-
S["Type"],
|
|
2092
|
-
S["Encoded"],
|
|
2093
|
-
S["DecodingServices"],
|
|
2094
|
-
S["EncodingServices"],
|
|
2221
|
+
export interface optionalKey<S extends Constraint> extends
|
|
2222
|
+
BottomLazy<
|
|
2095
2223
|
S["ast"],
|
|
2096
2224
|
optionalKey<S>,
|
|
2097
|
-
S["~type.make.in"],
|
|
2098
|
-
S["Iso"],
|
|
2099
2225
|
S["~type.parameters"],
|
|
2100
|
-
S["~type.make"],
|
|
2101
2226
|
S["~type.mutability"],
|
|
2102
2227
|
"optional",
|
|
2103
2228
|
S["~type.constructor.default"],
|
|
@@ -2105,12 +2230,19 @@ export interface optionalKey<S extends Top> extends
|
|
|
2105
2230
|
"optional"
|
|
2106
2231
|
>
|
|
2107
2232
|
{
|
|
2233
|
+
readonly "Type": S["Type"]
|
|
2234
|
+
readonly "Encoded": S["Encoded"]
|
|
2235
|
+
readonly "DecodingServices": S["DecodingServices"]
|
|
2236
|
+
readonly "EncodingServices": S["EncodingServices"]
|
|
2237
|
+
readonly "~type.make.in": S["~type.make.in"]
|
|
2238
|
+
readonly "~type.make": S["~type.make"]
|
|
2239
|
+
readonly "Iso": S["Iso"]
|
|
2108
2240
|
readonly schema: S
|
|
2109
2241
|
}
|
|
2110
2242
|
|
|
2111
2243
|
interface optionalKeyLambda extends Lambda {
|
|
2112
|
-
<S extends
|
|
2113
|
-
readonly "~lambda.out": this["~lambda.in"] extends
|
|
2244
|
+
<S extends Constraint>(self: S): optionalKey<S>
|
|
2245
|
+
readonly "~lambda.out": this["~lambda.in"] extends Constraint ? optionalKey<this["~lambda.in"]> : never
|
|
2114
2246
|
}
|
|
2115
2247
|
|
|
2116
2248
|
/**
|
|
@@ -2140,8 +2272,8 @@ export const optionalKey = Struct_.lambda<optionalKeyLambda>((schema) =>
|
|
|
2140
2272
|
)
|
|
2141
2273
|
|
|
2142
2274
|
interface requiredKeyLambda extends Lambda {
|
|
2143
|
-
<S extends
|
|
2144
|
-
readonly "~lambda.out": this["~lambda.in"] extends optionalKey<
|
|
2275
|
+
<S extends Constraint>(self: optionalKey<S>): S
|
|
2276
|
+
readonly "~lambda.out": this["~lambda.in"] extends optionalKey<Constraint> ? this["~lambda.in"]["schema"]
|
|
2145
2277
|
: "Error: schema not eligible for requiredKey"
|
|
2146
2278
|
}
|
|
2147
2279
|
|
|
@@ -2164,13 +2296,13 @@ export const requiredKey = Struct_.lambda<requiredKeyLambda>((self) => self.sche
|
|
|
2164
2296
|
* @category models
|
|
2165
2297
|
* @since 3.10.0
|
|
2166
2298
|
*/
|
|
2167
|
-
export interface optional<S extends
|
|
2299
|
+
export interface optional<S extends Constraint> extends optionalKey<UndefinedOr<S>> {
|
|
2168
2300
|
readonly "Rebuild": optional<S>
|
|
2169
2301
|
}
|
|
2170
2302
|
|
|
2171
2303
|
interface optionalLambda extends Lambda {
|
|
2172
|
-
<S extends
|
|
2173
|
-
readonly "~lambda.out": this["~lambda.in"] extends
|
|
2304
|
+
<S extends Constraint>(self: S): optional<S>
|
|
2305
|
+
readonly "~lambda.out": this["~lambda.in"] extends Constraint ? optional<this["~lambda.in"]> : never
|
|
2174
2306
|
}
|
|
2175
2307
|
|
|
2176
2308
|
/**
|
|
@@ -2205,8 +2337,8 @@ interface optionalLambda extends Lambda {
|
|
|
2205
2337
|
export const optional = Struct_.lambda<optionalLambda>((self) => optionalKey(UndefinedOr(self)))
|
|
2206
2338
|
|
|
2207
2339
|
interface requiredLambda extends Lambda {
|
|
2208
|
-
<S extends
|
|
2209
|
-
readonly "~lambda.out": this["~lambda.in"] extends optional<
|
|
2340
|
+
<S extends Constraint>(self: optional<S>): S
|
|
2341
|
+
readonly "~lambda.out": this["~lambda.in"] extends optional<Constraint> ? this["~lambda.in"]["schema"]["members"][0]
|
|
2210
2342
|
: "Error: schema not eligible for required"
|
|
2211
2343
|
}
|
|
2212
2344
|
|
|
@@ -2233,18 +2365,11 @@ export const required = Struct_.lambda<requiredLambda>((self) => self.schema.mem
|
|
|
2233
2365
|
* @category models
|
|
2234
2366
|
* @since 4.0.0
|
|
2235
2367
|
*/
|
|
2236
|
-
export interface mutableKey<S extends
|
|
2237
|
-
|
|
2238
|
-
S["Type"],
|
|
2239
|
-
S["Encoded"],
|
|
2240
|
-
S["DecodingServices"],
|
|
2241
|
-
S["EncodingServices"],
|
|
2368
|
+
export interface mutableKey<S extends Constraint> extends
|
|
2369
|
+
BottomLazy<
|
|
2242
2370
|
S["ast"],
|
|
2243
2371
|
mutableKey<S>,
|
|
2244
|
-
S["~type.make.in"],
|
|
2245
|
-
S["Iso"],
|
|
2246
2372
|
S["~type.parameters"],
|
|
2247
|
-
S["~type.make"],
|
|
2248
2373
|
"mutable",
|
|
2249
2374
|
S["~type.optionality"],
|
|
2250
2375
|
S["~type.constructor.default"],
|
|
@@ -2252,12 +2377,19 @@ export interface mutableKey<S extends Top> extends
|
|
|
2252
2377
|
S["~encoded.optionality"]
|
|
2253
2378
|
>
|
|
2254
2379
|
{
|
|
2380
|
+
readonly "Type": S["Type"]
|
|
2381
|
+
readonly "Encoded": S["Encoded"]
|
|
2382
|
+
readonly "DecodingServices": S["DecodingServices"]
|
|
2383
|
+
readonly "EncodingServices": S["EncodingServices"]
|
|
2384
|
+
readonly "~type.make.in": S["~type.make.in"]
|
|
2385
|
+
readonly "~type.make": S["~type.make"]
|
|
2386
|
+
readonly "Iso": S["Iso"]
|
|
2255
2387
|
readonly schema: S
|
|
2256
2388
|
}
|
|
2257
2389
|
|
|
2258
2390
|
interface mutableKeyLambda extends Lambda {
|
|
2259
|
-
<S extends
|
|
2260
|
-
readonly "~lambda.out": this["~lambda.in"] extends
|
|
2391
|
+
<S extends Constraint>(self: S): mutableKey<S>
|
|
2392
|
+
readonly "~lambda.out": this["~lambda.in"] extends Constraint ? mutableKey<this["~lambda.in"]> : never
|
|
2261
2393
|
}
|
|
2262
2394
|
|
|
2263
2395
|
/**
|
|
@@ -2272,8 +2404,8 @@ export const mutableKey = Struct_.lambda<mutableKeyLambda>((schema) =>
|
|
|
2272
2404
|
)
|
|
2273
2405
|
|
|
2274
2406
|
interface readonlyKeyLambda extends Lambda {
|
|
2275
|
-
<S extends
|
|
2276
|
-
readonly "~lambda.out": this["~lambda.in"] extends mutableKey<
|
|
2407
|
+
<S extends Constraint>(self: mutableKey<S>): S
|
|
2408
|
+
readonly "~lambda.out": this["~lambda.in"] extends mutableKey<Constraint> ? this["~lambda.in"]["schema"]
|
|
2277
2409
|
: "Error: schema not eligible for readonlyKey"
|
|
2278
2410
|
}
|
|
2279
2411
|
|
|
@@ -2296,29 +2428,31 @@ export const readonlyKey = Struct_.lambda<readonlyKeyLambda>((self) => self.sche
|
|
|
2296
2428
|
* @category transforming
|
|
2297
2429
|
* @since 4.0.0
|
|
2298
2430
|
*/
|
|
2299
|
-
export interface toType<S extends
|
|
2300
|
-
|
|
2301
|
-
S["Type"],
|
|
2302
|
-
S["Type"],
|
|
2303
|
-
never,
|
|
2304
|
-
never,
|
|
2431
|
+
export interface toType<S extends Constraint> extends
|
|
2432
|
+
BottomLazy<
|
|
2305
2433
|
S["ast"],
|
|
2306
2434
|
toType<S>,
|
|
2307
|
-
S["~type.make.in"],
|
|
2308
|
-
S["Iso"],
|
|
2309
2435
|
S["~type.parameters"],
|
|
2310
|
-
S["~type.make"],
|
|
2311
2436
|
S["~type.mutability"],
|
|
2312
2437
|
S["~type.optionality"],
|
|
2313
2438
|
S["~type.constructor.default"],
|
|
2314
2439
|
S["~encoded.mutability"],
|
|
2315
2440
|
S["~encoded.optionality"]
|
|
2316
2441
|
>
|
|
2317
|
-
{
|
|
2442
|
+
{
|
|
2443
|
+
readonly "Type": S["Type"]
|
|
2444
|
+
readonly "Encoded": S["Type"]
|
|
2445
|
+
readonly "DecodingServices": never
|
|
2446
|
+
readonly "EncodingServices": never
|
|
2447
|
+
readonly "~type.make.in": S["~type.make.in"]
|
|
2448
|
+
readonly "~type.make": S["~type.make"]
|
|
2449
|
+
readonly "Iso": S["Iso"]
|
|
2450
|
+
readonly schema: S
|
|
2451
|
+
}
|
|
2318
2452
|
|
|
2319
2453
|
interface toTypeLambda extends Lambda {
|
|
2320
|
-
<S extends
|
|
2321
|
-
readonly "~lambda.out": this["~lambda.in"] extends
|
|
2454
|
+
<S extends Constraint>(self: S): toType<S>
|
|
2455
|
+
readonly "~lambda.out": this["~lambda.in"] extends Constraint ? toType<this["~lambda.in"]> : never
|
|
2322
2456
|
}
|
|
2323
2457
|
|
|
2324
2458
|
/**
|
|
@@ -2336,29 +2470,31 @@ export const toType = Struct_.lambda<toTypeLambda>((schema) => make(SchemaAST.to
|
|
|
2336
2470
|
* @category transforming
|
|
2337
2471
|
* @since 4.0.0
|
|
2338
2472
|
*/
|
|
2339
|
-
export interface toEncoded<S extends
|
|
2340
|
-
|
|
2341
|
-
S["Encoded"],
|
|
2342
|
-
S["Encoded"],
|
|
2343
|
-
never,
|
|
2344
|
-
never,
|
|
2473
|
+
export interface toEncoded<S extends Constraint> extends
|
|
2474
|
+
BottomLazy<
|
|
2345
2475
|
SchemaAST.AST,
|
|
2346
2476
|
toEncoded<S>,
|
|
2347
|
-
|
|
2348
|
-
S["Encoded"],
|
|
2349
|
-
ReadonlyArray<Top>,
|
|
2350
|
-
S["Encoded"],
|
|
2477
|
+
ReadonlyArray<Constraint>,
|
|
2351
2478
|
S["~type.mutability"],
|
|
2352
2479
|
S["~type.optionality"],
|
|
2353
2480
|
S["~type.constructor.default"],
|
|
2354
2481
|
S["~encoded.mutability"],
|
|
2355
2482
|
S["~encoded.optionality"]
|
|
2356
2483
|
>
|
|
2357
|
-
{
|
|
2484
|
+
{
|
|
2485
|
+
readonly "Type": S["Encoded"]
|
|
2486
|
+
readonly "Encoded": S["Encoded"]
|
|
2487
|
+
readonly "DecodingServices": never
|
|
2488
|
+
readonly "EncodingServices": never
|
|
2489
|
+
readonly "~type.make.in": S["Encoded"]
|
|
2490
|
+
readonly "~type.make": S["Encoded"]
|
|
2491
|
+
readonly "Iso": S["Encoded"]
|
|
2492
|
+
readonly schema: S
|
|
2493
|
+
}
|
|
2358
2494
|
|
|
2359
2495
|
interface toEncodedLambda extends Lambda {
|
|
2360
|
-
<S extends
|
|
2361
|
-
readonly "~lambda.out": this["~lambda.in"] extends
|
|
2496
|
+
<S extends Constraint>(self: S): toEncoded<S>
|
|
2497
|
+
readonly "~lambda.out": this["~lambda.in"] extends Constraint ? toEncoded<this["~lambda.in"]> : never
|
|
2362
2498
|
}
|
|
2363
2499
|
|
|
2364
2500
|
/**
|
|
@@ -2379,17 +2515,10 @@ const FlipTypeId = "~effect/Schema/flip"
|
|
|
2379
2515
|
* @since 4.0.0
|
|
2380
2516
|
*/
|
|
2381
2517
|
export interface flip<S extends Top> extends
|
|
2382
|
-
|
|
2383
|
-
S["Encoded"],
|
|
2384
|
-
S["Type"],
|
|
2385
|
-
S["EncodingServices"],
|
|
2386
|
-
S["DecodingServices"],
|
|
2518
|
+
BottomLazy<
|
|
2387
2519
|
SchemaAST.AST,
|
|
2388
2520
|
flip<S>,
|
|
2389
|
-
|
|
2390
|
-
S["Encoded"],
|
|
2391
|
-
ReadonlyArray<Top>,
|
|
2392
|
-
S["Encoded"],
|
|
2521
|
+
ReadonlyArray<Constraint>,
|
|
2393
2522
|
S["~encoded.mutability"],
|
|
2394
2523
|
S["~encoded.optionality"],
|
|
2395
2524
|
ConstructorDefault,
|
|
@@ -2397,6 +2526,13 @@ export interface flip<S extends Top> extends
|
|
|
2397
2526
|
S["~type.optionality"]
|
|
2398
2527
|
>
|
|
2399
2528
|
{
|
|
2529
|
+
readonly "Type": S["Encoded"]
|
|
2530
|
+
readonly "Encoded": S["Type"]
|
|
2531
|
+
readonly "DecodingServices": S["EncodingServices"]
|
|
2532
|
+
readonly "EncodingServices": S["DecodingServices"]
|
|
2533
|
+
readonly "~type.make.in": S["Encoded"]
|
|
2534
|
+
readonly "~type.make": S["Encoded"]
|
|
2535
|
+
readonly "Iso": S["Encoded"]
|
|
2400
2536
|
readonly [FlipTypeId]: typeof FlipTypeId
|
|
2401
2537
|
readonly schema: S
|
|
2402
2538
|
}
|
|
@@ -2498,7 +2634,7 @@ export declare namespace TemplateLiteral {
|
|
|
2498
2634
|
* @category utility types
|
|
2499
2635
|
* @since 4.0.0
|
|
2500
2636
|
*/
|
|
2501
|
-
export interface SchemaPart extends
|
|
2637
|
+
export interface SchemaPart extends Constraint {
|
|
2502
2638
|
readonly Encoded: string | number | bigint
|
|
2503
2639
|
}
|
|
2504
2640
|
|
|
@@ -2531,7 +2667,7 @@ export declare namespace TemplateLiteral {
|
|
|
2531
2667
|
Template extends string,
|
|
2532
2668
|
Next
|
|
2533
2669
|
> = Next extends LiteralPart ? `${Template}${Next}`
|
|
2534
|
-
: Next extends
|
|
2670
|
+
: Next extends { readonly Encoded: infer E extends LiteralPart } ? `${Template}${E}`
|
|
2535
2671
|
: never
|
|
2536
2672
|
|
|
2537
2673
|
/**
|
|
@@ -2565,18 +2701,26 @@ export interface TemplateLiteral<Parts extends TemplateLiteral.Parts> extends
|
|
|
2565
2701
|
}
|
|
2566
2702
|
|
|
2567
2703
|
function templateLiteralFromParts<Parts extends TemplateLiteral.Parts>(parts: Parts) {
|
|
2568
|
-
return new SchemaAST.TemplateLiteral(
|
|
2704
|
+
return new SchemaAST.TemplateLiteral(
|
|
2705
|
+
parts.map((part) => isSchema(part) ? part.ast : new SchemaAST.Literal(part as TemplateLiteral.LiteralPart))
|
|
2706
|
+
)
|
|
2569
2707
|
}
|
|
2570
2708
|
|
|
2571
2709
|
/**
|
|
2572
|
-
* Creates a schema that validates strings matching
|
|
2573
|
-
*
|
|
2710
|
+
* Creates a schema that validates strings by matching ordered template literal
|
|
2711
|
+
* parts.
|
|
2574
2712
|
*
|
|
2575
2713
|
* **When to use**
|
|
2576
2714
|
*
|
|
2577
2715
|
* Use when the decoded value should remain the matched string and you do not
|
|
2578
2716
|
* need the individual template parts parsed into a tuple.
|
|
2579
2717
|
*
|
|
2718
|
+
* **Details**
|
|
2719
|
+
*
|
|
2720
|
+
* Each part can be a literal `string`, `number`, or `bigint`, or a schema whose
|
|
2721
|
+
* encoded type is `string`, `number`, or `bigint`. Checks on string, number,
|
|
2722
|
+
* and bigint schema parts are applied while matching each segment.
|
|
2723
|
+
*
|
|
2580
2724
|
* **Example** (Defining a URL path pattern)
|
|
2581
2725
|
*
|
|
2582
2726
|
* ```ts
|
|
@@ -2627,20 +2771,23 @@ export declare namespace TemplateLiteralParser {
|
|
|
2627
2771
|
* @since 3.10.0
|
|
2628
2772
|
*/
|
|
2629
2773
|
export interface TemplateLiteralParser<Parts extends TemplateLiteral.Parts> extends
|
|
2630
|
-
|
|
2631
|
-
TemplateLiteralParser.Type<Parts>,
|
|
2632
|
-
TemplateLiteral.Encoded<Parts>,
|
|
2633
|
-
never,
|
|
2634
|
-
never,
|
|
2774
|
+
BottomLazy<
|
|
2635
2775
|
SchemaAST.Arrays,
|
|
2636
2776
|
TemplateLiteralParser<Parts>
|
|
2637
2777
|
>
|
|
2638
2778
|
{
|
|
2779
|
+
readonly "Type": TemplateLiteralParser.Type<Parts>
|
|
2780
|
+
readonly "Encoded": TemplateLiteral.Encoded<Parts>
|
|
2781
|
+
readonly "DecodingServices": never
|
|
2782
|
+
readonly "EncodingServices": never
|
|
2783
|
+
readonly "~type.make.in": TemplateLiteralParser.Type<Parts>
|
|
2784
|
+
readonly "~type.make": TemplateLiteralParser.Type<Parts>
|
|
2785
|
+
readonly "Iso": TemplateLiteralParser.Type<Parts>
|
|
2639
2786
|
readonly parts: Parts
|
|
2640
2787
|
}
|
|
2641
2788
|
|
|
2642
2789
|
/**
|
|
2643
|
-
* Schema for parsing template literal
|
|
2790
|
+
* Schema for parsing matched template literal strings into typed tuple parts.
|
|
2644
2791
|
*
|
|
2645
2792
|
* **When to use**
|
|
2646
2793
|
*
|
|
@@ -2650,7 +2797,8 @@ export interface TemplateLiteralParser<Parts extends TemplateLiteral.Parts> exte
|
|
|
2650
2797
|
* **Details**
|
|
2651
2798
|
*
|
|
2652
2799
|
* Unlike {@link TemplateLiteral}, this schema decodes the matched string into a
|
|
2653
|
-
* readonly tuple with one element per schema part.
|
|
2800
|
+
* readonly tuple with one element per schema part. Checks on string, number,
|
|
2801
|
+
* and bigint schema parts are applied while matching each segment.
|
|
2654
2802
|
*
|
|
2655
2803
|
* **Example** (Parsing path parameters)
|
|
2656
2804
|
*
|
|
@@ -2914,8 +3062,21 @@ export const BigInt: BigInt = make(SchemaAST.bigInt)
|
|
|
2914
3062
|
export interface Void extends Bottom<void, void, never, never, SchemaAST.Void, Void> {}
|
|
2915
3063
|
|
|
2916
3064
|
/**
|
|
2917
|
-
* Schema for
|
|
3065
|
+
* Schema for a TypeScript `void` return value.
|
|
3066
|
+
*
|
|
3067
|
+
* **When to use**
|
|
3068
|
+
*
|
|
3069
|
+
* Use when you need to model the return value of a function, RPC, or endpoint
|
|
3070
|
+
* whose result is intentionally ignored.
|
|
2918
3071
|
*
|
|
3072
|
+
* **Details**
|
|
3073
|
+
*
|
|
3074
|
+
* Runtime parsing accepts any present value and discards it, producing
|
|
3075
|
+
* `undefined`. The public decoded and encoded TypeScript representation remains
|
|
3076
|
+
* `void`, so typed construction, decoding, and encoding APIs are still modeled
|
|
3077
|
+
* as `void`.
|
|
3078
|
+
*
|
|
3079
|
+
* @see {@link Undefined} for a schema that matches only the exact `undefined` value.
|
|
2919
3080
|
* @category schemas
|
|
2920
3081
|
* @since 3.10.0
|
|
2921
3082
|
*/
|
|
@@ -2992,7 +3153,7 @@ export declare namespace Struct {
|
|
|
2992
3153
|
* @category utility types
|
|
2993
3154
|
* @since 3.10.0
|
|
2994
3155
|
*/
|
|
2995
|
-
export type Fields = { readonly [x: PropertyKey]:
|
|
3156
|
+
export type Fields = { readonly [x: PropertyKey]: Constraint }
|
|
2996
3157
|
|
|
2997
3158
|
type TypeOptionalKeys<Fields extends Struct.Fields> = {
|
|
2998
3159
|
[K in keyof Fields]: Fields[K] extends { readonly "~type.optionality": "optional" } ? K
|
|
@@ -3004,15 +3165,46 @@ export declare namespace Struct {
|
|
|
3004
3165
|
: never
|
|
3005
3166
|
}[keyof Fields]
|
|
3006
3167
|
|
|
3007
|
-
type
|
|
3168
|
+
type SetOptional<A, K extends keyof A> = Omit<A, K> & Partial<Pick<A, K>>
|
|
3169
|
+
|
|
3170
|
+
type Mutable<A> = { -readonly [K in keyof A]: A[K] }
|
|
3171
|
+
|
|
3172
|
+
type SetMutable<A, K extends keyof A> = Omit<A, K> & Mutable<Pick<A, K>>
|
|
3173
|
+
|
|
3174
|
+
type Side = "Type" | "Iso" | "Encoded"
|
|
3175
|
+
|
|
3176
|
+
type EncodedOptionalKeys<Fields extends Struct.Fields> = {
|
|
3177
|
+
[K in keyof Fields]: Fields[K] extends { readonly "~encoded.optionality": "optional" } ? K
|
|
3178
|
+
: never
|
|
3179
|
+
}[keyof Fields]
|
|
3180
|
+
|
|
3181
|
+
type EncodedMutableKeys<Fields extends Struct.Fields> = {
|
|
3182
|
+
[K in keyof Fields]: Fields[K] extends { readonly "~encoded.mutability": "mutable" } ? K
|
|
3183
|
+
: never
|
|
3184
|
+
}[keyof Fields]
|
|
3185
|
+
|
|
3186
|
+
type SideOptionalKeys<F extends Fields, S extends Side> = S extends "Encoded" ? EncodedOptionalKeys<F>
|
|
3187
|
+
: TypeOptionalKeys<F>
|
|
3188
|
+
|
|
3189
|
+
type SideMutableKeys<F extends Fields, S extends Side> = S extends "Encoded" ? EncodedMutableKeys<F>
|
|
3190
|
+
: TypeMutableKeys<F>
|
|
3191
|
+
|
|
3192
|
+
type ReadonlySide<F extends Fields, S extends Side> = { readonly [K in keyof F]: F[K][S] }
|
|
3193
|
+
|
|
3194
|
+
type View<
|
|
3008
3195
|
F extends Fields,
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3196
|
+
S extends Side,
|
|
3197
|
+
O extends keyof F = SideOptionalKeys<F, S>,
|
|
3198
|
+
M extends keyof F = SideMutableKeys<F, S>
|
|
3199
|
+
> = [O | M] extends [never] ? ReadonlySide<F, S>
|
|
3200
|
+
: [M] extends [never] ? Simplify<SetOptional<ReadonlySide<F, S>, O>>
|
|
3201
|
+
: [O] extends [never] ? Simplify<SetMutable<ReadonlySide<F, S>, M>>
|
|
3202
|
+
: Simplify<
|
|
3203
|
+
SetMutable<
|
|
3204
|
+
SetOptional<ReadonlySide<F, S>, O>,
|
|
3205
|
+
Extract<keyof SetOptional<ReadonlySide<F, S>, O>, M>
|
|
3206
|
+
>
|
|
3207
|
+
>
|
|
3016
3208
|
|
|
3017
3209
|
/**
|
|
3018
3210
|
* Computes the decoded object type for a struct field map.
|
|
@@ -3025,17 +3217,7 @@ export declare namespace Struct {
|
|
|
3025
3217
|
* @category utility types
|
|
3026
3218
|
* @since 3.10.0
|
|
3027
3219
|
*/
|
|
3028
|
-
export type Type<F extends Fields> =
|
|
3029
|
-
|
|
3030
|
-
type Iso_<
|
|
3031
|
-
F extends Fields,
|
|
3032
|
-
O extends keyof F = TypeOptionalKeys<F>,
|
|
3033
|
-
M extends keyof F = TypeMutableKeys<F>
|
|
3034
|
-
> =
|
|
3035
|
-
& { readonly [K in keyof F as K extends M | O ? never : K]: F[K]["Iso"] }
|
|
3036
|
-
& { readonly [K in keyof F as K extends O ? K extends M ? never : K : never]?: F[K]["Iso"] }
|
|
3037
|
-
& { -readonly [K in keyof F as K extends M ? K extends O ? never : K : never]: F[K]["Iso"] }
|
|
3038
|
-
& { -readonly [K in keyof F as K extends M & O ? K : never]?: F[K]["Iso"] }
|
|
3220
|
+
export type Type<F extends Fields> = View<F, "Type">
|
|
3039
3221
|
|
|
3040
3222
|
/**
|
|
3041
3223
|
* Computes the iso object type for a struct field map from each field schema's
|
|
@@ -3049,27 +3231,7 @@ export declare namespace Struct {
|
|
|
3049
3231
|
* @category utility types
|
|
3050
3232
|
* @since 4.0.0
|
|
3051
3233
|
*/
|
|
3052
|
-
export type Iso<F extends Fields> =
|
|
3053
|
-
|
|
3054
|
-
type EncodedOptionalKeys<Fields extends Struct.Fields> = {
|
|
3055
|
-
[K in keyof Fields]: Fields[K] extends { readonly "~encoded.optionality": "optional" } ? K
|
|
3056
|
-
: never
|
|
3057
|
-
}[keyof Fields]
|
|
3058
|
-
|
|
3059
|
-
type EncodedMutableKeys<Fields extends Struct.Fields> = {
|
|
3060
|
-
[K in keyof Fields]: Fields[K] extends { readonly "~encoded.mutability": "mutable" } ? K
|
|
3061
|
-
: never
|
|
3062
|
-
}[keyof Fields]
|
|
3063
|
-
|
|
3064
|
-
type Encoded_<
|
|
3065
|
-
F extends Fields,
|
|
3066
|
-
O extends keyof F = EncodedOptionalKeys<F>,
|
|
3067
|
-
M extends keyof F = EncodedMutableKeys<F>
|
|
3068
|
-
> =
|
|
3069
|
-
& { readonly [K in keyof F as K extends M | O ? never : K]: F[K]["Encoded"] }
|
|
3070
|
-
& { readonly [K in keyof F as K extends O ? K extends M ? never : K : never]?: F[K]["Encoded"] }
|
|
3071
|
-
& { -readonly [K in keyof F as K extends M ? K extends O ? never : K : never]: F[K]["Encoded"] }
|
|
3072
|
-
& { -readonly [K in keyof F as K extends M & O ? K : never]?: F[K]["Encoded"] }
|
|
3234
|
+
export type Iso<F extends Fields> = View<F, "Iso">
|
|
3073
3235
|
|
|
3074
3236
|
/**
|
|
3075
3237
|
* Computes the encoded object type for a struct field map.
|
|
@@ -3083,7 +3245,7 @@ export declare namespace Struct {
|
|
|
3083
3245
|
* @category utility types
|
|
3084
3246
|
* @since 3.10.0
|
|
3085
3247
|
*/
|
|
3086
|
-
export type Encoded<F extends Fields> =
|
|
3248
|
+
export type Encoded<F extends Fields> = View<F, "Encoded">
|
|
3087
3249
|
|
|
3088
3250
|
/**
|
|
3089
3251
|
* Union of all decoding service requirements needed by the schemas in a struct
|
|
@@ -3108,12 +3270,12 @@ export declare namespace Struct {
|
|
|
3108
3270
|
: never
|
|
3109
3271
|
}[keyof Fields]
|
|
3110
3272
|
|
|
3111
|
-
type
|
|
3273
|
+
type ReadonlyMakeIn<F extends Fields> = { readonly [K in keyof F]: F[K]["~type.make"] }
|
|
3274
|
+
|
|
3275
|
+
type MakeInView<
|
|
3112
3276
|
F extends Fields,
|
|
3113
|
-
O = TypeOptionalKeys<F> | TypeConstructorDefaultedKeys<F>
|
|
3114
|
-
> =
|
|
3115
|
-
& { readonly [K in keyof F as K extends O ? never : K]: F[K]["~type.make"] }
|
|
3116
|
-
& { readonly [K in keyof F as K extends O ? K : never]?: F[K]["~type.make"] }
|
|
3277
|
+
O extends keyof F = TypeOptionalKeys<F> | TypeConstructorDefaultedKeys<F>
|
|
3278
|
+
> = [O] extends [never] ? ReadonlyMakeIn<F> : Simplify<SetOptional<ReadonlyMakeIn<F>, O>>
|
|
3117
3279
|
|
|
3118
3280
|
/**
|
|
3119
3281
|
* Computes the input object type accepted when constructing a struct value.
|
|
@@ -3126,7 +3288,7 @@ export declare namespace Struct {
|
|
|
3126
3288
|
* @category utility types
|
|
3127
3289
|
* @since 4.0.0
|
|
3128
3290
|
*/
|
|
3129
|
-
export type MakeIn<F extends Fields> =
|
|
3291
|
+
export type MakeIn<F extends Fields> = MakeInView<F>
|
|
3130
3292
|
}
|
|
3131
3293
|
|
|
3132
3294
|
/**
|
|
@@ -3135,18 +3297,14 @@ export declare namespace Struct {
|
|
|
3135
3297
|
* @category models
|
|
3136
3298
|
* @since 3.10.0
|
|
3137
3299
|
*/
|
|
3138
|
-
export interface Struct<Fields extends Struct.Fields> extends
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
Struct.MakeIn<Fields>,
|
|
3147
|
-
Struct.Iso<Fields>
|
|
3148
|
-
>
|
|
3149
|
-
{
|
|
3300
|
+
export interface Struct<Fields extends Struct.Fields> extends BottomLazy<SchemaAST.Objects, Struct<Fields>> {
|
|
3301
|
+
readonly "Type": Struct.Type<Fields>
|
|
3302
|
+
readonly "Encoded": Struct.Encoded<Fields>
|
|
3303
|
+
readonly "DecodingServices": Struct.DecodingServices<Fields>
|
|
3304
|
+
readonly "EncodingServices": Struct.EncodingServices<Fields>
|
|
3305
|
+
readonly "~type.make.in": Struct.MakeIn<Fields>
|
|
3306
|
+
readonly "~type.make": Struct.MakeIn<Fields>
|
|
3307
|
+
readonly "Iso": Struct.Iso<Fields>
|
|
3150
3308
|
/**
|
|
3151
3309
|
* The field definitions of this struct. Spread them into a new struct to
|
|
3152
3310
|
* reuse fields across schemas.
|
|
@@ -3293,7 +3451,7 @@ export function fieldsAssign<const NewFields extends Struct.Fields>(fields: NewF
|
|
|
3293
3451
|
* @since 4.0.0
|
|
3294
3452
|
*/
|
|
3295
3453
|
export interface encodeKeys<
|
|
3296
|
-
S extends
|
|
3454
|
+
S extends Constraint & { readonly fields: Struct.Fields },
|
|
3297
3455
|
M extends { readonly [K in keyof S["fields"]]?: PropertyKey }
|
|
3298
3456
|
> extends
|
|
3299
3457
|
decodeTo<
|
|
@@ -3340,7 +3498,7 @@ const canonicalPropertyKey = (key: PropertyKey): string | symbol =>
|
|
|
3340
3498
|
* @since 4.0.0
|
|
3341
3499
|
*/
|
|
3342
3500
|
export function encodeKeys<
|
|
3343
|
-
S extends
|
|
3501
|
+
S extends Constraint & { readonly fields: Struct.Fields },
|
|
3344
3502
|
const M extends { readonly [K in keyof S["fields"]]?: PropertyKey }
|
|
3345
3503
|
>(mapping: M) {
|
|
3346
3504
|
return function(self: S): encodeKeys<S, M> {
|
|
@@ -3482,7 +3640,7 @@ export declare namespace Record {
|
|
|
3482
3640
|
* @category utility types
|
|
3483
3641
|
* @since 3.10.0
|
|
3484
3642
|
*/
|
|
3485
|
-
export type Type<Key extends Record.Key, Value extends
|
|
3643
|
+
export type Type<Key extends Record.Key, Value extends Constraint> = Value extends
|
|
3486
3644
|
{ readonly "~type.optionality": "optional" } ?
|
|
3487
3645
|
Value extends { readonly "~type.mutability": "mutable" } ? { [P in Key["Type"]]?: Value["Type"] }
|
|
3488
3646
|
: { readonly [P in Key["Type"]]?: Value["Type"] }
|
|
@@ -3496,7 +3654,7 @@ export declare namespace Record {
|
|
|
3496
3654
|
* @category utility types
|
|
3497
3655
|
* @since 4.0.0
|
|
3498
3656
|
*/
|
|
3499
|
-
export type Iso<Key extends Record.Key, Value extends
|
|
3657
|
+
export type Iso<Key extends Record.Key, Value extends Constraint> = Value extends
|
|
3500
3658
|
{ readonly "~type.optionality": "optional" } ?
|
|
3501
3659
|
Value extends { readonly "~type.mutability": "mutable" } ? { [P in Key["Iso"]]?: Value["Iso"] }
|
|
3502
3660
|
: { readonly [P in Key["Iso"]]?: Value["Iso"] }
|
|
@@ -3515,7 +3673,7 @@ export declare namespace Record {
|
|
|
3515
3673
|
* @category utility types
|
|
3516
3674
|
* @since 3.10.0
|
|
3517
3675
|
*/
|
|
3518
|
-
export type Encoded<Key extends Record.Key, Value extends
|
|
3676
|
+
export type Encoded<Key extends Record.Key, Value extends Constraint> = Value extends
|
|
3519
3677
|
{ readonly "~encoded.optionality": "optional" } ?
|
|
3520
3678
|
Value extends { readonly "~encoded.mutability": "mutable" } ? { [P in Key["Encoded"]]?: Value["Encoded"] }
|
|
3521
3679
|
: { readonly [P in Key["Encoded"]]?: Value["Encoded"] }
|
|
@@ -3529,7 +3687,7 @@ export declare namespace Record {
|
|
|
3529
3687
|
* @category utility types
|
|
3530
3688
|
* @since 4.0.0
|
|
3531
3689
|
*/
|
|
3532
|
-
export type DecodingServices<Key extends Record.Key, Value extends
|
|
3690
|
+
export type DecodingServices<Key extends Record.Key, Value extends Constraint> =
|
|
3533
3691
|
| Key["DecodingServices"]
|
|
3534
3692
|
| Value["DecodingServices"]
|
|
3535
3693
|
|
|
@@ -3540,7 +3698,7 @@ export declare namespace Record {
|
|
|
3540
3698
|
* @category utility types
|
|
3541
3699
|
* @since 4.0.0
|
|
3542
3700
|
*/
|
|
3543
|
-
export type EncodingServices<Key extends Record.Key, Value extends
|
|
3701
|
+
export type EncodingServices<Key extends Record.Key, Value extends Constraint> =
|
|
3544
3702
|
| Key["EncodingServices"]
|
|
3545
3703
|
| Value["EncodingServices"]
|
|
3546
3704
|
|
|
@@ -3556,7 +3714,7 @@ export declare namespace Record {
|
|
|
3556
3714
|
* @category utility types
|
|
3557
3715
|
* @since 4.0.0
|
|
3558
3716
|
*/
|
|
3559
|
-
export type MakeIn<Key extends Record.Key, Value extends
|
|
3717
|
+
export type MakeIn<Key extends Record.Key, Value extends Constraint> = Value extends
|
|
3560
3718
|
{ readonly "~encoded.optionality": "optional" } ?
|
|
3561
3719
|
Value extends { readonly "~encoded.mutability": "mutable" } ? { [P in Key["~type.make"]]?: Value["~type.make"] }
|
|
3562
3720
|
: { readonly [P in Key["~type.make"]]?: Value["~type.make"] }
|
|
@@ -3570,24 +3728,36 @@ export declare namespace Record {
|
|
|
3570
3728
|
* @category models
|
|
3571
3729
|
* @since 4.0.0
|
|
3572
3730
|
*/
|
|
3573
|
-
export interface $Record<Key extends Record.Key, Value extends
|
|
3574
|
-
|
|
3575
|
-
Record.Type<Key, Value>,
|
|
3576
|
-
Record.Encoded<Key, Value>,
|
|
3577
|
-
Record.DecodingServices<Key, Value>,
|
|
3578
|
-
Record.EncodingServices<Key, Value>,
|
|
3731
|
+
export interface $Record<Key extends Record.Key, Value extends Constraint> extends
|
|
3732
|
+
BottomLazy<
|
|
3579
3733
|
SchemaAST.Objects,
|
|
3580
|
-
$Record<Key, Value
|
|
3581
|
-
Simplify<Record.MakeIn<Key, Value>>,
|
|
3582
|
-
Record.Iso<Key, Value>
|
|
3734
|
+
$Record<Key, Value>
|
|
3583
3735
|
>
|
|
3584
3736
|
{
|
|
3737
|
+
readonly "Type": Record.Type<Key, Value>
|
|
3738
|
+
readonly "Encoded": Record.Encoded<Key, Value>
|
|
3739
|
+
readonly "DecodingServices": Record.DecodingServices<Key, Value>
|
|
3740
|
+
readonly "EncodingServices": Record.EncodingServices<Key, Value>
|
|
3741
|
+
readonly "~type.make.in": Simplify<Record.MakeIn<Key, Value>>
|
|
3742
|
+
readonly "~type.make": Simplify<Record.MakeIn<Key, Value>>
|
|
3743
|
+
readonly "Iso": Record.Iso<Key, Value>
|
|
3585
3744
|
readonly key: Key
|
|
3586
3745
|
readonly value: Value
|
|
3587
3746
|
}
|
|
3588
3747
|
|
|
3589
3748
|
/**
|
|
3590
|
-
* Defines a record
|
|
3749
|
+
* Defines a record schema whose dynamic properties are selected by a key schema
|
|
3750
|
+
* and decoded with a value schema.
|
|
3751
|
+
*
|
|
3752
|
+
* **Details**
|
|
3753
|
+
*
|
|
3754
|
+
* For dynamic keys, the key schema selects matching own properties and the
|
|
3755
|
+
* value schema decodes or encodes only those selected properties. Checks on
|
|
3756
|
+
* string, number, symbol, and template literal key schemas narrow which
|
|
3757
|
+
* properties are selected.
|
|
3758
|
+
*
|
|
3759
|
+
* For transformed key schemas, property selection is based on encoded property
|
|
3760
|
+
* names before the selected key is decoded.
|
|
3591
3761
|
*
|
|
3592
3762
|
* **Example** (Defining a string-keyed record of numbers)
|
|
3593
3763
|
*
|
|
@@ -3607,7 +3777,7 @@ export interface $Record<Key extends Record.Key, Value extends Top> extends
|
|
|
3607
3777
|
* @category constructors
|
|
3608
3778
|
* @since 3.10.0
|
|
3609
3779
|
*/
|
|
3610
|
-
export function Record<Key extends Record.Key, Value extends
|
|
3780
|
+
export function Record<Key extends Record.Key, Value extends Constraint>(
|
|
3611
3781
|
key: Key,
|
|
3612
3782
|
value: Value,
|
|
3613
3783
|
options?: {
|
|
@@ -3641,7 +3811,7 @@ export declare namespace StructWithRest {
|
|
|
3641
3811
|
* @category utility types
|
|
3642
3812
|
* @since 4.0.0
|
|
3643
3813
|
*/
|
|
3644
|
-
export type Objects =
|
|
3814
|
+
export type Objects = Constraint & { readonly ast: SchemaAST.Objects }
|
|
3645
3815
|
|
|
3646
3816
|
/**
|
|
3647
3817
|
* Readonly list of record schemas that provide the additional index signatures
|
|
@@ -3650,7 +3820,7 @@ export declare namespace StructWithRest {
|
|
|
3650
3820
|
* @category utility types
|
|
3651
3821
|
* @since 3.10.0
|
|
3652
3822
|
*/
|
|
3653
|
-
export type Records = ReadonlyArray<$Record<Record.Key,
|
|
3823
|
+
export type Records = ReadonlyArray<$Record<Record.Key, Constraint>>
|
|
3654
3824
|
|
|
3655
3825
|
type MergeTuple<T extends ReadonlyArray<unknown>> = T extends readonly [infer Head, ...infer Tail] ?
|
|
3656
3826
|
Head & MergeTuple<Tail>
|
|
@@ -3747,24 +3917,52 @@ export declare namespace StructWithRest {
|
|
|
3747
3917
|
[I in keyof Records]: Records[I][Side] extends object ? IncompatibleKeys<S[Side], Records[I][Side]> : never
|
|
3748
3918
|
}[number]
|
|
3749
3919
|
|
|
3920
|
+
type IncompatibleRecords<S extends Objects, Records extends StructWithRest.Records> =
|
|
3921
|
+
| IncompatibleSideKeys<S, Records, "Type">
|
|
3922
|
+
| IncompatibleSideKeys<S, Records, "Encoded">
|
|
3923
|
+
| IncompatibleSideKeys<S, Records, "Iso">
|
|
3924
|
+
| IncompatibleSideKeys<S, Records, "~type.make">
|
|
3925
|
+
|
|
3750
3926
|
/**
|
|
3751
|
-
*
|
|
3927
|
+
* Checks whether fixed fields are compatible with the rest record schemas.
|
|
3928
|
+
*
|
|
3929
|
+
* **Details**
|
|
3930
|
+
*
|
|
3931
|
+
* Returns `true` when all fixed fields can also satisfy the matching rest
|
|
3932
|
+
* index signatures. Returns a diagnostic object when TypeScript would make
|
|
3933
|
+
* the resulting intersection too narrow for one or more fixed keys.
|
|
3934
|
+
*
|
|
3935
|
+
* **Example** (Checking record compatibility)
|
|
3936
|
+
*
|
|
3937
|
+
* ```ts
|
|
3938
|
+
* import { Schema } from "effect"
|
|
3939
|
+
*
|
|
3940
|
+
* const user = Schema.Struct({ id: Schema.String })
|
|
3941
|
+
* const stringExtras = [Schema.Record(Schema.String, Schema.String)] as const
|
|
3942
|
+
*
|
|
3943
|
+
* type UserCheck = Schema.StructWithRest.ValidateRecords<typeof user, typeof stringExtras>
|
|
3944
|
+
*
|
|
3945
|
+
* const userCheck: UserCheck = true
|
|
3946
|
+
* void userCheck
|
|
3947
|
+
*
|
|
3948
|
+
* const counter = Schema.Struct({ count: Schema.NumberFromString })
|
|
3949
|
+
*
|
|
3950
|
+
* type CounterCheck = Schema.StructWithRest.ValidateRecords<typeof counter, typeof stringExtras>
|
|
3951
|
+
* // ^? { "incompatible index signatures": "count" }
|
|
3952
|
+
*
|
|
3953
|
+
* const counterCheck = null as unknown as CounterCheck
|
|
3954
|
+
* void counterCheck
|
|
3955
|
+
* ```
|
|
3752
3956
|
*
|
|
3753
3957
|
* @category utility types
|
|
3754
3958
|
* @since 4.0.0
|
|
3755
3959
|
*/
|
|
3756
|
-
export type ValidateRecords<
|
|
3757
|
-
|
|
3758
|
-
|
|
3759
|
-
|
|
3760
|
-
| IncompatibleSideKeys<S, Records, "~type.make">
|
|
3761
|
-
] extends [never] ? unknown
|
|
3960
|
+
export type ValidateRecords<
|
|
3961
|
+
S extends Objects,
|
|
3962
|
+
Records extends StructWithRest.Records
|
|
3963
|
+
> = [IncompatibleRecords<S, Records>] extends [never] ? true
|
|
3762
3964
|
: {
|
|
3763
|
-
"incompatible index signatures":
|
|
3764
|
-
| IncompatibleSideKeys<S, Records, "Type">
|
|
3765
|
-
| IncompatibleSideKeys<S, Records, "Encoded">
|
|
3766
|
-
| IncompatibleSideKeys<S, Records, "Iso">
|
|
3767
|
-
| IncompatibleSideKeys<S, Records, "~type.make">
|
|
3965
|
+
"incompatible index signatures": IncompatibleRecords<S, Records>
|
|
3768
3966
|
}
|
|
3769
3967
|
}
|
|
3770
3968
|
|
|
@@ -3778,17 +3976,18 @@ export interface StructWithRest<
|
|
|
3778
3976
|
S extends StructWithRest.Objects,
|
|
3779
3977
|
Records extends StructWithRest.Records
|
|
3780
3978
|
> extends
|
|
3781
|
-
|
|
3782
|
-
Simplify<StructWithRest.Type<S, Records>>,
|
|
3783
|
-
Simplify<StructWithRest.Encoded<S, Records>>,
|
|
3784
|
-
StructWithRest.DecodingServices<S, Records>,
|
|
3785
|
-
StructWithRest.EncodingServices<S, Records>,
|
|
3979
|
+
BottomLazy<
|
|
3786
3980
|
SchemaAST.Objects,
|
|
3787
|
-
StructWithRest<S, Records
|
|
3788
|
-
Simplify<StructWithRest.MakeIn<S, Records>>,
|
|
3789
|
-
Simplify<StructWithRest.Iso<S, Records>>
|
|
3981
|
+
StructWithRest<S, Records>
|
|
3790
3982
|
>
|
|
3791
3983
|
{
|
|
3984
|
+
readonly "Type": Simplify<StructWithRest.Type<S, Records>>
|
|
3985
|
+
readonly "Encoded": Simplify<StructWithRest.Encoded<S, Records>>
|
|
3986
|
+
readonly "DecodingServices": StructWithRest.DecodingServices<S, Records>
|
|
3987
|
+
readonly "EncodingServices": StructWithRest.EncodingServices<S, Records>
|
|
3988
|
+
readonly "~type.make.in": Simplify<StructWithRest.MakeIn<S, Records>>
|
|
3989
|
+
readonly "~type.make": Simplify<StructWithRest.MakeIn<S, Records>>
|
|
3990
|
+
readonly "Iso": Simplify<StructWithRest.Iso<S, Records>>
|
|
3792
3991
|
readonly schema: S
|
|
3793
3992
|
readonly records: Records
|
|
3794
3993
|
}
|
|
@@ -3797,6 +3996,13 @@ export interface StructWithRest<
|
|
|
3797
3996
|
* Extends a struct schema with one or more record (index-signature) schemas,
|
|
3798
3997
|
* producing a schema whose decoded type intersects the struct and all records.
|
|
3799
3998
|
*
|
|
3999
|
+
* **Gotchas**
|
|
4000
|
+
*
|
|
4001
|
+
* TypeScript index signatures also apply to fixed keys. `StructWithRest` does
|
|
4002
|
+
* not reject incompatible fixed fields at the call site; use
|
|
4003
|
+
* `StructWithRest.ValidateRecords` when you want an explicit type-level
|
|
4004
|
+
* compatibility check.
|
|
4005
|
+
*
|
|
3800
4006
|
* **Example** (Defining structs with string-indexed extra keys)
|
|
3801
4007
|
*
|
|
3802
4008
|
* ```ts
|
|
@@ -3819,7 +4025,7 @@ export function StructWithRest<
|
|
|
3819
4025
|
const Records extends StructWithRest.Records
|
|
3820
4026
|
>(
|
|
3821
4027
|
schema: S,
|
|
3822
|
-
records: Records
|
|
4028
|
+
records: Records
|
|
3823
4029
|
): StructWithRest<S, Records> {
|
|
3824
4030
|
return make(SchemaAST.structWithRest(schema.ast, records.map(SchemaAST.getAST)), { schema, records })
|
|
3825
4031
|
}
|
|
@@ -3844,7 +4050,7 @@ export declare namespace Tuple {
|
|
|
3844
4050
|
* @category utility types
|
|
3845
4051
|
* @since 3.10.0
|
|
3846
4052
|
*/
|
|
3847
|
-
export type Elements = ReadonlyArray<
|
|
4053
|
+
export type Elements = ReadonlyArray<Constraint>
|
|
3848
4054
|
|
|
3849
4055
|
type Type_<
|
|
3850
4056
|
Elements,
|
|
@@ -3962,17 +4168,18 @@ export declare namespace Tuple {
|
|
|
3962
4168
|
* @since 3.10.0
|
|
3963
4169
|
*/
|
|
3964
4170
|
export interface Tuple<Elements extends Tuple.Elements> extends
|
|
3965
|
-
|
|
3966
|
-
Tuple.Type<Elements>,
|
|
3967
|
-
Tuple.Encoded<Elements>,
|
|
3968
|
-
Tuple.DecodingServices<Elements>,
|
|
3969
|
-
Tuple.EncodingServices<Elements>,
|
|
4171
|
+
BottomLazy<
|
|
3970
4172
|
SchemaAST.Arrays,
|
|
3971
|
-
Tuple<Elements
|
|
3972
|
-
Tuple.MakeIn<Elements>,
|
|
3973
|
-
Tuple.Iso<Elements>
|
|
4173
|
+
Tuple<Elements>
|
|
3974
4174
|
>
|
|
3975
4175
|
{
|
|
4176
|
+
readonly "Type": Tuple.Type<Elements>
|
|
4177
|
+
readonly "Encoded": Tuple.Encoded<Elements>
|
|
4178
|
+
readonly "DecodingServices": Tuple.DecodingServices<Elements>
|
|
4179
|
+
readonly "EncodingServices": Tuple.EncodingServices<Elements>
|
|
4180
|
+
readonly "~type.make.in": Tuple.MakeIn<Elements>
|
|
4181
|
+
readonly "~type.make": Tuple.MakeIn<Elements>
|
|
4182
|
+
readonly "Iso": Tuple.Iso<Elements>
|
|
3976
4183
|
readonly elements: Elements
|
|
3977
4184
|
/**
|
|
3978
4185
|
* Returns a new tuple with the elements modified by the provided function.
|
|
@@ -4032,7 +4239,7 @@ function makeTuple<Elements extends Tuple.Elements>(ast: SchemaAST.Arrays, eleme
|
|
|
4032
4239
|
* @category constructors
|
|
4033
4240
|
* @since 3.10.0
|
|
4034
4241
|
*/
|
|
4035
|
-
export function Tuple<const Elements extends ReadonlyArray<
|
|
4242
|
+
export function Tuple<const Elements extends ReadonlyArray<Constraint>>(elements: Elements): Tuple<Elements> {
|
|
4036
4243
|
return makeTuple(SchemaAST.tuple(elements), elements)
|
|
4037
4244
|
}
|
|
4038
4245
|
|
|
@@ -4056,7 +4263,7 @@ export declare namespace TupleWithRest {
|
|
|
4056
4263
|
* @category utility types
|
|
4057
4264
|
* @since 3.10.0
|
|
4058
4265
|
*/
|
|
4059
|
-
export type TupleType =
|
|
4266
|
+
export type TupleType = Constraint & {
|
|
4060
4267
|
readonly Type: ReadonlyArray<unknown>
|
|
4061
4268
|
readonly Encoded: ReadonlyArray<unknown>
|
|
4062
4269
|
readonly ast: SchemaAST.Arrays
|
|
@@ -4075,7 +4282,7 @@ export declare namespace TupleWithRest {
|
|
|
4075
4282
|
* @category utility types
|
|
4076
4283
|
* @since 3.10.0
|
|
4077
4284
|
*/
|
|
4078
|
-
export type Rest = readonly [
|
|
4285
|
+
export type Rest = readonly [Constraint, ...Array<Constraint>]
|
|
4079
4286
|
|
|
4080
4287
|
/**
|
|
4081
4288
|
* Computes the decoded tuple type for a `TupleWithRest`.
|
|
@@ -4090,7 +4297,7 @@ export declare namespace TupleWithRest {
|
|
|
4090
4297
|
* @since 3.10.0
|
|
4091
4298
|
*/
|
|
4092
4299
|
export type Type<T extends ReadonlyArray<unknown>, Rest extends TupleWithRest.Rest> = Rest extends
|
|
4093
|
-
readonly [infer Head extends
|
|
4300
|
+
readonly [infer Head extends Constraint, ...infer Tail extends ReadonlyArray<Constraint>] ? Readonly<[
|
|
4094
4301
|
...T,
|
|
4095
4302
|
...Array<Head["Type"]>,
|
|
4096
4303
|
...{ readonly [K in keyof Tail]: Tail[K]["Type"] }
|
|
@@ -4110,7 +4317,7 @@ export declare namespace TupleWithRest {
|
|
|
4110
4317
|
* @since 4.0.0
|
|
4111
4318
|
*/
|
|
4112
4319
|
export type Iso<T extends ReadonlyArray<unknown>, Rest extends TupleWithRest.Rest> = Rest extends
|
|
4113
|
-
readonly [infer Head extends
|
|
4320
|
+
readonly [infer Head extends Constraint, ...infer Tail extends ReadonlyArray<Constraint>] ? Readonly<[
|
|
4114
4321
|
...T,
|
|
4115
4322
|
...Array<Head["Iso"]>,
|
|
4116
4323
|
...{ readonly [K in keyof Tail]: Tail[K]["Iso"] }
|
|
@@ -4130,7 +4337,7 @@ export declare namespace TupleWithRest {
|
|
|
4130
4337
|
* @since 3.10.0
|
|
4131
4338
|
*/
|
|
4132
4339
|
export type Encoded<E extends ReadonlyArray<unknown>, Rest extends TupleWithRest.Rest> = Rest extends
|
|
4133
|
-
readonly [infer Head extends
|
|
4340
|
+
readonly [infer Head extends Constraint, ...infer Tail extends ReadonlyArray<Constraint>] ? readonly [
|
|
4134
4341
|
...E,
|
|
4135
4342
|
...Array<Head["Encoded"]>,
|
|
4136
4343
|
...{ readonly [K in keyof Tail]: Tail[K]["Encoded"] }
|
|
@@ -4150,7 +4357,7 @@ export declare namespace TupleWithRest {
|
|
|
4150
4357
|
* @since 4.0.0
|
|
4151
4358
|
*/
|
|
4152
4359
|
export type MakeIn<M extends ReadonlyArray<unknown>, Rest extends TupleWithRest.Rest> = Rest extends
|
|
4153
|
-
readonly [infer Head extends
|
|
4360
|
+
readonly [infer Head extends Constraint, ...infer Tail extends ReadonlyArray<Constraint>] ? readonly [
|
|
4154
4361
|
...M,
|
|
4155
4362
|
...Array<Head["~type.make"]>,
|
|
4156
4363
|
...{ readonly [K in keyof Tail]: Tail[K]["~type.make"] }
|
|
@@ -4168,17 +4375,18 @@ export interface TupleWithRest<
|
|
|
4168
4375
|
S extends TupleWithRest.TupleType,
|
|
4169
4376
|
Rest extends TupleWithRest.Rest
|
|
4170
4377
|
> extends
|
|
4171
|
-
|
|
4172
|
-
TupleWithRest.Type<S["Type"], Rest>,
|
|
4173
|
-
TupleWithRest.Encoded<S["Encoded"], Rest>,
|
|
4174
|
-
S["DecodingServices"] | Rest[number]["DecodingServices"],
|
|
4175
|
-
S["EncodingServices"] | Rest[number]["EncodingServices"],
|
|
4378
|
+
BottomLazy<
|
|
4176
4379
|
SchemaAST.Arrays,
|
|
4177
|
-
TupleWithRest<S, Rest
|
|
4178
|
-
TupleWithRest.MakeIn<S["~type.make"], Rest>,
|
|
4179
|
-
TupleWithRest.Iso<S["Iso"], Rest>
|
|
4380
|
+
TupleWithRest<S, Rest>
|
|
4180
4381
|
>
|
|
4181
4382
|
{
|
|
4383
|
+
readonly "Type": TupleWithRest.Type<S["Type"], Rest>
|
|
4384
|
+
readonly "Encoded": TupleWithRest.Encoded<S["Encoded"], Rest>
|
|
4385
|
+
readonly "DecodingServices": S["DecodingServices"] | Rest[number]["DecodingServices"]
|
|
4386
|
+
readonly "EncodingServices": S["EncodingServices"] | Rest[number]["EncodingServices"]
|
|
4387
|
+
readonly "~type.make.in": TupleWithRest.MakeIn<S["~type.make"], Rest>
|
|
4388
|
+
readonly "~type.make": TupleWithRest.MakeIn<S["~type.make"], Rest>
|
|
4389
|
+
readonly "Iso": TupleWithRest.Iso<S["Iso"], Rest>
|
|
4182
4390
|
readonly schema: S
|
|
4183
4391
|
readonly rest: Rest
|
|
4184
4392
|
}
|
|
@@ -4226,24 +4434,25 @@ export function TupleWithRest<S extends Tuple<Tuple.Elements>, const Rest extend
|
|
|
4226
4434
|
* @category models
|
|
4227
4435
|
* @since 4.0.0
|
|
4228
4436
|
*/
|
|
4229
|
-
export interface $Array<S extends
|
|
4230
|
-
|
|
4231
|
-
ReadonlyArray<S["Type"]>,
|
|
4232
|
-
ReadonlyArray<S["Encoded"]>,
|
|
4233
|
-
S["DecodingServices"],
|
|
4234
|
-
S["EncodingServices"],
|
|
4437
|
+
export interface $Array<S extends Constraint> extends
|
|
4438
|
+
BottomLazy<
|
|
4235
4439
|
SchemaAST.Arrays,
|
|
4236
|
-
$Array<S
|
|
4237
|
-
ReadonlyArray<S["~type.make"]>,
|
|
4238
|
-
ReadonlyArray<S["Iso"]>
|
|
4440
|
+
$Array<S>
|
|
4239
4441
|
>
|
|
4240
4442
|
{
|
|
4443
|
+
readonly "Type": ReadonlyArray<S["Type"]>
|
|
4444
|
+
readonly "Encoded": ReadonlyArray<S["Encoded"]>
|
|
4445
|
+
readonly "DecodingServices": S["DecodingServices"]
|
|
4446
|
+
readonly "EncodingServices": S["EncodingServices"]
|
|
4447
|
+
readonly "~type.make.in": ReadonlyArray<S["~type.make"]>
|
|
4448
|
+
readonly "~type.make": ReadonlyArray<S["~type.make"]>
|
|
4449
|
+
readonly "Iso": ReadonlyArray<S["Iso"]>
|
|
4241
4450
|
readonly value: S
|
|
4242
4451
|
}
|
|
4243
4452
|
|
|
4244
4453
|
interface ArrayLambda extends Lambda {
|
|
4245
|
-
<S extends
|
|
4246
|
-
readonly "~lambda.out": this["~lambda.in"] extends
|
|
4454
|
+
<S extends Constraint>(self: S): $Array<S>
|
|
4455
|
+
readonly "~lambda.out": this["~lambda.in"] extends Constraint ? $Array<this["~lambda.in"]> : never
|
|
4247
4456
|
}
|
|
4248
4457
|
|
|
4249
4458
|
/**
|
|
@@ -4282,24 +4491,25 @@ export {
|
|
|
4282
4491
|
* @category models
|
|
4283
4492
|
* @since 3.10.0
|
|
4284
4493
|
*/
|
|
4285
|
-
export interface NonEmptyArray<S extends
|
|
4286
|
-
|
|
4287
|
-
readonly [S["Type"], ...Array<S["Type"]>],
|
|
4288
|
-
readonly [S["Encoded"], ...Array<S["Encoded"]>],
|
|
4289
|
-
S["DecodingServices"],
|
|
4290
|
-
S["EncodingServices"],
|
|
4494
|
+
export interface NonEmptyArray<S extends Constraint> extends
|
|
4495
|
+
BottomLazy<
|
|
4291
4496
|
SchemaAST.Arrays,
|
|
4292
|
-
NonEmptyArray<S
|
|
4293
|
-
readonly [S["~type.make"], ...Array<S["~type.make"]>],
|
|
4294
|
-
readonly [S["Iso"], ...Array<S["Iso"]>]
|
|
4497
|
+
NonEmptyArray<S>
|
|
4295
4498
|
>
|
|
4296
4499
|
{
|
|
4500
|
+
readonly "Type": readonly [S["Type"], ...Array<S["Type"]>]
|
|
4501
|
+
readonly "Encoded": readonly [S["Encoded"], ...Array<S["Encoded"]>]
|
|
4502
|
+
readonly "DecodingServices": S["DecodingServices"]
|
|
4503
|
+
readonly "EncodingServices": S["EncodingServices"]
|
|
4504
|
+
readonly "~type.make.in": readonly [S["~type.make"], ...Array<S["~type.make"]>]
|
|
4505
|
+
readonly "~type.make": readonly [S["~type.make"], ...Array<S["~type.make"]>]
|
|
4506
|
+
readonly "Iso": readonly [S["Iso"], ...Array<S["Iso"]>]
|
|
4297
4507
|
readonly value: S
|
|
4298
4508
|
}
|
|
4299
4509
|
|
|
4300
4510
|
interface NonEmptyArrayLambda extends Lambda {
|
|
4301
|
-
<S extends
|
|
4302
|
-
readonly "~lambda.out": this["~lambda.in"] extends
|
|
4511
|
+
<S extends Constraint>(self: S): NonEmptyArray<S>
|
|
4512
|
+
readonly "~lambda.out": this["~lambda.in"] extends Constraint ? NonEmptyArray<this["~lambda.in"]> : never
|
|
4303
4513
|
}
|
|
4304
4514
|
|
|
4305
4515
|
/**
|
|
@@ -4330,7 +4540,7 @@ export const NonEmptyArray = Struct_.lambda<NonEmptyArrayLambda>((schema) =>
|
|
|
4330
4540
|
* @category constructors
|
|
4331
4541
|
* @since 3.10.0
|
|
4332
4542
|
*/
|
|
4333
|
-
export interface ArrayEnsure<S extends
|
|
4543
|
+
export interface ArrayEnsure<S extends Constraint> extends decodeTo<$Array<toType<S>>, Union<readonly [S, $Array<S>]>> {
|
|
4334
4544
|
readonly "Rebuild": ArrayEnsure<S>
|
|
4335
4545
|
}
|
|
4336
4546
|
|
|
@@ -4360,7 +4570,7 @@ export interface ArrayEnsure<S extends Top> extends decodeTo<$Array<toType<S>>,
|
|
|
4360
4570
|
* @category constructors
|
|
4361
4571
|
* @since 3.10.0
|
|
4362
4572
|
*/
|
|
4363
|
-
export function ArrayEnsure<S extends
|
|
4573
|
+
export function ArrayEnsure<S extends Constraint>(schema: S): ArrayEnsure<S> {
|
|
4364
4574
|
return Union([schema, ArraySchema(schema)]).pipe(decodeTo(
|
|
4365
4575
|
ArraySchema(toType(schema)),
|
|
4366
4576
|
SchemaTransformation.transform({
|
|
@@ -4376,7 +4586,7 @@ export function ArrayEnsure<S extends Top>(schema: S): ArrayEnsure<S> {
|
|
|
4376
4586
|
* @category models
|
|
4377
4587
|
* @since 4.0.0
|
|
4378
4588
|
*/
|
|
4379
|
-
export interface UniqueArray<S extends
|
|
4589
|
+
export interface UniqueArray<S extends Constraint> extends $Array<S> {
|
|
4380
4590
|
readonly "Rebuild": UniqueArray<S>
|
|
4381
4591
|
}
|
|
4382
4592
|
|
|
@@ -4391,7 +4601,7 @@ export interface UniqueArray<S extends Top> extends $Array<S> {
|
|
|
4391
4601
|
* @category constructors
|
|
4392
4602
|
* @since 4.0.0
|
|
4393
4603
|
*/
|
|
4394
|
-
export function UniqueArray<S extends
|
|
4604
|
+
export function UniqueArray<S extends Constraint>(item: S): UniqueArray<S> {
|
|
4395
4605
|
return ArraySchema(item).check(isUnique())
|
|
4396
4606
|
}
|
|
4397
4607
|
|
|
@@ -4401,19 +4611,11 @@ export function UniqueArray<S extends Top>(item: S): UniqueArray<S> {
|
|
|
4401
4611
|
* @category transforming
|
|
4402
4612
|
* @since 3.10.0
|
|
4403
4613
|
*/
|
|
4404
|
-
export interface mutable<S extends
|
|
4405
|
-
|
|
4406
|
-
Mutable<S["Type"]>,
|
|
4407
|
-
Mutable<S["Encoded"]>,
|
|
4408
|
-
S["DecodingServices"],
|
|
4409
|
-
S["EncodingServices"],
|
|
4614
|
+
export interface mutable<S extends Constraint & { readonly "ast": SchemaAST.Arrays }> extends
|
|
4615
|
+
BottomLazy<
|
|
4410
4616
|
S["ast"],
|
|
4411
4617
|
mutable<S>,
|
|
4412
|
-
// "~type.make" and "~type.make.in" as they are because they are contravariant
|
|
4413
|
-
S["~type.make.in"],
|
|
4414
|
-
S["Iso"],
|
|
4415
4618
|
S["~type.parameters"],
|
|
4416
|
-
S["~type.make"],
|
|
4417
4619
|
S["~type.mutability"],
|
|
4418
4620
|
S["~type.optionality"],
|
|
4419
4621
|
S["~type.constructor.default"],
|
|
@@ -4421,12 +4623,20 @@ export interface mutable<S extends Top & { readonly "ast": SchemaAST.Arrays }> e
|
|
|
4421
4623
|
S["~encoded.optionality"]
|
|
4422
4624
|
>
|
|
4423
4625
|
{
|
|
4626
|
+
readonly "Type": Mutable<S["Type"]>
|
|
4627
|
+
readonly "Encoded": Mutable<S["Encoded"]>
|
|
4628
|
+
readonly "DecodingServices": S["DecodingServices"]
|
|
4629
|
+
readonly "EncodingServices": S["EncodingServices"]
|
|
4630
|
+
// "~type.make" and "~type.make.in" as they are because they are contravariant
|
|
4631
|
+
readonly "~type.make.in": S["~type.make.in"]
|
|
4632
|
+
readonly "~type.make": S["~type.make"]
|
|
4633
|
+
readonly "Iso": S["Iso"]
|
|
4424
4634
|
readonly schema: S
|
|
4425
4635
|
}
|
|
4426
4636
|
|
|
4427
4637
|
interface mutableLambda extends Lambda {
|
|
4428
|
-
<S extends
|
|
4429
|
-
readonly "~lambda.out": this["~lambda.in"] extends
|
|
4638
|
+
<S extends Constraint & { readonly "ast": SchemaAST.Arrays }>(self: S): mutable<S>
|
|
4639
|
+
readonly "~lambda.out": this["~lambda.in"] extends Constraint & { readonly "ast": SchemaAST.Arrays } ?
|
|
4430
4640
|
mutable<this["~lambda.in"]>
|
|
4431
4641
|
: "Error: schema not eligible for mutable"
|
|
4432
4642
|
}
|
|
@@ -4458,18 +4668,19 @@ export const mutable = Struct_.lambda<mutableLambda>((schema) => {
|
|
|
4458
4668
|
* @category models
|
|
4459
4669
|
* @since 3.10.0
|
|
4460
4670
|
*/
|
|
4461
|
-
export interface Union<Members extends ReadonlyArray<
|
|
4462
|
-
|
|
4463
|
-
{ [K in keyof Members]: Members[K]["Type"] }[number],
|
|
4464
|
-
{ [K in keyof Members]: Members[K]["Encoded"] }[number],
|
|
4465
|
-
{ [K in keyof Members]: Members[K]["DecodingServices"] }[number],
|
|
4466
|
-
{ [K in keyof Members]: Members[K]["EncodingServices"] }[number],
|
|
4671
|
+
export interface Union<Members extends ReadonlyArray<Constraint>> extends
|
|
4672
|
+
BottomLazy<
|
|
4467
4673
|
SchemaAST.Union<{ [K in keyof Members]: Members[K]["ast"] }[number]>,
|
|
4468
|
-
Union<Members
|
|
4469
|
-
{ [K in keyof Members]: Members[K]["~type.make"] }[number],
|
|
4470
|
-
{ [K in keyof Members]: Members[K]["Iso"] }[number]
|
|
4674
|
+
Union<Members>
|
|
4471
4675
|
>
|
|
4472
4676
|
{
|
|
4677
|
+
readonly "Type": { [K in keyof Members]: Members[K]["Type"] }[number]
|
|
4678
|
+
readonly "Encoded": { [K in keyof Members]: Members[K]["Encoded"] }[number]
|
|
4679
|
+
readonly "DecodingServices": { [K in keyof Members]: Members[K]["DecodingServices"] }[number]
|
|
4680
|
+
readonly "EncodingServices": { [K in keyof Members]: Members[K]["EncodingServices"] }[number]
|
|
4681
|
+
readonly "~type.make.in": { [K in keyof Members]: Members[K]["~type.make"] }[number]
|
|
4682
|
+
readonly "~type.make": { [K in keyof Members]: Members[K]["~type.make"] }[number]
|
|
4683
|
+
readonly "Iso": { [K in keyof Members]: Members[K]["Iso"] }[number]
|
|
4473
4684
|
readonly members: Members
|
|
4474
4685
|
/**
|
|
4475
4686
|
* Returns a new union with the members modified by the provided function.
|
|
@@ -4487,7 +4698,7 @@ export interface Union<Members extends ReadonlyArray<Top>> extends
|
|
|
4487
4698
|
* use this option if you have verified that your refinements remain correct
|
|
4488
4699
|
* after the transformation.
|
|
4489
4700
|
*/
|
|
4490
|
-
mapMembers<To extends ReadonlyArray<
|
|
4701
|
+
mapMembers<To extends ReadonlyArray<Constraint>>(
|
|
4491
4702
|
f: (members: Members) => To,
|
|
4492
4703
|
options?: {
|
|
4493
4704
|
readonly unsafePreserveChecks?: boolean | undefined
|
|
@@ -4495,13 +4706,13 @@ export interface Union<Members extends ReadonlyArray<Top>> extends
|
|
|
4495
4706
|
): Union<Simplify<Readonly<To>>>
|
|
4496
4707
|
}
|
|
4497
4708
|
|
|
4498
|
-
function makeUnion<Members extends ReadonlyArray<
|
|
4709
|
+
function makeUnion<Members extends ReadonlyArray<Constraint>>(
|
|
4499
4710
|
ast: SchemaAST.Union<Members[number]["ast"]>,
|
|
4500
4711
|
members: Members
|
|
4501
4712
|
): Union<Members> {
|
|
4502
4713
|
return make(ast, {
|
|
4503
4714
|
members,
|
|
4504
|
-
mapMembers<To extends ReadonlyArray<
|
|
4715
|
+
mapMembers<To extends ReadonlyArray<Constraint>>(
|
|
4505
4716
|
this: Union<Members>,
|
|
4506
4717
|
f: (members: Members) => To,
|
|
4507
4718
|
options?: {
|
|
@@ -4541,7 +4752,7 @@ function makeUnion<Members extends ReadonlyArray<Top>>(
|
|
|
4541
4752
|
* @category constructors
|
|
4542
4753
|
* @since 3.10.0
|
|
4543
4754
|
*/
|
|
4544
|
-
export function Union<const Members extends ReadonlyArray<
|
|
4755
|
+
export function Union<const Members extends ReadonlyArray<Constraint>>(
|
|
4545
4756
|
members: Members,
|
|
4546
4757
|
options?: { mode?: "anyOf" | "oneOf" }
|
|
4547
4758
|
): Union<Members> {
|
|
@@ -4562,7 +4773,7 @@ export interface Literals<L extends ReadonlyArray<SchemaAST.LiteralValue>>
|
|
|
4562
4773
|
/**
|
|
4563
4774
|
* Map over the members of the union.
|
|
4564
4775
|
*/
|
|
4565
|
-
mapMembers<To extends ReadonlyArray<
|
|
4776
|
+
mapMembers<To extends ReadonlyArray<Constraint>>(f: (members: this["members"]) => To): Union<Simplify<Readonly<To>>>
|
|
4566
4777
|
|
|
4567
4778
|
pick<const L2 extends ReadonlyArray<L[number]>>(literals: L2): Literals<L2>
|
|
4568
4779
|
|
|
@@ -4592,7 +4803,7 @@ export function Literals<const L extends ReadonlyArray<SchemaAST.LiteralValue>>(
|
|
|
4592
4803
|
return make(SchemaAST.union(members, "anyOf", undefined), {
|
|
4593
4804
|
literals,
|
|
4594
4805
|
members,
|
|
4595
|
-
mapMembers<To extends ReadonlyArray<
|
|
4806
|
+
mapMembers<To extends ReadonlyArray<Constraint>>(
|
|
4596
4807
|
this: Literals<L>,
|
|
4597
4808
|
f: (members: Literals<L>["members"]) => To
|
|
4598
4809
|
): Union<Simplify<Readonly<To>>> {
|
|
@@ -4615,13 +4826,13 @@ export function Literals<const L extends ReadonlyArray<SchemaAST.LiteralValue>>(
|
|
|
4615
4826
|
* @category models
|
|
4616
4827
|
* @since 3.10.0
|
|
4617
4828
|
*/
|
|
4618
|
-
export interface NullOr<S extends
|
|
4829
|
+
export interface NullOr<S extends Constraint> extends Union<readonly [S, Null]> {
|
|
4619
4830
|
readonly "Rebuild": NullOr<S>
|
|
4620
4831
|
}
|
|
4621
4832
|
|
|
4622
4833
|
interface NullOrLambda extends Lambda {
|
|
4623
|
-
<S extends
|
|
4624
|
-
readonly "~lambda.out": this["~lambda.in"] extends
|
|
4834
|
+
<S extends Constraint>(self: S): NullOr<S>
|
|
4835
|
+
readonly "~lambda.out": this["~lambda.in"] extends Constraint ? NullOr<this["~lambda.in"]> : never
|
|
4625
4836
|
}
|
|
4626
4837
|
|
|
4627
4838
|
/**
|
|
@@ -4638,13 +4849,13 @@ export const NullOr = Struct_.lambda<NullOrLambda>((self) => Union([self, Null])
|
|
|
4638
4849
|
* @category models
|
|
4639
4850
|
* @since 3.10.0
|
|
4640
4851
|
*/
|
|
4641
|
-
export interface UndefinedOr<S extends
|
|
4852
|
+
export interface UndefinedOr<S extends Constraint> extends Union<readonly [S, Undefined]> {
|
|
4642
4853
|
readonly "Rebuild": UndefinedOr<S>
|
|
4643
4854
|
}
|
|
4644
4855
|
|
|
4645
4856
|
interface UndefinedOrLambda extends Lambda {
|
|
4646
|
-
<S extends
|
|
4647
|
-
readonly "~lambda.out": this["~lambda.in"] extends
|
|
4857
|
+
<S extends Constraint>(self: S): UndefinedOr<S>
|
|
4858
|
+
readonly "~lambda.out": this["~lambda.in"] extends Constraint ? UndefinedOr<this["~lambda.in"]> : never
|
|
4648
4859
|
}
|
|
4649
4860
|
|
|
4650
4861
|
/**
|
|
@@ -4661,13 +4872,13 @@ export const UndefinedOr = Struct_.lambda<UndefinedOrLambda>((self) => Union([se
|
|
|
4661
4872
|
* @category models
|
|
4662
4873
|
* @since 3.10.0
|
|
4663
4874
|
*/
|
|
4664
|
-
export interface NullishOr<S extends
|
|
4875
|
+
export interface NullishOr<S extends Constraint> extends Union<readonly [S, Null, Undefined]> {
|
|
4665
4876
|
readonly "Rebuild": NullishOr<S>
|
|
4666
4877
|
}
|
|
4667
4878
|
|
|
4668
4879
|
interface NullishOrLambda extends Lambda {
|
|
4669
|
-
<S extends
|
|
4670
|
-
readonly "~lambda.out": this["~lambda.in"] extends
|
|
4880
|
+
<S extends Constraint>(self: S): NullishOr<S>
|
|
4881
|
+
readonly "~lambda.out": this["~lambda.in"] extends Constraint ? NullishOr<this["~lambda.in"]> : never
|
|
4671
4882
|
}
|
|
4672
4883
|
|
|
4673
4884
|
/**
|
|
@@ -4684,25 +4895,26 @@ export const NullishOr = Struct_.lambda<NullishOrLambda>((self) => Union([self,
|
|
|
4684
4895
|
* @category models
|
|
4685
4896
|
* @since 3.10.0
|
|
4686
4897
|
*/
|
|
4687
|
-
export interface suspend<S extends
|
|
4688
|
-
|
|
4689
|
-
S["Type"],
|
|
4690
|
-
S["Encoded"],
|
|
4691
|
-
S["DecodingServices"],
|
|
4692
|
-
S["EncodingServices"],
|
|
4898
|
+
export interface suspend<S extends Constraint> extends
|
|
4899
|
+
BottomLazy<
|
|
4693
4900
|
SchemaAST.Suspend,
|
|
4694
4901
|
suspend<S>,
|
|
4695
|
-
S["~type.make.in"],
|
|
4696
|
-
S["Iso"],
|
|
4697
4902
|
S["~type.parameters"],
|
|
4698
|
-
S["~type.make"],
|
|
4699
4903
|
S["~type.mutability"],
|
|
4700
4904
|
S["~type.optionality"],
|
|
4701
4905
|
S["~type.constructor.default"],
|
|
4702
4906
|
S["~encoded.mutability"],
|
|
4703
4907
|
S["~encoded.optionality"]
|
|
4704
4908
|
>
|
|
4705
|
-
{
|
|
4909
|
+
{
|
|
4910
|
+
readonly "Type": S["Type"]
|
|
4911
|
+
readonly "Encoded": S["Encoded"]
|
|
4912
|
+
readonly "DecodingServices": S["DecodingServices"]
|
|
4913
|
+
readonly "EncodingServices": S["EncodingServices"]
|
|
4914
|
+
readonly "~type.make.in": S["~type.make.in"]
|
|
4915
|
+
readonly "~type.make": S["~type.make"]
|
|
4916
|
+
readonly "Iso": S["Iso"]
|
|
4917
|
+
}
|
|
4706
4918
|
|
|
4707
4919
|
/**
|
|
4708
4920
|
* Creates a suspended schema that defers evaluation until needed. This is
|
|
@@ -4728,7 +4940,7 @@ export interface suspend<S extends Top> extends
|
|
|
4728
4940
|
* @category constructors
|
|
4729
4941
|
* @since 3.10.0
|
|
4730
4942
|
*/
|
|
4731
|
-
export function suspend<S extends
|
|
4943
|
+
export function suspend<S extends Constraint>(f: () => S): suspend<S> {
|
|
4732
4944
|
return make(new SchemaAST.Suspend(() => f().ast))
|
|
4733
4945
|
}
|
|
4734
4946
|
|
|
@@ -4761,18 +4973,11 @@ export function check<S extends Top>(
|
|
|
4761
4973
|
* @category filtering
|
|
4762
4974
|
* @since 3.10.0
|
|
4763
4975
|
*/
|
|
4764
|
-
export interface refine<T extends S["Type"], S extends
|
|
4765
|
-
|
|
4766
|
-
T,
|
|
4767
|
-
S["Encoded"],
|
|
4768
|
-
S["DecodingServices"],
|
|
4769
|
-
S["EncodingServices"],
|
|
4976
|
+
export interface refine<T extends S["Type"], S extends Constraint> extends
|
|
4977
|
+
BottomLazy<
|
|
4770
4978
|
S["ast"],
|
|
4771
4979
|
refine<T, S>,
|
|
4772
|
-
S["~type.make.in"],
|
|
4773
|
-
T,
|
|
4774
4980
|
S["~type.parameters"],
|
|
4775
|
-
T,
|
|
4776
4981
|
S["~type.mutability"],
|
|
4777
4982
|
S["~type.optionality"],
|
|
4778
4983
|
S["~type.constructor.default"],
|
|
@@ -4780,6 +4985,13 @@ export interface refine<T extends S["Type"], S extends Top> extends
|
|
|
4780
4985
|
S["~encoded.optionality"]
|
|
4781
4986
|
>
|
|
4782
4987
|
{
|
|
4988
|
+
readonly "Type": T
|
|
4989
|
+
readonly "Encoded": S["Encoded"]
|
|
4990
|
+
readonly "DecodingServices": S["DecodingServices"]
|
|
4991
|
+
readonly "EncodingServices": S["EncodingServices"]
|
|
4992
|
+
readonly "~type.make.in": S["~type.make.in"]
|
|
4993
|
+
readonly "~type.make": T
|
|
4994
|
+
readonly "Iso": T
|
|
4783
4995
|
readonly schema: S
|
|
4784
4996
|
}
|
|
4785
4997
|
|
|
@@ -4798,7 +5010,7 @@ export interface refine<T extends S["Type"], S extends Top> extends
|
|
|
4798
5010
|
* @category filtering
|
|
4799
5011
|
* @since 3.10.0
|
|
4800
5012
|
*/
|
|
4801
|
-
export function refine<S extends
|
|
5013
|
+
export function refine<S extends Constraint, T extends S["Type"]>(
|
|
4802
5014
|
refinement: (value: S["Type"]) => value is T,
|
|
4803
5015
|
annotations?: Annotations.Filter
|
|
4804
5016
|
) {
|
|
@@ -4814,18 +5026,11 @@ type DistributeBrands<B> = UnionToIntersection<B extends infer U extends string
|
|
|
4814
5026
|
* @category branding
|
|
4815
5027
|
* @since 3.10.0
|
|
4816
5028
|
*/
|
|
4817
|
-
export interface brand<S extends
|
|
4818
|
-
|
|
4819
|
-
S["Type"] & DistributeBrands<B>,
|
|
4820
|
-
S["Encoded"],
|
|
4821
|
-
S["DecodingServices"],
|
|
4822
|
-
S["EncodingServices"],
|
|
5029
|
+
export interface brand<S extends Constraint, B> extends
|
|
5030
|
+
BottomLazy<
|
|
4823
5031
|
S["ast"],
|
|
4824
5032
|
brand<S, B>,
|
|
4825
|
-
S["~type.make.in"],
|
|
4826
|
-
S["Type"] & DistributeBrands<B>,
|
|
4827
5033
|
S["~type.parameters"],
|
|
4828
|
-
S["Type"] & DistributeBrands<B>,
|
|
4829
5034
|
S["~type.mutability"],
|
|
4830
5035
|
S["~type.optionality"],
|
|
4831
5036
|
S["~type.constructor.default"],
|
|
@@ -4833,6 +5038,13 @@ export interface brand<S extends Top, B> extends
|
|
|
4833
5038
|
S["~encoded.optionality"]
|
|
4834
5039
|
>
|
|
4835
5040
|
{
|
|
5041
|
+
readonly "Type": S["Type"] & DistributeBrands<B>
|
|
5042
|
+
readonly "Encoded": S["Encoded"]
|
|
5043
|
+
readonly "DecodingServices": S["DecodingServices"]
|
|
5044
|
+
readonly "EncodingServices": S["EncodingServices"]
|
|
5045
|
+
readonly "~type.make.in": S["~type.make.in"]
|
|
5046
|
+
readonly "~type.make": S["Type"] & DistributeBrands<B>
|
|
5047
|
+
readonly "Iso": S["Type"] & DistributeBrands<B>
|
|
4836
5048
|
readonly schema: S
|
|
4837
5049
|
readonly identifier: string
|
|
4838
5050
|
}
|
|
@@ -4857,7 +5069,7 @@ export interface brand<S extends Top, B> extends
|
|
|
4857
5069
|
* @since 3.10.0
|
|
4858
5070
|
*/
|
|
4859
5071
|
export function brand<B extends string>(identifier: B) {
|
|
4860
|
-
return <S extends
|
|
5072
|
+
return <S extends ConstraintRebuildable>(schema: S): brand<S["Rebuild"], B> =>
|
|
4861
5073
|
make(SchemaAST.brand(schema.ast, identifier), { schema, identifier })
|
|
4862
5074
|
}
|
|
4863
5075
|
|
|
@@ -4882,18 +5094,11 @@ export function fromBrand<A extends Brand.Brand<any>>(identifier: string, ctor:
|
|
|
4882
5094
|
* @category decoding
|
|
4883
5095
|
* @since 4.0.0
|
|
4884
5096
|
*/
|
|
4885
|
-
export interface middlewareDecoding<S extends
|
|
4886
|
-
|
|
4887
|
-
S["Type"],
|
|
4888
|
-
S["Encoded"],
|
|
4889
|
-
RD,
|
|
4890
|
-
S["EncodingServices"],
|
|
5097
|
+
export interface middlewareDecoding<S extends Constraint, RD> extends
|
|
5098
|
+
BottomLazy<
|
|
4891
5099
|
S["ast"],
|
|
4892
5100
|
middlewareDecoding<S, RD>,
|
|
4893
|
-
S["~type.make.in"],
|
|
4894
|
-
S["Iso"],
|
|
4895
5101
|
S["~type.parameters"],
|
|
4896
|
-
S["~type.make"],
|
|
4897
5102
|
S["~type.mutability"],
|
|
4898
5103
|
S["~type.optionality"],
|
|
4899
5104
|
S["~type.constructor.default"],
|
|
@@ -4901,6 +5106,13 @@ export interface middlewareDecoding<S extends Top, RD> extends
|
|
|
4901
5106
|
S["~encoded.optionality"]
|
|
4902
5107
|
>
|
|
4903
5108
|
{
|
|
5109
|
+
readonly "Type": S["Type"]
|
|
5110
|
+
readonly "Encoded": S["Encoded"]
|
|
5111
|
+
readonly "DecodingServices": RD
|
|
5112
|
+
readonly "EncodingServices": S["EncodingServices"]
|
|
5113
|
+
readonly "~type.make.in": S["~type.make.in"]
|
|
5114
|
+
readonly "~type.make": S["~type.make"]
|
|
5115
|
+
readonly "Iso": S["Iso"]
|
|
4904
5116
|
readonly schema: S
|
|
4905
5117
|
}
|
|
4906
5118
|
|
|
@@ -4929,7 +5141,7 @@ export interface middlewareDecoding<S extends Top, RD> extends
|
|
|
4929
5141
|
* @category decoding
|
|
4930
5142
|
* @since 4.0.0
|
|
4931
5143
|
*/
|
|
4932
|
-
export function middlewareDecoding<S extends
|
|
5144
|
+
export function middlewareDecoding<S extends Constraint, RD>(
|
|
4933
5145
|
decode: (
|
|
4934
5146
|
effect: Effect.Effect<Option_.Option<S["Type"]>, SchemaIssue.Issue, S["DecodingServices"]>,
|
|
4935
5147
|
options: SchemaAST.ParseOptions
|
|
@@ -4948,18 +5160,11 @@ export function middlewareDecoding<S extends Top, RD>(
|
|
|
4948
5160
|
* @category encoding
|
|
4949
5161
|
* @since 4.0.0
|
|
4950
5162
|
*/
|
|
4951
|
-
export interface middlewareEncoding<S extends
|
|
4952
|
-
|
|
4953
|
-
S["Type"],
|
|
4954
|
-
S["Encoded"],
|
|
4955
|
-
S["DecodingServices"],
|
|
4956
|
-
RE,
|
|
5163
|
+
export interface middlewareEncoding<S extends Constraint, RE> extends
|
|
5164
|
+
BottomLazy<
|
|
4957
5165
|
S["ast"],
|
|
4958
5166
|
middlewareEncoding<S, RE>,
|
|
4959
|
-
S["~type.make.in"],
|
|
4960
|
-
S["Iso"],
|
|
4961
5167
|
S["~type.parameters"],
|
|
4962
|
-
S["~type.make"],
|
|
4963
5168
|
S["~type.mutability"],
|
|
4964
5169
|
S["~type.optionality"],
|
|
4965
5170
|
S["~type.constructor.default"],
|
|
@@ -4967,6 +5172,13 @@ export interface middlewareEncoding<S extends Top, RE> extends
|
|
|
4967
5172
|
S["~encoded.optionality"]
|
|
4968
5173
|
>
|
|
4969
5174
|
{
|
|
5175
|
+
readonly "Type": S["Type"]
|
|
5176
|
+
readonly "Encoded": S["Encoded"]
|
|
5177
|
+
readonly "DecodingServices": S["DecodingServices"]
|
|
5178
|
+
readonly "EncodingServices": RE
|
|
5179
|
+
readonly "~type.make.in": S["~type.make.in"]
|
|
5180
|
+
readonly "~type.make": S["~type.make"]
|
|
5181
|
+
readonly "Iso": S["Iso"]
|
|
4970
5182
|
readonly schema: S
|
|
4971
5183
|
}
|
|
4972
5184
|
|
|
@@ -4995,7 +5207,7 @@ export interface middlewareEncoding<S extends Top, RE> extends
|
|
|
4995
5207
|
* @category encoding
|
|
4996
5208
|
* @since 4.0.0
|
|
4997
5209
|
*/
|
|
4998
|
-
export function middlewareEncoding<S extends
|
|
5210
|
+
export function middlewareEncoding<S extends Constraint, RE>(
|
|
4999
5211
|
encode: (
|
|
5000
5212
|
effect: Effect.Effect<Option_.Option<S["Encoded"]>, SchemaIssue.Issue, S["EncodingServices"]>,
|
|
5001
5213
|
options: SchemaAST.ParseOptions
|
|
@@ -5030,9 +5242,9 @@ export function middlewareEncoding<S extends Top, RE>(
|
|
|
5030
5242
|
* @category error handling
|
|
5031
5243
|
* @since 4.0.0
|
|
5032
5244
|
*/
|
|
5033
|
-
export function catchDecoding<S extends
|
|
5245
|
+
export function catchDecoding<S extends Constraint>(
|
|
5034
5246
|
f: (issue: SchemaIssue.Issue) => Effect.Effect<Option_.Option<S["Type"]>, SchemaIssue.Issue>
|
|
5035
|
-
): (self: S) => S["
|
|
5247
|
+
): (self: S) => middlewareDecoding<S, S["DecodingServices"]> {
|
|
5036
5248
|
return catchDecodingWithContext(f)
|
|
5037
5249
|
}
|
|
5038
5250
|
|
|
@@ -5056,11 +5268,11 @@ export function catchDecoding<S extends Top>(
|
|
|
5056
5268
|
* @category error handling
|
|
5057
5269
|
* @since 4.0.0
|
|
5058
5270
|
*/
|
|
5059
|
-
export function catchDecodingWithContext<S extends
|
|
5271
|
+
export function catchDecodingWithContext<S extends Constraint, R = never>(
|
|
5060
5272
|
f: (issue: SchemaIssue.Issue) => Effect.Effect<Option_.Option<S["Type"]>, SchemaIssue.Issue, R>
|
|
5061
5273
|
) {
|
|
5062
5274
|
return (self: S): middlewareDecoding<S, S["DecodingServices"] | R> =>
|
|
5063
|
-
|
|
5275
|
+
middlewareDecoding<S, S["DecodingServices"] | R>(Effect.catchEager(f))(self)
|
|
5064
5276
|
}
|
|
5065
5277
|
|
|
5066
5278
|
/**
|
|
@@ -5075,9 +5287,9 @@ export function catchDecodingWithContext<S extends Top, R = never>(
|
|
|
5075
5287
|
* @category error handling
|
|
5076
5288
|
* @since 4.0.0
|
|
5077
5289
|
*/
|
|
5078
|
-
export function catchEncoding<S extends
|
|
5290
|
+
export function catchEncoding<S extends Constraint>(
|
|
5079
5291
|
f: (issue: SchemaIssue.Issue) => Effect.Effect<Option_.Option<S["Encoded"]>, SchemaIssue.Issue>
|
|
5080
|
-
): (self: S) => S["
|
|
5292
|
+
): (self: S) => middlewareEncoding<S, S["EncodingServices"]> {
|
|
5081
5293
|
return catchEncodingWithContext(f)
|
|
5082
5294
|
}
|
|
5083
5295
|
|
|
@@ -5101,11 +5313,11 @@ export function catchEncoding<S extends Top>(
|
|
|
5101
5313
|
* @category error handling
|
|
5102
5314
|
* @since 4.0.0
|
|
5103
5315
|
*/
|
|
5104
|
-
export function catchEncodingWithContext<S extends
|
|
5316
|
+
export function catchEncodingWithContext<S extends Constraint, R = never>(
|
|
5105
5317
|
f: (issue: SchemaIssue.Issue) => Effect.Effect<Option_.Option<S["Encoded"]>, SchemaIssue.Issue, R>
|
|
5106
5318
|
) {
|
|
5107
5319
|
return (self: S): middlewareEncoding<S, S["EncodingServices"] | R> =>
|
|
5108
|
-
|
|
5320
|
+
middlewareEncoding<S, S["EncodingServices"] | R>(Effect.catchEager(f))(self)
|
|
5109
5321
|
}
|
|
5110
5322
|
|
|
5111
5323
|
/**
|
|
@@ -5114,18 +5326,11 @@ export function catchEncodingWithContext<S extends Top, R = never>(
|
|
|
5114
5326
|
* @category transforming
|
|
5115
5327
|
* @since 4.0.0
|
|
5116
5328
|
*/
|
|
5117
|
-
export interface decodeTo<To extends
|
|
5118
|
-
|
|
5119
|
-
To["Type"],
|
|
5120
|
-
From["Encoded"],
|
|
5121
|
-
To["DecodingServices"] | From["DecodingServices"] | RD,
|
|
5122
|
-
To["EncodingServices"] | From["EncodingServices"] | RE,
|
|
5329
|
+
export interface decodeTo<To extends Constraint, From extends Constraint, RD = never, RE = never> extends
|
|
5330
|
+
BottomLazy<
|
|
5123
5331
|
To["ast"],
|
|
5124
5332
|
decodeTo<To, From, RD, RE>,
|
|
5125
|
-
To["~type.make.in"],
|
|
5126
|
-
To["Iso"],
|
|
5127
5333
|
To["~type.parameters"],
|
|
5128
|
-
To["~type.make"],
|
|
5129
5334
|
To["~type.mutability"],
|
|
5130
5335
|
To["~type.optionality"],
|
|
5131
5336
|
To["~type.constructor.default"],
|
|
@@ -5133,6 +5338,13 @@ export interface decodeTo<To extends Top, From extends Top, RD = never, RE = nev
|
|
|
5133
5338
|
From["~encoded.optionality"]
|
|
5134
5339
|
>
|
|
5135
5340
|
{
|
|
5341
|
+
readonly "Type": To["Type"]
|
|
5342
|
+
readonly "Encoded": From["Encoded"]
|
|
5343
|
+
readonly "DecodingServices": To["DecodingServices"] | From["DecodingServices"] | RD
|
|
5344
|
+
readonly "EncodingServices": To["EncodingServices"] | From["EncodingServices"] | RE
|
|
5345
|
+
readonly "~type.make.in": To["~type.make.in"]
|
|
5346
|
+
readonly "~type.make": To["~type.make"]
|
|
5347
|
+
readonly "Iso": To["Iso"]
|
|
5136
5348
|
readonly from: From
|
|
5137
5349
|
readonly to: To
|
|
5138
5350
|
}
|
|
@@ -5143,7 +5355,7 @@ export interface decodeTo<To extends Top, From extends Top, RD = never, RE = nev
|
|
|
5143
5355
|
* @category transforming
|
|
5144
5356
|
* @since 3.10.0
|
|
5145
5357
|
*/
|
|
5146
|
-
export interface compose<To extends
|
|
5358
|
+
export interface compose<To extends Constraint, From extends Constraint> extends decodeTo<To, From> {}
|
|
5147
5359
|
|
|
5148
5360
|
/**
|
|
5149
5361
|
* Creates a schema that transforms from a source schema to a target schema.
|
|
@@ -5193,15 +5405,15 @@ export interface compose<To extends Top, From extends Top> extends decodeTo<To,
|
|
|
5193
5405
|
* @category transforming
|
|
5194
5406
|
* @since 4.0.0
|
|
5195
5407
|
*/
|
|
5196
|
-
export function decodeTo<To extends
|
|
5197
|
-
export function decodeTo<To extends
|
|
5408
|
+
export function decodeTo<To extends Constraint>(to: To): <From extends Constraint>(from: From) => compose<To, From>
|
|
5409
|
+
export function decodeTo<To extends Constraint, From extends Constraint, RD = never, RE = never>(
|
|
5198
5410
|
to: To,
|
|
5199
5411
|
transformation: {
|
|
5200
5412
|
readonly decode: SchemaGetter.Getter<NoInfer<To["Encoded"]>, NoInfer<From["Type"]>, RD>
|
|
5201
5413
|
readonly encode: SchemaGetter.Getter<NoInfer<From["Type"]>, NoInfer<To["Encoded"]>, RE>
|
|
5202
5414
|
}
|
|
5203
5415
|
): (from: From) => decodeTo<To, From, RD, RE>
|
|
5204
|
-
export function decodeTo<To extends
|
|
5416
|
+
export function decodeTo<To extends Constraint, From extends Constraint, RD = never, RE = never>(
|
|
5205
5417
|
to: To,
|
|
5206
5418
|
transformation?: {
|
|
5207
5419
|
readonly decode: SchemaGetter.Getter<To["Encoded"], From["Type"], RD>
|
|
@@ -5266,12 +5478,12 @@ export function decodeTo<To extends Top, From extends Top, RD = never, RE = neve
|
|
|
5266
5478
|
* @category transforming
|
|
5267
5479
|
* @since 3.10.0
|
|
5268
5480
|
*/
|
|
5269
|
-
export function decode<S extends
|
|
5481
|
+
export function decode<S extends Constraint, RD = never, RE = never>(transformation: {
|
|
5270
5482
|
readonly decode: SchemaGetter.Getter<S["Type"], S["Type"], RD>
|
|
5271
5483
|
readonly encode: SchemaGetter.Getter<S["Type"], S["Type"], RE>
|
|
5272
5484
|
}) {
|
|
5273
5485
|
return (self: S): decodeTo<toType<S>, S, RD, RE> => {
|
|
5274
|
-
return
|
|
5486
|
+
return decodeTo<toType<S>, S, RD, RE>(toType(self), transformation)(self)
|
|
5275
5487
|
}
|
|
5276
5488
|
}
|
|
5277
5489
|
|
|
@@ -5304,17 +5516,17 @@ export function decode<S extends Top, RD = never, RE = never>(transformation: {
|
|
|
5304
5516
|
* @category transforming
|
|
5305
5517
|
* @since 4.0.0
|
|
5306
5518
|
*/
|
|
5307
|
-
export function encodeTo<To extends
|
|
5519
|
+
export function encodeTo<To extends Constraint>(
|
|
5308
5520
|
to: To
|
|
5309
|
-
): <From extends
|
|
5310
|
-
export function encodeTo<To extends
|
|
5521
|
+
): <From extends Constraint>(from: From) => decodeTo<From, To>
|
|
5522
|
+
export function encodeTo<To extends Constraint, From extends Constraint, RD = never, RE = never>(
|
|
5311
5523
|
to: To,
|
|
5312
5524
|
transformation: {
|
|
5313
5525
|
readonly decode: SchemaGetter.Getter<NoInfer<From["Encoded"]>, NoInfer<To["Type"]>, RD>
|
|
5314
5526
|
readonly encode: SchemaGetter.Getter<NoInfer<To["Type"]>, NoInfer<From["Encoded"]>, RE>
|
|
5315
5527
|
}
|
|
5316
5528
|
): (from: From) => decodeTo<From, To, RD, RE>
|
|
5317
|
-
export function encodeTo<To extends
|
|
5529
|
+
export function encodeTo<To extends Constraint, From extends Constraint, RD = never, RE = never>(
|
|
5318
5530
|
to: To,
|
|
5319
5531
|
transformation?: {
|
|
5320
5532
|
readonly decode: SchemaGetter.Getter<From["Encoded"], To["Type"], RD>
|
|
@@ -5323,8 +5535,8 @@ export function encodeTo<To extends Top, From extends Top, RD = never, RE = neve
|
|
|
5323
5535
|
) {
|
|
5324
5536
|
return (from: From): decodeTo<From, To, RD, RE> => {
|
|
5325
5537
|
return transformation ?
|
|
5326
|
-
|
|
5327
|
-
|
|
5538
|
+
decodeTo<From, To, RD, RE>(from, transformation)(to) :
|
|
5539
|
+
decodeTo<From>(from)(to)
|
|
5328
5540
|
}
|
|
5329
5541
|
}
|
|
5330
5542
|
|
|
@@ -5353,12 +5565,12 @@ export function encodeTo<To extends Top, From extends Top, RD = never, RE = neve
|
|
|
5353
5565
|
* @category transforming
|
|
5354
5566
|
* @since 3.10.0
|
|
5355
5567
|
*/
|
|
5356
|
-
export function encode<S extends
|
|
5568
|
+
export function encode<S extends Constraint, RD = never, RE = never>(transformation: {
|
|
5357
5569
|
readonly decode: SchemaGetter.Getter<S["Encoded"], S["Encoded"], RD>
|
|
5358
5570
|
readonly encode: SchemaGetter.Getter<S["Encoded"], S["Encoded"], RE>
|
|
5359
5571
|
}) {
|
|
5360
5572
|
return (self: S): decodeTo<S, toEncoded<S>, RD, RE> => {
|
|
5361
|
-
return toEncoded(self)
|
|
5573
|
+
return decodeTo<S, toEncoded<S>, RD, RE>(self, transformation)(toEncoded(self))
|
|
5362
5574
|
}
|
|
5363
5575
|
}
|
|
5364
5576
|
|
|
@@ -5382,18 +5594,11 @@ export interface WithoutConstructorDefault {
|
|
|
5382
5594
|
* @category constructors
|
|
5383
5595
|
* @since 3.10.0
|
|
5384
5596
|
*/
|
|
5385
|
-
export interface withConstructorDefault<S extends
|
|
5386
|
-
|
|
5387
|
-
S["Type"],
|
|
5388
|
-
S["Encoded"],
|
|
5389
|
-
S["DecodingServices"],
|
|
5390
|
-
S["EncodingServices"],
|
|
5597
|
+
export interface withConstructorDefault<S extends Constraint & WithoutConstructorDefault> extends
|
|
5598
|
+
BottomLazy<
|
|
5391
5599
|
S["ast"],
|
|
5392
5600
|
withConstructorDefault<S>,
|
|
5393
|
-
S["~type.make.in"],
|
|
5394
|
-
S["Iso"],
|
|
5395
5601
|
S["~type.parameters"],
|
|
5396
|
-
S["~type.make"],
|
|
5397
5602
|
S["~type.mutability"],
|
|
5398
5603
|
S["~type.optionality"],
|
|
5399
5604
|
"with-default",
|
|
@@ -5401,6 +5606,13 @@ export interface withConstructorDefault<S extends Top & WithoutConstructorDefaul
|
|
|
5401
5606
|
S["~encoded.optionality"]
|
|
5402
5607
|
>
|
|
5403
5608
|
{
|
|
5609
|
+
readonly "Type": S["Type"]
|
|
5610
|
+
readonly "Encoded": S["Encoded"]
|
|
5611
|
+
readonly "DecodingServices": S["DecodingServices"]
|
|
5612
|
+
readonly "EncodingServices": S["EncodingServices"]
|
|
5613
|
+
readonly "~type.make.in": S["~type.make.in"]
|
|
5614
|
+
readonly "~type.make": S["~type.make"]
|
|
5615
|
+
readonly "Iso": S["Iso"]
|
|
5404
5616
|
readonly schema: S
|
|
5405
5617
|
}
|
|
5406
5618
|
|
|
@@ -5431,7 +5643,7 @@ export interface withConstructorDefault<S extends Top & WithoutConstructorDefaul
|
|
|
5431
5643
|
* @category constructors
|
|
5432
5644
|
* @since 3.10.0
|
|
5433
5645
|
*/
|
|
5434
|
-
export function withConstructorDefault<S extends
|
|
5646
|
+
export function withConstructorDefault<S extends Constraint & WithoutConstructorDefault>(
|
|
5435
5647
|
// `S["~type.make.in"]` instead of `S["Type"]` is intentional here because
|
|
5436
5648
|
// it makes easier to define the default value if there are nested defaults
|
|
5437
5649
|
defaultValue: Effect.Effect<S["~type.make.in"], SchemaError>
|
|
@@ -5446,7 +5658,9 @@ export function withConstructorDefault<S extends Top & WithoutConstructorDefault
|
|
|
5446
5658
|
* @category decoding
|
|
5447
5659
|
* @since 4.0.0
|
|
5448
5660
|
*/
|
|
5449
|
-
export interface withDecodingDefaultKey<S extends
|
|
5661
|
+
export interface withDecodingDefaultKey<S extends Constraint, R = never>
|
|
5662
|
+
extends decodeTo<S, optionalKey<toEncoded<S>>, R>
|
|
5663
|
+
{
|
|
5450
5664
|
readonly "Rebuild": withDecodingDefaultKey<S, R>
|
|
5451
5665
|
}
|
|
5452
5666
|
|
|
@@ -5500,7 +5714,7 @@ export type DecodingDefaultOptions = {
|
|
|
5500
5714
|
* @category decoding
|
|
5501
5715
|
* @since 4.0.0
|
|
5502
5716
|
*/
|
|
5503
|
-
export function withDecodingDefaultKey<S extends
|
|
5717
|
+
export function withDecodingDefaultKey<S extends Constraint, R = never>(
|
|
5504
5718
|
defaultValue: Effect.Effect<S["Encoded"], SchemaError, R>,
|
|
5505
5719
|
options?: DecodingDefaultOptions
|
|
5506
5720
|
) {
|
|
@@ -5519,7 +5733,7 @@ export function withDecodingDefaultKey<S extends Top, R = never>(
|
|
|
5519
5733
|
* @category decoding
|
|
5520
5734
|
* @since 4.0.0
|
|
5521
5735
|
*/
|
|
5522
|
-
export interface withDecodingDefaultTypeKey<S extends
|
|
5736
|
+
export interface withDecodingDefaultTypeKey<S extends Constraint, R = never>
|
|
5523
5737
|
extends decodeTo<withDecodingDefaultKey<toType<S>, R>, optionalKey<S>>
|
|
5524
5738
|
{
|
|
5525
5739
|
readonly "Rebuild": withDecodingDefaultTypeKey<S, R>
|
|
@@ -5547,7 +5761,7 @@ export interface withDecodingDefaultTypeKey<S extends Top, R = never>
|
|
|
5547
5761
|
* @category decoding
|
|
5548
5762
|
* @since 4.0.0
|
|
5549
5763
|
*/
|
|
5550
|
-
export function withDecodingDefaultTypeKey<S extends
|
|
5764
|
+
export function withDecodingDefaultTypeKey<S extends Constraint, R = never>(
|
|
5551
5765
|
defaultValue: Effect.Effect<S["Type"], SchemaError, R>,
|
|
5552
5766
|
options?: DecodingDefaultOptions
|
|
5553
5767
|
) {
|
|
@@ -5565,7 +5779,7 @@ export function withDecodingDefaultTypeKey<S extends Top, R = never>(
|
|
|
5565
5779
|
* @category decoding
|
|
5566
5780
|
* @since 3.10.0
|
|
5567
5781
|
*/
|
|
5568
|
-
export interface withDecodingDefault<S extends
|
|
5782
|
+
export interface withDecodingDefault<S extends Constraint, R = never> extends decodeTo<S, optional<toEncoded<S>>, R> {
|
|
5569
5783
|
readonly "Rebuild": withDecodingDefault<S, R>
|
|
5570
5784
|
}
|
|
5571
5785
|
|
|
@@ -5608,7 +5822,7 @@ export interface withDecodingDefault<S extends Top, R = never> extends decodeTo<
|
|
|
5608
5822
|
* @category decoding
|
|
5609
5823
|
* @since 3.10.0
|
|
5610
5824
|
*/
|
|
5611
|
-
export function withDecodingDefault<S extends
|
|
5825
|
+
export function withDecodingDefault<S extends Constraint, R = never>(
|
|
5612
5826
|
defaultValue: Effect.Effect<S["Encoded"], SchemaError, R>,
|
|
5613
5827
|
options?: DecodingDefaultOptions
|
|
5614
5828
|
) {
|
|
@@ -5627,7 +5841,7 @@ export function withDecodingDefault<S extends Top, R = never>(
|
|
|
5627
5841
|
* @category decoding
|
|
5628
5842
|
* @since 4.0.0
|
|
5629
5843
|
*/
|
|
5630
|
-
export interface withDecodingDefaultType<S extends
|
|
5844
|
+
export interface withDecodingDefaultType<S extends Constraint, R = never>
|
|
5631
5845
|
extends decodeTo<withDecodingDefault<toType<S>, R>, optional<S>>
|
|
5632
5846
|
{
|
|
5633
5847
|
readonly "Rebuild": withDecodingDefaultType<S, R>
|
|
@@ -5660,7 +5874,7 @@ export interface withDecodingDefaultType<S extends Top, R = never>
|
|
|
5660
5874
|
* @category decoding
|
|
5661
5875
|
* @since 4.0.0
|
|
5662
5876
|
*/
|
|
5663
|
-
export function withDecodingDefaultType<S extends
|
|
5877
|
+
export function withDecodingDefaultType<S extends Constraint, R = never>(
|
|
5664
5878
|
defaultValue: Effect.Effect<S["Type"], SchemaError, R>,
|
|
5665
5879
|
options?: DecodingDefaultOptions
|
|
5666
5880
|
) {
|
|
@@ -5815,8 +6029,8 @@ type Flatten<Schemas> = Schemas extends readonly [infer Head, ...infer Tail]
|
|
|
5815
6029
|
|
|
5816
6030
|
type TaggedUnionUtils<
|
|
5817
6031
|
Tag extends PropertyKey,
|
|
5818
|
-
Members extends ReadonlyArray<
|
|
5819
|
-
Flattened extends ReadonlyArray<
|
|
6032
|
+
Members extends ReadonlyArray<Constraint & { readonly Type: { readonly [K in Tag]: PropertyKey } }>,
|
|
6033
|
+
Flattened extends ReadonlyArray<Constraint & { readonly Type: { readonly [K in Tag]: PropertyKey } }> = Flatten<
|
|
5820
6034
|
Members
|
|
5821
6035
|
>
|
|
5822
6036
|
> = {
|
|
@@ -5850,7 +6064,7 @@ type TaggedUnionUtils<
|
|
|
5850
6064
|
*/
|
|
5851
6065
|
export type toTaggedUnion<
|
|
5852
6066
|
Tag extends PropertyKey,
|
|
5853
|
-
Members extends ReadonlyArray<
|
|
6067
|
+
Members extends ReadonlyArray<Constraint & { readonly Type: { readonly [K in Tag]: PropertyKey } }>
|
|
5854
6068
|
> = Union<Members> & TaggedUnionUtils<Tag, Members>
|
|
5855
6069
|
|
|
5856
6070
|
/**
|
|
@@ -5878,7 +6092,7 @@ export type toTaggedUnion<
|
|
|
5878
6092
|
* @since 4.0.0
|
|
5879
6093
|
*/
|
|
5880
6094
|
export function toTaggedUnion<const Tag extends PropertyKey>(tag: Tag) {
|
|
5881
|
-
return <const Members extends ReadonlyArray<
|
|
6095
|
+
return <const Members extends ReadonlyArray<Constraint & { readonly Type: { readonly [K in Tag]: PropertyKey } }>>(
|
|
5882
6096
|
self: Union<Members>
|
|
5883
6097
|
): toTaggedUnion<Tag, Members> => {
|
|
5884
6098
|
const cases: Record<PropertyKey, unknown> = {}
|
|
@@ -5889,7 +6103,7 @@ export function toTaggedUnion<const Tag extends PropertyKey>(tag: Tag) {
|
|
|
5889
6103
|
|
|
5890
6104
|
return Object.assign(self, { cases, isAnyOf, guards, match }) as any
|
|
5891
6105
|
|
|
5892
|
-
function walk(schema:
|
|
6106
|
+
function walk(schema: Constraint) {
|
|
5893
6107
|
const ast = schema.ast
|
|
5894
6108
|
|
|
5895
6109
|
if (
|
|
@@ -5932,17 +6146,19 @@ export function toTaggedUnion<const Tag extends PropertyKey>(tag: Tag) {
|
|
|
5932
6146
|
* @category models
|
|
5933
6147
|
* @since 4.0.0
|
|
5934
6148
|
*/
|
|
5935
|
-
export interface TaggedUnion<Cases extends Record<string,
|
|
5936
|
-
|
|
5937
|
-
{ [K in keyof Cases]: Cases[K]["Type"] }[keyof Cases],
|
|
5938
|
-
{ [K in keyof Cases]: Cases[K]["Encoded"] }[keyof Cases],
|
|
5939
|
-
{ [K in keyof Cases]: Cases[K]["DecodingServices"] }[keyof Cases],
|
|
5940
|
-
{ [K in keyof Cases]: Cases[K]["EncodingServices"] }[keyof Cases],
|
|
6149
|
+
export interface TaggedUnion<Cases extends Record<string, Constraint>> extends
|
|
6150
|
+
BottomLazy<
|
|
5941
6151
|
SchemaAST.Union<SchemaAST.Objects>,
|
|
5942
|
-
TaggedUnion<Cases
|
|
5943
|
-
{ [K in keyof Cases]: Cases[K]["~type.make"] }[keyof Cases]
|
|
6152
|
+
TaggedUnion<Cases>
|
|
5944
6153
|
>
|
|
5945
6154
|
{
|
|
6155
|
+
readonly "Type": { [K in keyof Cases]: Cases[K]["Type"] }[keyof Cases]
|
|
6156
|
+
readonly "Encoded": { [K in keyof Cases]: Cases[K]["Encoded"] }[keyof Cases]
|
|
6157
|
+
readonly "DecodingServices": { [K in keyof Cases]: Cases[K]["DecodingServices"] }[keyof Cases]
|
|
6158
|
+
readonly "EncodingServices": { [K in keyof Cases]: Cases[K]["EncodingServices"] }[keyof Cases]
|
|
6159
|
+
readonly "~type.make.in": { [K in keyof Cases]: Cases[K]["~type.make"] }[keyof Cases]
|
|
6160
|
+
readonly "~type.make": { [K in keyof Cases]: Cases[K]["~type.make"] }[keyof Cases]
|
|
6161
|
+
readonly "Iso": { [K in keyof Cases]: Cases[K]["Type"] }[keyof Cases]
|
|
5946
6162
|
readonly cases: Cases
|
|
5947
6163
|
readonly isAnyOf: <const Keys>(
|
|
5948
6164
|
keys: ReadonlyArray<Keys>
|
|
@@ -6005,17 +6221,10 @@ export function TaggedUnion<const CasesByTag extends Record<string, Struct.Field
|
|
|
6005
6221
|
* @since 4.0.0
|
|
6006
6222
|
*/
|
|
6007
6223
|
export interface Opaque<Self, S extends Top, Brand> extends
|
|
6008
|
-
|
|
6009
|
-
Self,
|
|
6010
|
-
S["Encoded"],
|
|
6011
|
-
S["DecodingServices"],
|
|
6012
|
-
S["EncodingServices"],
|
|
6224
|
+
BottomLazy<
|
|
6013
6225
|
S["ast"],
|
|
6014
6226
|
S["Rebuild"],
|
|
6015
|
-
S["~type.make.in"],
|
|
6016
|
-
S["Iso"],
|
|
6017
6227
|
S["~type.parameters"],
|
|
6018
|
-
S["~type.make"],
|
|
6019
6228
|
S["~type.mutability"],
|
|
6020
6229
|
S["~type.optionality"],
|
|
6021
6230
|
S["~type.constructor.default"],
|
|
@@ -6023,6 +6232,13 @@ export interface Opaque<Self, S extends Top, Brand> extends
|
|
|
6023
6232
|
S["~encoded.optionality"]
|
|
6024
6233
|
>
|
|
6025
6234
|
{
|
|
6235
|
+
readonly "Type": Self
|
|
6236
|
+
readonly "Encoded": S["Encoded"]
|
|
6237
|
+
readonly "DecodingServices": S["DecodingServices"]
|
|
6238
|
+
readonly "EncodingServices": S["EncodingServices"]
|
|
6239
|
+
readonly "~type.make.in": S["~type.make.in"]
|
|
6240
|
+
readonly "~type.make": S["~type.make"]
|
|
6241
|
+
readonly "Iso": S["Iso"]
|
|
6026
6242
|
new(_: never): S["Type"] & Brand
|
|
6027
6243
|
}
|
|
6028
6244
|
|
|
@@ -6101,7 +6317,7 @@ export function instanceOf<C extends abstract new(...args: any) => any, Iso = In
|
|
|
6101
6317
|
* @since 4.0.0
|
|
6102
6318
|
*/
|
|
6103
6319
|
export function link<T>() {
|
|
6104
|
-
return <To extends
|
|
6320
|
+
return <To extends Constraint>(
|
|
6105
6321
|
encodeTo: To,
|
|
6106
6322
|
transformation: {
|
|
6107
6323
|
readonly decode: SchemaGetter.Getter<T, NoInfer<To["Type"]>>
|
|
@@ -8114,7 +8330,7 @@ export function isPropertiesLengthBetween(minimum: number, maximum: number, anno
|
|
|
8114
8330
|
* @category Object checks
|
|
8115
8331
|
* @since 4.0.0
|
|
8116
8332
|
*/
|
|
8117
|
-
export function isPropertyNames(keySchema:
|
|
8333
|
+
export function isPropertyNames(keySchema: Constraint, annotations?: Annotations.Filter) {
|
|
8118
8334
|
const propertyNames = toEncoded(keySchema)
|
|
8119
8335
|
const parser = SchemaParser._issue(propertyNames.ast)
|
|
8120
8336
|
return makeFilter<object>(
|
|
@@ -8240,7 +8456,7 @@ export const Char: Char = String.check(isLengthBetween(1, 1))
|
|
|
8240
8456
|
* @category Option
|
|
8241
8457
|
* @since 3.10.0
|
|
8242
8458
|
*/
|
|
8243
|
-
export interface Option<A extends
|
|
8459
|
+
export interface Option<A extends Constraint> extends
|
|
8244
8460
|
declareConstructor<
|
|
8245
8461
|
Option_.Option<A["Type"]>,
|
|
8246
8462
|
Option_.Option<A["Encoded"]>,
|
|
@@ -8263,7 +8479,7 @@ export interface Option<A extends Top> extends
|
|
|
8263
8479
|
* @category Option
|
|
8264
8480
|
* @since 4.0.0
|
|
8265
8481
|
*/
|
|
8266
|
-
export type OptionIso<A extends
|
|
8482
|
+
export type OptionIso<A extends Constraint> =
|
|
8267
8483
|
| { readonly _tag: "None" }
|
|
8268
8484
|
| { readonly _tag: "Some"; readonly value: A["Iso"] }
|
|
8269
8485
|
|
|
@@ -8273,7 +8489,7 @@ export type OptionIso<A extends Top> =
|
|
|
8273
8489
|
* @category Option
|
|
8274
8490
|
* @since 3.10.0
|
|
8275
8491
|
*/
|
|
8276
|
-
export function Option<A extends
|
|
8492
|
+
export function Option<A extends Constraint>(value: A): Option<A> {
|
|
8277
8493
|
const schema = declareConstructor<
|
|
8278
8494
|
Option_.Option<A["Type"]>,
|
|
8279
8495
|
Option_.Option<A["Encoded"]>,
|
|
@@ -8342,7 +8558,7 @@ export function Option<A extends Top>(value: A): Option<A> {
|
|
|
8342
8558
|
* @category Option
|
|
8343
8559
|
* @since 3.10.0
|
|
8344
8560
|
*/
|
|
8345
|
-
export interface OptionFromNullOr<S extends
|
|
8561
|
+
export interface OptionFromNullOr<S extends Constraint> extends decodeTo<Option<toType<S>>, NullOr<S>> {
|
|
8346
8562
|
readonly "Rebuild": OptionFromNullOr<S>
|
|
8347
8563
|
}
|
|
8348
8564
|
|
|
@@ -8357,7 +8573,7 @@ export interface OptionFromNullOr<S extends Top> extends decodeTo<Option<toType<
|
|
|
8357
8573
|
* @category Option
|
|
8358
8574
|
* @since 3.10.0
|
|
8359
8575
|
*/
|
|
8360
|
-
export function OptionFromNullOr<S extends
|
|
8576
|
+
export function OptionFromNullOr<S extends Constraint>(schema: S): OptionFromNullOr<S> {
|
|
8361
8577
|
return NullOr(schema).pipe(decodeTo(
|
|
8362
8578
|
Option(toType(schema)),
|
|
8363
8579
|
SchemaTransformation.optionFromNullOr()
|
|
@@ -8370,7 +8586,7 @@ export function OptionFromNullOr<S extends Top>(schema: S): OptionFromNullOr<S>
|
|
|
8370
8586
|
* @category Option
|
|
8371
8587
|
* @since 3.10.0
|
|
8372
8588
|
*/
|
|
8373
|
-
export interface OptionFromUndefinedOr<S extends
|
|
8589
|
+
export interface OptionFromUndefinedOr<S extends Constraint> extends decodeTo<Option<toType<S>>, UndefinedOr<S>> {
|
|
8374
8590
|
readonly "Rebuild": OptionFromUndefinedOr<S>
|
|
8375
8591
|
}
|
|
8376
8592
|
|
|
@@ -8386,7 +8602,7 @@ export interface OptionFromUndefinedOr<S extends Top> extends decodeTo<Option<to
|
|
|
8386
8602
|
* @category Option
|
|
8387
8603
|
* @since 3.10.0
|
|
8388
8604
|
*/
|
|
8389
|
-
export function OptionFromUndefinedOr<S extends
|
|
8605
|
+
export function OptionFromUndefinedOr<S extends Constraint>(schema: S): OptionFromUndefinedOr<S> {
|
|
8390
8606
|
return UndefinedOr(schema).pipe(decodeTo(
|
|
8391
8607
|
Option(toType(schema)),
|
|
8392
8608
|
SchemaTransformation.optionFromUndefinedOr()
|
|
@@ -8399,7 +8615,7 @@ export function OptionFromUndefinedOr<S extends Top>(schema: S): OptionFromUndef
|
|
|
8399
8615
|
* @category Option
|
|
8400
8616
|
* @since 3.10.0
|
|
8401
8617
|
*/
|
|
8402
|
-
export interface OptionFromNullishOr<S extends
|
|
8618
|
+
export interface OptionFromNullishOr<S extends Constraint> extends decodeTo<Option<toType<S>>, NullishOr<S>> {
|
|
8403
8619
|
readonly "Rebuild": OptionFromNullishOr<S>
|
|
8404
8620
|
}
|
|
8405
8621
|
|
|
@@ -8416,7 +8632,7 @@ export interface OptionFromNullishOr<S extends Top> extends decodeTo<Option<toTy
|
|
|
8416
8632
|
* @category Option
|
|
8417
8633
|
* @since 3.10.0
|
|
8418
8634
|
*/
|
|
8419
|
-
export function OptionFromNullishOr<S extends
|
|
8635
|
+
export function OptionFromNullishOr<S extends Constraint>(
|
|
8420
8636
|
schema: S,
|
|
8421
8637
|
options?: {
|
|
8422
8638
|
onNoneEncoding: null | undefined
|
|
@@ -8434,7 +8650,7 @@ export function OptionFromNullishOr<S extends Top>(
|
|
|
8434
8650
|
* @category Option
|
|
8435
8651
|
* @since 4.0.0
|
|
8436
8652
|
*/
|
|
8437
|
-
export interface OptionFromOptionalKey<S extends
|
|
8653
|
+
export interface OptionFromOptionalKey<S extends Constraint> extends decodeTo<Option<toType<S>>, optionalKey<S>> {
|
|
8438
8654
|
readonly "Rebuild": OptionFromOptionalKey<S>
|
|
8439
8655
|
}
|
|
8440
8656
|
|
|
@@ -8449,7 +8665,7 @@ export interface OptionFromOptionalKey<S extends Top> extends decodeTo<Option<to
|
|
|
8449
8665
|
* @category Option
|
|
8450
8666
|
* @since 4.0.0
|
|
8451
8667
|
*/
|
|
8452
|
-
export function OptionFromOptionalKey<S extends
|
|
8668
|
+
export function OptionFromOptionalKey<S extends Constraint>(schema: S): OptionFromOptionalKey<S> {
|
|
8453
8669
|
return optionalKey(schema).pipe(decodeTo(
|
|
8454
8670
|
Option(toType(schema)),
|
|
8455
8671
|
SchemaTransformation.optionFromOptionalKey()
|
|
@@ -8462,7 +8678,7 @@ export function OptionFromOptionalKey<S extends Top>(schema: S): OptionFromOptio
|
|
|
8462
8678
|
* @category Option
|
|
8463
8679
|
* @since 4.0.0
|
|
8464
8680
|
*/
|
|
8465
|
-
export interface OptionFromOptional<S extends
|
|
8681
|
+
export interface OptionFromOptional<S extends Constraint> extends decodeTo<Option<toType<S>>, optional<S>> {
|
|
8466
8682
|
readonly "Rebuild": OptionFromOptional<S>
|
|
8467
8683
|
}
|
|
8468
8684
|
|
|
@@ -8479,7 +8695,7 @@ export interface OptionFromOptional<S extends Top> extends decodeTo<Option<toTyp
|
|
|
8479
8695
|
* @category Option
|
|
8480
8696
|
* @since 4.0.0
|
|
8481
8697
|
*/
|
|
8482
|
-
export function OptionFromOptional<S extends
|
|
8698
|
+
export function OptionFromOptional<S extends Constraint>(schema: S): OptionFromOptional<S> {
|
|
8483
8699
|
return optional(schema).pipe(decodeTo(
|
|
8484
8700
|
Option(toType(schema)),
|
|
8485
8701
|
SchemaTransformation.optionFromOptional<any>()
|
|
@@ -8492,7 +8708,9 @@ export function OptionFromOptional<S extends Top>(schema: S): OptionFromOptional
|
|
|
8492
8708
|
* @category Option
|
|
8493
8709
|
* @since 4.0.0
|
|
8494
8710
|
*/
|
|
8495
|
-
export interface OptionFromOptionalNullOr<S extends
|
|
8711
|
+
export interface OptionFromOptionalNullOr<S extends Constraint>
|
|
8712
|
+
extends decodeTo<Option<toType<S>>, optional<NullOr<S>>>
|
|
8713
|
+
{
|
|
8496
8714
|
readonly "Rebuild": OptionFromOptionalNullOr<S>
|
|
8497
8715
|
}
|
|
8498
8716
|
|
|
@@ -8510,7 +8728,7 @@ export interface OptionFromOptionalNullOr<S extends Top> extends decodeTo<Option
|
|
|
8510
8728
|
* @category Option
|
|
8511
8729
|
* @since 4.0.0
|
|
8512
8730
|
*/
|
|
8513
|
-
export function OptionFromOptionalNullOr<S extends
|
|
8731
|
+
export function OptionFromOptionalNullOr<S extends Constraint>(
|
|
8514
8732
|
schema: S,
|
|
8515
8733
|
options?: {
|
|
8516
8734
|
readonly onNoneEncoding: "omit" | null | undefined
|
|
@@ -8537,7 +8755,7 @@ export function OptionFromOptionalNullOr<S extends Top>(
|
|
|
8537
8755
|
* @category schemas
|
|
8538
8756
|
* @since 4.0.0
|
|
8539
8757
|
*/
|
|
8540
|
-
export interface Result<A extends
|
|
8758
|
+
export interface Result<A extends Constraint, E extends Constraint> extends
|
|
8541
8759
|
declareConstructor<
|
|
8542
8760
|
Result_.Result<A["Type"], E["Type"]>,
|
|
8543
8761
|
Result_.Result<A["Encoded"], E["Encoded"]>,
|
|
@@ -8561,7 +8779,7 @@ export interface Result<A extends Top, E extends Top> extends
|
|
|
8561
8779
|
* @category schemas
|
|
8562
8780
|
* @since 4.0.0
|
|
8563
8781
|
*/
|
|
8564
|
-
export type ResultIso<A extends
|
|
8782
|
+
export type ResultIso<A extends Constraint, E extends Constraint> =
|
|
8565
8783
|
| { readonly _tag: "Success"; readonly success: A["Iso"] }
|
|
8566
8784
|
| { readonly _tag: "Failure"; readonly failure: E["Iso"] }
|
|
8567
8785
|
|
|
@@ -8571,7 +8789,7 @@ export type ResultIso<A extends Top, E extends Top> =
|
|
|
8571
8789
|
* @category schemas
|
|
8572
8790
|
* @since 4.0.0
|
|
8573
8791
|
*/
|
|
8574
|
-
export function Result<A extends
|
|
8792
|
+
export function Result<A extends Constraint, E extends Constraint>(
|
|
8575
8793
|
success: A,
|
|
8576
8794
|
failure: E
|
|
8577
8795
|
): Result<A, E> {
|
|
@@ -8654,7 +8872,7 @@ export function Result<A extends Top, E extends Top>(
|
|
|
8654
8872
|
* @category Redacted
|
|
8655
8873
|
* @since 3.10.0
|
|
8656
8874
|
*/
|
|
8657
|
-
export interface Redacted<S extends
|
|
8875
|
+
export interface Redacted<S extends Constraint> extends
|
|
8658
8876
|
declareConstructor<
|
|
8659
8877
|
Redacted_.Redacted<S["Type"]>,
|
|
8660
8878
|
Redacted_.Redacted<S["Encoded"]>,
|
|
@@ -8685,10 +8903,11 @@ export interface Redacted<S extends Top> extends
|
|
|
8685
8903
|
* into JSON, it will fail with an error. This is useful when the wrapped schema is
|
|
8686
8904
|
* sensitive and should not be exposed in JSON.
|
|
8687
8905
|
*
|
|
8906
|
+
* @see {@link RedactedFromValue} for decoding raw values and wrapping them in `Redacted`.
|
|
8688
8907
|
* @category Redacted
|
|
8689
8908
|
* @since 3.10.0
|
|
8690
8909
|
*/
|
|
8691
|
-
export function Redacted<S extends
|
|
8910
|
+
export function Redacted<S extends Constraint>(value: S, options?: {
|
|
8692
8911
|
readonly label?: string | undefined
|
|
8693
8912
|
readonly disallowJsonEncode?: boolean | undefined
|
|
8694
8913
|
}): Redacted<S> {
|
|
@@ -8765,7 +8984,7 @@ export function Redacted<S extends Top>(value: S, options?: {
|
|
|
8765
8984
|
* @category Redacted
|
|
8766
8985
|
* @since 4.0.0
|
|
8767
8986
|
*/
|
|
8768
|
-
export interface RedactedFromValue<S extends
|
|
8987
|
+
export interface RedactedFromValue<S extends Constraint>
|
|
8769
8988
|
extends decodeTo<Redacted<toType<S>>, middlewareDecoding<S, S["DecodingServices"]>>
|
|
8770
8989
|
{
|
|
8771
8990
|
readonly "Rebuild": RedactedFromValue<S>
|
|
@@ -8778,8 +8997,8 @@ export interface RedactedFromValue<S extends Top>
|
|
|
8778
8997
|
* @category Redacted
|
|
8779
8998
|
* @since 4.0.0
|
|
8780
8999
|
*/
|
|
8781
|
-
export function redact<S extends
|
|
8782
|
-
return
|
|
9000
|
+
export function redact<S extends Constraint>(schema: S): middlewareDecoding<S, S["DecodingServices"]> {
|
|
9001
|
+
return middlewareDecoding<S, S["DecodingServices"]>(Effect.mapErrorEager(SchemaIssue.redact))(schema)
|
|
8783
9002
|
}
|
|
8784
9003
|
|
|
8785
9004
|
/**
|
|
@@ -8787,10 +9006,11 @@ export function redact<S extends Top>(schema: S): middlewareDecoding<S, S["Decod
|
|
|
8787
9006
|
* expects the input to already be a `Redacted` instance, this schema decodes
|
|
8788
9007
|
* the raw value and wraps it.
|
|
8789
9008
|
*
|
|
9009
|
+
* @see {@link Redacted} for schemas whose input is already a `Redacted` value.
|
|
8790
9010
|
* @category Redacted
|
|
8791
9011
|
* @since 4.0.0
|
|
8792
9012
|
*/
|
|
8793
|
-
export function RedactedFromValue<S extends
|
|
9013
|
+
export function RedactedFromValue<S extends Constraint>(value: S, options?: {
|
|
8794
9014
|
readonly label?: string | undefined
|
|
8795
9015
|
readonly disallowEncode?: boolean | undefined
|
|
8796
9016
|
}): RedactedFromValue<S> {
|
|
@@ -8819,7 +9039,7 @@ export function RedactedFromValue<S extends Top>(value: S, options?: {
|
|
|
8819
9039
|
* @category CauseReason
|
|
8820
9040
|
* @since 4.0.0
|
|
8821
9041
|
*/
|
|
8822
|
-
export interface CauseReason<E extends
|
|
9042
|
+
export interface CauseReason<E extends Constraint, D extends Constraint> extends
|
|
8823
9043
|
declareConstructor<
|
|
8824
9044
|
Cause_.Reason<E["Type"]>,
|
|
8825
9045
|
Cause_.Reason<E["Encoded"]>,
|
|
@@ -8843,7 +9063,7 @@ export interface CauseReason<E extends Top, D extends Top> extends
|
|
|
8843
9063
|
* @category CauseReason
|
|
8844
9064
|
* @since 4.0.0
|
|
8845
9065
|
*/
|
|
8846
|
-
export type CauseReasonIso<E extends
|
|
9066
|
+
export type CauseReasonIso<E extends Constraint, D extends Constraint> = {
|
|
8847
9067
|
readonly _tag: "Fail"
|
|
8848
9068
|
readonly error: E["Iso"]
|
|
8849
9069
|
} | {
|
|
@@ -8874,7 +9094,7 @@ export type CauseReasonIso<E extends Top, D extends Top> = {
|
|
|
8874
9094
|
* @category CauseReason
|
|
8875
9095
|
* @since 4.0.0
|
|
8876
9096
|
*/
|
|
8877
|
-
export function CauseReason<E extends
|
|
9097
|
+
export function CauseReason<E extends Constraint, D extends Constraint>(error: E, defect: D): CauseReason<E, D> {
|
|
8878
9098
|
const schema = declareConstructor<Cause_.Reason<E["Type"]>, Cause_.Reason<E["Encoded"]>, CauseReasonIso<E, D>>()(
|
|
8879
9099
|
[error, defect],
|
|
8880
9100
|
([error, defect]) => (input, ast, options) => {
|
|
@@ -8992,7 +9212,7 @@ function causeReasonToFormatter<E>(error: Formatter<E>, defect: Formatter<unknow
|
|
|
8992
9212
|
* @category Cause
|
|
8993
9213
|
* @since 3.10.0
|
|
8994
9214
|
*/
|
|
8995
|
-
export interface Cause<E extends
|
|
9215
|
+
export interface Cause<E extends Constraint, D extends Constraint> extends
|
|
8996
9216
|
declareConstructor<
|
|
8997
9217
|
Cause_.Cause<E["Type"]>,
|
|
8998
9218
|
Cause_.Cause<E["Encoded"]>,
|
|
@@ -9020,7 +9240,7 @@ export interface Cause<E extends Top, D extends Top> extends
|
|
|
9020
9240
|
* @category Cause
|
|
9021
9241
|
* @since 4.0.0
|
|
9022
9242
|
*/
|
|
9023
|
-
export type CauseIso<E extends
|
|
9243
|
+
export type CauseIso<E extends Constraint, D extends Constraint> = ReadonlyArray<CauseReasonIso<E, D>>
|
|
9024
9244
|
|
|
9025
9245
|
/**
|
|
9026
9246
|
* Creates a schema for `Cause` values using separate schemas for typed failures
|
|
@@ -9043,7 +9263,7 @@ export type CauseIso<E extends Top, D extends Top> = ReadonlyArray<CauseReasonIs
|
|
|
9043
9263
|
* @category Cause
|
|
9044
9264
|
* @since 3.10.0
|
|
9045
9265
|
*/
|
|
9046
|
-
export function Cause<E extends
|
|
9266
|
+
export function Cause<E extends Constraint, D extends Constraint>(error: E, defect: D): Cause<E, D> {
|
|
9047
9267
|
const schema = declareConstructor<Cause_.Cause<E["Type"]>, Cause_.Cause<E["Encoded"]>, CauseIso<E, D>>()(
|
|
9048
9268
|
[error, defect],
|
|
9049
9269
|
([error, defect]) => {
|
|
@@ -9269,7 +9489,7 @@ export function Defect(options?: ErrorOptions): Defect {
|
|
|
9269
9489
|
* @category Exit
|
|
9270
9490
|
* @since 3.10.0
|
|
9271
9491
|
*/
|
|
9272
|
-
export interface Exit<A extends
|
|
9492
|
+
export interface Exit<A extends Constraint, E extends Constraint, D extends Constraint> extends
|
|
9273
9493
|
declareConstructor<
|
|
9274
9494
|
Exit_.Exit<A["Type"], E["Type"]>,
|
|
9275
9495
|
Exit_.Exit<A["Encoded"], E["Encoded"]>,
|
|
@@ -9294,7 +9514,7 @@ export interface Exit<A extends Top, E extends Top, D extends Top> extends
|
|
|
9294
9514
|
* @category Exit
|
|
9295
9515
|
* @since 4.0.0
|
|
9296
9516
|
*/
|
|
9297
|
-
export type ExitIso<A extends
|
|
9517
|
+
export type ExitIso<A extends Constraint, E extends Constraint, D extends Constraint> = {
|
|
9298
9518
|
readonly _tag: "Success"
|
|
9299
9519
|
readonly value: A["Iso"]
|
|
9300
9520
|
} | {
|
|
@@ -9314,7 +9534,11 @@ export type ExitIso<A extends Top, E extends Top, D extends Top> = {
|
|
|
9314
9534
|
* @category Exit
|
|
9315
9535
|
* @since 3.10.0
|
|
9316
9536
|
*/
|
|
9317
|
-
export function Exit<A extends
|
|
9537
|
+
export function Exit<A extends Constraint, E extends Constraint, D extends Constraint>(
|
|
9538
|
+
value: A,
|
|
9539
|
+
error: E,
|
|
9540
|
+
defect: D
|
|
9541
|
+
): Exit<A, E, D> {
|
|
9318
9542
|
const schema = declareConstructor<
|
|
9319
9543
|
Exit_.Exit<A["Type"], E["Type"]>,
|
|
9320
9544
|
Exit_.Exit<A["Encoded"], E["Encoded"]>,
|
|
@@ -9421,7 +9645,7 @@ export function Exit<A extends Top, E extends Top, D extends Top>(value: A, erro
|
|
|
9421
9645
|
* @category ReadonlyMap
|
|
9422
9646
|
* @since 4.0.0
|
|
9423
9647
|
*/
|
|
9424
|
-
export interface $ReadonlyMap<Key extends
|
|
9648
|
+
export interface $ReadonlyMap<Key extends Constraint, Value extends Constraint> extends
|
|
9425
9649
|
declareConstructor<
|
|
9426
9650
|
globalThis.ReadonlyMap<Key["Type"], Value["Type"]>,
|
|
9427
9651
|
globalThis.ReadonlyMap<Key["Encoded"], Value["Encoded"]>,
|
|
@@ -9441,7 +9665,9 @@ export interface $ReadonlyMap<Key extends Top, Value extends Top> extends
|
|
|
9441
9665
|
* @category ReadonlyMap
|
|
9442
9666
|
* @since 4.0.0
|
|
9443
9667
|
*/
|
|
9444
|
-
export type ReadonlyMapIso<Key extends
|
|
9668
|
+
export type ReadonlyMapIso<Key extends Constraint, Value extends Constraint> = ReadonlyArray<
|
|
9669
|
+
readonly [Key["Iso"], Value["Iso"]]
|
|
9670
|
+
>
|
|
9445
9671
|
|
|
9446
9672
|
function oneOfArbitraries<T>(
|
|
9447
9673
|
fc: typeof FastCheck,
|
|
@@ -9540,7 +9766,10 @@ function entriesArbitrary<K, V, Out>(
|
|
|
9540
9766
|
* @category ReadonlyMap
|
|
9541
9767
|
* @since 3.10.0
|
|
9542
9768
|
*/
|
|
9543
|
-
export function ReadonlyMap<Key extends
|
|
9769
|
+
export function ReadonlyMap<Key extends Constraint, Value extends Constraint>(
|
|
9770
|
+
key: Key,
|
|
9771
|
+
value: Value
|
|
9772
|
+
): $ReadonlyMap<Key, Value> {
|
|
9544
9773
|
const schema = declareConstructor<
|
|
9545
9774
|
globalThis.ReadonlyMap<Key["Type"], Value["Type"]>,
|
|
9546
9775
|
globalThis.ReadonlyMap<Key["Encoded"], Value["Encoded"]>,
|
|
@@ -9601,7 +9830,7 @@ export function ReadonlyMap<Key extends Top, Value extends Top>(key: Key, value:
|
|
|
9601
9830
|
* @category HashMap
|
|
9602
9831
|
* @since 3.10.0
|
|
9603
9832
|
*/
|
|
9604
|
-
export interface HashMap<Key extends
|
|
9833
|
+
export interface HashMap<Key extends Constraint, Value extends Constraint> extends
|
|
9605
9834
|
declareConstructor<
|
|
9606
9835
|
HashMap_.HashMap<Key["Type"], Value["Type"]>,
|
|
9607
9836
|
HashMap_.HashMap<Key["Encoded"], Value["Encoded"]>,
|
|
@@ -9621,7 +9850,9 @@ export interface HashMap<Key extends Top, Value extends Top> extends
|
|
|
9621
9850
|
* @category HashMap
|
|
9622
9851
|
* @since 4.0.0
|
|
9623
9852
|
*/
|
|
9624
|
-
export type HashMapIso<Key extends
|
|
9853
|
+
export type HashMapIso<Key extends Constraint, Value extends Constraint> = ReadonlyArray<
|
|
9854
|
+
readonly [Key["Iso"], Value["Iso"]]
|
|
9855
|
+
>
|
|
9625
9856
|
|
|
9626
9857
|
/**
|
|
9627
9858
|
* Schema for hash maps whose keys and values conform to the provided schemas.
|
|
@@ -9629,7 +9860,7 @@ export type HashMapIso<Key extends Top, Value extends Top> = ReadonlyArray<reado
|
|
|
9629
9860
|
* @category HashMap
|
|
9630
9861
|
* @since 3.10.0
|
|
9631
9862
|
*/
|
|
9632
|
-
export function HashMap<Key extends
|
|
9863
|
+
export function HashMap<Key extends Constraint, Value extends Constraint>(key: Key, value: Value): HashMap<Key, Value> {
|
|
9633
9864
|
const schema = declareConstructor<
|
|
9634
9865
|
HashMap_.HashMap<Key["Type"], Value["Type"]>,
|
|
9635
9866
|
HashMap_.HashMap<Key["Encoded"], Value["Encoded"]>,
|
|
@@ -9691,7 +9922,7 @@ export function HashMap<Key extends Top, Value extends Top>(key: Key, value: Val
|
|
|
9691
9922
|
* @category ReadonlySet
|
|
9692
9923
|
* @since 4.0.0
|
|
9693
9924
|
*/
|
|
9694
|
-
export interface $ReadonlySet<Value extends
|
|
9925
|
+
export interface $ReadonlySet<Value extends Constraint> extends
|
|
9695
9926
|
declareConstructor<
|
|
9696
9927
|
globalThis.ReadonlySet<Value["Type"]>,
|
|
9697
9928
|
globalThis.ReadonlySet<Value["Encoded"]>,
|
|
@@ -9710,7 +9941,7 @@ export interface $ReadonlySet<Value extends Top> extends
|
|
|
9710
9941
|
* @category ReadonlySet
|
|
9711
9942
|
* @since 4.0.0
|
|
9712
9943
|
*/
|
|
9713
|
-
export type ReadonlySetIso<Value extends
|
|
9944
|
+
export type ReadonlySetIso<Value extends Constraint> = ReadonlyArray<Value["Iso"]>
|
|
9714
9945
|
|
|
9715
9946
|
/**
|
|
9716
9947
|
* Schema for readonly sets whose values conform to the provided element schema.
|
|
@@ -9718,7 +9949,7 @@ export type ReadonlySetIso<Value extends Top> = ReadonlyArray<Value["Iso"]>
|
|
|
9718
9949
|
* @category ReadonlySet
|
|
9719
9950
|
* @since 3.10.0
|
|
9720
9951
|
*/
|
|
9721
|
-
export function ReadonlySet<Value extends
|
|
9952
|
+
export function ReadonlySet<Value extends Constraint>(value: Value): $ReadonlySet<Value> {
|
|
9722
9953
|
const schema = declareConstructor<
|
|
9723
9954
|
globalThis.ReadonlySet<Value["Type"]>,
|
|
9724
9955
|
globalThis.ReadonlySet<Value["Encoded"]>,
|
|
@@ -9780,7 +10011,7 @@ export function ReadonlySet<Value extends Top>(value: Value): $ReadonlySet<Value
|
|
|
9780
10011
|
* @category HashSet
|
|
9781
10012
|
* @since 3.10.0
|
|
9782
10013
|
*/
|
|
9783
|
-
export interface HashSet<Value extends
|
|
10014
|
+
export interface HashSet<Value extends Constraint> extends
|
|
9784
10015
|
declareConstructor<
|
|
9785
10016
|
HashSet_.HashSet<Value["Type"]>,
|
|
9786
10017
|
HashSet_.HashSet<Value["Encoded"]>,
|
|
@@ -9799,7 +10030,7 @@ export interface HashSet<Value extends Top> extends
|
|
|
9799
10030
|
* @category HashSet
|
|
9800
10031
|
* @since 4.0.0
|
|
9801
10032
|
*/
|
|
9802
|
-
export type HashSetIso<Value extends
|
|
10033
|
+
export type HashSetIso<Value extends Constraint> = ReadonlyArray<Value["Iso"]>
|
|
9803
10034
|
|
|
9804
10035
|
/**
|
|
9805
10036
|
* Schema for hash sets whose values conform to the provided element schema.
|
|
@@ -9807,7 +10038,7 @@ export type HashSetIso<Value extends Top> = ReadonlyArray<Value["Iso"]>
|
|
|
9807
10038
|
* @category HashSet
|
|
9808
10039
|
* @since 3.10.0
|
|
9809
10040
|
*/
|
|
9810
|
-
export function HashSet<Value extends
|
|
10041
|
+
export function HashSet<Value extends Constraint>(value: Value): HashSet<Value> {
|
|
9811
10042
|
const schema = declareConstructor<
|
|
9812
10043
|
HashSet_.HashSet<Value["Type"]>,
|
|
9813
10044
|
HashSet_.HashSet<Value["Encoded"]>,
|
|
@@ -9869,7 +10100,7 @@ export function HashSet<Value extends Top>(value: Value): HashSet<Value> {
|
|
|
9869
10100
|
* @category Chunk
|
|
9870
10101
|
* @since 3.10.0
|
|
9871
10102
|
*/
|
|
9872
|
-
export interface Chunk<Value extends
|
|
10103
|
+
export interface Chunk<Value extends Constraint> extends
|
|
9873
10104
|
declareConstructor<
|
|
9874
10105
|
Chunk_.Chunk<Value["Type"]>,
|
|
9875
10106
|
Chunk_.Chunk<Value["Encoded"]>,
|
|
@@ -9895,7 +10126,7 @@ export interface Chunk<Value extends Top> extends
|
|
|
9895
10126
|
* @category Chunk
|
|
9896
10127
|
* @since 4.0.0
|
|
9897
10128
|
*/
|
|
9898
|
-
export type ChunkIso<Value extends
|
|
10129
|
+
export type ChunkIso<Value extends Constraint> = ReadonlyArray<Value["Iso"]>
|
|
9899
10130
|
|
|
9900
10131
|
/**
|
|
9901
10132
|
* Schema for chunks whose values conform to the provided element schema.
|
|
@@ -9903,7 +10134,7 @@ export type ChunkIso<Value extends Top> = ReadonlyArray<Value["Iso"]>
|
|
|
9903
10134
|
* @category Chunk
|
|
9904
10135
|
* @since 3.10.0
|
|
9905
10136
|
*/
|
|
9906
|
-
export function Chunk<Value extends
|
|
10137
|
+
export function Chunk<Value extends Constraint>(value: Value): Chunk<Value> {
|
|
9907
10138
|
const schema = declareConstructor<
|
|
9908
10139
|
Chunk_.Chunk<Value["Type"]>,
|
|
9909
10140
|
Chunk_.Chunk<Value["Encoded"]>,
|
|
@@ -10121,7 +10352,7 @@ type DateArbitraryConstraints = FastCheck.DateConstraints & {
|
|
|
10121
10352
|
}
|
|
10122
10353
|
|
|
10123
10354
|
function dateArbitraryConstraints<T = globalThis.Date>(
|
|
10124
|
-
constraint: Annotations.ToArbitrary.
|
|
10355
|
+
constraint: Annotations.ToArbitrary.GenerationConstraint | undefined,
|
|
10125
10356
|
ordered: Annotations.ToArbitrary.OrderedConstraint<T> | undefined,
|
|
10126
10357
|
base?: DateArbitraryConstraints | undefined,
|
|
10127
10358
|
toDate?: (value: T) => globalThis.Date
|
|
@@ -10679,7 +10910,7 @@ export const UnknownFromJsonString: UnknownFromJsonString = fromJsonString(Unkno
|
|
|
10679
10910
|
* @category models
|
|
10680
10911
|
* @since 4.0.0
|
|
10681
10912
|
*/
|
|
10682
|
-
export interface fromJsonString<S extends
|
|
10913
|
+
export interface fromJsonString<S extends Constraint> extends decodeTo<S, String> {
|
|
10683
10914
|
readonly "Rebuild": fromJsonString<S>
|
|
10684
10915
|
}
|
|
10685
10916
|
|
|
@@ -10749,7 +10980,7 @@ export interface fromJsonString<S extends Top> extends decodeTo<S, String> {
|
|
|
10749
10980
|
* @category constructors
|
|
10750
10981
|
* @since 4.0.0
|
|
10751
10982
|
*/
|
|
10752
|
-
export function fromJsonString<S extends
|
|
10983
|
+
export function fromJsonString<S extends Constraint>(schema: S): fromJsonString<S> {
|
|
10753
10984
|
return String.annotate({
|
|
10754
10985
|
expected: "a string that will be decoded as JSON",
|
|
10755
10986
|
contentMediaType: "application/json",
|
|
@@ -10901,7 +11132,7 @@ export const FormData: FormData = instanceOf(globalThis.FormData, {
|
|
|
10901
11132
|
* @category FormData
|
|
10902
11133
|
* @since 4.0.0
|
|
10903
11134
|
*/
|
|
10904
|
-
export interface fromFormData<S extends
|
|
11135
|
+
export interface fromFormData<S extends Constraint> extends decodeTo<S, FormData> {
|
|
10905
11136
|
readonly "Rebuild": fromFormData<S>
|
|
10906
11137
|
}
|
|
10907
11138
|
|
|
@@ -10921,10 +11152,8 @@ export interface fromFormData<S extends Top> extends decodeTo<S, FormData> {
|
|
|
10921
11152
|
*
|
|
10922
11153
|
* You can express nested values using bracket notation.
|
|
10923
11154
|
*
|
|
10924
|
-
* If you want to decode
|
|
10925
|
-
* `Schema.toCodecStringTree
|
|
10926
|
-
* This serializer preserves values such as numbers and `Blob` objects when
|
|
10927
|
-
* compatible with the schema.
|
|
11155
|
+
* If you want to decode string fields into non-string primitive values, use
|
|
11156
|
+
* `Schema.toCodecStringTree`.
|
|
10928
11157
|
*
|
|
10929
11158
|
* **Example** (Decoding a flat structure)
|
|
10930
11159
|
*
|
|
@@ -10978,8 +11207,7 @@ export interface fromFormData<S extends Top> extends decodeTo<S, FormData> {
|
|
|
10978
11207
|
* Schema.toCodecStringTree(
|
|
10979
11208
|
* Schema.Struct({
|
|
10980
11209
|
* a: Schema.Int
|
|
10981
|
-
* })
|
|
10982
|
-
* { keepDeclarations: true }
|
|
11210
|
+
* })
|
|
10983
11211
|
* )
|
|
10984
11212
|
* )
|
|
10985
11213
|
*
|
|
@@ -10993,7 +11221,7 @@ export interface fromFormData<S extends Top> extends decodeTo<S, FormData> {
|
|
|
10993
11221
|
* @category decoding
|
|
10994
11222
|
* @since 4.0.0
|
|
10995
11223
|
*/
|
|
10996
|
-
export function fromFormData<S extends
|
|
11224
|
+
export function fromFormData<S extends Constraint>(schema: S): fromFormData<S> {
|
|
10997
11225
|
return FormData.pipe(decodeTo(schema, SchemaTransformation.fromFormData))
|
|
10998
11226
|
}
|
|
10999
11227
|
|
|
@@ -11042,7 +11270,7 @@ export const URLSearchParams: URLSearchParams = instanceOf(globalThis.URLSearchP
|
|
|
11042
11270
|
* @category search params
|
|
11043
11271
|
* @since 4.0.0
|
|
11044
11272
|
*/
|
|
11045
|
-
export interface fromURLSearchParams<S extends
|
|
11273
|
+
export interface fromURLSearchParams<S extends Constraint> extends decodeTo<S, URLSearchParams> {
|
|
11046
11274
|
readonly "Rebuild": fromURLSearchParams<S>
|
|
11047
11275
|
}
|
|
11048
11276
|
|
|
@@ -11126,7 +11354,7 @@ export interface fromURLSearchParams<S extends Top> extends decodeTo<S, URLSearc
|
|
|
11126
11354
|
* @category decoding
|
|
11127
11355
|
* @since 4.0.0
|
|
11128
11356
|
*/
|
|
11129
|
-
export function fromURLSearchParams<S extends
|
|
11357
|
+
export function fromURLSearchParams<S extends Constraint>(schema: S): fromURLSearchParams<S> {
|
|
11130
11358
|
return URLSearchParams.pipe(decodeTo(schema, SchemaTransformation.fromURLSearchParams))
|
|
11131
11359
|
}
|
|
11132
11360
|
|
|
@@ -12145,18 +12373,11 @@ export const DateTimeZonedFromString: DateTimeZonedFromString = DateTimeZonedStr
|
|
|
12145
12373
|
* @category models
|
|
12146
12374
|
* @since 3.10.0
|
|
12147
12375
|
*/
|
|
12148
|
-
export interface Class<Self, S extends
|
|
12149
|
-
|
|
12150
|
-
Self,
|
|
12151
|
-
S["Encoded"],
|
|
12152
|
-
S["DecodingServices"],
|
|
12153
|
-
S["EncodingServices"],
|
|
12376
|
+
export interface Class<Self, S extends Constraint & { readonly fields: Struct.Fields }, Inherited> extends
|
|
12377
|
+
BottomLazy<
|
|
12154
12378
|
SchemaAST.Declaration,
|
|
12155
12379
|
decodeTo<declareConstructor<Self, S["Encoded"], readonly [S], S["Iso"]>, S>,
|
|
12156
|
-
RequiredKeys<S["~type.make.in"]> extends never ? void | S["~type.make.in"] : S["~type.make.in"],
|
|
12157
|
-
S["Iso"],
|
|
12158
12380
|
readonly [S],
|
|
12159
|
-
Self,
|
|
12160
12381
|
S["~type.mutability"],
|
|
12161
12382
|
S["~type.optionality"],
|
|
12162
12383
|
S["~type.constructor.default"],
|
|
@@ -12164,6 +12385,14 @@ export interface Class<Self, S extends Top & { readonly fields: Struct.Fields },
|
|
|
12164
12385
|
S["~encoded.optionality"]
|
|
12165
12386
|
>
|
|
12166
12387
|
{
|
|
12388
|
+
readonly "Type": Self
|
|
12389
|
+
readonly "Encoded": S["Encoded"]
|
|
12390
|
+
readonly "DecodingServices": S["DecodingServices"]
|
|
12391
|
+
readonly "EncodingServices": S["EncodingServices"]
|
|
12392
|
+
readonly "~type.make.in": RequiredKeys<S["~type.make.in"]> extends never ? void | S["~type.make.in"]
|
|
12393
|
+
: S["~type.make.in"]
|
|
12394
|
+
readonly "~type.make": Self
|
|
12395
|
+
readonly "Iso": S["Iso"]
|
|
12167
12396
|
new(
|
|
12168
12397
|
...args: {} extends S["~type.make.in"] ? [props?: S["~type.make.in"], options?: MakeOptions]
|
|
12169
12398
|
: [props: S["~type.make.in"], options?: MakeOptions]
|
|
@@ -12194,15 +12423,48 @@ export interface Class<Self, S extends Top & { readonly fields: Struct.Fields },
|
|
|
12194
12423
|
} | undefined
|
|
12195
12424
|
): Struct<Simplify<Readonly<To>>>
|
|
12196
12425
|
|
|
12426
|
+
/**
|
|
12427
|
+
* Returns a function that creates a schema-backed subclass with this class's
|
|
12428
|
+
* fields plus additional fields.
|
|
12429
|
+
*
|
|
12430
|
+
* **When to use**
|
|
12431
|
+
*
|
|
12432
|
+
* Use when you need a subclass whose constructor validates both inherited
|
|
12433
|
+
* fields and newly added fields.
|
|
12434
|
+
*
|
|
12435
|
+
* **Details**
|
|
12436
|
+
*
|
|
12437
|
+
* The returned function accepts either a field map or a `Struct`. When you
|
|
12438
|
+
* pass a `Struct`, checks attached to that extension schema are preserved and
|
|
12439
|
+
* combined with checks from the base class schema.
|
|
12440
|
+
*
|
|
12441
|
+
* **Gotchas**
|
|
12442
|
+
*
|
|
12443
|
+
* Checks from a `Struct` argument are evaluated against the full subclass
|
|
12444
|
+
* value after inherited and extension fields are merged. Object-wide checks
|
|
12445
|
+
* such as `isMaxProperties` count inherited fields too.
|
|
12446
|
+
*/
|
|
12197
12447
|
extend<Extended = never, Static = {}, Brand = {}>(
|
|
12198
12448
|
identifier: string
|
|
12199
|
-
):
|
|
12200
|
-
|
|
12201
|
-
|
|
12202
|
-
|
|
12203
|
-
|
|
12204
|
-
|
|
12205
|
-
|
|
12449
|
+
): {
|
|
12450
|
+
<NewFields extends Struct.Fields>(
|
|
12451
|
+
fields: NewFields,
|
|
12452
|
+
annotations?: Annotations.Declaration<Extended, readonly [Struct<Simplify<Assign<S["fields"], NewFields>>>]>
|
|
12453
|
+
): [Extended] extends [never] ? MissingSelfGeneric<"Base.extend"> : InheritStaticMembers<
|
|
12454
|
+
Class<Extended, Struct<Simplify<Assign<S["fields"], NewFields>>>, Self & Brand>,
|
|
12455
|
+
Static
|
|
12456
|
+
>
|
|
12457
|
+
<Extension extends Struct<Struct.Fields>>(
|
|
12458
|
+
schema: Extension,
|
|
12459
|
+
annotations?: Annotations.Declaration<
|
|
12460
|
+
Extended,
|
|
12461
|
+
readonly [Struct<Simplify<Assign<S["fields"], Extension["fields"]>>>]
|
|
12462
|
+
>
|
|
12463
|
+
): [Extended] extends [never] ? MissingSelfGeneric<"Base.extend"> : InheritStaticMembers<
|
|
12464
|
+
Class<Extended, Struct<Simplify<Assign<S["fields"], Extension["fields"]>>>, Self & Brand>,
|
|
12465
|
+
Static
|
|
12466
|
+
>
|
|
12467
|
+
}
|
|
12206
12468
|
}
|
|
12207
12469
|
|
|
12208
12470
|
// Merges custom static members from a parent class onto the extended class,
|
|
@@ -12211,6 +12473,8 @@ type InheritStaticMembers<C, Static> = C & Pick<Static, Exclude<keyof Static, ke
|
|
|
12211
12473
|
|
|
12212
12474
|
const immerable: unique symbol = globalThis.Symbol.for("immer-draftable") as any
|
|
12213
12475
|
|
|
12476
|
+
const payloadToken = {}
|
|
12477
|
+
|
|
12214
12478
|
function makeClass<
|
|
12215
12479
|
Self,
|
|
12216
12480
|
S extends Struct<Struct.Fields>,
|
|
@@ -12227,9 +12491,12 @@ function makeClass<
|
|
|
12227
12491
|
|
|
12228
12492
|
const out = class extends Inherited {
|
|
12229
12493
|
constructor(...[input, options]: ReadonlyArray<any>) {
|
|
12230
|
-
|
|
12231
|
-
const
|
|
12232
|
-
|
|
12494
|
+
const internalOptions = options as MakeOptions | undefined
|
|
12495
|
+
const payload = internalOptions?.["~payload"]
|
|
12496
|
+
const value = payload?.token === payloadToken
|
|
12497
|
+
? payload.value
|
|
12498
|
+
: struct.make(input ?? {}, options)
|
|
12499
|
+
super(value, { ...options, disableChecks: true, "~payload": { token: payloadToken, value } })
|
|
12233
12500
|
}
|
|
12234
12501
|
|
|
12235
12502
|
static readonly [TypeId] = TypeId
|
|
@@ -12270,18 +12537,20 @@ function makeClass<
|
|
|
12270
12537
|
static check(...checks: readonly [SchemaAST.Check<Self>, ...Array<SchemaAST.Check<Self>>]) {
|
|
12271
12538
|
return this.rebuild(SchemaAST.appendChecks(this.ast, checks))
|
|
12272
12539
|
}
|
|
12273
|
-
static extend
|
|
12540
|
+
static extend(
|
|
12274
12541
|
identifier: string
|
|
12275
|
-
)
|
|
12276
|
-
|
|
12277
|
-
|
|
12278
|
-
|
|
12279
|
-
|
|
12280
|
-
const
|
|
12542
|
+
) {
|
|
12543
|
+
return (
|
|
12544
|
+
schema: Struct.Fields | Struct<Struct.Fields>,
|
|
12545
|
+
annotations?: Annotations.Declaration<any, readonly [any]>
|
|
12546
|
+
) => {
|
|
12547
|
+
const extension = isStruct(schema) ? schema : Struct(schema)
|
|
12548
|
+
const fields = { ...struct.fields, ...extension.fields }
|
|
12549
|
+
const ast = SchemaAST.struct(fields, struct.ast.checks, { identifier })
|
|
12281
12550
|
return makeClass(
|
|
12282
12551
|
this,
|
|
12283
12552
|
identifier,
|
|
12284
|
-
makeStruct(SchemaAST.
|
|
12553
|
+
makeStruct(SchemaAST.appendChecks(ast, extension.ast.checks), fields),
|
|
12285
12554
|
annotations,
|
|
12286
12555
|
proto
|
|
12287
12556
|
)
|
|
@@ -12315,7 +12584,7 @@ function getClassTypeId(identifier: string) {
|
|
|
12315
12584
|
return `~effect/Schema/Class/${identifier}`
|
|
12316
12585
|
}
|
|
12317
12586
|
|
|
12318
|
-
function getClassSchemaFactory<S extends
|
|
12587
|
+
function getClassSchemaFactory<S extends Constraint>(
|
|
12319
12588
|
from: S,
|
|
12320
12589
|
identifier: string,
|
|
12321
12590
|
annotations: Annotations.Declaration<any, readonly [S]> | undefined
|
|
@@ -12324,34 +12593,34 @@ function getClassSchemaFactory<S extends Top>(
|
|
|
12324
12593
|
return <Self extends (new(...args: ReadonlyArray<any>) => any) & { readonly identifier: string }>(
|
|
12325
12594
|
self: Self
|
|
12326
12595
|
): decodeTo<declareConstructor<Self, S["Encoded"], readonly [S]>, S> => {
|
|
12327
|
-
if (memo
|
|
12328
|
-
|
|
12329
|
-
const to = make<declareConstructor<Self, S["Encoded"], readonly [S]>>(
|
|
12330
|
-
new SchemaAST.Declaration(
|
|
12331
|
-
[from.ast],
|
|
12332
|
-
() => (input, ast) => {
|
|
12333
|
-
return input instanceof self ||
|
|
12334
|
-
Predicate.hasProperty(input, getClassTypeId(identifier)) ?
|
|
12335
|
-
Effect.succeed(input) :
|
|
12336
|
-
Effect.fail(new SchemaIssue.InvalidType(ast, Option_.some(input)))
|
|
12337
|
-
},
|
|
12338
|
-
{
|
|
12339
|
-
identifier,
|
|
12340
|
-
[SchemaAST.ClassTypeId]: ([from]: readonly [SchemaAST.AST]) => new SchemaAST.Link(from, transformation),
|
|
12341
|
-
toCodec: ([from]: readonly [Codec<S["Encoded"]>]) => new SchemaAST.Link(from.ast, transformation),
|
|
12342
|
-
toArbitrary: ([from]: readonly [Annotations.ToArbitrary.TypeParameter<S["Type"]>]) => () => ({
|
|
12343
|
-
arbitrary: from.arbitrary.map((args: S["Type"]) => new self(args)),
|
|
12344
|
-
terminal: from.terminal?.map((args: S["Type"]) => new self(args))
|
|
12345
|
-
}),
|
|
12346
|
-
toFormatter: ([from]: readonly [Formatter<S["Type"]>]) => (t: Self) => `${self.identifier}(${from(t)})`,
|
|
12347
|
-
"~sentinels": SchemaAST.collectSentinels(from.ast),
|
|
12348
|
-
...annotations
|
|
12349
|
-
}
|
|
12350
|
-
)
|
|
12351
|
-
)
|
|
12352
|
-
memo = from.pipe(decodeTo(to, transformation))
|
|
12596
|
+
if (memo !== undefined) {
|
|
12597
|
+
return memo
|
|
12353
12598
|
}
|
|
12354
|
-
|
|
12599
|
+
const transformation = getClassTransformation(self)
|
|
12600
|
+
const to = make<declareConstructor<Self, S["Encoded"], readonly [S]>>(
|
|
12601
|
+
new SchemaAST.Declaration(
|
|
12602
|
+
[from.ast],
|
|
12603
|
+
() => (input, ast) => {
|
|
12604
|
+
return input instanceof self ||
|
|
12605
|
+
Predicate.hasProperty(input, getClassTypeId(identifier)) ?
|
|
12606
|
+
Effect.succeed(input) :
|
|
12607
|
+
Effect.fail(new SchemaIssue.InvalidType(ast, Option_.some(input)))
|
|
12608
|
+
},
|
|
12609
|
+
{
|
|
12610
|
+
identifier,
|
|
12611
|
+
[SchemaAST.ClassTypeId]: ([from]: readonly [SchemaAST.AST]) => new SchemaAST.Link(from, transformation),
|
|
12612
|
+
toCodec: ([from]: readonly [Codec<S["Encoded"]>]) => new SchemaAST.Link(from.ast, transformation),
|
|
12613
|
+
toArbitrary: ([from]: readonly [Annotations.ToArbitrary.TypeParameter<S["Type"]>]) => () => ({
|
|
12614
|
+
arbitrary: from.arbitrary.map((args: S["Type"]) => new self(args)),
|
|
12615
|
+
terminal: from.terminal?.map((args: S["Type"]) => new self(args))
|
|
12616
|
+
}),
|
|
12617
|
+
toFormatter: ([from]: readonly [Formatter<S["Type"]>]) => (t: Self) => `${self.identifier}(${from(t)})`,
|
|
12618
|
+
"~sentinels": SchemaAST.collectSentinels(from.ast),
|
|
12619
|
+
...annotations
|
|
12620
|
+
}
|
|
12621
|
+
)
|
|
12622
|
+
)
|
|
12623
|
+
return memo = decodeTo<declareConstructor<Self, S["Encoded"], readonly [S]>, S>(to, transformation)(from)
|
|
12355
12624
|
}
|
|
12356
12625
|
}
|
|
12357
12626
|
|
|
@@ -12661,7 +12930,7 @@ export type LazyArbitrary<T> = (fc: typeof FastCheck) => FastCheck.Arbitrary<T>
|
|
|
12661
12930
|
* @category Arbitrary
|
|
12662
12931
|
* @since 4.0.0
|
|
12663
12932
|
*/
|
|
12664
|
-
export function toArbitraryLazy<S extends
|
|
12933
|
+
export function toArbitraryLazy<S extends Constraint>(schema: S): LazyArbitrary<S["Type"]> {
|
|
12665
12934
|
const lawc = InternalArbitrary.memoized(schema.ast)
|
|
12666
12935
|
return (fc) => lawc(fc, {})
|
|
12667
12936
|
}
|
|
@@ -12695,12 +12964,12 @@ export function toArbitraryLazy<S extends Top>(schema: S): LazyArbitrary<S["Type
|
|
|
12695
12964
|
* @category Arbitrary
|
|
12696
12965
|
* @since 4.0.0
|
|
12697
12966
|
*/
|
|
12698
|
-
export function toArbitrary<S extends
|
|
12699
|
-
export function toArbitrary<S extends
|
|
12967
|
+
export function toArbitrary<S extends Constraint>(schema: S): FastCheck.Arbitrary<S["Type"]>
|
|
12968
|
+
export function toArbitrary<S extends Constraint>(
|
|
12700
12969
|
schema: S,
|
|
12701
12970
|
options: { readonly report: true }
|
|
12702
12971
|
): Annotations.ToArbitrary.WithReport<FastCheck.Arbitrary<S["Type"]>>
|
|
12703
|
-
export function toArbitrary<S extends
|
|
12972
|
+
export function toArbitrary<S extends Constraint>(
|
|
12704
12973
|
schema: S,
|
|
12705
12974
|
options?: { readonly report?: boolean }
|
|
12706
12975
|
): FastCheck.Arbitrary<S["Type"]> | Annotations.ToArbitrary.WithReport<FastCheck.Arbitrary<S["Type"]>> {
|
|
@@ -12751,14 +13020,14 @@ export function overrideToFormatter<S extends Top>(toFormatter: () => Formatter<
|
|
|
12751
13020
|
* @category Formatter
|
|
12752
13021
|
* @since 4.0.0
|
|
12753
13022
|
*/
|
|
12754
|
-
export function toFormatter<
|
|
13023
|
+
export function toFormatter<S extends Constraint>(schema: S, options?: {
|
|
12755
13024
|
readonly onBefore?:
|
|
12756
13025
|
| ((ast: SchemaAST.AST, recur: (ast: SchemaAST.AST) => Formatter<any>) => Formatter<any> | undefined)
|
|
12757
13026
|
| undefined
|
|
12758
|
-
}): Formatter<
|
|
13027
|
+
}): Formatter<S["Type"]> {
|
|
12759
13028
|
return recur(schema.ast)
|
|
12760
13029
|
|
|
12761
|
-
function recur(ast: SchemaAST.AST): Formatter<
|
|
13030
|
+
function recur(ast: SchemaAST.AST): Formatter<S["Type"]> {
|
|
12762
13031
|
// ---------------------------------------------
|
|
12763
13032
|
// handle annotation
|
|
12764
13033
|
// ---------------------------------------------
|
|
@@ -12942,7 +13211,7 @@ export function toEquivalence<T>(schema: Schema<T>): Equivalence.Equivalence<T>
|
|
|
12942
13211
|
* @category Representation
|
|
12943
13212
|
* @since 4.0.0
|
|
12944
13213
|
*/
|
|
12945
|
-
export function toRepresentation(schema:
|
|
13214
|
+
export function toRepresentation(schema: Constraint): SchemaRepresentation.Document {
|
|
12946
13215
|
return InternalStandard.fromAST(schema.ast)
|
|
12947
13216
|
}
|
|
12948
13217
|
|
|
@@ -13043,7 +13312,10 @@ export interface ToJsonSchemaOptions {
|
|
|
13043
13312
|
* @category converting
|
|
13044
13313
|
* @since 4.0.0
|
|
13045
13314
|
*/
|
|
13046
|
-
export function toJsonSchemaDocument(
|
|
13315
|
+
export function toJsonSchemaDocument(
|
|
13316
|
+
schema: Constraint,
|
|
13317
|
+
options?: ToJsonSchemaOptions
|
|
13318
|
+
): JsonSchema.Document<"draft-2020-12"> {
|
|
13047
13319
|
const sd = toRepresentation(schema)
|
|
13048
13320
|
const jd = InternalStandard.toJsonSchemaDocument(sd, options)
|
|
13049
13321
|
return {
|
|
@@ -13057,6 +13329,34 @@ export function toJsonSchemaDocument(schema: Top, options?: ToJsonSchemaOptions)
|
|
|
13057
13329
|
// Canonical Codecs
|
|
13058
13330
|
// -----------------------------------------------------------------------------
|
|
13059
13331
|
|
|
13332
|
+
/**
|
|
13333
|
+
* Type-level representation returned by {@link toCodecJson}.
|
|
13334
|
+
*
|
|
13335
|
+
* @category Canonical Codecs
|
|
13336
|
+
* @since 4.0.0
|
|
13337
|
+
*/
|
|
13338
|
+
export interface toCodecJson<S extends Constraint> extends
|
|
13339
|
+
BottomLazy<
|
|
13340
|
+
S["ast"],
|
|
13341
|
+
toCodecJson<S>,
|
|
13342
|
+
S["~type.parameters"],
|
|
13343
|
+
S["~type.mutability"],
|
|
13344
|
+
S["~type.optionality"],
|
|
13345
|
+
S["~type.constructor.default"],
|
|
13346
|
+
S["~encoded.mutability"],
|
|
13347
|
+
S["~encoded.optionality"]
|
|
13348
|
+
>
|
|
13349
|
+
{
|
|
13350
|
+
readonly "Type": S["Type"]
|
|
13351
|
+
readonly "Encoded": Json
|
|
13352
|
+
readonly "DecodingServices": S["DecodingServices"]
|
|
13353
|
+
readonly "EncodingServices": S["EncodingServices"]
|
|
13354
|
+
readonly "~type.make.in": S["~type.make.in"]
|
|
13355
|
+
readonly "~type.make": S["~type.make"]
|
|
13356
|
+
readonly "Iso": S["Iso"]
|
|
13357
|
+
readonly schema: S
|
|
13358
|
+
}
|
|
13359
|
+
|
|
13060
13360
|
/**
|
|
13061
13361
|
* Derives a canonical JSON codec from a schema. The encoded form is `Json`, and
|
|
13062
13362
|
* decoding produces the schema's `Type`.
|
|
@@ -13064,11 +13364,11 @@ export function toJsonSchemaDocument(schema: Top, options?: ToJsonSchemaOptions)
|
|
|
13064
13364
|
* @category Canonical Codecs
|
|
13065
13365
|
* @since 4.0.0
|
|
13066
13366
|
*/
|
|
13067
|
-
export function toCodecJson<
|
|
13068
|
-
return make(toCodecJsonTop(schema.ast))
|
|
13367
|
+
export function toCodecJson<S extends Constraint>(schema: S): toCodecJson<S> {
|
|
13368
|
+
return make(toCodecJsonTop(schema.ast), { schema })
|
|
13069
13369
|
}
|
|
13070
13370
|
|
|
13071
|
-
const toCodecJsonTop = SchemaAST.
|
|
13371
|
+
const toCodecJsonTop = SchemaAST.applyToSelfOrLastLinkEncoding((ast) => {
|
|
13072
13372
|
const out = toCodecJsonBase(ast, toCodecJsonTop)
|
|
13073
13373
|
return out !== ast && SchemaAST.isOptional(ast) ? SchemaAST.optionalKeyLastLink(out) : out
|
|
13074
13374
|
})
|
|
@@ -13103,7 +13403,7 @@ function toCodecJsonBase(ast: SchemaAST.AST, recur: (ast: SchemaAST.AST) => Sche
|
|
|
13103
13403
|
if (ast.propertySignatures.some((ps) => typeof ps.name !== "string")) {
|
|
13104
13404
|
throw new globalThis.Error("Objects property names must be strings", { cause: ast })
|
|
13105
13405
|
}
|
|
13106
|
-
return ast.recur(recur)
|
|
13406
|
+
return ast.recur(recur, SchemaAST.parameterFromString)
|
|
13107
13407
|
}
|
|
13108
13408
|
case "Union": {
|
|
13109
13409
|
const sortedTypes = InternalSchema.jsonReorder(ast.types)
|
|
@@ -13135,7 +13435,7 @@ function toCodecJsonBase(ast: SchemaAST.AST, recur: (ast: SchemaAST.AST) => Sche
|
|
|
13135
13435
|
* @category Canonical Codecs
|
|
13136
13436
|
* @since 4.0.0
|
|
13137
13437
|
*/
|
|
13138
|
-
export function toCodecIso<S extends
|
|
13438
|
+
export function toCodecIso<S extends Constraint>(schema: S): Codec<S["Type"], S["Iso"]> {
|
|
13139
13439
|
return make(toCodecIsoTop(SchemaAST.toType(schema.ast)))
|
|
13140
13440
|
}
|
|
13141
13441
|
|
|
@@ -13173,6 +13473,34 @@ function toCodecIsoBase(ast: SchemaAST.AST, recur: (ast: SchemaAST.AST) => Schem
|
|
|
13173
13473
|
*/
|
|
13174
13474
|
export type StringTree = Tree<string | undefined>
|
|
13175
13475
|
|
|
13476
|
+
/**
|
|
13477
|
+
* Type-level representation returned by {@link toCodecStringTree}.
|
|
13478
|
+
*
|
|
13479
|
+
* @category Canonical Codecs
|
|
13480
|
+
* @since 4.0.0
|
|
13481
|
+
*/
|
|
13482
|
+
export interface toCodecStringTree<S extends Constraint> extends
|
|
13483
|
+
BottomLazy<
|
|
13484
|
+
S["ast"],
|
|
13485
|
+
toCodecStringTree<S>,
|
|
13486
|
+
ReadonlyArray<Constraint>,
|
|
13487
|
+
S["~type.mutability"],
|
|
13488
|
+
S["~type.optionality"],
|
|
13489
|
+
S["~type.constructor.default"],
|
|
13490
|
+
S["~encoded.mutability"],
|
|
13491
|
+
S["~encoded.optionality"]
|
|
13492
|
+
>
|
|
13493
|
+
{
|
|
13494
|
+
readonly "Type": S["Type"]
|
|
13495
|
+
readonly "Encoded": StringTree
|
|
13496
|
+
readonly "DecodingServices": S["DecodingServices"]
|
|
13497
|
+
readonly "EncodingServices": S["EncodingServices"]
|
|
13498
|
+
readonly "~type.make.in": S["~type.make.in"]
|
|
13499
|
+
readonly "~type.make": S["~type.make"]
|
|
13500
|
+
readonly "Iso": S["Iso"]
|
|
13501
|
+
readonly schema: S
|
|
13502
|
+
}
|
|
13503
|
+
|
|
13176
13504
|
/**
|
|
13177
13505
|
* Converts a schema to the StringTree canonical codec, where every leaf value
|
|
13178
13506
|
* becomes a string while preserving the original structure.
|
|
@@ -13182,33 +13510,60 @@ export type StringTree = Tree<string | undefined>
|
|
|
13182
13510
|
* Declarations are converted to `undefined` (unless they have a
|
|
13183
13511
|
* `toCodecJson` or `toCodec` annotation).
|
|
13184
13512
|
*
|
|
13185
|
-
*
|
|
13513
|
+
* @category Canonical Codecs
|
|
13514
|
+
* @since 4.0.0
|
|
13515
|
+
*/
|
|
13516
|
+
export function toCodecStringTree<S extends Constraint>(schema: S): toCodecStringTree<S> {
|
|
13517
|
+
return make(serializerStringTree(schema.ast), { schema })
|
|
13518
|
+
}
|
|
13519
|
+
|
|
13520
|
+
/**
|
|
13521
|
+
* Type-level representation returned by {@link toCodecArrayFromSingle}.
|
|
13186
13522
|
*
|
|
13187
|
-
*
|
|
13188
|
-
*
|
|
13189
|
-
|
|
13523
|
+
* @category Canonical Codecs
|
|
13524
|
+
* @since 4.0.0
|
|
13525
|
+
*/
|
|
13526
|
+
export interface toCodecArrayFromSingle<S extends Constraint> extends
|
|
13527
|
+
BottomLazy<
|
|
13528
|
+
S["ast"],
|
|
13529
|
+
toCodecArrayFromSingle<S>,
|
|
13530
|
+
S["~type.parameters"],
|
|
13531
|
+
S["~type.mutability"],
|
|
13532
|
+
S["~type.optionality"],
|
|
13533
|
+
S["~type.constructor.default"],
|
|
13534
|
+
S["~encoded.mutability"],
|
|
13535
|
+
S["~encoded.optionality"]
|
|
13536
|
+
>
|
|
13537
|
+
{
|
|
13538
|
+
readonly "Type": S["Type"]
|
|
13539
|
+
readonly "Encoded": S["Encoded"]
|
|
13540
|
+
readonly "DecodingServices": S["DecodingServices"]
|
|
13541
|
+
readonly "EncodingServices": S["EncodingServices"]
|
|
13542
|
+
readonly "~type.make.in": S["~type.make.in"]
|
|
13543
|
+
readonly "~type.make": S["~type.make"]
|
|
13544
|
+
readonly "Iso": S["Iso"]
|
|
13545
|
+
}
|
|
13546
|
+
|
|
13547
|
+
/**
|
|
13548
|
+
* Allows array schemas to decode from either an array input or a single value
|
|
13549
|
+
* input.
|
|
13550
|
+
*
|
|
13551
|
+
* **When to use**
|
|
13190
13552
|
*
|
|
13191
|
-
*
|
|
13553
|
+
* Use when you need to accept transport formats that may represent a
|
|
13554
|
+
* single-item array as a bare value, such as query-string or form-data adapters.
|
|
13555
|
+
*
|
|
13556
|
+
* **Gotchas**
|
|
13557
|
+
*
|
|
13558
|
+
* This combinator is intentionally not part of `toCodecStringTree`; it adds a
|
|
13559
|
+
* decoding convenience rather than a canonical StringTree representation. It
|
|
13560
|
+
* does not parse comma-separated strings.
|
|
13192
13561
|
*
|
|
13193
13562
|
* @category Canonical Codecs
|
|
13194
13563
|
* @since 4.0.0
|
|
13195
13564
|
*/
|
|
13196
|
-
export function
|
|
13197
|
-
|
|
13198
|
-
schema: Codec<T, E, RD, RE>,
|
|
13199
|
-
options: { readonly keepDeclarations: true } // Used in FormData
|
|
13200
|
-
): Codec<T, unknown, RD, RE>
|
|
13201
|
-
export function toCodecStringTree<T, E, RD, RE>(
|
|
13202
|
-
schema: Codec<T, E, RD, RE>,
|
|
13203
|
-
options?: { readonly keepDeclarations?: boolean | undefined }
|
|
13204
|
-
): Codec<T, unknown, RD, RE> {
|
|
13205
|
-
return make(
|
|
13206
|
-
toCodecEnsureArray(
|
|
13207
|
-
options?.keepDeclarations === true
|
|
13208
|
-
? serializerStringTreeKeepDeclarations(schema.ast)
|
|
13209
|
-
: serializerStringTree(schema.ast)
|
|
13210
|
-
)
|
|
13211
|
-
)
|
|
13565
|
+
export function toCodecArrayFromSingle<S extends Constraint>(schema: S): toCodecArrayFromSingle<S> {
|
|
13566
|
+
return make(toCodecArrayFromSingleTop(schema.ast))
|
|
13212
13567
|
}
|
|
13213
13568
|
|
|
13214
13569
|
type XmlEncoderOptions = {
|
|
@@ -13383,7 +13738,7 @@ function serializerTree(
|
|
|
13383
13738
|
if (ast.propertySignatures.some((ps) => typeof ps.name !== "string")) {
|
|
13384
13739
|
throw new globalThis.Error("Objects property names must be strings", { cause: ast })
|
|
13385
13740
|
}
|
|
13386
|
-
return ast.recur(recur)
|
|
13741
|
+
return ast.recur(recur, SchemaAST.parameterFromString)
|
|
13387
13742
|
}
|
|
13388
13743
|
case "Union": {
|
|
13389
13744
|
const sortedTypes = treeReorder(ast.types)
|
|
@@ -13424,7 +13779,15 @@ const booleanToString = new SchemaAST.Link(
|
|
|
13424
13779
|
)
|
|
13425
13780
|
)
|
|
13426
13781
|
|
|
13427
|
-
const
|
|
13782
|
+
const SERIALIZER_ENSURE_ARRAY = "~effect/Schema/SERIALIZER_ENSURE_ARRAY"
|
|
13783
|
+
|
|
13784
|
+
const isSerializerArrayFromSingle = (ast: SchemaAST.AST): boolean =>
|
|
13785
|
+
SchemaAST.isUnion(ast) && ast.annotations?.[SERIALIZER_ENSURE_ARRAY] === true
|
|
13786
|
+
|
|
13787
|
+
const serializerStringTree = SchemaAST.applyToSelfOrLastLinkEncoding((ast) => {
|
|
13788
|
+
if (isSerializerArrayFromSingle(ast)) {
|
|
13789
|
+
return ast
|
|
13790
|
+
}
|
|
13428
13791
|
const out = serializerTree(ast, serializerStringTree, (ast) => SchemaAST.replaceEncoding(ast, [unknownToUndefined]))
|
|
13429
13792
|
if (out !== ast && SchemaAST.isOptional(ast)) {
|
|
13430
13793
|
return SchemaAST.optionalKeyLastLink(out)
|
|
@@ -13440,53 +13803,46 @@ const unknownToUndefined = new SchemaAST.Link(
|
|
|
13440
13803
|
)
|
|
13441
13804
|
)
|
|
13442
13805
|
|
|
13443
|
-
const
|
|
13444
|
-
|
|
13445
|
-
if (out !== ast && SchemaAST.isOptional(ast)) {
|
|
13446
|
-
return SchemaAST.optionalKeyLastLink(out)
|
|
13447
|
-
}
|
|
13448
|
-
return out
|
|
13449
|
-
})
|
|
13806
|
+
const toArrayFromSingleInputElement = (ast: SchemaAST.AST): SchemaAST.AST =>
|
|
13807
|
+
SchemaAST.isOptional(ast) ? SchemaAST.optionalKey(SchemaAST.unknown) : SchemaAST.unknown
|
|
13450
13808
|
|
|
13451
|
-
const
|
|
13809
|
+
const arrayFromSingleTransformation = new SchemaTransformation.Transformation(
|
|
13810
|
+
SchemaGetter.transform((input: ReadonlyArray<unknown> | string) => typeof input === "string" ? [input] : input),
|
|
13811
|
+
SchemaGetter.passthrough()
|
|
13812
|
+
)
|
|
13452
13813
|
|
|
13453
|
-
const
|
|
13454
|
-
if (
|
|
13814
|
+
const toCodecArrayFromSingleTop = SchemaAST.applyToSelfOrLastLinkEncoding((ast) => {
|
|
13815
|
+
if (isSerializerArrayFromSingle(ast)) {
|
|
13455
13816
|
return ast
|
|
13456
13817
|
}
|
|
13457
|
-
const out =
|
|
13818
|
+
const out = onSerializerArrayFromSingle(ast)
|
|
13458
13819
|
if (SchemaAST.isArrays(out)) {
|
|
13459
|
-
const ensure =
|
|
13460
|
-
|
|
13461
|
-
|
|
13462
|
-
|
|
13463
|
-
|
|
13464
|
-
|
|
13465
|
-
|
|
13466
|
-
|
|
13467
|
-
|
|
13468
|
-
|
|
13469
|
-
|
|
13470
|
-
|
|
13471
|
-
|
|
13472
|
-
|
|
13820
|
+
const ensure = SchemaAST.decodeTo(
|
|
13821
|
+
new SchemaAST.Union(
|
|
13822
|
+
[
|
|
13823
|
+
new SchemaAST.Arrays(
|
|
13824
|
+
out.isMutable,
|
|
13825
|
+
out.elements.map(toArrayFromSingleInputElement),
|
|
13826
|
+
out.rest.map(toArrayFromSingleInputElement)
|
|
13827
|
+
),
|
|
13828
|
+
SchemaAST.string
|
|
13829
|
+
],
|
|
13830
|
+
"anyOf",
|
|
13831
|
+
{ [SERIALIZER_ENSURE_ARRAY]: true }
|
|
13832
|
+
),
|
|
13833
|
+
out,
|
|
13834
|
+
arrayFromSingleTransformation
|
|
13473
13835
|
)
|
|
13474
13836
|
return SchemaAST.isOptional(ast) ? SchemaAST.optionalKey(ensure) : ensure
|
|
13475
13837
|
}
|
|
13476
13838
|
return out
|
|
13477
13839
|
})
|
|
13478
13840
|
|
|
13479
|
-
function
|
|
13480
|
-
|
|
13481
|
-
|
|
13482
|
-
|
|
13483
|
-
|
|
13484
|
-
case "Arrays":
|
|
13485
|
-
case "Objects":
|
|
13486
|
-
case "Union":
|
|
13487
|
-
case "Suspend":
|
|
13488
|
-
return ast.recur(toCodecEnsureArray)
|
|
13489
|
-
}
|
|
13841
|
+
function onSerializerArrayFromSingle(ast: SchemaAST.AST): SchemaAST.AST {
|
|
13842
|
+
return ast._tag === "Declaration" || ast._tag === "Arrays" || ast._tag === "Objects" || ast._tag === "Union" ||
|
|
13843
|
+
ast._tag === "Suspend"
|
|
13844
|
+
? ast.recur(toCodecArrayFromSingleTop)
|
|
13845
|
+
: ast
|
|
13490
13846
|
}
|
|
13491
13847
|
|
|
13492
13848
|
// -----------------------------------------------------------------------------
|
|
@@ -13500,7 +13856,7 @@ function onSerializerEnsureArray(ast: SchemaAST.AST): SchemaAST.AST {
|
|
|
13500
13856
|
* @category Optic
|
|
13501
13857
|
* @since 4.0.0
|
|
13502
13858
|
*/
|
|
13503
|
-
export function toIso<S extends
|
|
13859
|
+
export function toIso<S extends Constraint>(schema: S): Optic_.Iso<S["Type"], S["Iso"]> {
|
|
13504
13860
|
const serializer = toCodecIso(schema)
|
|
13505
13861
|
return Optic_.makeIso(SchemaParser.encodeSync(serializer), SchemaParser.decodeSync(serializer))
|
|
13506
13862
|
}
|
|
@@ -13511,7 +13867,7 @@ export function toIso<S extends Top>(schema: S): Optic_.Iso<S["Type"], S["Iso"]>
|
|
|
13511
13867
|
* @category Optic
|
|
13512
13868
|
* @since 4.0.0
|
|
13513
13869
|
*/
|
|
13514
|
-
export function toIsoSource<S extends
|
|
13870
|
+
export function toIsoSource<S extends Constraint>(_: S): Optic_.Iso<S["Type"], S["Type"]> {
|
|
13515
13871
|
return Optic_.id()
|
|
13516
13872
|
}
|
|
13517
13873
|
|
|
@@ -13521,7 +13877,7 @@ export function toIsoSource<S extends Top>(_: S): Optic_.Iso<S["Type"], S["Type"
|
|
|
13521
13877
|
* @category Optic
|
|
13522
13878
|
* @since 4.0.0
|
|
13523
13879
|
*/
|
|
13524
|
-
export function toIsoFocus<S extends
|
|
13880
|
+
export function toIsoFocus<S extends Constraint>(_: S): Optic_.Iso<S["Iso"], S["Iso"]> {
|
|
13525
13881
|
return Optic_.id()
|
|
13526
13882
|
}
|
|
13527
13883
|
|
|
@@ -13531,18 +13887,11 @@ export function toIsoFocus<S extends Top>(_: S): Optic_.Iso<S["Iso"], S["Iso"]>
|
|
|
13531
13887
|
* @category Optic
|
|
13532
13888
|
* @since 4.0.0
|
|
13533
13889
|
*/
|
|
13534
|
-
export interface overrideToCodecIso<S extends
|
|
13535
|
-
|
|
13536
|
-
S["Type"],
|
|
13537
|
-
S["Encoded"],
|
|
13538
|
-
S["DecodingServices"],
|
|
13539
|
-
S["EncodingServices"],
|
|
13890
|
+
export interface overrideToCodecIso<S extends Constraint, Iso> extends
|
|
13891
|
+
BottomLazy<
|
|
13540
13892
|
S["ast"],
|
|
13541
13893
|
overrideToCodecIso<S, Iso>,
|
|
13542
|
-
S["~type.make.in"],
|
|
13543
|
-
Iso,
|
|
13544
13894
|
S["~type.parameters"],
|
|
13545
|
-
S["~type.make"],
|
|
13546
13895
|
S["~type.mutability"],
|
|
13547
13896
|
S["~type.optionality"],
|
|
13548
13897
|
S["~type.constructor.default"],
|
|
@@ -13550,6 +13899,13 @@ export interface overrideToCodecIso<S extends Top, Iso> extends
|
|
|
13550
13899
|
S["~encoded.optionality"]
|
|
13551
13900
|
>
|
|
13552
13901
|
{
|
|
13902
|
+
readonly "Type": S["Type"]
|
|
13903
|
+
readonly "Encoded": S["Encoded"]
|
|
13904
|
+
readonly "DecodingServices": S["DecodingServices"]
|
|
13905
|
+
readonly "EncodingServices": S["EncodingServices"]
|
|
13906
|
+
readonly "~type.make.in": S["~type.make.in"]
|
|
13907
|
+
readonly "~type.make": S["~type.make"]
|
|
13908
|
+
readonly "Iso": Iso
|
|
13553
13909
|
readonly schema: S
|
|
13554
13910
|
}
|
|
13555
13911
|
|
|
@@ -13570,7 +13926,7 @@ export interface overrideToCodecIso<S extends Top, Iso> extends
|
|
|
13570
13926
|
* @category Optic
|
|
13571
13927
|
* @since 4.0.0
|
|
13572
13928
|
*/
|
|
13573
|
-
export function overrideToCodecIso<S extends
|
|
13929
|
+
export function overrideToCodecIso<S extends Constraint, Iso>(
|
|
13574
13930
|
to: Codec<Iso>,
|
|
13575
13931
|
transformation: {
|
|
13576
13932
|
readonly decode: SchemaGetter.Getter<S["Type"], Iso>
|
|
@@ -13643,7 +13999,7 @@ export interface TreeRecord<A> {
|
|
|
13643
13999
|
* @category Tree
|
|
13644
14000
|
* @since 4.0.0
|
|
13645
14001
|
*/
|
|
13646
|
-
export function Tree<S extends
|
|
14002
|
+
export function Tree<S extends Constraint>(node: S) {
|
|
13647
14003
|
const Tree$ref = suspend((): Codec<
|
|
13648
14004
|
Tree<S["Type"]>,
|
|
13649
14005
|
Tree<S["Encoded"]>,
|
|
@@ -13760,7 +14116,7 @@ export const MutableJson: Codec<MutableJson> = make(SchemaAST.MutableJson)
|
|
|
13760
14116
|
* @category Schema Resolvers
|
|
13761
14117
|
* @since 4.0.0
|
|
13762
14118
|
*/
|
|
13763
|
-
export function resolveAnnotations<S extends
|
|
14119
|
+
export function resolveAnnotations<S extends Constraint>(
|
|
13764
14120
|
schema: S
|
|
13765
14121
|
): Annotations.Bottom<S["Type"], S["~type.parameters"]> | undefined {
|
|
13766
14122
|
return InternalAnnotations.resolve(schema.ast)
|
|
@@ -13774,7 +14130,7 @@ export function resolveAnnotations<S extends Top>(
|
|
|
13774
14130
|
* @category Schema Resolvers
|
|
13775
14131
|
* @since 4.0.0
|
|
13776
14132
|
*/
|
|
13777
|
-
export function resolveAnnotationsKey<S extends
|
|
14133
|
+
export function resolveAnnotationsKey<S extends Constraint>(schema: S): Annotations.Key<S["Type"]> | undefined {
|
|
13778
14134
|
return schema.ast.context?.annotations
|
|
13779
14135
|
}
|
|
13780
14136
|
|
|
@@ -13903,7 +14259,7 @@ export declare namespace Annotations {
|
|
|
13903
14259
|
* @category models
|
|
13904
14260
|
* @since 4.0.0
|
|
13905
14261
|
*/
|
|
13906
|
-
export interface Bottom<T, TypeParameters extends ReadonlyArray<
|
|
14262
|
+
export interface Bottom<T, TypeParameters extends ReadonlyArray<Constraint>> extends Documentation<T> {
|
|
13907
14263
|
/**
|
|
13908
14264
|
* Complete message to use when this schema node reports an issue.
|
|
13909
14265
|
*
|
|
@@ -13963,7 +14319,7 @@ export declare namespace Annotations {
|
|
|
13963
14319
|
* @category utility types
|
|
13964
14320
|
* @since 4.0.0
|
|
13965
14321
|
*/
|
|
13966
|
-
export type Type<TypeParameters extends ReadonlyArray<
|
|
14322
|
+
export type Type<TypeParameters extends ReadonlyArray<Constraint>> = {
|
|
13967
14323
|
readonly [K in keyof TypeParameters]: Codec<TypeParameters[K]["Type"]>
|
|
13968
14324
|
}
|
|
13969
14325
|
/**
|
|
@@ -13972,7 +14328,7 @@ export declare namespace Annotations {
|
|
|
13972
14328
|
* @category utility types
|
|
13973
14329
|
* @since 4.0.0
|
|
13974
14330
|
*/
|
|
13975
|
-
export type Encoded<TypeParameters extends ReadonlyArray<
|
|
14331
|
+
export type Encoded<TypeParameters extends ReadonlyArray<Constraint>> = {
|
|
13976
14332
|
readonly [K in keyof TypeParameters]: Codec<TypeParameters[K]["Encoded"]>
|
|
13977
14333
|
}
|
|
13978
14334
|
}
|
|
@@ -13987,7 +14343,7 @@ export declare namespace Annotations {
|
|
|
13987
14343
|
* @category models
|
|
13988
14344
|
* @since 4.0.0
|
|
13989
14345
|
*/
|
|
13990
|
-
export interface Declaration<T, TypeParameters extends ReadonlyArray<
|
|
14346
|
+
export interface Declaration<T, TypeParameters extends ReadonlyArray<Constraint> = readonly []>
|
|
13991
14347
|
extends Bottom<T, TypeParameters>
|
|
13992
14348
|
{
|
|
13993
14349
|
readonly toCodec?:
|
|
@@ -14100,7 +14456,7 @@ export declare namespace Annotations {
|
|
|
14100
14456
|
* @since 4.0.0
|
|
14101
14457
|
*/
|
|
14102
14458
|
export interface Filter {
|
|
14103
|
-
readonly constraint?:
|
|
14459
|
+
readonly constraint?: GenerationConstraint | undefined
|
|
14104
14460
|
readonly candidate?: Candidate | undefined
|
|
14105
14461
|
}
|
|
14106
14462
|
|
|
@@ -14152,10 +14508,10 @@ export declare namespace Annotations {
|
|
|
14152
14508
|
*
|
|
14153
14509
|
* **Details**
|
|
14154
14510
|
*
|
|
14155
|
-
* `
|
|
14156
|
-
* self-describing validation contract. Each generator consumes
|
|
14157
|
-
* understands for the current node and ignores the rest;
|
|
14158
|
-
* filters still validate every generated value.
|
|
14511
|
+
* `GenerationConstraint` is a generation hint for the current schema AST
|
|
14512
|
+
* node, not a self-describing validation contract. Each generator consumes
|
|
14513
|
+
* the fields it understands for the current node and ignores the rest;
|
|
14514
|
+
* final schema filters still validate every generated value.
|
|
14159
14515
|
*
|
|
14160
14516
|
* `minLength` and `maxLength` represent node-local cardinality: string
|
|
14161
14517
|
* length for strings, array length for arrays, final own-property count for
|
|
@@ -14168,7 +14524,7 @@ export declare namespace Annotations {
|
|
|
14168
14524
|
* @category models
|
|
14169
14525
|
* @since 4.0.0
|
|
14170
14526
|
*/
|
|
14171
|
-
export interface
|
|
14527
|
+
export interface GenerationConstraint {
|
|
14172
14528
|
readonly minLength?: number | undefined
|
|
14173
14529
|
readonly maxLength?: number | undefined
|
|
14174
14530
|
readonly patterns?: readonly [string, ...Array<string>]
|
|
@@ -14211,7 +14567,7 @@ export declare namespace Annotations {
|
|
|
14211
14567
|
* @since 4.0.0
|
|
14212
14568
|
*/
|
|
14213
14569
|
export interface Context {
|
|
14214
|
-
readonly constraint?: ToArbitrary.
|
|
14570
|
+
readonly constraint?: ToArbitrary.GenerationConstraint | undefined
|
|
14215
14571
|
readonly recursion?: ToArbitrary.Recursion | undefined
|
|
14216
14572
|
}
|
|
14217
14573
|
|
|
@@ -14277,7 +14633,7 @@ export declare namespace Annotations {
|
|
|
14277
14633
|
* @category models
|
|
14278
14634
|
* @since 4.0.0
|
|
14279
14635
|
*/
|
|
14280
|
-
export interface Declaration<T, TypeParameters extends ReadonlyArray<
|
|
14636
|
+
export interface Declaration<T, TypeParameters extends ReadonlyArray<Constraint>> {
|
|
14281
14637
|
(
|
|
14282
14638
|
/* Arbitrary derivations for any type parameters of the schema (if present) */
|
|
14283
14639
|
typeParameters: { readonly [K in keyof TypeParameters]: TypeParameter<TypeParameters[K]["Type"]> }
|
|
@@ -14354,7 +14710,7 @@ export declare namespace Annotations {
|
|
|
14354
14710
|
* @category models
|
|
14355
14711
|
* @since 4.0.0
|
|
14356
14712
|
*/
|
|
14357
|
-
export interface Declaration<T, TypeParameters extends ReadonlyArray<
|
|
14713
|
+
export interface Declaration<T, TypeParameters extends ReadonlyArray<Constraint>> {
|
|
14358
14714
|
(
|
|
14359
14715
|
/* Formatters for any type parameters of the schema (if present) */
|
|
14360
14716
|
typeParameters: { readonly [K in keyof TypeParameters]: Formatter<TypeParameters[K]["Type"]> }
|
|
@@ -14379,7 +14735,7 @@ export declare namespace Annotations {
|
|
|
14379
14735
|
* @category models
|
|
14380
14736
|
* @since 4.0.0
|
|
14381
14737
|
*/
|
|
14382
|
-
export interface Declaration<T, TypeParameters extends ReadonlyArray<
|
|
14738
|
+
export interface Declaration<T, TypeParameters extends ReadonlyArray<Constraint>> {
|
|
14383
14739
|
(
|
|
14384
14740
|
/* Equivalences for any type parameters of the schema (if present) */
|
|
14385
14741
|
typeParameters: { readonly [K in keyof TypeParameters]: Equivalence.Equivalence<TypeParameters[K]["Type"]> }
|