@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
|
@@ -1,3507 +1,735 @@
|
|
|
1
1
|
# Schedule Cookbook
|
|
2
2
|
|
|
3
|
-
Use this cookbook
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
3
|
+
Use this cookbook when you need to define a `Schedule` value. The examples are
|
|
4
|
+
ordered from small single-purpose policies to larger real-world policies that
|
|
5
|
+
combine timing, input classification, output shaping, and observation.
|
|
6
|
+
|
|
7
|
+
This cookbook intentionally defines schedules only. It does not apply them with
|
|
8
|
+
`Effect.retry`, `Effect.repeat`, streams, or channels.
|
|
9
|
+
|
|
10
|
+
## Before Choosing A Schedule
|
|
11
|
+
|
|
12
|
+
- `Schedule.recurs(n)` counts recurrences after the first run.
|
|
13
|
+
- `Schedule.spaced` waits after each completed run; `Schedule.fixed` uses an
|
|
14
|
+
aligned cadence; `Schedule.windowed` recurs on window boundaries.
|
|
15
|
+
- `Schedule.duration` performs exactly one recurrence after the duration.
|
|
16
|
+
- `Schedule.during` is an elapsed-time budget, not a delay by itself.
|
|
17
|
+
- Schedule output is policy output. Use `Schedule.passthrough`,
|
|
18
|
+
`Schedule.delays`, `Schedule.map`, or `Schedule.reduce` when the output shape
|
|
19
|
+
matters.
|
|
20
|
+
- `Schedule.both` continues only while both schedules continue.
|
|
21
|
+
- `Schedule.either` continues while either schedule can continue.
|
|
22
|
+
- `Schedule.jittered` spreads callers out. It does not add a recurrence limit.
|
|
23
|
+
- `Schedule.addDelay` adds extra delay based on schedule output.
|
|
24
|
+
- `Schedule.modifyDelay` replaces or adjusts the selected delay.
|
|
25
|
+
- Leave unbounded schedules to explicitly owned background work.
|
|
26
|
+
|
|
27
|
+
## Choose By Problem Shape
|
|
28
|
+
|
|
29
|
+
| Problem shape | Start with |
|
|
30
|
+
| ----------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
|
|
31
|
+
| Bounded retry | `Schedule.exponential` or `Schedule.fibonacci`, then `Schedule.recurs` and optionally `Schedule.during` |
|
|
32
|
+
| Poll latest status | `Schedule.spaced` or `Schedule.fixed`, then `Schedule.setInputType`, `Schedule.passthrough`, and `Schedule.while` |
|
|
33
|
+
| Inspect selected delays | `Schedule.delays`, then `Schedule.map` |
|
|
34
|
+
| Adapt delay from output | `Schedule.addDelay` |
|
|
35
|
+
| Replace or cap selected delay | `Schedule.modifyDelay` |
|
|
36
|
+
| Run phases in sequence | `Schedule.andThen` |
|
|
37
|
+
| Preserve phase in output | `Schedule.andThenResult` |
|
|
38
|
+
| Continue while both policies continue | `Schedule.both` |
|
|
39
|
+
| Continue while either policy continues | `Schedule.either` |
|
|
40
|
+
| Keep input or output history | `Schedule.collectInputs`, `Schedule.collectOutputs`, or `Schedule.collectWhile` |
|
|
41
|
+
| Maintain a running aggregate | `Schedule.reduce` |
|
|
42
|
+
| Observe decisions without changing output | `Schedule.tap`, `Schedule.tapInput`, or `Schedule.tapOutput` |
|
|
43
|
+
| Build a local state machine | `Schedule.unfold` |
|
|
44
|
+
|
|
45
|
+
## Table Of Contents
|
|
46
|
+
|
|
47
|
+
1. [Single-Policy Schedules](#single-policy-schedules)
|
|
48
|
+
2. [Shape Schedule Outputs](#shape-schedule-outputs)
|
|
49
|
+
3. [Combine Policies](#combine-policies)
|
|
50
|
+
4. [Work With Inputs](#work-with-inputs)
|
|
51
|
+
5. [Accumulate State](#accumulate-state)
|
|
52
|
+
6. [Adapt Delays](#adapt-delays)
|
|
53
|
+
7. [Observe Schedule Decisions](#observe-schedule-decisions)
|
|
54
|
+
8. [Build Local State Machines](#build-local-state-machines)
|
|
55
|
+
9. [Realistic Policies](#realistic-policies)
|
|
56
|
+
|
|
57
|
+
## Single-Policy Schedules
|
|
58
|
+
|
|
59
|
+
### Retry A Profile Fetch Three Times
|
|
60
|
+
|
|
61
|
+
Goal: Create a retry policy for loading a user profile that allows at most 3
|
|
62
|
+
recurrences and outputs the recurrence count.
|
|
26
63
|
|
|
27
64
|
```ts
|
|
28
65
|
import { Schedule } from "effect"
|
|
29
66
|
|
|
30
|
-
const
|
|
67
|
+
const profileRetry = Schedule.recurs(3)
|
|
31
68
|
```
|
|
32
69
|
|
|
33
|
-
###
|
|
70
|
+
### Poll A Queue Once Per Second
|
|
34
71
|
|
|
35
|
-
Create
|
|
72
|
+
Goal: Create a cadence for polling queue depth about 1 second after each
|
|
73
|
+
completed check.
|
|
36
74
|
|
|
37
75
|
```ts
|
|
38
76
|
import { Schedule } from "effect"
|
|
39
77
|
|
|
40
|
-
const
|
|
78
|
+
const queueDepthPolling = Schedule.spaced("1 second")
|
|
41
79
|
```
|
|
42
80
|
|
|
43
|
-
|
|
81
|
+
### Run A Heartbeat On An Aligned Cadence
|
|
44
82
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
Create an Effect Schedule value named `pollEverySecond` that recurs about once per second after each completed run.
|
|
83
|
+
Goal: Create a heartbeat cadence that runs on aligned 30-second boundaries
|
|
84
|
+
instead of waiting 30 seconds after each run finishes.
|
|
48
85
|
|
|
49
86
|
```ts
|
|
50
87
|
import { Schedule } from "effect"
|
|
51
88
|
|
|
52
|
-
const
|
|
89
|
+
const heartbeatCadence = Schedule.fixed("30 seconds")
|
|
53
90
|
```
|
|
54
91
|
|
|
55
|
-
###
|
|
92
|
+
### Warm A Cache Once After Deployment
|
|
56
93
|
|
|
57
|
-
Create
|
|
94
|
+
Goal: Create a follow-up cache warmup that recurs exactly once after about 1
|
|
95
|
+
minute.
|
|
58
96
|
|
|
59
97
|
```ts
|
|
60
98
|
import { Schedule } from "effect"
|
|
61
99
|
|
|
62
|
-
const
|
|
100
|
+
const cacheWarmupFollowUp = Schedule.duration("1 minute")
|
|
63
101
|
```
|
|
64
102
|
|
|
65
|
-
###
|
|
103
|
+
### Keep A Health Probe Inside A Time Budget
|
|
66
104
|
|
|
67
|
-
Create
|
|
105
|
+
Goal: Create a budget that allows health probes to continue only while about 1
|
|
106
|
+
minute has elapsed or less.
|
|
68
107
|
|
|
69
108
|
```ts
|
|
70
109
|
import { Schedule } from "effect"
|
|
71
110
|
|
|
72
|
-
const
|
|
111
|
+
const healthProbeBudget = Schedule.during("1 minute")
|
|
73
112
|
```
|
|
74
113
|
|
|
75
|
-
###
|
|
114
|
+
### Retry A Config Fetch With Exponential Backoff
|
|
76
115
|
|
|
77
|
-
Create
|
|
116
|
+
Goal: Create a retry policy for fetching remote configuration, starting with a
|
|
117
|
+
100 millisecond exponential backoff.
|
|
78
118
|
|
|
79
119
|
```ts
|
|
80
120
|
import { Schedule } from "effect"
|
|
81
121
|
|
|
82
|
-
const
|
|
122
|
+
const configFetchBackoff = Schedule.exponential("100 millis")
|
|
83
123
|
```
|
|
84
124
|
|
|
85
|
-
###
|
|
125
|
+
### Probe A Cold Replica With Fibonacci Backoff
|
|
86
126
|
|
|
87
|
-
Create
|
|
127
|
+
Goal: Create a gentler startup probe for a cold search replica, using Fibonacci
|
|
128
|
+
backoff and taking the first 4 outputs.
|
|
88
129
|
|
|
89
130
|
```ts
|
|
90
131
|
import { Schedule } from "effect"
|
|
91
132
|
|
|
92
|
-
const
|
|
93
|
-
Schedule.
|
|
133
|
+
const searchReplicaWarmup = Schedule.fibonacci("100 millis").pipe(
|
|
134
|
+
Schedule.take(4)
|
|
94
135
|
)
|
|
95
136
|
```
|
|
96
137
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
Caution: jitter spreads delay across callers; it does not add a retry limit.
|
|
138
|
+
### Run A Worker Loop Forever
|
|
100
139
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
Create an Effect Schedule value named `boundedBackoff` that uses exponential backoff starting at 100 ms, allows at most 5 recurrences, and also stops after about 10 seconds have elapsed.
|
|
140
|
+
Goal: Create an unbounded worker-loop counter with no added delay.
|
|
104
141
|
|
|
105
142
|
```ts
|
|
106
143
|
import { Schedule } from "effect"
|
|
107
144
|
|
|
108
|
-
const
|
|
109
|
-
Schedule.both(Schedule.recurs(5)),
|
|
110
|
-
Schedule.both(Schedule.during("10 seconds"))
|
|
111
|
-
)
|
|
145
|
+
const workerLoopCounter = Schedule.forever
|
|
112
146
|
```
|
|
113
147
|
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
Caution: `recurs(n)` counts follow-up recurrences after the first execution.
|
|
148
|
+
### Trigger A Nightly Report
|
|
117
149
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
Create an Effect Schedule value named `limitedBackoff` that combines exponential backoff starting at 100 ms with a maximum of 5 recurrences, while keeping the backoff delay as the schedule output.
|
|
150
|
+
Goal: Create a schedule for a nightly billing report at 02:00.
|
|
121
151
|
|
|
122
152
|
```ts
|
|
123
153
|
import { Schedule } from "effect"
|
|
124
154
|
|
|
125
|
-
const
|
|
126
|
-
Schedule.bothLeft(Schedule.recurs(5))
|
|
127
|
-
)
|
|
155
|
+
const nightlyBillingReport = Schedule.cron("0 2 * * *")
|
|
128
156
|
```
|
|
129
157
|
|
|
130
|
-
|
|
158
|
+
### Sample Five-Minute Windows
|
|
131
159
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
Create an Effect Schedule value named `retryAttemptCount` that combines exponential backoff starting at 100 ms with a maximum of 5 recurrences, while keeping the recurrence count as the schedule output.
|
|
160
|
+
Goal: Create a schedule that recurs on 5-minute window boundaries.
|
|
135
161
|
|
|
136
162
|
```ts
|
|
137
163
|
import { Schedule } from "effect"
|
|
138
164
|
|
|
139
|
-
const
|
|
140
|
-
Schedule.bothRight(Schedule.recurs(5))
|
|
141
|
-
)
|
|
165
|
+
const fiveMinuteWindows = Schedule.windowed("5 minutes")
|
|
142
166
|
```
|
|
143
167
|
|
|
144
|
-
|
|
168
|
+
## Shape Schedule Outputs
|
|
145
169
|
|
|
146
|
-
###
|
|
170
|
+
### Echo Feature Flag Inputs
|
|
147
171
|
|
|
148
|
-
Create
|
|
172
|
+
Goal: Create a schedule for feature flag snapshots that immediately outputs
|
|
173
|
+
each input unchanged and takes the first 3 samples.
|
|
149
174
|
|
|
150
175
|
```ts
|
|
151
176
|
import { Schedule } from "effect"
|
|
152
177
|
|
|
153
|
-
type
|
|
178
|
+
type FeatureFlagSnapshot = { readonly enabled: boolean }
|
|
154
179
|
|
|
155
|
-
const
|
|
156
|
-
Schedule.
|
|
157
|
-
Schedule.passthrough
|
|
180
|
+
const featureFlagSamples = Schedule.identity<FeatureFlagSnapshot>().pipe(
|
|
181
|
+
Schedule.take(3)
|
|
158
182
|
)
|
|
159
183
|
```
|
|
160
184
|
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
### Continue While Input Matches
|
|
185
|
+
### Label Retry Attempts
|
|
164
186
|
|
|
165
|
-
Create
|
|
187
|
+
Goal: Create a retry-attempt schedule that turns recurrence counts into labels
|
|
188
|
+
such as `attempt-1`, `attempt-2`, and `attempt-3`.
|
|
166
189
|
|
|
167
190
|
```ts
|
|
168
191
|
import { Schedule } from "effect"
|
|
169
192
|
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
const pollWhilePending = Schedule.spaced("1 second").pipe(
|
|
173
|
-
Schedule.setInputType<Status>(),
|
|
174
|
-
Schedule.passthrough,
|
|
175
|
-
Schedule.while(({ input }) => input === "Pending")
|
|
193
|
+
const retryAttemptLabels = Schedule.recurs(3).pipe(
|
|
194
|
+
Schedule.map((count) => `attempt-${count + 1}`)
|
|
176
195
|
)
|
|
177
196
|
```
|
|
178
197
|
|
|
179
|
-
###
|
|
198
|
+
### Report Selected Poll Delays
|
|
180
199
|
|
|
181
|
-
Create
|
|
200
|
+
Goal: Create a telemetry schedule that runs on an aligned 2-second cadence,
|
|
201
|
+
outputs selected delays, maps each delay to milliseconds, and takes 3 outputs.
|
|
182
202
|
|
|
183
203
|
```ts
|
|
184
|
-
import { Schedule } from "effect"
|
|
204
|
+
import { Duration, Schedule } from "effect"
|
|
185
205
|
|
|
186
|
-
const
|
|
187
|
-
Schedule.
|
|
188
|
-
Schedule.
|
|
206
|
+
const pollDelayReport = Schedule.fixed("2 seconds").pipe(
|
|
207
|
+
Schedule.delays,
|
|
208
|
+
Schedule.map((delay) => ({ millis: Duration.toMillis(delay) })),
|
|
209
|
+
Schedule.take(3)
|
|
189
210
|
)
|
|
190
211
|
```
|
|
191
212
|
|
|
192
|
-
|
|
213
|
+
Explanation: `Schedule.delays` changes the schedule output to the selected
|
|
214
|
+
delay. Use it when observability or downstream policy needs the actual delay
|
|
215
|
+
rather than the cadence counter.
|
|
193
216
|
|
|
194
|
-
###
|
|
217
|
+
### Report Elapsed Runtime
|
|
195
218
|
|
|
196
|
-
|
|
219
|
+
Goal: Create a runtime sampler that outputs elapsed time in milliseconds and
|
|
220
|
+
takes 4 samples.
|
|
197
221
|
|
|
198
222
|
```ts
|
|
199
|
-
import {
|
|
200
|
-
|
|
201
|
-
type RequestError = unknown
|
|
223
|
+
import { Duration, Schedule } from "effect"
|
|
202
224
|
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
Schedule.both(Schedule.recurs(3))
|
|
225
|
+
const elapsedRuntimeReport = Schedule.elapsed.pipe(
|
|
226
|
+
Schedule.map((elapsed) => ({ millis: Duration.toMillis(elapsed) })),
|
|
227
|
+
Schedule.take(4)
|
|
207
228
|
)
|
|
208
|
-
|
|
209
|
-
const program = request.pipe(Effect.retry(retryPolicy))
|
|
210
229
|
```
|
|
211
230
|
|
|
212
|
-
|
|
231
|
+
## Combine Policies
|
|
213
232
|
|
|
214
|
-
###
|
|
233
|
+
### Add Jitter To Webhook Backoff
|
|
215
234
|
|
|
216
|
-
|
|
235
|
+
Goal: Create a webhook retry backoff that starts at 200 milliseconds, adds
|
|
236
|
+
jitter, outputs selected delays, and takes 3 outputs.
|
|
217
237
|
|
|
218
238
|
```ts
|
|
219
|
-
import {
|
|
220
|
-
|
|
221
|
-
type RefreshError = unknown
|
|
222
|
-
|
|
223
|
-
declare const refresh: Effect.Effect<void, RefreshError>
|
|
224
|
-
|
|
225
|
-
const refreshCadence = Schedule.spaced("1 minute")
|
|
239
|
+
import { Schedule } from "effect"
|
|
226
240
|
|
|
227
|
-
const
|
|
241
|
+
const jitteredWebhookBackoff = Schedule.exponential("200 millis").pipe(
|
|
242
|
+
Schedule.jittered,
|
|
243
|
+
Schedule.delays,
|
|
244
|
+
Schedule.take(3)
|
|
245
|
+
)
|
|
228
246
|
```
|
|
229
247
|
|
|
230
|
-
|
|
248
|
+
### Stop Deployment Hook Retries By Count And Time
|
|
231
249
|
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
Write the Effect code that retries `callService` at most 3 times, but only when the failure is `Transient`.
|
|
250
|
+
Goal: Create a deployment hook retry budget that uses jittered exponential
|
|
251
|
+
backoff, allows at most 5 recurrences, and also stops after about 20 seconds.
|
|
235
252
|
|
|
236
253
|
```ts
|
|
237
|
-
import {
|
|
238
|
-
|
|
239
|
-
type ServiceResponse = unknown
|
|
240
|
-
|
|
241
|
-
type ServiceError =
|
|
242
|
-
| { readonly _tag: "Transient" }
|
|
243
|
-
| { readonly _tag: "Permanent" }
|
|
244
|
-
|
|
245
|
-
declare const callService: Effect.Effect<ServiceResponse, ServiceError>
|
|
254
|
+
import { Schedule } from "effect"
|
|
246
255
|
|
|
247
|
-
const
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
})
|
|
256
|
+
const deploymentHookRetryBudget = Schedule.exponential("200 millis").pipe(
|
|
257
|
+
Schedule.jittered,
|
|
258
|
+
Schedule.both(Schedule.recurs(5)),
|
|
259
|
+
Schedule.both(Schedule.during("20 seconds"))
|
|
252
260
|
)
|
|
253
261
|
```
|
|
254
262
|
|
|
255
|
-
|
|
263
|
+
Explanation: the resulting output is nested because `Schedule.both` preserves
|
|
264
|
+
both schedule outputs. Use `Schedule.map` when a smaller output is needed.
|
|
256
265
|
|
|
257
|
-
###
|
|
266
|
+
### Continue While Either Probe Is Active
|
|
258
267
|
|
|
259
|
-
|
|
268
|
+
Goal: Create a service readiness policy that continues while either 2 immediate
|
|
269
|
+
warmup probes or a slower 500 millisecond probe schedule still wants to recur.
|
|
260
270
|
|
|
261
271
|
```ts
|
|
262
|
-
import {
|
|
263
|
-
|
|
264
|
-
type StatusError = unknown
|
|
265
|
-
|
|
266
|
-
type Status = "Pending" | "Complete"
|
|
267
|
-
|
|
268
|
-
declare const readStatus: Effect.Effect<Status, StatusError>
|
|
272
|
+
import { Schedule } from "effect"
|
|
269
273
|
|
|
270
|
-
const
|
|
271
|
-
|
|
272
|
-
schedule: Schedule.spaced("1 second"),
|
|
273
|
-
until: (status) => status === "Complete"
|
|
274
|
-
})
|
|
274
|
+
const readinessWarmupOrSlowProbe = Schedule.recurs(2).pipe(
|
|
275
|
+
Schedule.either(Schedule.spaced("500 millis").pipe(Schedule.take(5)))
|
|
275
276
|
)
|
|
276
277
|
```
|
|
277
278
|
|
|
278
|
-
|
|
279
|
+
Explanation: `Schedule.either` keeps recurring while at least one side can
|
|
280
|
+
continue. Its output preserves both sides, so map the result if callers should
|
|
281
|
+
see a smaller shape.
|
|
279
282
|
|
|
280
|
-
###
|
|
283
|
+
### Warm Up Fast, Then Settle Into Maintenance
|
|
281
284
|
|
|
282
|
-
Create
|
|
285
|
+
Goal: Create a cache invalidation sequence that runs 2 quick recurrences 100
|
|
286
|
+
milliseconds apart, then 3 slower recurrences 30 seconds apart, then stops.
|
|
283
287
|
|
|
284
288
|
```ts
|
|
285
|
-
import {
|
|
286
|
-
|
|
287
|
-
type RequestError = { readonly _tag: string }
|
|
289
|
+
import { Schedule } from "effect"
|
|
288
290
|
|
|
289
|
-
const
|
|
290
|
-
Schedule.
|
|
291
|
+
const cacheInvalidationSequence = Schedule.spaced("100 millis").pipe(
|
|
292
|
+
Schedule.take(2),
|
|
293
|
+
Schedule.andThen(Schedule.spaced("30 seconds").pipe(Schedule.take(3)))
|
|
291
294
|
)
|
|
292
295
|
```
|
|
293
296
|
|
|
294
|
-
###
|
|
297
|
+
### Preserve Warmup And Steady Phases
|
|
295
298
|
|
|
296
|
-
Create
|
|
299
|
+
Goal: Create a retry classifier with a fast exponential phase and a steady
|
|
300
|
+
Fibonacci phase, preserving the phase in the output.
|
|
297
301
|
|
|
298
302
|
```ts
|
|
299
|
-
import {
|
|
300
|
-
|
|
301
|
-
declare const Metrics: {
|
|
302
|
-
readonly recordRetryDelay: (delay: Duration.Duration) => Effect.Effect<void>
|
|
303
|
-
}
|
|
303
|
+
import { Result, Schedule } from "effect"
|
|
304
304
|
|
|
305
|
-
const
|
|
306
|
-
Schedule.
|
|
305
|
+
const phasedRetryClassifier = Schedule.exponential("100 millis").pipe(
|
|
306
|
+
Schedule.take(2),
|
|
307
|
+
Schedule.andThenResult(Schedule.fibonacci("500 millis").pipe(Schedule.take(3))),
|
|
308
|
+
Schedule.map((result) =>
|
|
309
|
+
Result.match(result, {
|
|
310
|
+
onFailure: (delay) => ({ phase: "steady", delay }),
|
|
311
|
+
onSuccess: (delay) => ({ phase: "fast", delay })
|
|
312
|
+
})
|
|
313
|
+
)
|
|
307
314
|
)
|
|
308
315
|
```
|
|
309
316
|
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
```ts
|
|
315
|
-
import { Schedule } from "effect"
|
|
317
|
+
Explanation: `Schedule.andThenResult` keeps phase information in the output.
|
|
318
|
+
The first schedule is represented by the success side, and the second schedule
|
|
319
|
+
is represented by the failure side.
|
|
316
320
|
|
|
317
|
-
|
|
318
|
-
```
|
|
321
|
+
## Work With Inputs
|
|
319
322
|
|
|
320
|
-
###
|
|
323
|
+
### Poll Upload Progress Until Complete
|
|
321
324
|
|
|
322
|
-
Create an
|
|
325
|
+
Goal: Create an upload-progress schedule that waits about 1 second between
|
|
326
|
+
checks, outputs the latest progress object, and continues only while the upload
|
|
327
|
+
is incomplete.
|
|
323
328
|
|
|
324
329
|
```ts
|
|
325
330
|
import { Schedule } from "effect"
|
|
326
331
|
|
|
327
|
-
|
|
328
|
-
```
|
|
329
|
-
|
|
330
|
-
## Retry And Recovery
|
|
332
|
+
type UploadProgress = { readonly percent: number }
|
|
331
333
|
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
```ts
|
|
337
|
-
import { Effect, Schedule } from "effect"
|
|
338
|
-
|
|
339
|
-
type User = unknown
|
|
340
|
-
|
|
341
|
-
type HttpTimeout = { readonly _tag: "HttpTimeout" }
|
|
342
|
-
type HttpStatusError = { readonly _tag: "HttpStatusError"; readonly status: number }
|
|
343
|
-
type DecodeError = { readonly _tag: "DecodeError" }
|
|
344
|
-
|
|
345
|
-
declare const getUser: (
|
|
346
|
-
id: string
|
|
347
|
-
) => Effect.Effect<User, HttpTimeout | HttpStatusError | DecodeError>
|
|
348
|
-
|
|
349
|
-
const isHttpTimeout = (
|
|
350
|
-
error: HttpTimeout | HttpStatusError | DecodeError
|
|
351
|
-
): error is HttpTimeout => error._tag === "HttpTimeout"
|
|
352
|
-
|
|
353
|
-
const retryGetUserTimeouts = Schedule.exponential("100 millis").pipe(
|
|
354
|
-
Schedule.jittered,
|
|
355
|
-
Schedule.both(Schedule.recurs(3)),
|
|
356
|
-
Schedule.both(Schedule.during("2 seconds"))
|
|
357
|
-
)
|
|
358
|
-
|
|
359
|
-
const program = getUser("user-123").pipe(
|
|
360
|
-
Effect.retry({
|
|
361
|
-
schedule: retryGetUserTimeouts,
|
|
362
|
-
while: isHttpTimeout
|
|
363
|
-
})
|
|
334
|
+
const uploadProgressUntilComplete = Schedule.spaced("1 second").pipe(
|
|
335
|
+
Schedule.setInputType<UploadProgress>(),
|
|
336
|
+
Schedule.passthrough,
|
|
337
|
+
Schedule.while(({ input }) => input.percent < 100)
|
|
364
338
|
)
|
|
365
339
|
```
|
|
366
340
|
|
|
367
|
-
|
|
341
|
+
Explanation: `Schedule.setInputType` tells TypeScript which input each step
|
|
342
|
+
receives. `Schedule.passthrough` makes the output the latest input, so a polling
|
|
343
|
+
schedule can return the final status instead of a counter.
|
|
368
344
|
|
|
369
|
-
###
|
|
345
|
+
### Keep A History Of Retry Error Codes
|
|
370
346
|
|
|
371
|
-
|
|
347
|
+
Goal: Create a schedule for string error-code inputs that checks about once per
|
|
348
|
+
second and outputs all input codes seen so far.
|
|
372
349
|
|
|
373
350
|
```ts
|
|
374
|
-
import {
|
|
375
|
-
|
|
376
|
-
type Order = unknown
|
|
377
|
-
|
|
378
|
-
type PostOrderError =
|
|
379
|
-
| { readonly _tag: "Timeout" }
|
|
380
|
-
| { readonly _tag: "ConnectionReset" }
|
|
381
|
-
| { readonly _tag: "BadGateway" }
|
|
382
|
-
| { readonly _tag: "ServiceUnavailable" }
|
|
383
|
-
| { readonly _tag: "RateLimited" }
|
|
384
|
-
| { readonly _tag: "InvalidRequest" }
|
|
385
|
-
| { readonly _tag: "Unauthorized" }
|
|
386
|
-
|
|
387
|
-
declare const postOrder: (
|
|
388
|
-
request: {
|
|
389
|
-
readonly customerId: string
|
|
390
|
-
readonly sku: string
|
|
391
|
-
readonly quantity: number
|
|
392
|
-
readonly idempotencyKey: string
|
|
393
|
-
}
|
|
394
|
-
) => Effect.Effect<Order, PostOrderError>
|
|
395
|
-
|
|
396
|
-
const idempotencyKey = "order-key-123"
|
|
397
|
-
|
|
398
|
-
const isRetryablePostOrderError = (error: PostOrderError): boolean => {
|
|
399
|
-
switch (error._tag) {
|
|
400
|
-
case "Timeout":
|
|
401
|
-
case "ConnectionReset":
|
|
402
|
-
case "BadGateway":
|
|
403
|
-
case "ServiceUnavailable":
|
|
404
|
-
case "RateLimited":
|
|
405
|
-
return true
|
|
406
|
-
case "InvalidRequest":
|
|
407
|
-
case "Unauthorized":
|
|
408
|
-
return false
|
|
409
|
-
}
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
const retryOrderSubmission = Schedule.exponential("100 millis").pipe(
|
|
413
|
-
Schedule.jittered,
|
|
414
|
-
Schedule.both(Schedule.recurs(4)),
|
|
415
|
-
Schedule.both(Schedule.during("3 seconds"))
|
|
416
|
-
)
|
|
351
|
+
import { Schedule } from "effect"
|
|
417
352
|
|
|
418
|
-
const
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
idempotencyKey
|
|
423
|
-
}).pipe(
|
|
424
|
-
Effect.retry({
|
|
425
|
-
schedule: retryOrderSubmission,
|
|
426
|
-
while: isRetryablePostOrderError
|
|
427
|
-
})
|
|
353
|
+
const retryErrorCodeHistory = Schedule.collectInputs(
|
|
354
|
+
Schedule.spaced("1 second").pipe(
|
|
355
|
+
Schedule.setInputType<string>()
|
|
356
|
+
)
|
|
428
357
|
)
|
|
429
358
|
```
|
|
430
359
|
|
|
431
|
-
|
|
360
|
+
Explanation: `Schedule.collectInputs` is useful when the input stream is the
|
|
361
|
+
thing to audit, such as retry errors or status samples.
|
|
432
362
|
|
|
433
|
-
###
|
|
363
|
+
### Collect Deployment Phases Until Failure
|
|
434
364
|
|
|
435
|
-
|
|
365
|
+
Goal: Create a schedule that outputs the collected deployment phases while the
|
|
366
|
+
input phase is not `failed`.
|
|
436
367
|
|
|
437
368
|
```ts
|
|
438
|
-
import {
|
|
369
|
+
import { Schedule } from "effect"
|
|
439
370
|
|
|
440
|
-
type
|
|
441
|
-
|
|
442
|
-
readonly _tag: "HttpResponseError"
|
|
443
|
-
readonly method: "GET" | "POST"
|
|
444
|
-
readonly status: number
|
|
371
|
+
type DeploymentPhase = {
|
|
372
|
+
readonly phase: "created" | "deploying" | "verifying" | "failed"
|
|
445
373
|
}
|
|
446
|
-
type GetCatalogError = TransportError | HttpResponseError
|
|
447
|
-
|
|
448
|
-
declare const getCatalog: (
|
|
449
|
-
url: string
|
|
450
|
-
) => Effect.Effect<string, GetCatalogError>
|
|
451
|
-
|
|
452
|
-
const isServiceUnavailableGet = (error: GetCatalogError): boolean =>
|
|
453
|
-
error._tag === "HttpResponseError" &&
|
|
454
|
-
error.method === "GET" &&
|
|
455
|
-
error.status === 503
|
|
456
|
-
|
|
457
|
-
const retry503WithBackoff = Schedule.exponential("100 millis").pipe(
|
|
458
|
-
Schedule.jittered,
|
|
459
|
-
Schedule.both(Schedule.recurs(4)),
|
|
460
|
-
Schedule.both(Schedule.during("3 seconds"))
|
|
461
|
-
)
|
|
462
374
|
|
|
463
|
-
const
|
|
464
|
-
|
|
465
|
-
schedule: retry503WithBackoff,
|
|
466
|
-
while: isServiceUnavailableGet
|
|
467
|
-
})
|
|
375
|
+
const deploymentPhaseHistory = Schedule.identity<DeploymentPhase>().pipe(
|
|
376
|
+
Schedule.collectWhile(({ input }) => input.phase !== "failed")
|
|
468
377
|
)
|
|
469
378
|
```
|
|
470
379
|
|
|
471
|
-
|
|
380
|
+
Explanation: `Schedule.collectWhile` accumulates accepted outputs and stops
|
|
381
|
+
collecting when the predicate is false. This is cheaper to read than manually
|
|
382
|
+
combining `identity`, `while`, and `reduce` for simple histories.
|
|
472
383
|
|
|
473
|
-
###
|
|
384
|
+
### Collect Heartbeat Counts
|
|
474
385
|
|
|
475
|
-
|
|
386
|
+
Goal: Create a schedule that recurs forever, collects recurrence counts produced
|
|
387
|
+
so far, and takes only the first 3 collected outputs.
|
|
476
388
|
|
|
477
389
|
```ts
|
|
478
|
-
import {
|
|
479
|
-
|
|
480
|
-
type HttpError =
|
|
481
|
-
| { readonly _tag: "RateLimited"; readonly retryAfter: Duration.Duration | undefined }
|
|
482
|
-
| { readonly _tag: "Unauthorized" | "Forbidden" | "BadRequest" | "Unavailable" }
|
|
483
|
-
|
|
484
|
-
declare const callApi: Effect.Effect<string, HttpError>
|
|
390
|
+
import { Schedule } from "effect"
|
|
485
391
|
|
|
486
|
-
const
|
|
487
|
-
Schedule.
|
|
488
|
-
Schedule.both(Schedule.identity<HttpError>()),
|
|
489
|
-
Schedule.modifyDelay(([_, error], delay) =>
|
|
490
|
-
Effect.succeed(
|
|
491
|
-
error._tag === "RateLimited" && error.retryAfter !== undefined
|
|
492
|
-
? Duration.max(delay, error.retryAfter)
|
|
493
|
-
: delay
|
|
494
|
-
)
|
|
495
|
-
),
|
|
496
|
-
Schedule.both(Schedule.recurs(5)),
|
|
497
|
-
Schedule.while(({ input }) => input._tag === "RateLimited")
|
|
392
|
+
const heartbeatCountHistory = Schedule.collectOutputs(Schedule.forever).pipe(
|
|
393
|
+
Schedule.take(3)
|
|
498
394
|
)
|
|
499
|
-
|
|
500
|
-
const program = Effect.retry(callApi, rateLimitPolicy)
|
|
501
395
|
```
|
|
502
396
|
|
|
503
|
-
Explanation: `Schedule.
|
|
397
|
+
Explanation: `Schedule.collectOutputs` collects the schedule output, not the
|
|
398
|
+
input. Add `Schedule.take` or another bound when collecting from an unbounded
|
|
399
|
+
schedule.
|
|
504
400
|
|
|
505
|
-
|
|
401
|
+
## Accumulate State
|
|
506
402
|
|
|
507
|
-
###
|
|
403
|
+
### Accumulate Request Latency Stats
|
|
508
404
|
|
|
509
|
-
|
|
405
|
+
Goal: Create a schedule for latency samples that inspects the first 5 inputs and
|
|
406
|
+
outputs running `min`, `max`, `total`, and `count` fields.
|
|
510
407
|
|
|
511
408
|
```ts
|
|
512
|
-
import {
|
|
513
|
-
|
|
514
|
-
type ClientConfig = unknown
|
|
515
|
-
|
|
516
|
-
type ConfigFetchError =
|
|
517
|
-
| { readonly _tag: "NetworkUnavailable" }
|
|
518
|
-
| { readonly _tag: "ServiceUnavailable" }
|
|
519
|
-
| { readonly _tag: "MalformedConfig" }
|
|
520
|
-
|
|
521
|
-
declare const fetchStartupConfig: Effect.Effect<ClientConfig, ConfigFetchError>
|
|
522
|
-
|
|
523
|
-
const isTransientConfigFailure = (error: ConfigFetchError): boolean =>
|
|
524
|
-
error._tag === "NetworkUnavailable" || error._tag === "ServiceUnavailable"
|
|
525
|
-
|
|
526
|
-
const startupConfigRetryPolicy = Schedule.exponential("100 millis").pipe(
|
|
527
|
-
Schedule.both(Schedule.recurs(3))
|
|
528
|
-
)
|
|
409
|
+
import { Schedule } from "effect"
|
|
529
410
|
|
|
530
|
-
const
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
411
|
+
const requestLatencyStats = Schedule.identity<number>().pipe(
|
|
412
|
+
Schedule.take(5),
|
|
413
|
+
Schedule.reduce(
|
|
414
|
+
() => ({ min: Number.POSITIVE_INFINITY, max: 0, total: 0, count: 0 }),
|
|
415
|
+
(state, latency) => ({
|
|
416
|
+
min: Math.min(state.min, latency),
|
|
417
|
+
max: Math.max(state.max, latency),
|
|
418
|
+
total: state.total + latency,
|
|
419
|
+
count: state.count + 1
|
|
420
|
+
})
|
|
421
|
+
)
|
|
535
422
|
)
|
|
536
423
|
```
|
|
537
424
|
|
|
538
|
-
|
|
425
|
+
Explanation: `Schedule.reduce` is for a running aggregate. Prefer it over
|
|
426
|
+
collecting every value when callers only need a summary.
|
|
539
427
|
|
|
540
|
-
###
|
|
428
|
+
### Count Recent Worker Failures
|
|
541
429
|
|
|
542
|
-
|
|
430
|
+
Goal: Create a schedule for boolean failure samples that inspects the first 5
|
|
431
|
+
inputs and outputs the running count of failed samples.
|
|
543
432
|
|
|
544
433
|
```ts
|
|
545
|
-
import {
|
|
546
|
-
|
|
547
|
-
type Profile = unknown
|
|
548
|
-
type ProfileLoadError = unknown
|
|
549
|
-
|
|
550
|
-
declare const fetchProfile: (
|
|
551
|
-
userId: string
|
|
552
|
-
) => Effect.Effect<Profile, ProfileLoadError>
|
|
553
|
-
|
|
554
|
-
declare const isTransientProfileLoadError: (
|
|
555
|
-
error: ProfileLoadError
|
|
556
|
-
) => boolean
|
|
557
|
-
|
|
558
|
-
const retryTransientProfileLoad = Schedule.exponential("100 millis").pipe(
|
|
559
|
-
Schedule.jittered,
|
|
560
|
-
Schedule.both(Schedule.recurs(3))
|
|
561
|
-
)
|
|
434
|
+
import { Schedule } from "effect"
|
|
562
435
|
|
|
563
|
-
const
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
while: isTransientProfileLoadError
|
|
567
|
-
})
|
|
436
|
+
const recentWorkerFailureCount = Schedule.identity<boolean>().pipe(
|
|
437
|
+
Schedule.take(5),
|
|
438
|
+
Schedule.reduce(() => 0, (count, failed) => failed ? count + 1 : count)
|
|
568
439
|
)
|
|
569
440
|
```
|
|
570
441
|
|
|
571
|
-
|
|
442
|
+
## Adapt Delays
|
|
572
443
|
|
|
573
|
-
###
|
|
444
|
+
### Slow A Queue Consumer Under Backpressure
|
|
574
445
|
|
|
575
|
-
|
|
446
|
+
Goal: Create a queue backpressure schedule that outputs each queue snapshot,
|
|
447
|
+
continues while the queue is not paused, adds 5 seconds of delay when depth is
|
|
448
|
+
above 1000, adds 500 milliseconds otherwise, and takes 10 outputs.
|
|
576
449
|
|
|
577
450
|
```ts
|
|
578
451
|
import { Effect, Schedule } from "effect"
|
|
579
452
|
|
|
580
|
-
type
|
|
581
|
-
|
|
582
|
-
type RefreshTimeout = { readonly _tag: "RefreshTimeout" }
|
|
583
|
-
type RefreshServiceUnavailable = { readonly _tag: "RefreshServiceUnavailable" }
|
|
584
|
-
type RefreshRejected = { readonly _tag: "RefreshRejected" }
|
|
585
|
-
type RefreshError = RefreshTimeout | RefreshServiceUnavailable | RefreshRejected
|
|
586
|
-
|
|
587
|
-
declare const postRefreshToken: (
|
|
588
|
-
refreshToken: string
|
|
589
|
-
) => Effect.Effect<Tokens, RefreshError>
|
|
590
|
-
|
|
591
|
-
const isTransientRefreshFailure = (
|
|
592
|
-
error: RefreshError
|
|
593
|
-
): error is RefreshTimeout | RefreshServiceUnavailable =>
|
|
594
|
-
error._tag === "RefreshTimeout" ||
|
|
595
|
-
error._tag === "RefreshServiceUnavailable"
|
|
596
|
-
|
|
597
|
-
const retryTokenRefreshBriefly = Schedule.exponential("100 millis").pipe(
|
|
598
|
-
Schedule.jittered,
|
|
599
|
-
Schedule.both(Schedule.recurs(2)),
|
|
600
|
-
Schedule.both(Schedule.during("1 second"))
|
|
601
|
-
)
|
|
453
|
+
type QueueSnapshot = { readonly depth: number; readonly paused: boolean }
|
|
602
454
|
|
|
603
|
-
const
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
})
|
|
455
|
+
const queueBackpressureSchedule = Schedule.identity<QueueSnapshot>().pipe(
|
|
456
|
+
Schedule.while(({ input }) => !input.paused),
|
|
457
|
+
Schedule.addDelay((snapshot) => Effect.succeed(snapshot.depth > 1000 ? "5 seconds" : "500 millis")),
|
|
458
|
+
Schedule.take(10)
|
|
608
459
|
)
|
|
609
460
|
```
|
|
610
461
|
|
|
611
|
-
|
|
462
|
+
Explanation: `Schedule.addDelay` adds delay based on the current schedule
|
|
463
|
+
output. It is a good fit for input-driven pacing when the output is already the
|
|
464
|
+
latest input.
|
|
612
465
|
|
|
613
|
-
###
|
|
466
|
+
### Cap WebSocket Reconnect Delays
|
|
614
467
|
|
|
615
|
-
|
|
468
|
+
Goal: Create a reconnect policy that uses jittered exponential backoff, caps
|
|
469
|
+
selected delays at 5 seconds, allows at most 8 recurrences, and outputs the
|
|
470
|
+
selected delay.
|
|
616
471
|
|
|
617
472
|
```ts
|
|
618
473
|
import { Duration, Effect, Schedule } from "effect"
|
|
619
474
|
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
declare const openLiveSocket: Effect.Effect<LiveSocket, WebSocketOpenError>
|
|
624
|
-
declare const isRetryableOpenError: (error: WebSocketOpenError) => boolean
|
|
625
|
-
|
|
626
|
-
const websocketReconnectPolicy = Schedule.exponential("100 millis").pipe(
|
|
475
|
+
const websocketReconnectDelays = Schedule.exponential("100 millis").pipe(
|
|
476
|
+
Schedule.jittered,
|
|
627
477
|
Schedule.modifyDelay((_, delay) => Effect.succeed(Duration.min(delay, Duration.seconds(5)))),
|
|
628
|
-
Schedule.both(Schedule.recurs(8))
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
const program = openLiveSocket.pipe(
|
|
632
|
-
Effect.retry({
|
|
633
|
-
schedule: websocketReconnectPolicy,
|
|
634
|
-
while: isRetryableOpenError
|
|
635
|
-
})
|
|
478
|
+
Schedule.both(Schedule.recurs(8)),
|
|
479
|
+
Schedule.delays
|
|
636
480
|
)
|
|
637
481
|
```
|
|
638
482
|
|
|
639
|
-
|
|
483
|
+
Explanation: `Schedule.modifyDelay` receives the selected delay and returns the
|
|
484
|
+
replacement delay. Use it for caps, floors, clamps, or provider-provided delay
|
|
485
|
+
hints.
|
|
640
486
|
|
|
641
|
-
|
|
487
|
+
## Observe Schedule Decisions
|
|
642
488
|
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
```ts
|
|
646
|
-
import { Duration, Effect, Schedule } from "effect"
|
|
489
|
+
### Log Heartbeat Inputs
|
|
647
490
|
|
|
648
|
-
|
|
491
|
+
Goal: Create a heartbeat schedule that runs on an aligned 10-second cadence,
|
|
492
|
+
logs each service id input, outputs the input unchanged, and takes 2 outputs.
|
|
649
493
|
|
|
650
|
-
|
|
651
|
-
|
|
494
|
+
```ts
|
|
495
|
+
import { Console, Schedule } from "effect"
|
|
652
496
|
|
|
653
|
-
|
|
654
|
-
Schedule.setInputType<WebSocketReconnectError>(),
|
|
655
|
-
Schedule.jittered,
|
|
656
|
-
Schedule.modifyDelay((_, delay) => Effect.succeed(Duration.min(delay, Duration.seconds(5)))),
|
|
657
|
-
Schedule.both(Schedule.recurs(8)),
|
|
658
|
-
Schedule.while(({ input }) => isRetryableReconnect(input))
|
|
659
|
-
)
|
|
497
|
+
type HeartbeatStatus = { readonly id: string }
|
|
660
498
|
|
|
661
|
-
const
|
|
662
|
-
|
|
499
|
+
const heartbeatInputLogs = Schedule.fixed("10 seconds").pipe(
|
|
500
|
+
Schedule.setInputType<HeartbeatStatus>(),
|
|
501
|
+
Schedule.tapInput((input) => Console.log(`heartbeat:${input.id}`)),
|
|
502
|
+
Schedule.passthrough,
|
|
503
|
+
Schedule.take(2)
|
|
663
504
|
)
|
|
664
505
|
```
|
|
665
506
|
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
### Retry Startup Dependency Checks
|
|
507
|
+
### Record Backoff Delays
|
|
669
508
|
|
|
670
|
-
|
|
509
|
+
Goal: Create a retry schedule that uses Fibonacci backoff, takes 5 outputs, and
|
|
510
|
+
logs each selected delay without changing the schedule output.
|
|
671
511
|
|
|
672
512
|
```ts
|
|
673
|
-
import {
|
|
674
|
-
|
|
675
|
-
type DependencyCheckError =
|
|
676
|
-
| { readonly reason: "DnsLookup" | "ConnectionRefused" | "Timeout" }
|
|
677
|
-
| { readonly reason: "BadCredentials" | "SchemaMismatch" }
|
|
678
|
-
|
|
679
|
-
declare const checkDatabase: Effect.Effect<void, DependencyCheckError>
|
|
680
|
-
|
|
681
|
-
const isRetryableStartupFailure = (error: DependencyCheckError) =>
|
|
682
|
-
error.reason === "DnsLookup" ||
|
|
683
|
-
error.reason === "ConnectionRefused" ||
|
|
684
|
-
error.reason === "Timeout"
|
|
685
|
-
|
|
686
|
-
const startupDependencyPolicy = Schedule.exponential("100 millis").pipe(
|
|
687
|
-
Schedule.modifyDelay((_, delay) => Effect.succeed(Duration.min(delay, Duration.seconds(2)))),
|
|
688
|
-
Schedule.both(Schedule.recurs(5)),
|
|
689
|
-
Schedule.both(Schedule.during("20 seconds"))
|
|
690
|
-
)
|
|
513
|
+
import { Console, Schedule } from "effect"
|
|
691
514
|
|
|
692
|
-
const
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
while: isRetryableStartupFailure
|
|
696
|
-
})
|
|
515
|
+
const loggedBackoffDelays = Schedule.fibonacci("200 millis").pipe(
|
|
516
|
+
Schedule.take(5),
|
|
517
|
+
Schedule.tapOutput((delay) => Console.log(delay))
|
|
697
518
|
)
|
|
698
519
|
```
|
|
699
520
|
|
|
700
|
-
|
|
521
|
+
### Log Attempt Metadata
|
|
701
522
|
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
Write the Effect code that retries a duplicate-safe deployment hook only for temporary hook failures.
|
|
523
|
+
Goal: Create a telemetry backoff that logs each attempt number and selected
|
|
524
|
+
delay in milliseconds without changing the schedule output.
|
|
705
525
|
|
|
706
526
|
```ts
|
|
707
|
-
import {
|
|
708
|
-
|
|
709
|
-
type HookReceipt = unknown
|
|
710
|
-
|
|
711
|
-
type DeploymentHookError = {
|
|
712
|
-
readonly status: number
|
|
713
|
-
}
|
|
714
|
-
|
|
715
|
-
declare const invokeDeploymentHook: (
|
|
716
|
-
request: {
|
|
717
|
-
readonly deploymentId: string
|
|
718
|
-
readonly hookName: string
|
|
719
|
-
readonly idempotencyKey: string
|
|
720
|
-
}
|
|
721
|
-
) => Effect.Effect<HookReceipt, DeploymentHookError>
|
|
722
|
-
|
|
723
|
-
const isRetryableHookError = (error: DeploymentHookError) =>
|
|
724
|
-
error.status === 408 ||
|
|
725
|
-
error.status === 409 ||
|
|
726
|
-
error.status === 429 ||
|
|
727
|
-
error.status >= 500
|
|
728
|
-
|
|
729
|
-
const deploymentHookRetryPolicy = Schedule.exponential("100 millis").pipe(
|
|
730
|
-
Schedule.setInputType<DeploymentHookError>(),
|
|
731
|
-
Schedule.jittered,
|
|
732
|
-
Schedule.modifyDelay((_, delay) => Effect.succeed(Duration.min(delay, Duration.seconds(2)))),
|
|
733
|
-
Schedule.both(Schedule.recurs(5)),
|
|
734
|
-
Schedule.while(({ input }) => isRetryableHookError(input))
|
|
735
|
-
)
|
|
527
|
+
import { Console, Duration, Schedule } from "effect"
|
|
736
528
|
|
|
737
|
-
const
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
idempotencyKey: "deploy-1:post-deploy-smoke-test"
|
|
741
|
-
}).pipe(
|
|
742
|
-
Effect.retry(deploymentHookRetryPolicy)
|
|
529
|
+
const telemetryBackoffPolicy = Schedule.exponential("250 millis").pipe(
|
|
530
|
+
Schedule.take(5),
|
|
531
|
+
Schedule.tap(({ attempt, output }) => Console.log(`attempt-${attempt}: ${Duration.toMillis(output)}ms`))
|
|
743
532
|
)
|
|
744
533
|
```
|
|
745
534
|
|
|
746
|
-
|
|
535
|
+
Explanation: use `tapInput` when the input matters, `tapOutput` when only the
|
|
536
|
+
output matters, and `tap` when metadata such as attempt number or selected
|
|
537
|
+
duration matters. None of these operators changes the schedule output.
|
|
538
|
+
|
|
539
|
+
## Build Local State Machines
|
|
747
540
|
|
|
748
|
-
###
|
|
541
|
+
### Track Scheduler Ticks
|
|
749
542
|
|
|
750
|
-
|
|
543
|
+
Goal: Create a local scheduler tick state that starts at 1, increments after
|
|
544
|
+
each output, maps each output to a `tick` object, and takes 4 outputs.
|
|
751
545
|
|
|
752
546
|
```ts
|
|
753
547
|
import { Effect, Schedule } from "effect"
|
|
754
548
|
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
| { readonly _tag: "RateLimited" }
|
|
759
|
-
| { readonly _tag: "InvalidRequest" }
|
|
760
|
-
| { readonly _tag: "Unauthorized" }
|
|
761
|
-
| { readonly _tag: "Forbidden" }
|
|
762
|
-
|
|
763
|
-
declare const createSubnet: (
|
|
764
|
-
request: {
|
|
765
|
-
readonly vpcId: string
|
|
766
|
-
readonly cidrBlock: string
|
|
767
|
-
readonly clientToken: string
|
|
768
|
-
}
|
|
769
|
-
) => Effect.Effect<string, InfrastructureApiError>
|
|
770
|
-
|
|
771
|
-
const retryInfrastructureApi = Schedule.exponential("100 millis").pipe(
|
|
772
|
-
Schedule.jittered,
|
|
773
|
-
Schedule.both(Schedule.recurs(5)),
|
|
774
|
-
Schedule.both(Schedule.during("30 seconds"))
|
|
775
|
-
)
|
|
776
|
-
|
|
777
|
-
const program = createSubnet({
|
|
778
|
-
vpcId: "vpc-123",
|
|
779
|
-
cidrBlock: "10.0.8.0/24",
|
|
780
|
-
clientToken: "deploy-1-subnet-10-0-8"
|
|
781
|
-
}).pipe(
|
|
782
|
-
Effect.retry({
|
|
783
|
-
schedule: retryInfrastructureApi,
|
|
784
|
-
while: (error) =>
|
|
785
|
-
error._tag === "ApiTimeout" ||
|
|
786
|
-
error._tag === "ApiUnavailable" ||
|
|
787
|
-
error._tag === "RateLimited"
|
|
788
|
-
})
|
|
549
|
+
const schedulerTickState = Schedule.unfold(1, (n) => Effect.succeed(n + 1)).pipe(
|
|
550
|
+
Schedule.map((tick) => ({ tick })),
|
|
551
|
+
Schedule.take(4)
|
|
789
552
|
)
|
|
790
553
|
```
|
|
791
554
|
|
|
792
|
-
|
|
555
|
+
Explanation: `Schedule.unfold` builds a schedule from local state. Use it when
|
|
556
|
+
the next output depends on private scheduler state rather than on the latest
|
|
557
|
+
input.
|
|
793
558
|
|
|
794
|
-
###
|
|
559
|
+
### Cycle A Maintenance Phase Machine
|
|
795
560
|
|
|
796
|
-
|
|
561
|
+
Goal: Create a local phase machine for maintenance work. Start at `warming`,
|
|
562
|
+
move to `active`, then `cooling`, then back to `active`, and take 6 outputs.
|
|
797
563
|
|
|
798
564
|
```ts
|
|
799
565
|
import { Effect, Schedule } from "effect"
|
|
800
566
|
|
|
801
|
-
type
|
|
567
|
+
type MaintenancePhase = "warming" | "active" | "cooling"
|
|
802
568
|
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
| { readonly _tag: "PermissionDenied" }
|
|
815
|
-
|
|
816
|
-
declare const generateExport: (
|
|
817
|
-
request: ExportRequest
|
|
818
|
-
) => Effect.Effect<ExportFile, ExportError>
|
|
819
|
-
|
|
820
|
-
const isTransientExportError = (error: ExportError): boolean => {
|
|
821
|
-
switch (error._tag) {
|
|
822
|
-
case "DatabaseUnavailable":
|
|
823
|
-
case "RendererBusy":
|
|
824
|
-
case "ObjectStorageUnavailable":
|
|
825
|
-
return true
|
|
826
|
-
case "InvalidExportRequest":
|
|
827
|
-
case "PermissionDenied":
|
|
828
|
-
return false
|
|
829
|
-
default:
|
|
830
|
-
return false
|
|
569
|
+
const maintenancePhaseMachine = Schedule.unfold<MaintenancePhase>(
|
|
570
|
+
"warming",
|
|
571
|
+
(phase) => {
|
|
572
|
+
switch (phase) {
|
|
573
|
+
case "warming":
|
|
574
|
+
return Effect.succeed("active")
|
|
575
|
+
case "active":
|
|
576
|
+
return Effect.succeed("cooling")
|
|
577
|
+
case "cooling":
|
|
578
|
+
return Effect.succeed("active")
|
|
579
|
+
}
|
|
831
580
|
}
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
const retryTransientExportFailures = Schedule.exponential("100 millis").pipe(
|
|
835
|
-
Schedule.jittered,
|
|
836
|
-
Schedule.both(Schedule.recurs(4))
|
|
837
|
-
)
|
|
838
|
-
|
|
839
|
-
const request: ExportRequest = {
|
|
840
|
-
exportId: "export-2026-05-17",
|
|
841
|
-
accountId: "acct-123",
|
|
842
|
-
format: "csv"
|
|
843
|
-
}
|
|
844
|
-
|
|
845
|
-
const program = generateExport(request).pipe(
|
|
846
|
-
Effect.retry({
|
|
847
|
-
schedule: retryTransientExportFailures,
|
|
848
|
-
while: isTransientExportError
|
|
849
|
-
})
|
|
581
|
+
).pipe(
|
|
582
|
+
Schedule.take(6)
|
|
850
583
|
)
|
|
851
584
|
```
|
|
852
585
|
|
|
853
|
-
|
|
586
|
+
## Realistic Policies
|
|
854
587
|
|
|
855
|
-
### Retry
|
|
588
|
+
### Retry An HTTP Gateway With A Delay Envelope
|
|
856
589
|
|
|
857
|
-
|
|
590
|
+
Goal: Create an HTTP gateway retry schedule. Retry only network failures, status
|
|
591
|
+
429, and status 500, 502, or 503. Use jittered exponential backoff starting at
|
|
592
|
+
100 milliseconds, cap selected delays at 2 seconds, allow at most 6 recurrences,
|
|
593
|
+
and output the selected delay.
|
|
858
594
|
|
|
859
595
|
```ts
|
|
860
|
-
import { Effect, Schedule } from "effect"
|
|
861
|
-
|
|
862
|
-
type UploadRequest = {
|
|
863
|
-
readonly bucket: string
|
|
864
|
-
readonly key: string
|
|
865
|
-
readonly body: Uint8Array
|
|
866
|
-
readonly checksumSha256: string
|
|
867
|
-
readonly idempotencyKey: string
|
|
868
|
-
}
|
|
869
|
-
|
|
870
|
-
type UploadError =
|
|
871
|
-
| { readonly reason: "Timeout" }
|
|
872
|
-
| { readonly reason: "Throttled" }
|
|
873
|
-
| { readonly reason: "Unavailable" }
|
|
874
|
-
| { readonly reason: "ChecksumMismatch" }
|
|
875
|
-
| { readonly reason: "Forbidden" }
|
|
876
|
-
| { readonly reason: "BadRequest" }
|
|
877
|
-
|
|
878
|
-
declare const body: Uint8Array
|
|
879
|
-
|
|
880
|
-
declare const uploadObject: (
|
|
881
|
-
request: UploadRequest
|
|
882
|
-
) => Effect.Effect<void, UploadError>
|
|
596
|
+
import { Duration, Effect, Schedule } from "effect"
|
|
883
597
|
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
598
|
+
type GraphqlGatewayError =
|
|
599
|
+
| { readonly _tag: "Network" }
|
|
600
|
+
| { readonly _tag: "HttpStatus"; readonly status: number }
|
|
601
|
+
| { readonly _tag: "BadRequest" }
|
|
888
602
|
|
|
889
|
-
const
|
|
603
|
+
const isRetryableGraphqlGatewayError = (
|
|
604
|
+
error: GraphqlGatewayError
|
|
605
|
+
): boolean =>
|
|
606
|
+
error._tag === "Network" ||
|
|
607
|
+
(error._tag === "HttpStatus" &&
|
|
608
|
+
(error.status === 429 ||
|
|
609
|
+
error.status === 500 ||
|
|
610
|
+
error.status === 502 ||
|
|
611
|
+
error.status === 503))
|
|
612
|
+
|
|
613
|
+
const graphqlGatewayRetry = Schedule.exponential("100 millis").pipe(
|
|
890
614
|
Schedule.jittered,
|
|
891
|
-
Schedule.
|
|
892
|
-
Schedule.
|
|
893
|
-
)
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
bucket: "reports",
|
|
897
|
-
key: "daily/sha256-demo.json",
|
|
898
|
-
body,
|
|
899
|
-
checksumSha256: "sha256-demo",
|
|
900
|
-
idempotencyKey: "sha256-demo"
|
|
901
|
-
}).pipe(
|
|
902
|
-
Effect.retry({
|
|
903
|
-
schedule: uploadRetryPolicy,
|
|
904
|
-
while: isTransientStorageError
|
|
905
|
-
})
|
|
615
|
+
Schedule.setInputType<GraphqlGatewayError>(),
|
|
616
|
+
Schedule.modifyDelay((_, delay) => Effect.succeed(Duration.min(delay, Duration.seconds(2)))),
|
|
617
|
+
Schedule.both(Schedule.recurs(6)),
|
|
618
|
+
Schedule.while(({ input }) => isRetryableGraphqlGatewayError(input)),
|
|
619
|
+
Schedule.delays
|
|
906
620
|
)
|
|
907
621
|
```
|
|
908
622
|
|
|
909
|
-
|
|
623
|
+
### Poll A Rollout With A Deadline
|
|
910
624
|
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
625
|
+
Goal: Create a rollout watcher that starts from an aligned 1-second cadence,
|
|
626
|
+
jitters the selected delay, outputs the latest status, continues only while the
|
|
627
|
+
rollout is running, and stops after about 2 minutes.
|
|
914
628
|
|
|
915
629
|
```ts
|
|
916
|
-
import {
|
|
917
|
-
|
|
918
|
-
type ImportBatch = unknown
|
|
919
|
-
type ImportSummary = unknown
|
|
920
|
-
|
|
921
|
-
type ImportError =
|
|
922
|
-
| { readonly _tag: "StorageTimeout" }
|
|
923
|
-
| { readonly _tag: "DatabaseUnavailable" }
|
|
924
|
-
| { readonly _tag: "EnrichmentUnavailable" }
|
|
925
|
-
| { readonly _tag: "MalformedInput" }
|
|
926
|
-
| { readonly _tag: "ValidationFailed" }
|
|
927
|
-
|
|
928
|
-
declare const processImportBatch: (
|
|
929
|
-
batch: ImportBatch
|
|
930
|
-
) => Effect.Effect<ImportSummary, ImportError>
|
|
931
|
-
|
|
932
|
-
declare const batch: ImportBatch
|
|
630
|
+
import { Schedule } from "effect"
|
|
933
631
|
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
error._tag === "EnrichmentUnavailable"
|
|
632
|
+
type RolloutStatus = {
|
|
633
|
+
readonly state: "running" | "succeeded" | "failed"
|
|
634
|
+
}
|
|
938
635
|
|
|
939
|
-
const
|
|
636
|
+
const rolloutStatusWatcher = Schedule.fixed("1 second").pipe(
|
|
637
|
+
Schedule.setInputType<RolloutStatus>(),
|
|
638
|
+
Schedule.passthrough,
|
|
940
639
|
Schedule.jittered,
|
|
941
|
-
Schedule.both(Schedule.
|
|
942
|
-
Schedule.
|
|
943
|
-
)
|
|
944
|
-
|
|
945
|
-
const program = processImportBatch(batch).pipe(
|
|
946
|
-
Effect.retry({
|
|
947
|
-
schedule: importRetryPolicy,
|
|
948
|
-
while: isTransientImportError
|
|
949
|
-
})
|
|
640
|
+
Schedule.both(Schedule.during("2 minutes")),
|
|
641
|
+
Schedule.while(({ input }) => input.state === "running"),
|
|
642
|
+
Schedule.map(([status]) => status)
|
|
950
643
|
)
|
|
951
644
|
```
|
|
952
645
|
|
|
953
|
-
|
|
646
|
+
### Respect A Provider Retry-After Header
|
|
954
647
|
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
648
|
+
Goal: Create a provider retry schedule. Retry status 429, 500, and 503. Use
|
|
649
|
+
exponential backoff starting at 1 second. When `retryAfter` is present, use it as
|
|
650
|
+
a lower bound. Cap selected delays at 1 minute, allow at most 6 recurrences, and
|
|
651
|
+
output the selected delay.
|
|
958
652
|
|
|
959
653
|
```ts
|
|
960
|
-
import { Effect, Schedule } from "effect"
|
|
961
|
-
|
|
962
|
-
type PaymentStatus = unknown
|
|
654
|
+
import { Duration, Effect, Schedule } from "effect"
|
|
963
655
|
|
|
964
|
-
type
|
|
965
|
-
readonly status:
|
|
656
|
+
type PushProviderResponse = {
|
|
657
|
+
readonly status: 429 | 500 | 503 | 400
|
|
658
|
+
readonly retryAfter: Duration.Duration | undefined
|
|
966
659
|
}
|
|
967
660
|
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
)
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
661
|
+
const pushNotificationProviderRetry = Schedule.exponential("1 second").pipe(
|
|
662
|
+
Schedule.setInputType<PushProviderResponse>(),
|
|
663
|
+
Schedule.passthrough,
|
|
664
|
+
Schedule.modifyDelay((response, delay) =>
|
|
665
|
+
Effect.succeed(
|
|
666
|
+
Duration.min(
|
|
667
|
+
response.retryAfter === undefined
|
|
668
|
+
? delay
|
|
669
|
+
: Duration.max(delay, response.retryAfter),
|
|
670
|
+
Duration.minutes(1)
|
|
671
|
+
)
|
|
672
|
+
)
|
|
673
|
+
),
|
|
674
|
+
Schedule.both(Schedule.recurs(6)),
|
|
675
|
+
Schedule.while(({ input }) => input.status === 429 || input.status === 500 || input.status === 503),
|
|
676
|
+
Schedule.delays
|
|
982
677
|
)
|
|
983
678
|
```
|
|
984
679
|
|
|
985
|
-
|
|
680
|
+
### Poll An OAuth Device Code Flow
|
|
986
681
|
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
682
|
+
Goal: Create an OAuth device-code polling schedule. Poll every 5 seconds, add
|
|
683
|
+
another 5 seconds for `slow_down`, output the latest input, continue only for
|
|
684
|
+
`authorization_pending` and `slow_down`, and stop after about 15 minutes.
|
|
990
685
|
|
|
991
686
|
```ts
|
|
992
687
|
import { Effect, Schedule } from "effect"
|
|
993
688
|
|
|
994
|
-
type
|
|
995
|
-
readonly
|
|
996
|
-
|
|
997
|
-
|
|
689
|
+
type OAuthDeviceCodeStatus = {
|
|
690
|
+
readonly error:
|
|
691
|
+
| "authorization_pending"
|
|
692
|
+
| "slow_down"
|
|
693
|
+
| "access_denied"
|
|
694
|
+
| "expired_token"
|
|
998
695
|
}
|
|
999
696
|
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
declare const sendWithIdempotency: (
|
|
1008
|
-
notification: Notification
|
|
1009
|
-
) => Effect.Effect<void, DeliveryError>
|
|
1010
|
-
|
|
1011
|
-
const isRetryableDeliveryError = (error: DeliveryError): boolean =>
|
|
1012
|
-
error._tag === "Timeout" || error._tag === "ProviderUnavailable"
|
|
1013
|
-
|
|
1014
|
-
const retryTransientDelivery = Schedule.exponential("100 millis").pipe(
|
|
1015
|
-
Schedule.setInputType<DeliveryError>(),
|
|
1016
|
-
Schedule.jittered,
|
|
1017
|
-
Schedule.both(Schedule.recurs(5))
|
|
1018
|
-
)
|
|
1019
|
-
|
|
1020
|
-
const program = sendWithIdempotency({
|
|
1021
|
-
idempotencyKey: "notification-01HZYX8R7P0J9PAW4Q6V7N3QYB",
|
|
1022
|
-
recipient: "user@example.com",
|
|
1023
|
-
body: "Your export is ready."
|
|
1024
|
-
}).pipe(
|
|
1025
|
-
Effect.retry({
|
|
1026
|
-
schedule: retryTransientDelivery,
|
|
1027
|
-
while: isRetryableDeliveryError
|
|
1028
|
-
})
|
|
697
|
+
const oauthDeviceCodePolling = Schedule.spaced("5 seconds").pipe(
|
|
698
|
+
Schedule.setInputType<OAuthDeviceCodeStatus>(),
|
|
699
|
+
Schedule.passthrough,
|
|
700
|
+
Schedule.addDelay((status) => Effect.succeed(status.error === "slow_down" ? "5 seconds" : "0 millis")),
|
|
701
|
+
Schedule.both(Schedule.during("15 minutes")),
|
|
702
|
+
Schedule.while(({ input }) => input.error === "authorization_pending" || input.error === "slow_down"),
|
|
703
|
+
Schedule.map(([status]) => status)
|
|
1029
704
|
)
|
|
1030
705
|
```
|
|
1031
706
|
|
|
1032
|
-
|
|
707
|
+
### Escalate Incident Notifications In Phases
|
|
1033
708
|
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
709
|
+
Goal: Create an incident escalation cadence that emits 3 recurrences spaced 1
|
|
710
|
+
minute apart, then 3 recurrences spaced 5 minutes apart, then switches to an
|
|
711
|
+
aligned 15-minute cadence.
|
|
1037
712
|
|
|
1038
713
|
```ts
|
|
1039
|
-
import {
|
|
1040
|
-
|
|
1041
|
-
type RemoteApiError =
|
|
1042
|
-
| { readonly _tag: "Timeout" }
|
|
1043
|
-
| { readonly _tag: "ConnectionReset" }
|
|
1044
|
-
| { readonly _tag: "ServiceUnavailable" }
|
|
1045
|
-
| { readonly _tag: "BadRequest" }
|
|
1046
|
-
| { readonly _tag: "Unauthorized" }
|
|
1047
|
-
|
|
1048
|
-
declare const callRemoteApi: Effect.Effect<Response, RemoteApiError>
|
|
1049
|
-
|
|
1050
|
-
const isRetryableRemoteApiError = (error: RemoteApiError): boolean =>
|
|
1051
|
-
error._tag === "Timeout" ||
|
|
1052
|
-
error._tag === "ConnectionReset" ||
|
|
1053
|
-
error._tag === "ServiceUnavailable"
|
|
1054
|
-
|
|
1055
|
-
const remoteApiRetry = Schedule.exponential("100 millis").pipe(
|
|
1056
|
-
Schedule.jittered,
|
|
1057
|
-
Schedule.both(Schedule.recurs(5)),
|
|
1058
|
-
Schedule.both(Schedule.during("10 seconds"))
|
|
1059
|
-
)
|
|
714
|
+
import { Schedule } from "effect"
|
|
1060
715
|
|
|
1061
|
-
const
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
})
|
|
716
|
+
const incidentEscalationCadence = Schedule.spaced("1 minute").pipe(
|
|
717
|
+
Schedule.take(3),
|
|
718
|
+
Schedule.andThen(Schedule.spaced("5 minutes").pipe(Schedule.take(3))),
|
|
719
|
+
Schedule.andThen(Schedule.fixed("15 minutes"))
|
|
1066
720
|
)
|
|
1067
721
|
```
|
|
1068
722
|
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
### Retry Queue Reconnection
|
|
723
|
+
### Run Maintenance After A Warmup
|
|
1072
724
|
|
|
1073
|
-
|
|
725
|
+
Goal: Create a maintenance schedule that performs one warmup recurrence after
|
|
726
|
+
about 30 seconds, then switches to a cron schedule that recurs every day at
|
|
727
|
+
03:00.
|
|
1074
728
|
|
|
1075
729
|
```ts
|
|
1076
|
-
import {
|
|
1077
|
-
|
|
1078
|
-
type QueueConnection = unknown
|
|
1079
|
-
|
|
1080
|
-
type QueueConnectError =
|
|
1081
|
-
| { readonly _tag: "DnsFailure" }
|
|
1082
|
-
| { readonly _tag: "ConnectionRefused" }
|
|
1083
|
-
| { readonly _tag: "BrokerUnavailable" }
|
|
1084
|
-
| { readonly _tag: "BadCredentials" }
|
|
1085
|
-
| { readonly _tag: "UnsupportedProtocol" }
|
|
1086
|
-
|
|
1087
|
-
declare const connectQueue: Effect.Effect<QueueConnection, QueueConnectError>
|
|
1088
|
-
|
|
1089
|
-
const isRetryableQueueConnectError = (error: QueueConnectError): boolean =>
|
|
1090
|
-
error._tag === "DnsFailure" ||
|
|
1091
|
-
error._tag === "ConnectionRefused" ||
|
|
1092
|
-
error._tag === "BrokerUnavailable"
|
|
730
|
+
import { Schedule } from "effect"
|
|
1093
731
|
|
|
1094
|
-
const
|
|
1095
|
-
Schedule.
|
|
1096
|
-
Schedule.both(Schedule.recurs(8)),
|
|
1097
|
-
Schedule.both(Schedule.during("1 minute"))
|
|
732
|
+
const maintenanceCronAfterWarmup = Schedule.duration("30 seconds").pipe(
|
|
733
|
+
Schedule.andThen(Schedule.cron("0 3 * * *"))
|
|
1098
734
|
)
|
|
1099
|
-
|
|
1100
|
-
const program = connectQueue.pipe(
|
|
1101
|
-
Effect.retry({
|
|
1102
|
-
schedule: queueReconnect,
|
|
1103
|
-
while: isRetryableQueueConnectError
|
|
1104
|
-
})
|
|
1105
|
-
)
|
|
1106
|
-
```
|
|
1107
|
-
|
|
1108
|
-
Caution: jitter spreads delay across callers; it does not add a retry limit.
|
|
1109
|
-
|
|
1110
|
-
### Retry Cold-Start Dependencies
|
|
1111
|
-
|
|
1112
|
-
Write the Effect code for a service startup check.
|
|
1113
|
-
|
|
1114
|
-
```ts
|
|
1115
|
-
import { Effect, Schedule } from "effect"
|
|
1116
|
-
|
|
1117
|
-
type DependencyCheckError =
|
|
1118
|
-
| { readonly _tag: "DnsLookup" }
|
|
1119
|
-
| { readonly _tag: "ConnectionRefused" }
|
|
1120
|
-
| { readonly _tag: "Timeout" }
|
|
1121
|
-
| { readonly _tag: "BadCredentials" }
|
|
1122
|
-
| { readonly _tag: "SchemaMismatch" }
|
|
1123
|
-
|
|
1124
|
-
declare const checkDependency: Effect.Effect<void, DependencyCheckError>
|
|
1125
|
-
|
|
1126
|
-
const isRetryableStartupCheckError = (error: DependencyCheckError): boolean =>
|
|
1127
|
-
error._tag === "DnsLookup" ||
|
|
1128
|
-
error._tag === "ConnectionRefused" ||
|
|
1129
|
-
error._tag === "Timeout"
|
|
1130
|
-
|
|
1131
|
-
const dependencyStartup = Schedule.exponential("100 millis").pipe(
|
|
1132
|
-
Schedule.both(Schedule.recurs(6)),
|
|
1133
|
-
Schedule.both(Schedule.during("30 seconds"))
|
|
1134
|
-
)
|
|
1135
|
-
|
|
1136
|
-
const program = checkDependency.pipe(
|
|
1137
|
-
Effect.retry({
|
|
1138
|
-
schedule: dependencyStartup,
|
|
1139
|
-
while: isRetryableStartupCheckError
|
|
1140
|
-
})
|
|
1141
|
-
)
|
|
1142
|
-
```
|
|
1143
|
-
|
|
1144
|
-
Caution: `recurs(n)` counts follow-up recurrences after the first execution.
|
|
1145
|
-
|
|
1146
|
-
### Retry With Capped Backoff
|
|
1147
|
-
|
|
1148
|
-
Write the Effect code for calling the search backend.
|
|
1149
|
-
|
|
1150
|
-
```ts
|
|
1151
|
-
import { Duration, Effect, Schedule } from "effect"
|
|
1152
|
-
|
|
1153
|
-
type SearchResult = unknown
|
|
1154
|
-
|
|
1155
|
-
type SearchBackendError =
|
|
1156
|
-
| { readonly _tag: "Timeout" }
|
|
1157
|
-
| { readonly _tag: "Overloaded" }
|
|
1158
|
-
| { readonly _tag: "RejectedQuery" }
|
|
1159
|
-
|
|
1160
|
-
declare const callSearchBackend: Effect.Effect<SearchResult, SearchBackendError>
|
|
1161
|
-
|
|
1162
|
-
const isRetryableSearchBackendError = (error: SearchBackendError): boolean =>
|
|
1163
|
-
error._tag === "Timeout" || error._tag === "Overloaded"
|
|
1164
|
-
|
|
1165
|
-
const cappedBackoff = Schedule.exponential("100 millis").pipe(
|
|
1166
|
-
Schedule.modifyDelay((_, delay) => Effect.succeed(Duration.min(delay, Duration.seconds(5)))),
|
|
1167
|
-
Schedule.both(Schedule.recurs(5))
|
|
1168
|
-
)
|
|
1169
|
-
|
|
1170
|
-
const program = callSearchBackend.pipe(
|
|
1171
|
-
Effect.retry({
|
|
1172
|
-
schedule: cappedBackoff,
|
|
1173
|
-
while: isRetryableSearchBackendError
|
|
1174
|
-
})
|
|
1175
|
-
)
|
|
1176
|
-
```
|
|
1177
|
-
|
|
1178
|
-
Caution: `recurs(n)` counts follow-up recurrences after the first execution.
|
|
1179
|
-
|
|
1180
|
-
### Retry HTTP Clients With Jitter
|
|
1181
|
-
|
|
1182
|
-
Write the Effect code for a client request that may be called by many app instances at once.
|
|
1183
|
-
|
|
1184
|
-
```ts
|
|
1185
|
-
import { Effect, Schedule } from "effect"
|
|
1186
|
-
|
|
1187
|
-
type HttpResponse = unknown
|
|
1188
|
-
|
|
1189
|
-
type HttpClientError =
|
|
1190
|
-
| { readonly _tag: "Timeout" }
|
|
1191
|
-
| { readonly _tag: "ConnectionReset" }
|
|
1192
|
-
| { readonly _tag: "ResponseError"; readonly status: number }
|
|
1193
|
-
| { readonly _tag: "InvalidRequest" }
|
|
1194
|
-
|
|
1195
|
-
declare const httpRequest: Effect.Effect<HttpResponse, HttpClientError>
|
|
1196
|
-
|
|
1197
|
-
const isRetryableHttpClientError = (error: HttpClientError): boolean =>
|
|
1198
|
-
error._tag === "Timeout" ||
|
|
1199
|
-
error._tag === "ConnectionReset" ||
|
|
1200
|
-
(error._tag === "ResponseError" && error.status >= 500)
|
|
1201
|
-
|
|
1202
|
-
const httpRetry = Schedule.exponential("100 millis").pipe(
|
|
1203
|
-
Schedule.jittered,
|
|
1204
|
-
Schedule.both(Schedule.recurs(5))
|
|
1205
|
-
)
|
|
1206
|
-
|
|
1207
|
-
const program = httpRequest.pipe(
|
|
1208
|
-
Effect.retry({
|
|
1209
|
-
schedule: httpRetry,
|
|
1210
|
-
while: isRetryableHttpClientError
|
|
1211
|
-
})
|
|
1212
|
-
)
|
|
1213
|
-
```
|
|
1214
|
-
|
|
1215
|
-
Caution: classify permanent failures before applying retry; backoff does not make invalid input transient.
|
|
1216
|
-
|
|
1217
|
-
### Do Not Retry Validation Errors
|
|
1218
|
-
|
|
1219
|
-
Write the Effect code for submitting the form.
|
|
1220
|
-
|
|
1221
|
-
```ts
|
|
1222
|
-
import { Effect, Schedule } from "effect"
|
|
1223
|
-
|
|
1224
|
-
type SubmitReceipt = unknown
|
|
1225
|
-
|
|
1226
|
-
type SubmitError =
|
|
1227
|
-
| { readonly _tag: "Timeout" }
|
|
1228
|
-
| { readonly _tag: "ServiceUnavailable" }
|
|
1229
|
-
| { readonly _tag: "ValidationError"; readonly field: string }
|
|
1230
|
-
|
|
1231
|
-
declare const submitForm: Effect.Effect<SubmitReceipt, SubmitError>
|
|
1232
|
-
|
|
1233
|
-
const isRetryableSubmitError = (error: SubmitError): boolean =>
|
|
1234
|
-
error._tag === "Timeout" || error._tag === "ServiceUnavailable"
|
|
1235
|
-
|
|
1236
|
-
const program = submitForm.pipe(
|
|
1237
|
-
Effect.retry({
|
|
1238
|
-
schedule: Schedule.exponential("100 millis").pipe(Schedule.both(Schedule.recurs(3))),
|
|
1239
|
-
while: isRetryableSubmitError
|
|
1240
|
-
})
|
|
1241
|
-
)
|
|
1242
|
-
```
|
|
1243
|
-
|
|
1244
|
-
Caution: classify permanent failures before applying retry; backoff does not make invalid input transient.
|
|
1245
|
-
|
|
1246
|
-
### Retry Only 5xx Responses
|
|
1247
|
-
|
|
1248
|
-
Write the Effect code for a safe resource read.
|
|
1249
|
-
|
|
1250
|
-
```ts
|
|
1251
|
-
import { Effect, Schedule } from "effect"
|
|
1252
|
-
|
|
1253
|
-
type Resource = unknown
|
|
1254
|
-
|
|
1255
|
-
type HttpError =
|
|
1256
|
-
| { readonly _tag: "HttpError"; readonly status: number }
|
|
1257
|
-
| { readonly _tag: "NetworkError" }
|
|
1258
|
-
|
|
1259
|
-
declare const fetchResource: Effect.Effect<Resource, HttpError>
|
|
1260
|
-
|
|
1261
|
-
const isServerError = (error: HttpError): boolean => error._tag === "HttpError" && error.status >= 500
|
|
1262
|
-
|
|
1263
|
-
const program = fetchResource.pipe(
|
|
1264
|
-
Effect.retry({
|
|
1265
|
-
schedule: Schedule.exponential("100 millis").pipe(Schedule.both(Schedule.recurs(3))),
|
|
1266
|
-
while: isServerError
|
|
1267
|
-
})
|
|
1268
|
-
)
|
|
1269
|
-
```
|
|
1270
|
-
|
|
1271
|
-
Caution: `recurs(n)` counts follow-up recurrences after the first execution.
|
|
1272
|
-
|
|
1273
|
-
### Retry Safe GET Reads
|
|
1274
|
-
|
|
1275
|
-
Write the Effect code for a safe read path.
|
|
1276
|
-
|
|
1277
|
-
```ts
|
|
1278
|
-
import { Effect, Schedule } from "effect"
|
|
1279
|
-
|
|
1280
|
-
type Resource = unknown
|
|
1281
|
-
|
|
1282
|
-
type GetError =
|
|
1283
|
-
| { readonly _tag: "Timeout"; readonly method: "GET" | "POST" }
|
|
1284
|
-
| { readonly _tag: "ServiceUnavailable"; readonly method: "GET" | "POST" }
|
|
1285
|
-
| { readonly _tag: "BadRequest"; readonly method: "GET" | "POST" }
|
|
1286
|
-
|
|
1287
|
-
declare const getResource: Effect.Effect<Resource, GetError>
|
|
1288
|
-
|
|
1289
|
-
const isRetryableGetError = (error: GetError): boolean =>
|
|
1290
|
-
error.method === "GET" &&
|
|
1291
|
-
(error._tag === "Timeout" || error._tag === "ServiceUnavailable")
|
|
1292
|
-
|
|
1293
|
-
const program = getResource.pipe(
|
|
1294
|
-
Effect.retry({
|
|
1295
|
-
schedule: Schedule.exponential("100 millis").pipe(Schedule.both(Schedule.recurs(3))),
|
|
1296
|
-
while: isRetryableGetError
|
|
1297
|
-
})
|
|
1298
|
-
)
|
|
1299
|
-
```
|
|
1300
|
-
|
|
1301
|
-
Caution: `recurs(n)` counts follow-up recurrences after the first execution.
|
|
1302
|
-
|
|
1303
|
-
### Retry Short Pauses, Then Backoff
|
|
1304
|
-
|
|
1305
|
-
Write the Effect code for a search request where the first failures are often very short blips.
|
|
1306
|
-
|
|
1307
|
-
```ts
|
|
1308
|
-
import { Effect, Schedule } from "effect"
|
|
1309
|
-
|
|
1310
|
-
type SearchBackendError = unknown
|
|
1311
|
-
type SearchResult = unknown
|
|
1312
|
-
|
|
1313
|
-
declare const callSearchBackend: Effect.Effect<SearchResult, SearchBackendError>
|
|
1314
|
-
|
|
1315
|
-
const shortRetries = Schedule.spaced("100 millis").pipe(
|
|
1316
|
-
Schedule.bothLeft(Schedule.recurs(2))
|
|
1317
|
-
)
|
|
1318
|
-
const backoffRetries = Schedule.exponential("250 millis").pipe(
|
|
1319
|
-
Schedule.both(Schedule.recurs(4))
|
|
1320
|
-
)
|
|
1321
|
-
const policy = shortRetries.pipe(Schedule.andThen(backoffRetries))
|
|
1322
|
-
|
|
1323
|
-
const program = callSearchBackend.pipe(Effect.retry(policy))
|
|
1324
|
-
```
|
|
1325
|
-
|
|
1326
|
-
Caution: `recurs(n)` counts follow-up recurrences after the first execution.
|
|
1327
|
-
|
|
1328
|
-
### Retry While An Auth Token Is Stale
|
|
1329
|
-
|
|
1330
|
-
Write the Effect code for refreshing an auth token.
|
|
1331
|
-
|
|
1332
|
-
```ts
|
|
1333
|
-
import { Effect, Schedule } from "effect"
|
|
1334
|
-
|
|
1335
|
-
type AuthToken = unknown
|
|
1336
|
-
|
|
1337
|
-
type AuthTokenError =
|
|
1338
|
-
| { readonly _tag: "StaleToken" }
|
|
1339
|
-
| { readonly _tag: "TokenRevoked" }
|
|
1340
|
-
| { readonly _tag: "MalformedToken" }
|
|
1341
|
-
|
|
1342
|
-
declare const refreshAuthToken: Effect.Effect<AuthToken, AuthTokenError>
|
|
1343
|
-
|
|
1344
|
-
const program = refreshAuthToken.pipe(
|
|
1345
|
-
Effect.retry({
|
|
1346
|
-
schedule: Schedule.spaced("500 millis").pipe(
|
|
1347
|
-
Schedule.both(Schedule.recurs(4))
|
|
1348
|
-
),
|
|
1349
|
-
while: (error) => error._tag === "StaleToken"
|
|
1350
|
-
})
|
|
1351
|
-
)
|
|
1352
|
-
```
|
|
1353
|
-
|
|
1354
|
-
Caution: `recurs(n)` counts follow-up recurrences after the first execution.
|
|
1355
|
-
|
|
1356
|
-
### Retry While A Circuit Breaker Allows It
|
|
1357
|
-
|
|
1358
|
-
Write the Effect code for calling billing from a checkout flow.
|
|
1359
|
-
|
|
1360
|
-
```ts
|
|
1361
|
-
import { Effect, Schedule } from "effect"
|
|
1362
|
-
|
|
1363
|
-
type BillingReceipt = unknown
|
|
1364
|
-
|
|
1365
|
-
type BillingError =
|
|
1366
|
-
| { readonly _tag: "TransientBillingError" }
|
|
1367
|
-
| { readonly _tag: "RejectedPayment" }
|
|
1368
|
-
|
|
1369
|
-
declare const callBilling: Effect.Effect<BillingReceipt, BillingError>
|
|
1370
|
-
declare const circuitBreakerAllowsRetry: (error: BillingError) => Effect.Effect<boolean>
|
|
1371
|
-
|
|
1372
|
-
const program = callBilling.pipe(
|
|
1373
|
-
Effect.retry({
|
|
1374
|
-
schedule: Schedule.exponential("100 millis").pipe(Schedule.both(Schedule.recurs(5))),
|
|
1375
|
-
while: (error) =>
|
|
1376
|
-
error._tag === "TransientBillingError"
|
|
1377
|
-
? circuitBreakerAllowsRetry(error)
|
|
1378
|
-
: Effect.succeed(false)
|
|
1379
|
-
})
|
|
1380
|
-
)
|
|
1381
|
-
```
|
|
1382
|
-
|
|
1383
|
-
Caution: `recurs(n)` counts follow-up recurrences after the first execution.
|
|
1384
|
-
|
|
1385
|
-
## Polling And State Observation
|
|
1386
|
-
|
|
1387
|
-
In these recipes, non-terminal states are successful values, not failures. `Effect.repeat` runs the effect again after each success and stops when the schedule stops. A real failure from the effect still fails the whole program.
|
|
1388
|
-
|
|
1389
|
-
### Poll Job Status Until Terminal
|
|
1390
|
-
|
|
1391
|
-
Write the Effect code that polls `readJobStatus("job-1")` until the status is `succeeded` or `failed`, or until about 30 seconds pass.
|
|
1392
|
-
|
|
1393
|
-
```ts
|
|
1394
|
-
import { Effect, Schedule } from "effect"
|
|
1395
|
-
|
|
1396
|
-
type JobStatusError = unknown
|
|
1397
|
-
|
|
1398
|
-
type JobStatus =
|
|
1399
|
-
| { readonly state: "queued"; readonly jobId: string }
|
|
1400
|
-
| { readonly state: "running"; readonly jobId: string }
|
|
1401
|
-
| { readonly state: "succeeded"; readonly jobId: string; readonly artifactUrl: string }
|
|
1402
|
-
| { readonly state: "failed"; readonly jobId: string; readonly reason: string }
|
|
1403
|
-
|
|
1404
|
-
declare const readJobStatus: (
|
|
1405
|
-
jobId: string
|
|
1406
|
-
) => Effect.Effect<JobStatus, JobStatusError>
|
|
1407
|
-
|
|
1408
|
-
const isTerminal = (status: JobStatus): boolean => status.state === "succeeded" || status.state === "failed"
|
|
1409
|
-
|
|
1410
|
-
const pollJobStatus = Schedule.spaced("1 second").pipe(
|
|
1411
|
-
Schedule.setInputType<JobStatus>(),
|
|
1412
|
-
Schedule.passthrough,
|
|
1413
|
-
Schedule.while(({ input }) => !isTerminal(input)),
|
|
1414
|
-
Schedule.bothLeft(
|
|
1415
|
-
Schedule.during("30 seconds").pipe(
|
|
1416
|
-
Schedule.setInputType<JobStatus>()
|
|
1417
|
-
)
|
|
1418
|
-
)
|
|
1419
|
-
)
|
|
1420
|
-
|
|
1421
|
-
const program = readJobStatus("job-1").pipe(
|
|
1422
|
-
Effect.repeat(pollJobStatus)
|
|
1423
|
-
)
|
|
1424
|
-
```
|
|
1425
|
-
|
|
1426
|
-
Caution: raw `Effect.repeat(schedule)` returns the schedule output; `Schedule.passthrough` preserves the latest successful value.
|
|
1427
|
-
|
|
1428
|
-
### Poll Platform Readiness
|
|
1429
|
-
|
|
1430
|
-
Write the Effect code that polls readiness snapshots.
|
|
1431
|
-
|
|
1432
|
-
```ts
|
|
1433
|
-
import { Effect, Schedule } from "effect"
|
|
1434
|
-
|
|
1435
|
-
type ReadinessCheckError = unknown
|
|
1436
|
-
type ReadinessSnapshot = unknown
|
|
1437
|
-
|
|
1438
|
-
declare const readPlatformReadiness: Effect.Effect<ReadinessSnapshot, ReadinessCheckError>
|
|
1439
|
-
declare const isTerminalReadiness: (snapshot: ReadinessSnapshot) => boolean
|
|
1440
|
-
|
|
1441
|
-
const readinessPolling = Schedule.spaced("1 second").pipe(
|
|
1442
|
-
Schedule.setInputType<ReadinessSnapshot>(),
|
|
1443
|
-
Schedule.passthrough,
|
|
1444
|
-
Schedule.while(({ input }) => !isTerminalReadiness(input)),
|
|
1445
|
-
Schedule.bothLeft(Schedule.during("30 seconds")),
|
|
1446
|
-
Schedule.bothLeft(Schedule.recurs(30))
|
|
1447
|
-
)
|
|
1448
|
-
|
|
1449
|
-
const program = readPlatformReadiness.pipe(
|
|
1450
|
-
Effect.repeat(readinessPolling)
|
|
1451
|
-
)
|
|
1452
|
-
```
|
|
1453
|
-
|
|
1454
|
-
Caution: raw `Effect.repeat(schedule)` returns the schedule output; `Schedule.passthrough` preserves the latest successful value.
|
|
1455
|
-
|
|
1456
|
-
### Poll Rollout Status With Jitter
|
|
1457
|
-
|
|
1458
|
-
Write the Effect code that polls a rollout about once per second while it is `running`. Add a little randomness so many status watchers do not poll at the same instant. Stop on `succeeded` or `failed`; if it is still running after about 2 minutes, return the latest status.
|
|
1459
|
-
|
|
1460
|
-
```ts
|
|
1461
|
-
import { Effect, Schedule } from "effect"
|
|
1462
|
-
|
|
1463
|
-
type StatusReadError = unknown
|
|
1464
|
-
|
|
1465
|
-
type RolloutStatus =
|
|
1466
|
-
| { readonly state: "running" }
|
|
1467
|
-
| { readonly state: "succeeded" }
|
|
1468
|
-
| { readonly state: "failed"; readonly reason: string }
|
|
1469
|
-
|
|
1470
|
-
declare const readRolloutStatus: (
|
|
1471
|
-
rolloutId: string
|
|
1472
|
-
) => Effect.Effect<RolloutStatus, StatusReadError>
|
|
1473
|
-
|
|
1474
|
-
const pollRolloutStatus = Schedule.spaced("1 second").pipe(
|
|
1475
|
-
Schedule.jittered,
|
|
1476
|
-
Schedule.setInputType<RolloutStatus>(),
|
|
1477
|
-
Schedule.passthrough,
|
|
1478
|
-
Schedule.while(({ input }) => input.state === "running"),
|
|
1479
|
-
Schedule.bothLeft(Schedule.during("2 minutes"))
|
|
1480
|
-
)
|
|
1481
|
-
|
|
1482
|
-
const program = readRolloutStatus("rollout-42").pipe(
|
|
1483
|
-
Effect.repeat(pollRolloutStatus)
|
|
1484
|
-
)
|
|
1485
|
-
```
|
|
1486
|
-
|
|
1487
|
-
Caution: raw `Effect.repeat(schedule)` returns the schedule output; `Schedule.passthrough` preserves the latest successful value.
|
|
1488
|
-
|
|
1489
|
-
### Poll ETL Status
|
|
1490
|
-
|
|
1491
|
-
Write the Effect code that polls ETL status until `succeeded`, `failed`, or `canceled`, preserving the final observed status. Check about every 5 seconds and stop waiting after about 5 minutes.
|
|
1492
|
-
|
|
1493
|
-
```ts
|
|
1494
|
-
import { Effect, Schedule } from "effect"
|
|
1495
|
-
|
|
1496
|
-
type StatusReadError = unknown
|
|
1497
|
-
|
|
1498
|
-
type EtlStatus =
|
|
1499
|
-
| { readonly state: "running" }
|
|
1500
|
-
| { readonly state: "succeeded" }
|
|
1501
|
-
| { readonly state: "failed"; readonly reason: string }
|
|
1502
|
-
| { readonly state: "canceled" }
|
|
1503
|
-
|
|
1504
|
-
declare const readEtlStatus: (
|
|
1505
|
-
runId: string
|
|
1506
|
-
) => Effect.Effect<EtlStatus, StatusReadError>
|
|
1507
|
-
|
|
1508
|
-
const isTerminalEtlStatus = (status: EtlStatus): boolean =>
|
|
1509
|
-
status.state === "succeeded" ||
|
|
1510
|
-
status.state === "failed" ||
|
|
1511
|
-
status.state === "canceled"
|
|
1512
|
-
|
|
1513
|
-
const pollEtlStatusBudget = Schedule.spaced("5 seconds").pipe(
|
|
1514
|
-
Schedule.setInputType<EtlStatus>(),
|
|
1515
|
-
Schedule.passthrough,
|
|
1516
|
-
Schedule.while(({ input }) => !isTerminalEtlStatus(input)),
|
|
1517
|
-
Schedule.bothLeft(Schedule.during("5 minutes")),
|
|
1518
|
-
Schedule.bothLeft(Schedule.recurs(60))
|
|
1519
|
-
)
|
|
1520
|
-
|
|
1521
|
-
const program = readEtlStatus("etl-run-7").pipe(
|
|
1522
|
-
Effect.repeat(pollEtlStatusBudget)
|
|
1523
|
-
)
|
|
1524
|
-
```
|
|
1525
|
-
|
|
1526
|
-
Caution: raw `Effect.repeat(schedule)` returns the schedule output; `Schedule.passthrough` preserves the latest successful value.
|
|
1527
|
-
|
|
1528
|
-
### Poll Payment Settlement
|
|
1529
|
-
|
|
1530
|
-
Write the Effect code that polls successful settlement statuses.
|
|
1531
|
-
|
|
1532
|
-
```ts
|
|
1533
|
-
import { Effect, Schedule } from "effect"
|
|
1534
|
-
|
|
1535
|
-
type SettlementError = unknown
|
|
1536
|
-
|
|
1537
|
-
type SettlementStatus =
|
|
1538
|
-
| { readonly _tag: "Pending" }
|
|
1539
|
-
| { readonly _tag: "Processing" }
|
|
1540
|
-
| { readonly _tag: "Settled" }
|
|
1541
|
-
| { readonly _tag: "Declined" }
|
|
1542
|
-
|
|
1543
|
-
declare const fetchSettlementStatus: Effect.Effect<SettlementStatus, SettlementError>
|
|
1544
|
-
|
|
1545
|
-
const isOpen = (status: SettlementStatus) => status._tag === "Pending" || status._tag === "Processing"
|
|
1546
|
-
|
|
1547
|
-
const pollOpenSettlements = Schedule.spaced("1 second").pipe(
|
|
1548
|
-
Schedule.setInputType<SettlementStatus>(),
|
|
1549
|
-
Schedule.passthrough,
|
|
1550
|
-
Schedule.while(({ input }) => isOpen(input)),
|
|
1551
|
-
Schedule.bothLeft(Schedule.during("30 seconds"))
|
|
1552
|
-
)
|
|
1553
|
-
|
|
1554
|
-
const program = fetchSettlementStatus.pipe(
|
|
1555
|
-
Effect.repeat(pollOpenSettlements)
|
|
1556
|
-
)
|
|
1557
|
-
```
|
|
1558
|
-
|
|
1559
|
-
Caution: raw `Effect.repeat(schedule)` returns the schedule output; `Schedule.passthrough` preserves the latest successful value.
|
|
1560
|
-
|
|
1561
|
-
### Poll Order Fulfillment
|
|
1562
|
-
|
|
1563
|
-
Write the Effect code that polls fulfillment statuses.
|
|
1564
|
-
|
|
1565
|
-
```ts
|
|
1566
|
-
import { Effect, Schedule } from "effect"
|
|
1567
|
-
|
|
1568
|
-
type FulfillmentReadError = unknown
|
|
1569
|
-
|
|
1570
|
-
type FulfillmentStatus =
|
|
1571
|
-
| { readonly state: "preparing" }
|
|
1572
|
-
| { readonly state: "shipped" }
|
|
1573
|
-
| { readonly state: "delivered" }
|
|
1574
|
-
| { readonly state: "canceled"; readonly reason: string }
|
|
1575
|
-
|
|
1576
|
-
declare const readFulfillmentStatus: Effect.Effect<FulfillmentStatus, FulfillmentReadError>
|
|
1577
|
-
|
|
1578
|
-
const isTerminalFulfillment = (status: FulfillmentStatus) => status.state === "delivered" || status.state === "canceled"
|
|
1579
|
-
|
|
1580
|
-
const userFacingPolling = Schedule.spaced("1 second").pipe(
|
|
1581
|
-
Schedule.setInputType<FulfillmentStatus>(),
|
|
1582
|
-
Schedule.passthrough,
|
|
1583
|
-
Schedule.while(({ input }) => !isTerminalFulfillment(input)),
|
|
1584
|
-
Schedule.bothLeft(Schedule.during("30 seconds"))
|
|
1585
|
-
)
|
|
1586
|
-
|
|
1587
|
-
const program = readFulfillmentStatus.pipe(
|
|
1588
|
-
Effect.repeat(userFacingPolling)
|
|
1589
|
-
)
|
|
1590
|
-
```
|
|
1591
|
-
|
|
1592
|
-
Caution: raw `Effect.repeat(schedule)` returns the schedule output; `Schedule.passthrough` preserves the latest successful value.
|
|
1593
|
-
|
|
1594
|
-
### Poll A Background Job
|
|
1595
|
-
|
|
1596
|
-
Write the Effect code used by an API endpoint after it starts a background job.
|
|
1597
|
-
|
|
1598
|
-
```ts
|
|
1599
|
-
import { Effect, Schedule } from "effect"
|
|
1600
|
-
|
|
1601
|
-
type JobStatusError = unknown
|
|
1602
|
-
|
|
1603
|
-
type JobStatus =
|
|
1604
|
-
| { readonly state: "queued"; readonly jobId: string }
|
|
1605
|
-
| { readonly state: "running"; readonly jobId: string }
|
|
1606
|
-
| { readonly state: "done"; readonly jobId: string }
|
|
1607
|
-
| { readonly state: "failed"; readonly jobId: string; readonly reason: string }
|
|
1608
|
-
|
|
1609
|
-
declare const jobId: string
|
|
1610
|
-
declare const readJobStatus: (jobId: string) => Effect.Effect<JobStatus, JobStatusError>
|
|
1611
|
-
|
|
1612
|
-
const pollJob = Schedule.spaced("1 second").pipe(
|
|
1613
|
-
Schedule.setInputType<JobStatus>(),
|
|
1614
|
-
Schedule.passthrough,
|
|
1615
|
-
Schedule.while(({ input }) => input.state === "queued" || input.state === "running"),
|
|
1616
|
-
Schedule.bothLeft(Schedule.during("30 seconds"))
|
|
1617
|
-
)
|
|
1618
|
-
|
|
1619
|
-
const program = readJobStatus(jobId).pipe(Effect.repeat(pollJob))
|
|
1620
|
-
```
|
|
1621
|
-
|
|
1622
|
-
Caution: raw `Effect.repeat(schedule)` returns the schedule output; `Schedule.passthrough` preserves the latest successful value.
|
|
1623
|
-
|
|
1624
|
-
### Poll A Payment Until Settled
|
|
1625
|
-
|
|
1626
|
-
Write the Effect code used after submitting a payment.
|
|
1627
|
-
|
|
1628
|
-
```ts
|
|
1629
|
-
import { Effect, Schedule } from "effect"
|
|
1630
|
-
|
|
1631
|
-
type PaymentReadError = unknown
|
|
1632
|
-
|
|
1633
|
-
type PaymentStatus =
|
|
1634
|
-
| { readonly _tag: "Pending" }
|
|
1635
|
-
| { readonly _tag: "Processing" }
|
|
1636
|
-
| { readonly _tag: "Settled" }
|
|
1637
|
-
| { readonly _tag: "Declined" }
|
|
1638
|
-
|
|
1639
|
-
declare const paymentId: string
|
|
1640
|
-
declare const readPaymentStatus: (paymentId: string) => Effect.Effect<PaymentStatus, PaymentReadError>
|
|
1641
|
-
|
|
1642
|
-
const pollPayment = Schedule.spaced("1 second").pipe(
|
|
1643
|
-
Schedule.setInputType<PaymentStatus>(),
|
|
1644
|
-
Schedule.passthrough,
|
|
1645
|
-
Schedule.while(({ input }) => input._tag === "Pending" || input._tag === "Processing"),
|
|
1646
|
-
Schedule.bothLeft(Schedule.during("30 seconds"))
|
|
1647
|
-
)
|
|
1648
|
-
|
|
1649
|
-
const program = readPaymentStatus(paymentId).pipe(Effect.repeat(pollPayment))
|
|
1650
|
-
```
|
|
1651
|
-
|
|
1652
|
-
Caution: raw `Effect.repeat(schedule)` returns the schedule output; `Schedule.passthrough` preserves the latest successful value.
|
|
1653
|
-
|
|
1654
|
-
### Poll An Export Until Ready
|
|
1655
|
-
|
|
1656
|
-
Write the Effect code used after requesting a report export.
|
|
1657
|
-
|
|
1658
|
-
```ts
|
|
1659
|
-
import { Effect, Schedule } from "effect"
|
|
1660
|
-
|
|
1661
|
-
type ExportStatusError = unknown
|
|
1662
|
-
|
|
1663
|
-
type ExportStatus =
|
|
1664
|
-
| { readonly state: "queued" }
|
|
1665
|
-
| { readonly state: "running" }
|
|
1666
|
-
| { readonly state: "ready"; readonly url: string }
|
|
1667
|
-
| { readonly state: "failed"; readonly reason: string }
|
|
1668
|
-
|
|
1669
|
-
declare const exportId: string
|
|
1670
|
-
declare const readExportStatus: (exportId: string) => Effect.Effect<ExportStatus, ExportStatusError>
|
|
1671
|
-
|
|
1672
|
-
const pollExport = Schedule.spaced("2 seconds").pipe(
|
|
1673
|
-
Schedule.setInputType<ExportStatus>(),
|
|
1674
|
-
Schedule.passthrough,
|
|
1675
|
-
Schedule.while(({ input }) => input.state === "queued" || input.state === "running"),
|
|
1676
|
-
Schedule.bothLeft(Schedule.during("2 minutes"))
|
|
1677
|
-
)
|
|
1678
|
-
|
|
1679
|
-
const program = readExportStatus(exportId).pipe(Effect.repeat(pollExport))
|
|
1680
|
-
```
|
|
1681
|
-
|
|
1682
|
-
Caution: raw `Effect.repeat(schedule)` returns the schedule output; `Schedule.passthrough` preserves the latest successful value.
|
|
1683
|
-
|
|
1684
|
-
### Poll Cloud Provisioning
|
|
1685
|
-
|
|
1686
|
-
Write the Effect code used after creating cloud infrastructure.
|
|
1687
|
-
|
|
1688
|
-
```ts
|
|
1689
|
-
import { Effect, Schedule } from "effect"
|
|
1690
|
-
|
|
1691
|
-
type ProvisioningReadError = unknown
|
|
1692
|
-
|
|
1693
|
-
type ProvisioningStatus =
|
|
1694
|
-
| { readonly state: "creating" }
|
|
1695
|
-
| { readonly state: "updating" }
|
|
1696
|
-
| { readonly state: "ready" }
|
|
1697
|
-
| { readonly state: "failed"; readonly reason: string }
|
|
1698
|
-
|
|
1699
|
-
declare const resourceId: string
|
|
1700
|
-
declare const readProvisioningStatus: (resourceId: string) => Effect.Effect<ProvisioningStatus, ProvisioningReadError>
|
|
1701
|
-
|
|
1702
|
-
const pollProvisioning = Schedule.spaced("5 seconds").pipe(
|
|
1703
|
-
Schedule.setInputType<ProvisioningStatus>(),
|
|
1704
|
-
Schedule.passthrough,
|
|
1705
|
-
Schedule.while(({ input }) => input.state === "creating" || input.state === "updating"),
|
|
1706
|
-
Schedule.bothLeft(Schedule.during("5 minutes"))
|
|
1707
|
-
)
|
|
1708
|
-
|
|
1709
|
-
const program = readProvisioningStatus(resourceId).pipe(Effect.repeat(pollProvisioning))
|
|
1710
|
-
```
|
|
1711
|
-
|
|
1712
|
-
Caution: raw `Effect.repeat(schedule)` returns the schedule output; `Schedule.passthrough` preserves the latest successful value.
|
|
1713
|
-
|
|
1714
|
-
### Poll Until Completed
|
|
1715
|
-
|
|
1716
|
-
Write the Effect code used by a client that waits briefly for completion.
|
|
1717
|
-
|
|
1718
|
-
```ts
|
|
1719
|
-
import { Effect, Schedule } from "effect"
|
|
1720
|
-
|
|
1721
|
-
type StatusReadError = unknown
|
|
1722
|
-
|
|
1723
|
-
type Status = "Queued" | "Running" | "Completed"
|
|
1724
|
-
|
|
1725
|
-
declare const id: string
|
|
1726
|
-
declare const readStatus: (id: string) => Effect.Effect<Status, StatusReadError>
|
|
1727
|
-
|
|
1728
|
-
const untilCompleted = Schedule.spaced("1 second").pipe(
|
|
1729
|
-
Schedule.setInputType<Status>(),
|
|
1730
|
-
Schedule.passthrough,
|
|
1731
|
-
Schedule.while(({ input }) => input !== "Completed"),
|
|
1732
|
-
Schedule.bothLeft(Schedule.during("30 seconds"))
|
|
1733
|
-
)
|
|
1734
|
-
|
|
1735
|
-
const program = readStatus(id).pipe(Effect.repeat(untilCompleted))
|
|
1736
|
-
```
|
|
1737
|
-
|
|
1738
|
-
Caution: raw `Effect.repeat(schedule)` returns the schedule output; `Schedule.passthrough` preserves the latest successful value.
|
|
1739
|
-
|
|
1740
|
-
### Repeat Until A Condition Is True
|
|
1741
|
-
|
|
1742
|
-
Write the Effect code used by a command-line tool waiting for work to complete.
|
|
1743
|
-
|
|
1744
|
-
```ts
|
|
1745
|
-
import { Effect, Schedule } from "effect"
|
|
1746
|
-
|
|
1747
|
-
type StatusCheckError = unknown
|
|
1748
|
-
|
|
1749
|
-
type Status =
|
|
1750
|
-
| { readonly _tag: "Working" }
|
|
1751
|
-
| { readonly _tag: "Complete" }
|
|
1752
|
-
|
|
1753
|
-
declare const checkStatus: Effect.Effect<Status, StatusCheckError>
|
|
1754
|
-
declare const isComplete: (status: Status) => boolean
|
|
1755
|
-
|
|
1756
|
-
const untilComplete = Schedule.spaced("1 second").pipe(
|
|
1757
|
-
Schedule.setInputType<Status>(),
|
|
1758
|
-
Schedule.passthrough,
|
|
1759
|
-
Schedule.while(({ input }) => !isComplete(input))
|
|
1760
|
-
)
|
|
1761
|
-
|
|
1762
|
-
const program = checkStatus.pipe(Effect.repeat(untilComplete))
|
|
1763
|
-
```
|
|
1764
|
-
|
|
1765
|
-
Caution: raw `Effect.repeat(schedule)` returns the schedule output; `Schedule.passthrough` preserves the latest successful value.
|
|
1766
|
-
|
|
1767
|
-
### Repeat While Work Remains
|
|
1768
|
-
|
|
1769
|
-
Write the Effect code for draining batches from a backlog.
|
|
1770
|
-
|
|
1771
|
-
```ts
|
|
1772
|
-
import { Effect, Schedule } from "effect"
|
|
1773
|
-
|
|
1774
|
-
type BatchError = unknown
|
|
1775
|
-
|
|
1776
|
-
type BatchResult = {
|
|
1777
|
-
readonly processed: number
|
|
1778
|
-
readonly remaining: number
|
|
1779
|
-
}
|
|
1780
|
-
|
|
1781
|
-
declare const processBatch: Effect.Effect<BatchResult, BatchError>
|
|
1782
|
-
|
|
1783
|
-
const whileWorkRemains = Schedule.spaced("1 second").pipe(
|
|
1784
|
-
Schedule.setInputType<BatchResult>(),
|
|
1785
|
-
Schedule.passthrough,
|
|
1786
|
-
Schedule.while(({ input }) => input.remaining > 0)
|
|
1787
|
-
)
|
|
1788
|
-
|
|
1789
|
-
const program = processBatch.pipe(Effect.repeat(whileWorkRemains))
|
|
1790
|
-
```
|
|
1791
|
-
|
|
1792
|
-
Caution: raw `Effect.repeat(schedule)` returns the schedule output; `Schedule.passthrough` preserves the latest successful value.
|
|
1793
|
-
|
|
1794
|
-
### Poll Until A Resource Exists
|
|
1795
|
-
|
|
1796
|
-
Write the Effect code that waits for a just-created resource to become visible.
|
|
1797
|
-
|
|
1798
|
-
```ts
|
|
1799
|
-
import { Effect, Schedule } from "effect"
|
|
1800
|
-
|
|
1801
|
-
type LookupError = unknown
|
|
1802
|
-
type Resource = unknown
|
|
1803
|
-
|
|
1804
|
-
type ResourceLookup =
|
|
1805
|
-
| { readonly _tag: "Missing" }
|
|
1806
|
-
| { readonly _tag: "Found"; readonly resource: Resource }
|
|
1807
|
-
|
|
1808
|
-
declare const lookupResource: (id: string) => Effect.Effect<ResourceLookup, LookupError>
|
|
1809
|
-
declare const id: string
|
|
1810
|
-
|
|
1811
|
-
const untilResourceExists = Schedule.spaced("1 second").pipe(
|
|
1812
|
-
Schedule.setInputType<ResourceLookup>(),
|
|
1813
|
-
Schedule.passthrough,
|
|
1814
|
-
Schedule.while(({ input }) => input._tag === "Missing"),
|
|
1815
|
-
Schedule.bothLeft(Schedule.during("30 seconds"))
|
|
1816
|
-
)
|
|
1817
|
-
|
|
1818
|
-
const program = lookupResource(id).pipe(Effect.repeat(untilResourceExists))
|
|
1819
|
-
```
|
|
1820
|
-
|
|
1821
|
-
Caution: raw `Effect.repeat(schedule)` returns the schedule output; `Schedule.passthrough` preserves the latest successful value.
|
|
1822
|
-
|
|
1823
|
-
### Poll Until A Cache Entry Appears
|
|
1824
|
-
|
|
1825
|
-
Write the Effect code that waits for a cache entry written by another process.
|
|
1826
|
-
|
|
1827
|
-
```ts
|
|
1828
|
-
import { Effect, Schedule } from "effect"
|
|
1829
|
-
|
|
1830
|
-
type CacheReadError = unknown
|
|
1831
|
-
type CachedValue = unknown
|
|
1832
|
-
|
|
1833
|
-
type CacheLookup =
|
|
1834
|
-
| { readonly _tag: "Miss" }
|
|
1835
|
-
| { readonly _tag: "Hit"; readonly value: CachedValue }
|
|
1836
|
-
|
|
1837
|
-
declare const readCacheEntry: (key: string) => Effect.Effect<CacheLookup, CacheReadError>
|
|
1838
|
-
declare const key: string
|
|
1839
|
-
|
|
1840
|
-
const untilCacheHit = Schedule.spaced("500 millis").pipe(
|
|
1841
|
-
Schedule.setInputType<CacheLookup>(),
|
|
1842
|
-
Schedule.passthrough,
|
|
1843
|
-
Schedule.while(({ input }) => input._tag === "Miss"),
|
|
1844
|
-
Schedule.bothLeft(Schedule.during("10 seconds"))
|
|
1845
|
-
)
|
|
1846
|
-
|
|
1847
|
-
const program = readCacheEntry(key).pipe(Effect.repeat(untilCacheHit))
|
|
1848
|
-
```
|
|
1849
|
-
|
|
1850
|
-
Caution: raw `Effect.repeat(schedule)` returns the schedule output; `Schedule.passthrough` preserves the latest successful value.
|
|
1851
|
-
|
|
1852
|
-
### Poll Until Replication Catches Up
|
|
1853
|
-
|
|
1854
|
-
Write the Effect code used after writing to the primary database.
|
|
1855
|
-
|
|
1856
|
-
```ts
|
|
1857
|
-
import { Effect, Schedule } from "effect"
|
|
1858
|
-
|
|
1859
|
-
type ReplicationReadError = unknown
|
|
1860
|
-
|
|
1861
|
-
type ReplicationLag = {
|
|
1862
|
-
readonly behindBy: number
|
|
1863
|
-
}
|
|
1864
|
-
|
|
1865
|
-
declare const readReplicationLag: Effect.Effect<ReplicationLag, ReplicationReadError>
|
|
1866
|
-
|
|
1867
|
-
const untilCaughtUp = Schedule.spaced("1 second").pipe(
|
|
1868
|
-
Schedule.setInputType<ReplicationLag>(),
|
|
1869
|
-
Schedule.passthrough,
|
|
1870
|
-
Schedule.while(({ input }) => input.behindBy > 0),
|
|
1871
|
-
Schedule.bothLeft(Schedule.during("1 minute"))
|
|
1872
|
-
)
|
|
1873
|
-
|
|
1874
|
-
const program = readReplicationLag.pipe(Effect.repeat(untilCaughtUp))
|
|
1875
|
-
```
|
|
1876
|
-
|
|
1877
|
-
Caution: raw `Effect.repeat(schedule)` returns the schedule output; `Schedule.passthrough` preserves the latest successful value.
|
|
1878
|
-
|
|
1879
|
-
### Poll With An Interval And Deadline
|
|
1880
|
-
|
|
1881
|
-
Write the Effect code for a status reader that should keep checking briefly.
|
|
1882
|
-
|
|
1883
|
-
```ts
|
|
1884
|
-
import { Effect, Schedule } from "effect"
|
|
1885
|
-
|
|
1886
|
-
type Status = unknown
|
|
1887
|
-
type StatusReadError = unknown
|
|
1888
|
-
|
|
1889
|
-
declare const readStatus: Effect.Effect<Status, StatusReadError>
|
|
1890
|
-
|
|
1891
|
-
const polling = Schedule.spaced("1 second").pipe(
|
|
1892
|
-
Schedule.passthrough,
|
|
1893
|
-
Schedule.bothLeft(Schedule.during("30 seconds"))
|
|
1894
|
-
)
|
|
1895
|
-
|
|
1896
|
-
const program = readStatus.pipe(Effect.repeat(polling))
|
|
1897
|
-
```
|
|
1898
|
-
|
|
1899
|
-
Caution: raw `Effect.repeat(schedule)` returns the schedule output; `Schedule.passthrough` preserves the latest successful value.
|
|
1900
|
-
|
|
1901
|
-
### Return A Graceful Poll Timeout
|
|
1902
|
-
|
|
1903
|
-
Write the Effect code for an API endpoint that waits briefly for work to finish.
|
|
1904
|
-
|
|
1905
|
-
```ts
|
|
1906
|
-
import { Effect, Schedule } from "effect"
|
|
1907
|
-
|
|
1908
|
-
type Result = unknown
|
|
1909
|
-
type StatusReadError = unknown
|
|
1910
|
-
|
|
1911
|
-
type Status =
|
|
1912
|
-
| { readonly _tag: "Running" }
|
|
1913
|
-
| { readonly _tag: "Finished"; readonly value: Result }
|
|
1914
|
-
|
|
1915
|
-
declare const readStatus: Effect.Effect<Status, StatusReadError>
|
|
1916
|
-
|
|
1917
|
-
const polling = Schedule.spaced("1 second").pipe(
|
|
1918
|
-
Schedule.setInputType<Status>(),
|
|
1919
|
-
Schedule.passthrough,
|
|
1920
|
-
Schedule.while(({ input }) => input._tag === "Running"),
|
|
1921
|
-
Schedule.bothLeft(Schedule.during("30 seconds"))
|
|
1922
|
-
)
|
|
1923
|
-
|
|
1924
|
-
const program = readStatus.pipe(
|
|
1925
|
-
Effect.repeat(polling),
|
|
1926
|
-
Effect.flatMap((status) =>
|
|
1927
|
-
status._tag === "Running"
|
|
1928
|
-
? Effect.fail({ _tag: "TimedOut", latest: status } as const)
|
|
1929
|
-
: Effect.succeed(status)
|
|
1930
|
-
)
|
|
1931
|
-
)
|
|
1932
|
-
```
|
|
1933
|
-
|
|
1934
|
-
Explanation: exhausting the schedule is not a failure by itself. `Effect.repeat` returns the latest schedule output, so the final `flatMap` turns an unfinished latest status into a domain-specific timeout.
|
|
1935
|
-
|
|
1936
|
-
Caution: raw `Effect.repeat(schedule)` returns the schedule output; `Schedule.passthrough` preserves the latest successful value.
|
|
1937
|
-
|
|
1938
|
-
### Poll Fast, Then Slow
|
|
1939
|
-
|
|
1940
|
-
Write the Effect code used immediately after starting a workflow.
|
|
1941
|
-
|
|
1942
|
-
```ts
|
|
1943
|
-
import { Effect, Schedule } from "effect"
|
|
1944
|
-
|
|
1945
|
-
type WorkflowStatus = unknown
|
|
1946
|
-
type WorkflowStatusError = unknown
|
|
1947
|
-
|
|
1948
|
-
declare const readWorkflowStatus: Effect.Effect<WorkflowStatus, WorkflowStatusError>
|
|
1949
|
-
|
|
1950
|
-
const fastThenSlow = Schedule.spaced("250 millis").pipe(
|
|
1951
|
-
Schedule.bothLeft(Schedule.recurs(8))
|
|
1952
|
-
)
|
|
1953
|
-
const slowPolling = Schedule.spaced("2 seconds")
|
|
1954
|
-
const polling = Schedule.andThen(fastThenSlow, slowPolling).pipe(
|
|
1955
|
-
Schedule.setInputType<WorkflowStatus>(),
|
|
1956
|
-
Schedule.passthrough
|
|
1957
|
-
)
|
|
1958
|
-
|
|
1959
|
-
const program = readWorkflowStatus.pipe(Effect.repeat(polling))
|
|
1960
|
-
```
|
|
1961
|
-
|
|
1962
|
-
Caution: raw `Effect.repeat(schedule)` returns the schedule output; `Schedule.passthrough` preserves the latest successful value.
|
|
1963
|
-
|
|
1964
|
-
### Repeat Until An Effectful Predicate Stops
|
|
1965
|
-
|
|
1966
|
-
Write the Effect code for a startup readiness probe.
|
|
1967
|
-
|
|
1968
|
-
```ts
|
|
1969
|
-
import { Effect, Schedule } from "effect"
|
|
1970
|
-
|
|
1971
|
-
type ProbeError = unknown
|
|
1972
|
-
|
|
1973
|
-
type ServiceProbeResult =
|
|
1974
|
-
| { readonly _tag: "Starting" }
|
|
1975
|
-
| { readonly _tag: "Ready" }
|
|
1976
|
-
| { readonly _tag: "Failed" }
|
|
1977
|
-
|
|
1978
|
-
declare const probeService: Effect.Effect<ServiceProbeResult, ProbeError>
|
|
1979
|
-
declare const recordReadinessProbe: (result: ServiceProbeResult) => Effect.Effect<void>
|
|
1980
|
-
|
|
1981
|
-
const program = probeService.pipe(
|
|
1982
|
-
Effect.repeat({
|
|
1983
|
-
schedule: Schedule.spaced("1 second").pipe(
|
|
1984
|
-
Schedule.both(Schedule.recurs(30))
|
|
1985
|
-
),
|
|
1986
|
-
until: (result) =>
|
|
1987
|
-
recordReadinessProbe(result).pipe(
|
|
1988
|
-
Effect.map(() => result._tag === "Ready" || result._tag === "Failed")
|
|
1989
|
-
)
|
|
1990
|
-
})
|
|
1991
|
-
)
|
|
1992
|
-
```
|
|
1993
|
-
|
|
1994
|
-
Caution: `recurs(n)` counts follow-up recurrences after the first execution.
|
|
1995
|
-
|
|
1996
|
-
## Repeat And Background Work
|
|
1997
|
-
|
|
1998
|
-
### Repeat Failed-Record Reprocessing
|
|
1999
|
-
|
|
2000
|
-
Write the Effect code for a repair job that reprocesses failed records in passes. After the first successful pass, run at most 3 more passes, waiting about 30 seconds between passes.
|
|
2001
|
-
|
|
2002
|
-
```ts
|
|
2003
|
-
import { Effect, Schedule } from "effect"
|
|
2004
|
-
|
|
2005
|
-
type ReprocessBatchError = unknown
|
|
2006
|
-
|
|
2007
|
-
declare const reprocessFailedBatch: Effect.Effect<void, ReprocessBatchError>
|
|
2008
|
-
|
|
2009
|
-
const reprocessingCadence = Schedule.spaced("30 seconds").pipe(
|
|
2010
|
-
Schedule.take(3)
|
|
2011
|
-
)
|
|
2012
|
-
|
|
2013
|
-
const program = reprocessFailedBatch.pipe(
|
|
2014
|
-
Effect.repeat(reprocessingCadence)
|
|
2015
|
-
)
|
|
2016
|
-
```
|
|
2017
|
-
|
|
2018
|
-
Caution: `Effect.repeat` observes successful values and stops on the first failure.
|
|
2019
|
-
|
|
2020
|
-
### Repeat CRM Sync
|
|
2021
|
-
|
|
2022
|
-
Write the Effect code that repeats successful CRM sync passes, waiting about 5 minutes between completed passes. Return the latest successful sync summary. Failed CRM requests should fail the program; do not turn this into retry logic.
|
|
2023
|
-
|
|
2024
|
-
```ts
|
|
2025
|
-
import { Effect, Schedule } from "effect"
|
|
2026
|
-
|
|
2027
|
-
type SyncError = unknown
|
|
2028
|
-
type SyncSummary = unknown
|
|
2029
|
-
|
|
2030
|
-
declare const syncCrmOnce: Effect.Effect<SyncSummary, SyncError>
|
|
2031
|
-
|
|
2032
|
-
const crmSyncCadence = Schedule.spaced("5 minutes").pipe(
|
|
2033
|
-
Schedule.setInputType<SyncSummary>(),
|
|
2034
|
-
Schedule.passthrough
|
|
2035
|
-
)
|
|
2036
|
-
|
|
2037
|
-
const program = syncCrmOnce.pipe(
|
|
2038
|
-
Effect.repeat(crmSyncCadence)
|
|
2039
|
-
)
|
|
2040
|
-
```
|
|
2041
|
-
|
|
2042
|
-
Caution: raw `Effect.repeat(schedule)` returns the schedule output; `Schedule.passthrough` preserves the latest successful value.
|
|
2043
|
-
|
|
2044
|
-
### Jitter Periodic Cache Refreshes
|
|
2045
|
-
|
|
2046
|
-
This service runs on many instances. Write the Effect code that refreshes the cache in the background after each successful refresh.
|
|
2047
|
-
|
|
2048
|
-
```ts
|
|
2049
|
-
import { Effect, Schedule } from "effect"
|
|
2050
|
-
|
|
2051
|
-
type CacheRefreshError = unknown
|
|
2052
|
-
|
|
2053
|
-
declare const refreshCache: Effect.Effect<void, CacheRefreshError>
|
|
2054
|
-
|
|
2055
|
-
const refreshCadence = Schedule.spaced("1 minute").pipe(
|
|
2056
|
-
Schedule.jittered
|
|
2057
|
-
)
|
|
2058
|
-
|
|
2059
|
-
const program = refreshCache.pipe(Effect.repeat(refreshCadence))
|
|
2060
|
-
```
|
|
2061
|
-
|
|
2062
|
-
Caution: jitter spreads delay across callers; it does not add a retry limit.
|
|
2063
|
-
|
|
2064
|
-
### Slow A Worker Loop
|
|
2065
|
-
|
|
2066
|
-
Write the Effect code for a background worker loop.
|
|
2067
|
-
|
|
2068
|
-
```ts
|
|
2069
|
-
import { Effect, Schedule } from "effect"
|
|
2070
|
-
|
|
2071
|
-
type WorkerError = unknown
|
|
2072
|
-
|
|
2073
|
-
type WorkerIteration =
|
|
2074
|
-
| { readonly _tag: "Processed"; readonly count: number }
|
|
2075
|
-
| { readonly _tag: "Idle" }
|
|
2076
|
-
|
|
2077
|
-
declare const workerIteration: Effect.Effect<WorkerIteration, WorkerError>
|
|
2078
|
-
|
|
2079
|
-
const workerCadence = Schedule.spaced("500 millis")
|
|
2080
|
-
|
|
2081
|
-
const program = workerIteration.pipe(
|
|
2082
|
-
Effect.repeat(workerCadence)
|
|
2083
|
-
)
|
|
2084
|
-
```
|
|
2085
|
-
|
|
2086
|
-
Caution: `Effect.repeat` observes successful values and stops on the first failure.
|
|
2087
|
-
|
|
2088
|
-
### Drain A Queue Slowly
|
|
2089
|
-
|
|
2090
|
-
Write the Effect code for a maintenance process that drains queued work.
|
|
2091
|
-
|
|
2092
|
-
```ts
|
|
2093
|
-
import { Effect, Schedule } from "effect"
|
|
2094
|
-
|
|
2095
|
-
type DrainSummary = unknown
|
|
2096
|
-
type QueueDrainError = unknown
|
|
2097
|
-
|
|
2098
|
-
declare const drainQueueOnce: Effect.Effect<DrainSummary, QueueDrainError>
|
|
2099
|
-
|
|
2100
|
-
const drainCadence = Schedule.spaced("1 second")
|
|
2101
|
-
const program = drainQueueOnce.pipe(Effect.repeat(drainCadence))
|
|
2102
|
-
```
|
|
2103
|
-
|
|
2104
|
-
Caution: `Effect.repeat` observes successful values and stops on the first failure.
|
|
2105
|
-
|
|
2106
|
-
### Observe Repeat Counts
|
|
2107
|
-
|
|
2108
|
-
Write the Effect code for a metrics flush loop that stops after a small number of follow-up flushes.
|
|
2109
|
-
|
|
2110
|
-
```ts
|
|
2111
|
-
import { Effect, Schedule } from "effect"
|
|
2112
|
-
|
|
2113
|
-
type MetricsFlushError = unknown
|
|
2114
|
-
|
|
2115
|
-
declare const flushMetricsBatch: Effect.Effect<void, MetricsFlushError>
|
|
2116
|
-
|
|
2117
|
-
declare const Metrics: {
|
|
2118
|
-
readonly recordFlushAttempt: (attempt: number) => Effect.Effect<void>
|
|
2119
|
-
}
|
|
2120
|
-
|
|
2121
|
-
const policy = Schedule.spaced("10 seconds").pipe(
|
|
2122
|
-
Schedule.bothRight(Schedule.recurs(6)),
|
|
2123
|
-
Schedule.tapOutput((count) => Metrics.recordFlushAttempt(count))
|
|
2124
|
-
)
|
|
2125
|
-
|
|
2126
|
-
const program = flushMetricsBatch.pipe(Effect.repeat(policy))
|
|
2127
|
-
```
|
|
2128
|
-
|
|
2129
|
-
Caution: `recurs(n)` counts follow-up recurrences after the first execution.
|
|
2130
|
-
|
|
2131
|
-
### Warm Up Polling, Then Steady Polling
|
|
2132
|
-
|
|
2133
|
-
Write the Effect code used right after enabling a new indexer.
|
|
2134
|
-
|
|
2135
|
-
```ts
|
|
2136
|
-
import { Effect, Schedule } from "effect"
|
|
2137
|
-
|
|
2138
|
-
type IndexerLag = unknown
|
|
2139
|
-
type IndexerLagError = unknown
|
|
2140
|
-
|
|
2141
|
-
declare const readIndexerLag: Effect.Effect<IndexerLag, IndexerLagError>
|
|
2142
|
-
|
|
2143
|
-
const warmup = Schedule.spaced("250 millis").pipe(
|
|
2144
|
-
Schedule.bothLeft(Schedule.recurs(8))
|
|
2145
|
-
)
|
|
2146
|
-
const steady = Schedule.spaced("5 seconds")
|
|
2147
|
-
const policy = warmup.pipe(
|
|
2148
|
-
Schedule.andThen(steady),
|
|
2149
|
-
Schedule.setInputType<IndexerLag>(),
|
|
2150
|
-
Schedule.passthrough
|
|
2151
|
-
)
|
|
2152
|
-
|
|
2153
|
-
const program = readIndexerLag.pipe(Effect.repeat(policy))
|
|
2154
|
-
```
|
|
2155
|
-
|
|
2156
|
-
Caution: raw `Effect.repeat(schedule)` returns the schedule output; `Schedule.passthrough` preserves the latest successful value.
|
|
2157
|
-
|
|
2158
|
-
### Burst Heartbeats, Then Fixed Heartbeats
|
|
2159
|
-
|
|
2160
|
-
Write the Effect code used when a process first joins a cluster.
|
|
2161
|
-
|
|
2162
|
-
```ts
|
|
2163
|
-
import { Effect, Schedule } from "effect"
|
|
2164
|
-
|
|
2165
|
-
type HeartbeatError = unknown
|
|
2166
|
-
|
|
2167
|
-
declare const sendHeartbeat: Effect.Effect<void, HeartbeatError>
|
|
2168
|
-
|
|
2169
|
-
const burst = Schedule.spaced("100 millis").pipe(
|
|
2170
|
-
Schedule.bothLeft(Schedule.recurs(3))
|
|
2171
|
-
)
|
|
2172
|
-
const steady = Schedule.fixed("30 seconds")
|
|
2173
|
-
const policy = burst.pipe(Schedule.andThen(steady))
|
|
2174
|
-
|
|
2175
|
-
const program = sendHeartbeat.pipe(Effect.repeat(policy))
|
|
2176
|
-
```
|
|
2177
|
-
|
|
2178
|
-
Caution: `recurs(n)` counts follow-up recurrences after the first execution.
|
|
2179
|
-
|
|
2180
|
-
### Repeat A Fixed Heartbeat
|
|
2181
|
-
|
|
2182
|
-
Write the Effect code for a long-running process heartbeat.
|
|
2183
|
-
|
|
2184
|
-
```ts
|
|
2185
|
-
import { Effect, Schedule } from "effect"
|
|
2186
|
-
|
|
2187
|
-
type HeartbeatError = unknown
|
|
2188
|
-
|
|
2189
|
-
declare const sendHeartbeat: Effect.Effect<void, HeartbeatError>
|
|
2190
|
-
|
|
2191
|
-
const heartbeatCadence = Schedule.fixed("30 seconds")
|
|
2192
|
-
const program = sendHeartbeat.pipe(Effect.repeat(heartbeatCadence))
|
|
2193
|
-
```
|
|
2194
|
-
|
|
2195
|
-
Caution: `Effect.repeat` observes successful values and stops on the first failure.
|
|
2196
|
-
|
|
2197
|
-
### Repeat On Metric Flush Windows
|
|
2198
|
-
|
|
2199
|
-
Write the Effect code for flushing metrics on wall-clock minute windows.
|
|
2200
|
-
|
|
2201
|
-
```ts
|
|
2202
|
-
import { Effect, Schedule } from "effect"
|
|
2203
|
-
|
|
2204
|
-
type MetricsFlushError = unknown
|
|
2205
|
-
|
|
2206
|
-
declare const flushMetrics: Effect.Effect<void, MetricsFlushError>
|
|
2207
|
-
|
|
2208
|
-
const flushWindow = Schedule.windowed("1 minute")
|
|
2209
|
-
const program = flushMetrics.pipe(Effect.repeat(flushWindow))
|
|
2210
|
-
```
|
|
2211
|
-
|
|
2212
|
-
Caution: `Effect.repeat` observes successful values and stops on the first failure.
|
|
2213
|
-
|
|
2214
|
-
### Repeat A Nightly Cron Job
|
|
2215
|
-
|
|
2216
|
-
Write the Effect code for a database maintenance job.
|
|
2217
|
-
|
|
2218
|
-
```ts
|
|
2219
|
-
import { Effect, Schedule } from "effect"
|
|
2220
|
-
|
|
2221
|
-
type CompactionError = unknown
|
|
2222
|
-
|
|
2223
|
-
declare const compactDatabase: Effect.Effect<void, CompactionError>
|
|
2224
|
-
|
|
2225
|
-
const nightly = Schedule.cron("0 2 * * *")
|
|
2226
|
-
const program = compactDatabase.pipe(Effect.repeat(nightly))
|
|
2227
|
-
```
|
|
2228
|
-
|
|
2229
|
-
Caution: `Effect.repeat` observes successful values and stops on the first failure.
|
|
2230
|
-
|
|
2231
|
-
### Run One Follow-Up Cache Warm
|
|
2232
|
-
|
|
2233
|
-
Write the Effect code for a deploy hook that warms the cache once, then performs one follow-up warm after 10 seconds.
|
|
2234
|
-
|
|
2235
|
-
```ts
|
|
2236
|
-
import { Effect, Schedule } from "effect"
|
|
2237
|
-
|
|
2238
|
-
type CacheWarmError = unknown
|
|
2239
|
-
|
|
2240
|
-
declare const warmCache: Effect.Effect<void, CacheWarmError>
|
|
2241
|
-
|
|
2242
|
-
const oneMoreRun = Schedule.duration("10 seconds")
|
|
2243
|
-
const program = warmCache.pipe(Effect.repeat(oneMoreRun))
|
|
2244
|
-
```
|
|
2245
|
-
|
|
2246
|
-
Caution: `Effect.repeat` observes successful values and stops on the first failure.
|
|
2247
|
-
|
|
2248
|
-
### Repeat Until Terminal With Options
|
|
2249
|
-
|
|
2250
|
-
Write the Effect code used after starting a file transfer.
|
|
2251
|
-
|
|
2252
|
-
```ts
|
|
2253
|
-
import { Effect, Schedule } from "effect"
|
|
2254
|
-
|
|
2255
|
-
type TransferStatusError = unknown
|
|
2256
|
-
|
|
2257
|
-
type TransferStatus =
|
|
2258
|
-
| { readonly _tag: "Pending" }
|
|
2259
|
-
| { readonly _tag: "InProgress" }
|
|
2260
|
-
| { readonly _tag: "Completed" }
|
|
2261
|
-
| { readonly _tag: "Failed" }
|
|
2262
|
-
|
|
2263
|
-
declare const readTransferStatus: Effect.Effect<TransferStatus, TransferStatusError>
|
|
2264
|
-
|
|
2265
|
-
const program = readTransferStatus.pipe(
|
|
2266
|
-
Effect.repeat({
|
|
2267
|
-
schedule: Schedule.spaced("1 second"),
|
|
2268
|
-
until: (status) => status._tag === "Completed" || status._tag === "Failed"
|
|
2269
|
-
})
|
|
2270
|
-
)
|
|
2271
|
-
```
|
|
2272
|
-
|
|
2273
|
-
Caution: `Effect.repeat` observes successful values and stops on the first failure.
|
|
2274
|
-
|
|
2275
|
-
## Observability
|
|
2276
|
-
|
|
2277
|
-
### Log Each Retry Attempt
|
|
2278
|
-
|
|
2279
|
-
Write the Effect code for fetching inventory from a provider.
|
|
2280
|
-
|
|
2281
|
-
```ts
|
|
2282
|
-
import { Console, Effect, Schedule } from "effect"
|
|
2283
|
-
|
|
2284
|
-
type InventorySnapshot = unknown
|
|
2285
|
-
|
|
2286
|
-
type InventoryError =
|
|
2287
|
-
| { readonly _tag: "TransientInventoryError" }
|
|
2288
|
-
| { readonly _tag: "InvalidSku" }
|
|
2289
|
-
|
|
2290
|
-
declare const fetchInventory: Effect.Effect<InventorySnapshot, InventoryError>
|
|
2291
|
-
|
|
2292
|
-
const retryInventoryPolicy = Schedule.exponential("100 millis").pipe(
|
|
2293
|
-
Schedule.both(Schedule.recurs(5)),
|
|
2294
|
-
Schedule.tapInput((error: InventoryError) => Console.log(`retry input: ${error._tag}`)),
|
|
2295
|
-
Schedule.tapOutput((output) => Console.log(`retry scheduled: ${String(output)}`))
|
|
2296
|
-
)
|
|
2297
|
-
|
|
2298
|
-
const program = fetchInventory.pipe(
|
|
2299
|
-
Effect.retry({
|
|
2300
|
-
schedule: retryInventoryPolicy,
|
|
2301
|
-
while: (error) => error._tag === "TransientInventoryError"
|
|
2302
|
-
})
|
|
2303
|
-
)
|
|
2304
|
-
```
|
|
2305
|
-
|
|
2306
|
-
Caution: classify permanent failures before applying retry; backoff does not make invalid input transient.
|
|
2307
|
-
|
|
2308
|
-
### Log Retry Counts With `bothRight`
|
|
2309
|
-
|
|
2310
|
-
Write the Effect code for uploading one chunk.
|
|
2311
|
-
|
|
2312
|
-
```ts
|
|
2313
|
-
import { Console, Effect, Schedule } from "effect"
|
|
2314
|
-
|
|
2315
|
-
type UploadError =
|
|
2316
|
-
| { readonly _tag: "TransientUploadError" }
|
|
2317
|
-
| { readonly _tag: "InvalidUpload" }
|
|
2318
|
-
|
|
2319
|
-
declare const uploadChunk: Effect.Effect<void, UploadError>
|
|
2320
|
-
|
|
2321
|
-
const policy = Schedule.exponential("100 millis").pipe(
|
|
2322
|
-
Schedule.bothRight(Schedule.recurs(4)),
|
|
2323
|
-
Schedule.tapOutput((count) => Console.log(`retry attempt ${count}`))
|
|
2324
|
-
)
|
|
2325
|
-
|
|
2326
|
-
const program = uploadChunk.pipe(
|
|
2327
|
-
Effect.retry({
|
|
2328
|
-
schedule: policy,
|
|
2329
|
-
while: (error) => error._tag === "TransientUploadError"
|
|
2330
|
-
})
|
|
2331
|
-
)
|
|
2332
|
-
```
|
|
2333
|
-
|
|
2334
|
-
Caution: classify permanent failures before applying retry; backoff does not make invalid input transient.
|
|
2335
|
-
|
|
2336
|
-
### Observe Retry Input Errors
|
|
2337
|
-
|
|
2338
|
-
Write the Effect code for an inventory lookup that records retry diagnostics.
|
|
2339
|
-
|
|
2340
|
-
```ts
|
|
2341
|
-
import { Console, Effect, Schedule } from "effect"
|
|
2342
|
-
|
|
2343
|
-
type InventorySnapshot = unknown
|
|
2344
|
-
|
|
2345
|
-
type InventoryError =
|
|
2346
|
-
| { readonly _tag: "TransientInventoryError" }
|
|
2347
|
-
| { readonly _tag: "InvalidSku" }
|
|
2348
|
-
|
|
2349
|
-
declare const callInventory: Effect.Effect<InventorySnapshot, InventoryError>
|
|
2350
|
-
|
|
2351
|
-
const policy = Schedule.exponential("100 millis").pipe(
|
|
2352
|
-
Schedule.tapInput((error: InventoryError) => Console.log(`retrying after ${error._tag}`)),
|
|
2353
|
-
Schedule.both(Schedule.recurs(4))
|
|
2354
|
-
)
|
|
2355
|
-
|
|
2356
|
-
const program = callInventory.pipe(
|
|
2357
|
-
Effect.retry({
|
|
2358
|
-
schedule: policy,
|
|
2359
|
-
while: (error) => error._tag === "TransientInventoryError"
|
|
2360
|
-
})
|
|
2361
|
-
)
|
|
2362
|
-
```
|
|
2363
|
-
|
|
2364
|
-
Caution: classify permanent failures before applying retry; backoff does not make invalid input transient.
|
|
2365
|
-
|
|
2366
|
-
### Observe Retry Output Delays
|
|
2367
|
-
|
|
2368
|
-
Write the Effect code for webhook delivery.
|
|
2369
|
-
|
|
2370
|
-
```ts
|
|
2371
|
-
import { Duration, Effect, Schedule } from "effect"
|
|
2372
|
-
|
|
2373
|
-
type WebhookError = unknown
|
|
2374
|
-
|
|
2375
|
-
declare const sendWebhook: Effect.Effect<void, WebhookError>
|
|
2376
|
-
|
|
2377
|
-
declare const Metrics: {
|
|
2378
|
-
readonly recordRetryDelay: (delay: Duration.Duration) => Effect.Effect<void>
|
|
2379
|
-
}
|
|
2380
|
-
|
|
2381
|
-
const policy = Schedule.exponential("100 millis").pipe(
|
|
2382
|
-
Schedule.tapOutput((delay) => Metrics.recordRetryDelay(delay)),
|
|
2383
|
-
Schedule.both(Schedule.recurs(5))
|
|
2384
|
-
)
|
|
2385
|
-
|
|
2386
|
-
const program = sendWebhook.pipe(Effect.retry(policy))
|
|
2387
|
-
```
|
|
2388
|
-
|
|
2389
|
-
Caution: `recurs(n)` counts follow-up recurrences after the first execution.
|
|
2390
|
-
|
|
2391
|
-
### Observe Poll Output Statuses
|
|
2392
|
-
|
|
2393
|
-
Write the Effect code for a deployment status watcher.
|
|
2394
|
-
|
|
2395
|
-
```ts
|
|
2396
|
-
import { Console, Effect, Schedule } from "effect"
|
|
2397
|
-
|
|
2398
|
-
type DeploymentStatusError = unknown
|
|
2399
|
-
|
|
2400
|
-
type DeploymentStatus =
|
|
2401
|
-
| { readonly _tag: "Queued" }
|
|
2402
|
-
| { readonly _tag: "Running" }
|
|
2403
|
-
| { readonly _tag: "Complete" }
|
|
2404
|
-
| { readonly _tag: "Failed" }
|
|
2405
|
-
|
|
2406
|
-
declare const readDeploymentStatus: Effect.Effect<DeploymentStatus, DeploymentStatusError>
|
|
2407
|
-
|
|
2408
|
-
const policy = Schedule.spaced("2 seconds").pipe(
|
|
2409
|
-
Schedule.setInputType<DeploymentStatus>(),
|
|
2410
|
-
Schedule.passthrough,
|
|
2411
|
-
Schedule.tapOutput((status) => Console.log(`deployment status: ${status._tag}`)),
|
|
2412
|
-
Schedule.while(({ input }) => input._tag === "Queued" || input._tag === "Running")
|
|
2413
|
-
)
|
|
2414
|
-
|
|
2415
|
-
const program = readDeploymentStatus.pipe(Effect.repeat(policy))
|
|
2416
|
-
```
|
|
2417
|
-
|
|
2418
|
-
Caution: raw `Effect.repeat(schedule)` returns the schedule output; `Schedule.passthrough` preserves the latest successful value.
|
|
2419
|
-
|
|
2420
|
-
## Runnable Scenario Checks
|
|
2421
|
-
|
|
2422
|
-
These examples keep the recipe shape, add small deterministic operations, and use `TestClock` where time must advance.
|
|
2423
|
-
|
|
2424
|
-
### Run A Timeout Retry
|
|
2425
|
-
|
|
2426
|
-
Use this to check that a retryable timeout is retried and the first success is returned.
|
|
2427
|
-
|
|
2428
|
-
```ts runnable deterministic
|
|
2429
|
-
import { Console, Effect, Fiber, Ref, Schedule } from "effect"
|
|
2430
|
-
import { TestClock } from "effect/testing"
|
|
2431
|
-
|
|
2432
|
-
type HttpTimeout = { readonly _tag: "HttpTimeout" }
|
|
2433
|
-
type HttpStatusError = { readonly _tag: "HttpStatusError"; readonly status: number }
|
|
2434
|
-
type DecodeError = { readonly _tag: "DecodeError" }
|
|
2435
|
-
type User = { readonly id: string }
|
|
2436
|
-
|
|
2437
|
-
const getUser = Effect.fnUntraced(function*(attempts: Ref.Ref<number>) {
|
|
2438
|
-
const attempt = yield* Ref.updateAndGet(attempts, (n) => n + 1)
|
|
2439
|
-
yield* Console.log(`getUser attempt ${attempt}`)
|
|
2440
|
-
|
|
2441
|
-
if (attempt < 3) {
|
|
2442
|
-
return yield* Effect.fail({ _tag: "HttpTimeout" } as HttpTimeout)
|
|
2443
|
-
}
|
|
2444
|
-
|
|
2445
|
-
return { id: "user-123" } satisfies User
|
|
2446
|
-
})
|
|
2447
|
-
|
|
2448
|
-
const isHttpTimeout = (
|
|
2449
|
-
error: HttpTimeout | HttpStatusError | DecodeError
|
|
2450
|
-
): error is HttpTimeout => error._tag === "HttpTimeout"
|
|
2451
|
-
|
|
2452
|
-
const retryGetUserTimeouts = Schedule.exponential("10 millis").pipe(
|
|
2453
|
-
Schedule.both(Schedule.recurs(3))
|
|
2454
|
-
)
|
|
2455
|
-
|
|
2456
|
-
const program = Effect.gen(function*() {
|
|
2457
|
-
const attempts = yield* Ref.make(0)
|
|
2458
|
-
const fiber = yield* getUser(attempts).pipe(
|
|
2459
|
-
Effect.retry({
|
|
2460
|
-
schedule: retryGetUserTimeouts,
|
|
2461
|
-
while: isHttpTimeout
|
|
2462
|
-
}),
|
|
2463
|
-
Effect.forkScoped
|
|
2464
|
-
)
|
|
2465
|
-
|
|
2466
|
-
yield* TestClock.adjust("30 millis")
|
|
2467
|
-
const user = yield* Fiber.join(fiber)
|
|
2468
|
-
yield* Console.log(`loaded ${user.id}`)
|
|
2469
|
-
})
|
|
2470
|
-
|
|
2471
|
-
Effect.runPromise(program.pipe(Effect.provide(TestClock.layer()), Effect.scoped))
|
|
2472
|
-
// Output:
|
|
2473
|
-
// getUser attempt 1
|
|
2474
|
-
// getUser attempt 2
|
|
2475
|
-
// getUser attempt 3
|
|
2476
|
-
// loaded user-123
|
|
2477
|
-
```
|
|
2478
|
-
|
|
2479
|
-
### Stop On Permanent Failure
|
|
2480
|
-
|
|
2481
|
-
Use this to check that permanent errors do not spend the retry budget.
|
|
2482
|
-
|
|
2483
|
-
```ts runnable deterministic
|
|
2484
|
-
import { Console, Effect, Schedule } from "effect"
|
|
2485
|
-
|
|
2486
|
-
type SubmitError =
|
|
2487
|
-
| { readonly _tag: "Timeout" }
|
|
2488
|
-
| { readonly _tag: "ServiceUnavailable" }
|
|
2489
|
-
| { readonly _tag: "ValidationError"; readonly field: string }
|
|
2490
|
-
|
|
2491
|
-
const submitForm: Effect.Effect<string, SubmitError> = Effect.gen(function*() {
|
|
2492
|
-
yield* Console.log("submit attempt")
|
|
2493
|
-
return yield* Effect.fail({ _tag: "ValidationError", field: "email" } as const)
|
|
2494
|
-
})
|
|
2495
|
-
|
|
2496
|
-
const isRetryableSubmitError = (error: SubmitError): boolean =>
|
|
2497
|
-
error._tag === "Timeout" || error._tag === "ServiceUnavailable"
|
|
2498
|
-
|
|
2499
|
-
const program = submitForm.pipe(
|
|
2500
|
-
Effect.retry({
|
|
2501
|
-
schedule: Schedule.recurs(3),
|
|
2502
|
-
while: isRetryableSubmitError
|
|
2503
|
-
}),
|
|
2504
|
-
Effect.exit,
|
|
2505
|
-
Effect.flatMap((exit) => Console.log(`failed immediately: ${exit._tag === "Failure"}`))
|
|
2506
|
-
)
|
|
2507
|
-
|
|
2508
|
-
Effect.runPromise(program)
|
|
2509
|
-
// Output:
|
|
2510
|
-
// submit attempt
|
|
2511
|
-
// failed immediately: true
|
|
2512
|
-
```
|
|
2513
|
-
|
|
2514
|
-
### Respect Retry-After
|
|
2515
|
-
|
|
2516
|
-
Use this to check that a rate-limit response can stretch the selected retry delay.
|
|
2517
|
-
|
|
2518
|
-
```ts runnable deterministic
|
|
2519
|
-
import { Console, Duration, Effect, Fiber, Ref, Schedule } from "effect"
|
|
2520
|
-
import { TestClock } from "effect/testing"
|
|
2521
|
-
|
|
2522
|
-
type HttpError =
|
|
2523
|
-
| { readonly _tag: "RateLimited"; readonly retryAfter: Duration.Duration | undefined }
|
|
2524
|
-
| { readonly _tag: "Unauthorized" | "Forbidden" | "BadRequest" | "Unavailable" }
|
|
2525
|
-
|
|
2526
|
-
const callApi = Effect.fnUntraced(function*(attempts: Ref.Ref<number>) {
|
|
2527
|
-
const attempt = yield* Ref.updateAndGet(attempts, (n) => n + 1)
|
|
2528
|
-
yield* Console.log(`api attempt ${attempt}`)
|
|
2529
|
-
|
|
2530
|
-
if (attempt === 1) {
|
|
2531
|
-
return yield* Effect.fail({
|
|
2532
|
-
_tag: "RateLimited",
|
|
2533
|
-
retryAfter: Duration.seconds(1)
|
|
2534
|
-
} as HttpError)
|
|
2535
|
-
}
|
|
2536
|
-
|
|
2537
|
-
return "ok"
|
|
2538
|
-
})
|
|
2539
|
-
|
|
2540
|
-
const rateLimitPolicy = Schedule.exponential("10 millis").pipe(
|
|
2541
|
-
Schedule.both(Schedule.identity<HttpError>()),
|
|
2542
|
-
Schedule.modifyDelay(([_, error], delay) =>
|
|
2543
|
-
Effect.succeed(
|
|
2544
|
-
error._tag === "RateLimited" && error.retryAfter !== undefined
|
|
2545
|
-
? Duration.max(delay, error.retryAfter)
|
|
2546
|
-
: delay
|
|
2547
|
-
)
|
|
2548
|
-
),
|
|
2549
|
-
Schedule.both(Schedule.recurs(2)),
|
|
2550
|
-
Schedule.while(({ input }) => input._tag === "RateLimited")
|
|
2551
|
-
)
|
|
2552
|
-
|
|
2553
|
-
const program = Effect.gen(function*() {
|
|
2554
|
-
const attempts = yield* Ref.make(0)
|
|
2555
|
-
const fiber = yield* callApi(attempts).pipe(
|
|
2556
|
-
Effect.retry(rateLimitPolicy),
|
|
2557
|
-
Effect.forkScoped
|
|
2558
|
-
)
|
|
2559
|
-
|
|
2560
|
-
yield* TestClock.adjust("999 millis")
|
|
2561
|
-
yield* Console.log(`before retry: ${yield* Ref.get(attempts)}`)
|
|
2562
|
-
yield* TestClock.adjust("1 millis")
|
|
2563
|
-
const result = yield* Fiber.join(fiber)
|
|
2564
|
-
yield* Console.log(`result: ${result}`)
|
|
2565
|
-
})
|
|
2566
|
-
|
|
2567
|
-
Effect.runPromise(program.pipe(Effect.provide(TestClock.layer()), Effect.scoped))
|
|
2568
|
-
// Output:
|
|
2569
|
-
// api attempt 1
|
|
2570
|
-
// before retry: 1
|
|
2571
|
-
// api attempt 2
|
|
2572
|
-
// result: ok
|
|
2573
|
-
```
|
|
2574
|
-
|
|
2575
|
-
### Reuse An Idempotency Key
|
|
2576
|
-
|
|
2577
|
-
Use this to check that a retried write keeps the same logical operation identity.
|
|
2578
|
-
|
|
2579
|
-
```ts runnable deterministic
|
|
2580
|
-
import { Console, Effect, Fiber, Ref, Schedule } from "effect"
|
|
2581
|
-
import { TestClock } from "effect/testing"
|
|
2582
|
-
|
|
2583
|
-
type Order = { readonly id: string }
|
|
2584
|
-
type PostOrderError = { readonly _tag: "Timeout" | "InvalidRequest" }
|
|
2585
|
-
|
|
2586
|
-
const idempotencyKey = "order-key-123"
|
|
2587
|
-
|
|
2588
|
-
const postOrder = Effect.fnUntraced(function*(attempts: Ref.Ref<number>) {
|
|
2589
|
-
const attempt = yield* Ref.updateAndGet(attempts, (n) => n + 1)
|
|
2590
|
-
yield* Console.log(`order attempt ${attempt} key=${idempotencyKey}`)
|
|
2591
|
-
|
|
2592
|
-
if (attempt < 2) {
|
|
2593
|
-
return yield* Effect.fail({ _tag: "Timeout" } as PostOrderError)
|
|
2594
|
-
}
|
|
2595
|
-
|
|
2596
|
-
return { id: "order-1" } satisfies Order
|
|
2597
|
-
})
|
|
2598
|
-
|
|
2599
|
-
const program = Effect.gen(function*() {
|
|
2600
|
-
const attempts = yield* Ref.make(0)
|
|
2601
|
-
const fiber = yield* postOrder(attempts).pipe(
|
|
2602
|
-
Effect.retry({
|
|
2603
|
-
schedule: Schedule.spaced("10 millis").pipe(Schedule.both(Schedule.recurs(4))),
|
|
2604
|
-
while: (error) => error._tag === "Timeout"
|
|
2605
|
-
}),
|
|
2606
|
-
Effect.forkScoped
|
|
2607
|
-
)
|
|
2608
|
-
|
|
2609
|
-
yield* TestClock.adjust("10 millis")
|
|
2610
|
-
const order = yield* Fiber.join(fiber)
|
|
2611
|
-
yield* Console.log(`created ${order.id}`)
|
|
2612
|
-
})
|
|
2613
|
-
|
|
2614
|
-
Effect.runPromise(program.pipe(Effect.provide(TestClock.layer()), Effect.scoped))
|
|
2615
|
-
// Output:
|
|
2616
|
-
// order attempt 1 key=order-key-123
|
|
2617
|
-
// order attempt 2 key=order-key-123
|
|
2618
|
-
// created order-1
|
|
2619
|
-
```
|
|
2620
|
-
|
|
2621
|
-
### Cap Reconnect Backoff
|
|
2622
|
-
|
|
2623
|
-
Use this to check that a reconnect policy retries until the socket opens.
|
|
2624
|
-
|
|
2625
|
-
```ts runnable deterministic
|
|
2626
|
-
import { Console, Duration, Effect, Fiber, Ref, Schedule } from "effect"
|
|
2627
|
-
import { TestClock } from "effect/testing"
|
|
2628
|
-
|
|
2629
|
-
type LiveSocket = { readonly connected: true }
|
|
2630
|
-
type WebSocketOpenError = { readonly _tag: "ConnectTimeout" | "BadHandshake" }
|
|
2631
|
-
|
|
2632
|
-
const openLiveSocket = Effect.fnUntraced(function*(attempts: Ref.Ref<number>) {
|
|
2633
|
-
const attempt = yield* Ref.updateAndGet(attempts, (n) => n + 1)
|
|
2634
|
-
yield* Console.log(`socket attempt ${attempt}`)
|
|
2635
|
-
|
|
2636
|
-
if (attempt < 3) {
|
|
2637
|
-
return yield* Effect.fail({ _tag: "ConnectTimeout" } as WebSocketOpenError)
|
|
2638
|
-
}
|
|
2639
|
-
|
|
2640
|
-
return { connected: true } satisfies LiveSocket
|
|
2641
|
-
})
|
|
2642
|
-
|
|
2643
|
-
const websocketReconnectPolicy = Schedule.exponential("10 millis").pipe(
|
|
2644
|
-
Schedule.modifyDelay((_, delay) => Effect.succeed(Duration.min(delay, Duration.seconds(5)))),
|
|
2645
|
-
Schedule.both(Schedule.recurs(8))
|
|
2646
|
-
)
|
|
2647
|
-
|
|
2648
|
-
const program = Effect.gen(function*() {
|
|
2649
|
-
const attempts = yield* Ref.make(0)
|
|
2650
|
-
const fiber = yield* openLiveSocket(attempts).pipe(
|
|
2651
|
-
Effect.retry({
|
|
2652
|
-
schedule: websocketReconnectPolicy,
|
|
2653
|
-
while: (error) => error._tag === "ConnectTimeout"
|
|
2654
|
-
}),
|
|
2655
|
-
Effect.forkScoped
|
|
2656
|
-
)
|
|
2657
|
-
|
|
2658
|
-
yield* TestClock.adjust("30 millis")
|
|
2659
|
-
const socket = yield* Fiber.join(fiber)
|
|
2660
|
-
yield* Console.log(`connected: ${socket.connected}`)
|
|
2661
|
-
})
|
|
2662
|
-
|
|
2663
|
-
Effect.runPromise(program.pipe(Effect.provide(TestClock.layer()), Effect.scoped))
|
|
2664
|
-
// Output:
|
|
2665
|
-
// socket attempt 1
|
|
2666
|
-
// socket attempt 2
|
|
2667
|
-
// socket attempt 3
|
|
2668
|
-
// connected: true
|
|
2669
|
-
```
|
|
2670
|
-
|
|
2671
|
-
### Ask A Circuit Breaker Before Retrying
|
|
2672
|
-
|
|
2673
|
-
Use this to check an effectful `while` predicate.
|
|
2674
|
-
|
|
2675
|
-
```ts runnable deterministic
|
|
2676
|
-
import { Console, Effect, Fiber, Ref, Schedule } from "effect"
|
|
2677
|
-
import { TestClock } from "effect/testing"
|
|
2678
|
-
|
|
2679
|
-
type BillingError =
|
|
2680
|
-
| { readonly _tag: "TransientBillingError" }
|
|
2681
|
-
| { readonly _tag: "RejectedPayment" }
|
|
2682
|
-
|
|
2683
|
-
const callBilling = Effect.fnUntraced(function*(attempts: Ref.Ref<number>) {
|
|
2684
|
-
const attempt = yield* Ref.updateAndGet(attempts, (n) => n + 1)
|
|
2685
|
-
yield* Console.log(`billing attempt ${attempt}`)
|
|
2686
|
-
|
|
2687
|
-
if (attempt < 2) {
|
|
2688
|
-
return yield* Effect.fail({ _tag: "TransientBillingError" } as BillingError)
|
|
2689
|
-
}
|
|
2690
|
-
|
|
2691
|
-
return "receipt"
|
|
2692
|
-
})
|
|
2693
|
-
|
|
2694
|
-
const circuitBreakerAllowsRetry = (error: BillingError): Effect.Effect<boolean> =>
|
|
2695
|
-
Console.log(`breaker saw ${error._tag}`).pipe(Effect.as(true))
|
|
2696
|
-
|
|
2697
|
-
const program = Effect.gen(function*() {
|
|
2698
|
-
const attempts = yield* Ref.make(0)
|
|
2699
|
-
const fiber = yield* callBilling(attempts).pipe(
|
|
2700
|
-
Effect.retry({
|
|
2701
|
-
schedule: Schedule.spaced("10 millis").pipe(Schedule.both(Schedule.recurs(5))),
|
|
2702
|
-
while: (error) =>
|
|
2703
|
-
error._tag === "TransientBillingError"
|
|
2704
|
-
? circuitBreakerAllowsRetry(error)
|
|
2705
|
-
: Effect.succeed(false)
|
|
2706
|
-
}),
|
|
2707
|
-
Effect.forkScoped
|
|
2708
|
-
)
|
|
2709
|
-
|
|
2710
|
-
yield* TestClock.adjust("10 millis")
|
|
2711
|
-
const receipt = yield* Fiber.join(fiber)
|
|
2712
|
-
yield* Console.log(`result: ${receipt}`)
|
|
2713
|
-
})
|
|
2714
|
-
|
|
2715
|
-
Effect.runPromise(program.pipe(Effect.provide(TestClock.layer()), Effect.scoped))
|
|
2716
|
-
// Output:
|
|
2717
|
-
// billing attempt 1
|
|
2718
|
-
// breaker saw TransientBillingError
|
|
2719
|
-
// billing attempt 2
|
|
2720
|
-
// result: receipt
|
|
2721
|
-
```
|
|
2722
|
-
|
|
2723
|
-
### Poll A Job Until Terminal
|
|
2724
|
-
|
|
2725
|
-
Use this to check that successful non-terminal states drive `Effect.repeat`.
|
|
2726
|
-
|
|
2727
|
-
```ts runnable deterministic
|
|
2728
|
-
import { Console, Effect, Fiber, Ref, Schedule } from "effect"
|
|
2729
|
-
import { TestClock } from "effect/testing"
|
|
2730
|
-
|
|
2731
|
-
type JobStatus =
|
|
2732
|
-
| { readonly state: "queued"; readonly jobId: string }
|
|
2733
|
-
| { readonly state: "running"; readonly jobId: string }
|
|
2734
|
-
| { readonly state: "succeeded"; readonly jobId: string; readonly artifactUrl: string }
|
|
2735
|
-
| { readonly state: "failed"; readonly jobId: string; readonly reason: string }
|
|
2736
|
-
|
|
2737
|
-
const readJobStatus = Effect.fnUntraced(function*(reads: Ref.Ref<number>) {
|
|
2738
|
-
const read = yield* Ref.updateAndGet(reads, (n) => n + 1)
|
|
2739
|
-
const status: JobStatus = read < 3
|
|
2740
|
-
? { state: "running", jobId: "job-1" }
|
|
2741
|
-
: { state: "succeeded", jobId: "job-1", artifactUrl: "/artifact" }
|
|
2742
|
-
yield* Console.log(`job ${status.state}`)
|
|
2743
|
-
return status
|
|
2744
|
-
})
|
|
2745
|
-
|
|
2746
|
-
const isTerminal = (status: JobStatus): boolean => status.state === "succeeded" || status.state === "failed"
|
|
2747
|
-
|
|
2748
|
-
const pollJobStatus = Schedule.spaced("1 second").pipe(
|
|
2749
|
-
Schedule.setInputType<JobStatus>(),
|
|
2750
|
-
Schedule.passthrough,
|
|
2751
|
-
Schedule.while(({ input }) => !isTerminal(input)),
|
|
2752
|
-
Schedule.bothLeft(Schedule.during("30 seconds").pipe(Schedule.setInputType<JobStatus>()))
|
|
2753
|
-
)
|
|
2754
|
-
|
|
2755
|
-
const program = Effect.gen(function*() {
|
|
2756
|
-
const reads = yield* Ref.make(0)
|
|
2757
|
-
const fiber = yield* readJobStatus(reads).pipe(
|
|
2758
|
-
Effect.repeat(pollJobStatus),
|
|
2759
|
-
Effect.forkScoped
|
|
2760
|
-
)
|
|
2761
|
-
|
|
2762
|
-
yield* TestClock.adjust("2 seconds")
|
|
2763
|
-
const status = yield* Fiber.join(fiber)
|
|
2764
|
-
yield* Console.log(`final ${status.state}`)
|
|
2765
|
-
})
|
|
2766
|
-
|
|
2767
|
-
Effect.runPromise(program.pipe(Effect.provide(TestClock.layer()), Effect.scoped))
|
|
2768
|
-
// Output:
|
|
2769
|
-
// job running
|
|
2770
|
-
// job running
|
|
2771
|
-
// job succeeded
|
|
2772
|
-
// final succeeded
|
|
2773
|
-
```
|
|
2774
|
-
|
|
2775
|
-
### Poll Payment Settlement
|
|
2776
|
-
|
|
2777
|
-
Use this to check that pending payment states are successes, not retry failures.
|
|
2778
|
-
|
|
2779
|
-
```ts runnable deterministic
|
|
2780
|
-
import { Console, Effect, Fiber, Ref, Schedule } from "effect"
|
|
2781
|
-
import { TestClock } from "effect/testing"
|
|
2782
|
-
|
|
2783
|
-
type SettlementStatus =
|
|
2784
|
-
| { readonly _tag: "Pending" }
|
|
2785
|
-
| { readonly _tag: "Processing" }
|
|
2786
|
-
| { readonly _tag: "Settled" }
|
|
2787
|
-
| { readonly _tag: "Declined" }
|
|
2788
|
-
|
|
2789
|
-
const fetchSettlementStatus = Effect.fnUntraced(function*(reads: Ref.Ref<number>) {
|
|
2790
|
-
const read = yield* Ref.updateAndGet(reads, (n) => n + 1)
|
|
2791
|
-
const status: SettlementStatus = read === 1 ? { _tag: "Pending" } : { _tag: "Settled" }
|
|
2792
|
-
yield* Console.log(`settlement ${status._tag}`)
|
|
2793
|
-
return status
|
|
2794
|
-
})
|
|
2795
|
-
|
|
2796
|
-
const isOpen = (status: SettlementStatus) => status._tag === "Pending" || status._tag === "Processing"
|
|
2797
|
-
|
|
2798
|
-
const pollOpenSettlements = Schedule.spaced("1 second").pipe(
|
|
2799
|
-
Schedule.setInputType<SettlementStatus>(),
|
|
2800
|
-
Schedule.passthrough,
|
|
2801
|
-
Schedule.while(({ input }) => isOpen(input)),
|
|
2802
|
-
Schedule.bothLeft(Schedule.during("30 seconds"))
|
|
2803
|
-
)
|
|
2804
|
-
|
|
2805
|
-
const program = Effect.gen(function*() {
|
|
2806
|
-
const reads = yield* Ref.make(0)
|
|
2807
|
-
const fiber = yield* fetchSettlementStatus(reads).pipe(
|
|
2808
|
-
Effect.repeat(pollOpenSettlements),
|
|
2809
|
-
Effect.forkScoped
|
|
2810
|
-
)
|
|
2811
|
-
|
|
2812
|
-
yield* TestClock.adjust("1 second")
|
|
2813
|
-
const status = yield* Fiber.join(fiber)
|
|
2814
|
-
yield* Console.log(`final ${status._tag}`)
|
|
2815
|
-
})
|
|
2816
|
-
|
|
2817
|
-
Effect.runPromise(program.pipe(Effect.provide(TestClock.layer()), Effect.scoped))
|
|
2818
|
-
// Output:
|
|
2819
|
-
// settlement Pending
|
|
2820
|
-
// settlement Settled
|
|
2821
|
-
// final Settled
|
|
2822
|
-
```
|
|
2823
|
-
|
|
2824
|
-
### Poll Until A Cache Entry Appears
|
|
2825
|
-
|
|
2826
|
-
Use this to check a successful miss-then-hit polling loop.
|
|
2827
|
-
|
|
2828
|
-
```ts runnable deterministic
|
|
2829
|
-
import { Console, Effect, Fiber, Ref, Schedule } from "effect"
|
|
2830
|
-
import { TestClock } from "effect/testing"
|
|
2831
|
-
|
|
2832
|
-
type CachedValue = string
|
|
2833
|
-
type CacheLookup =
|
|
2834
|
-
| { readonly _tag: "Miss" }
|
|
2835
|
-
| { readonly _tag: "Hit"; readonly value: CachedValue }
|
|
2836
|
-
|
|
2837
|
-
const readCacheEntry = Effect.fnUntraced(function*(reads: Ref.Ref<number>) {
|
|
2838
|
-
const read = yield* Ref.updateAndGet(reads, (n) => n + 1)
|
|
2839
|
-
const lookup: CacheLookup = read < 3 ? { _tag: "Miss" } : { _tag: "Hit", value: "cached" }
|
|
2840
|
-
yield* Console.log(`cache ${lookup._tag}`)
|
|
2841
|
-
return lookup
|
|
2842
|
-
})
|
|
2843
|
-
|
|
2844
|
-
const untilCacheHit = Schedule.spaced("500 millis").pipe(
|
|
2845
|
-
Schedule.setInputType<CacheLookup>(),
|
|
2846
|
-
Schedule.passthrough,
|
|
2847
|
-
Schedule.while(({ input }) => input._tag === "Miss"),
|
|
2848
|
-
Schedule.bothLeft(Schedule.during("10 seconds"))
|
|
2849
|
-
)
|
|
2850
|
-
|
|
2851
|
-
const program = Effect.gen(function*() {
|
|
2852
|
-
const reads = yield* Ref.make(0)
|
|
2853
|
-
const fiber = yield* readCacheEntry(reads).pipe(
|
|
2854
|
-
Effect.repeat(untilCacheHit),
|
|
2855
|
-
Effect.forkScoped
|
|
2856
|
-
)
|
|
2857
|
-
|
|
2858
|
-
yield* TestClock.adjust("1 second")
|
|
2859
|
-
const lookup = yield* Fiber.join(fiber)
|
|
2860
|
-
yield* Console.log(`final ${lookup._tag}`)
|
|
2861
|
-
})
|
|
2862
|
-
|
|
2863
|
-
Effect.runPromise(program.pipe(Effect.provide(TestClock.layer()), Effect.scoped))
|
|
2864
|
-
// Output:
|
|
2865
|
-
// cache Miss
|
|
2866
|
-
// cache Miss
|
|
2867
|
-
// cache Hit
|
|
2868
|
-
// final Hit
|
|
2869
|
-
```
|
|
2870
|
-
|
|
2871
|
-
### Return A Timeout Result From Polling
|
|
2872
|
-
|
|
2873
|
-
Use this to check that an exhausted polling budget is interpreted after `repeat`.
|
|
2874
|
-
|
|
2875
|
-
```ts runnable deterministic
|
|
2876
|
-
import { Console, Effect, Fiber, Schedule } from "effect"
|
|
2877
|
-
import { TestClock } from "effect/testing"
|
|
2878
|
-
|
|
2879
|
-
type Status =
|
|
2880
|
-
| { readonly _tag: "Running" }
|
|
2881
|
-
| { readonly _tag: "Finished"; readonly value: string }
|
|
2882
|
-
|
|
2883
|
-
const readStatus: Effect.Effect<Status> = Console.log("status Running").pipe(
|
|
2884
|
-
Effect.as({ _tag: "Running" } as Status)
|
|
2885
|
-
)
|
|
2886
|
-
|
|
2887
|
-
const polling = Schedule.spaced("1 second").pipe(
|
|
2888
|
-
Schedule.setInputType<Status>(),
|
|
2889
|
-
Schedule.passthrough,
|
|
2890
|
-
Schedule.while(({ input }) => input._tag === "Running"),
|
|
2891
|
-
Schedule.bothLeft(Schedule.recurs(1))
|
|
2892
|
-
)
|
|
2893
|
-
|
|
2894
|
-
const program = Effect.gen(function*() {
|
|
2895
|
-
const fiber = yield* readStatus.pipe(
|
|
2896
|
-
Effect.repeat(polling),
|
|
2897
|
-
Effect.flatMap((status) =>
|
|
2898
|
-
status._tag === "Running"
|
|
2899
|
-
? Effect.fail({ _tag: "TimedOut", latest: status } as const)
|
|
2900
|
-
: Effect.succeed(status)
|
|
2901
|
-
),
|
|
2902
|
-
Effect.exit,
|
|
2903
|
-
Effect.forkScoped
|
|
2904
|
-
)
|
|
2905
|
-
|
|
2906
|
-
yield* TestClock.adjust("1 second")
|
|
2907
|
-
const exit = yield* Fiber.join(fiber)
|
|
2908
|
-
yield* Console.log(`timed out: ${exit._tag === "Failure"}`)
|
|
2909
|
-
})
|
|
2910
|
-
|
|
2911
|
-
Effect.runPromise(program.pipe(Effect.provide(TestClock.layer()), Effect.scoped))
|
|
2912
|
-
// Output:
|
|
2913
|
-
// status Running
|
|
2914
|
-
// status Running
|
|
2915
|
-
// timed out: true
|
|
2916
|
-
```
|
|
2917
|
-
|
|
2918
|
-
### Poll Fast, Then Slow
|
|
2919
|
-
|
|
2920
|
-
Use this to check phased polling with `andThen`.
|
|
2921
|
-
|
|
2922
|
-
```ts runnable deterministic
|
|
2923
|
-
import { Console, Effect, Fiber, Ref, Schedule } from "effect"
|
|
2924
|
-
import { TestClock } from "effect/testing"
|
|
2925
|
-
|
|
2926
|
-
type WorkflowStatus = { readonly step: number }
|
|
2927
|
-
|
|
2928
|
-
const readWorkflowStatus = Effect.fnUntraced(function*(reads: Ref.Ref<number>) {
|
|
2929
|
-
const step = yield* Ref.updateAndGet(reads, (n) => n + 1)
|
|
2930
|
-
yield* Console.log(`workflow ${step}`)
|
|
2931
|
-
return { step } satisfies WorkflowStatus
|
|
2932
|
-
})
|
|
2933
|
-
|
|
2934
|
-
const fastThenSlow = Schedule.spaced("250 millis").pipe(
|
|
2935
|
-
Schedule.bothLeft(Schedule.recurs(2))
|
|
2936
|
-
)
|
|
2937
|
-
const slowPolling = Schedule.spaced("2 seconds")
|
|
2938
|
-
const polling = fastThenSlow.pipe(
|
|
2939
|
-
Schedule.andThen(slowPolling),
|
|
2940
|
-
Schedule.setInputType<WorkflowStatus>(),
|
|
2941
|
-
Schedule.passthrough,
|
|
2942
|
-
Schedule.bothLeft(Schedule.recurs(3).pipe(Schedule.setInputType<WorkflowStatus>()))
|
|
2943
|
-
)
|
|
2944
|
-
|
|
2945
|
-
const program = Effect.gen(function*() {
|
|
2946
|
-
const reads = yield* Ref.make(0)
|
|
2947
|
-
const fiber = yield* readWorkflowStatus(reads).pipe(
|
|
2948
|
-
Effect.repeat(polling),
|
|
2949
|
-
Effect.forkScoped
|
|
2950
|
-
)
|
|
2951
|
-
|
|
2952
|
-
yield* TestClock.adjust("3 seconds")
|
|
2953
|
-
const status = yield* Fiber.join(fiber)
|
|
2954
|
-
yield* Console.log(`final step ${status.step}`)
|
|
2955
|
-
})
|
|
2956
|
-
|
|
2957
|
-
Effect.runPromise(program.pipe(Effect.provide(TestClock.layer()), Effect.scoped))
|
|
2958
|
-
// Output:
|
|
2959
|
-
// workflow 1
|
|
2960
|
-
// workflow 2
|
|
2961
|
-
// workflow 3
|
|
2962
|
-
// workflow 4
|
|
2963
|
-
// final step 4
|
|
2964
|
-
```
|
|
2965
|
-
|
|
2966
|
-
### Repeat A Background Sync
|
|
2967
|
-
|
|
2968
|
-
Use this to check that `passthrough` returns the latest successful sync summary.
|
|
2969
|
-
|
|
2970
|
-
```ts runnable deterministic
|
|
2971
|
-
import { Console, Effect, Fiber, Ref, Schedule } from "effect"
|
|
2972
|
-
import { TestClock } from "effect/testing"
|
|
2973
|
-
|
|
2974
|
-
type SyncSummary = { readonly pass: number }
|
|
2975
|
-
|
|
2976
|
-
const syncCrmOnce = Effect.fnUntraced(function*(passes: Ref.Ref<number>) {
|
|
2977
|
-
const pass = yield* Ref.updateAndGet(passes, (n) => n + 1)
|
|
2978
|
-
yield* Console.log(`sync ${pass}`)
|
|
2979
|
-
return { pass } satisfies SyncSummary
|
|
2980
|
-
})
|
|
2981
|
-
|
|
2982
|
-
const crmSyncCadence = Schedule.spaced("5 minutes").pipe(
|
|
2983
|
-
Schedule.setInputType<SyncSummary>(),
|
|
2984
|
-
Schedule.passthrough,
|
|
2985
|
-
Schedule.bothLeft(Schedule.recurs(2).pipe(Schedule.setInputType<SyncSummary>()))
|
|
2986
|
-
)
|
|
2987
|
-
|
|
2988
|
-
const program = Effect.gen(function*() {
|
|
2989
|
-
const passes = yield* Ref.make(0)
|
|
2990
|
-
const fiber = yield* syncCrmOnce(passes).pipe(
|
|
2991
|
-
Effect.repeat(crmSyncCadence),
|
|
2992
|
-
Effect.forkScoped
|
|
2993
|
-
)
|
|
2994
|
-
|
|
2995
|
-
yield* TestClock.adjust("10 minutes")
|
|
2996
|
-
const summary = yield* Fiber.join(fiber)
|
|
2997
|
-
yield* Console.log(`latest ${summary.pass}`)
|
|
2998
|
-
})
|
|
2999
|
-
|
|
3000
|
-
Effect.runPromise(program.pipe(Effect.provide(TestClock.layer()), Effect.scoped))
|
|
3001
|
-
// Output:
|
|
3002
|
-
// sync 1
|
|
3003
|
-
// sync 2
|
|
3004
|
-
// sync 3
|
|
3005
|
-
// latest 3
|
|
3006
|
-
```
|
|
3007
|
-
|
|
3008
|
-
### Repeat A Repair Pass A Few Times
|
|
3009
|
-
|
|
3010
|
-
Use this to check `Schedule.take` on a spaced repeat cadence.
|
|
3011
|
-
|
|
3012
|
-
```ts runnable deterministic
|
|
3013
|
-
import { Console, Effect, Fiber, Ref, Schedule } from "effect"
|
|
3014
|
-
import { TestClock } from "effect/testing"
|
|
3015
|
-
|
|
3016
|
-
const reprocessFailedBatch = Effect.fnUntraced(function*(passes: Ref.Ref<number>) {
|
|
3017
|
-
const pass = yield* Ref.updateAndGet(passes, (n) => n + 1)
|
|
3018
|
-
yield* Console.log(`repair pass ${pass}`)
|
|
3019
|
-
})
|
|
3020
|
-
|
|
3021
|
-
const reprocessingCadence = Schedule.spaced("30 seconds").pipe(
|
|
3022
|
-
Schedule.take(3)
|
|
3023
|
-
)
|
|
3024
|
-
|
|
3025
|
-
const program = Effect.gen(function*() {
|
|
3026
|
-
const passes = yield* Ref.make(0)
|
|
3027
|
-
const fiber = yield* reprocessFailedBatch(passes).pipe(
|
|
3028
|
-
Effect.repeat(reprocessingCadence),
|
|
3029
|
-
Effect.forkScoped
|
|
3030
|
-
)
|
|
3031
|
-
|
|
3032
|
-
yield* TestClock.adjust("90 seconds")
|
|
3033
|
-
yield* Fiber.join(fiber)
|
|
3034
|
-
yield* Console.log(`passes ${yield* Ref.get(passes)}`)
|
|
3035
|
-
})
|
|
3036
|
-
|
|
3037
|
-
Effect.runPromise(program.pipe(Effect.provide(TestClock.layer()), Effect.scoped))
|
|
3038
|
-
// Output:
|
|
3039
|
-
// repair pass 1
|
|
3040
|
-
// repair pass 2
|
|
3041
|
-
// repair pass 3
|
|
3042
|
-
// repair pass 4
|
|
3043
|
-
// passes 4
|
|
3044
|
-
```
|
|
3045
|
-
|
|
3046
|
-
### Slow A Worker Loop
|
|
3047
|
-
|
|
3048
|
-
Use this to check that successful worker iterations leave a gap.
|
|
3049
|
-
|
|
3050
|
-
```ts runnable deterministic
|
|
3051
|
-
import { Console, Effect, Fiber, Ref, Schedule } from "effect"
|
|
3052
|
-
import { TestClock } from "effect/testing"
|
|
3053
|
-
|
|
3054
|
-
type WorkerIteration =
|
|
3055
|
-
| { readonly _tag: "Processed"; readonly count: number }
|
|
3056
|
-
| { readonly _tag: "Idle" }
|
|
3057
|
-
|
|
3058
|
-
const workerIteration = Effect.fnUntraced(function*(iterations: Ref.Ref<number>) {
|
|
3059
|
-
const iteration = yield* Ref.updateAndGet(iterations, (n) => n + 1)
|
|
3060
|
-
const result: WorkerIteration = iteration === 1 ? { _tag: "Processed", count: 1 } : { _tag: "Idle" }
|
|
3061
|
-
yield* Console.log(`worker ${result._tag}`)
|
|
3062
|
-
return result
|
|
3063
|
-
})
|
|
3064
|
-
|
|
3065
|
-
const workerCadence = Schedule.spaced("500 millis").pipe(
|
|
3066
|
-
Schedule.take(2)
|
|
3067
|
-
)
|
|
3068
|
-
|
|
3069
|
-
const program = Effect.gen(function*() {
|
|
3070
|
-
const iterations = yield* Ref.make(0)
|
|
3071
|
-
const fiber = yield* workerIteration(iterations).pipe(
|
|
3072
|
-
Effect.repeat(workerCadence),
|
|
3073
|
-
Effect.forkScoped
|
|
3074
|
-
)
|
|
3075
|
-
|
|
3076
|
-
yield* TestClock.adjust("1 second")
|
|
3077
|
-
yield* Fiber.join(fiber)
|
|
3078
|
-
yield* Console.log(`iterations ${yield* Ref.get(iterations)}`)
|
|
3079
|
-
})
|
|
3080
|
-
|
|
3081
|
-
Effect.runPromise(program.pipe(Effect.provide(TestClock.layer()), Effect.scoped))
|
|
3082
|
-
// Output:
|
|
3083
|
-
// worker Processed
|
|
3084
|
-
// worker Idle
|
|
3085
|
-
// worker Idle
|
|
3086
|
-
// iterations 3
|
|
3087
|
-
```
|
|
3088
|
-
|
|
3089
|
-
### Run One Follow-Up
|
|
3090
|
-
|
|
3091
|
-
Use this to check `Schedule.duration` for exactly one additional run.
|
|
3092
|
-
|
|
3093
|
-
```ts runnable deterministic
|
|
3094
|
-
import { Console, Effect, Fiber, Ref, Schedule } from "effect"
|
|
3095
|
-
import { TestClock } from "effect/testing"
|
|
3096
|
-
|
|
3097
|
-
const warmCache = Effect.fnUntraced(function*(runs: Ref.Ref<number>) {
|
|
3098
|
-
const run = yield* Ref.updateAndGet(runs, (n) => n + 1)
|
|
3099
|
-
yield* Console.log(`warm ${run}`)
|
|
3100
|
-
})
|
|
3101
|
-
|
|
3102
|
-
const oneMoreRun = Schedule.duration("10 seconds")
|
|
3103
|
-
|
|
3104
|
-
const program = Effect.gen(function*() {
|
|
3105
|
-
const runs = yield* Ref.make(0)
|
|
3106
|
-
const fiber = yield* warmCache(runs).pipe(
|
|
3107
|
-
Effect.repeat(oneMoreRun),
|
|
3108
|
-
Effect.forkScoped
|
|
3109
|
-
)
|
|
3110
|
-
|
|
3111
|
-
yield* TestClock.adjust("10 seconds")
|
|
3112
|
-
yield* Fiber.join(fiber)
|
|
3113
|
-
yield* Console.log(`runs ${yield* Ref.get(runs)}`)
|
|
3114
|
-
})
|
|
3115
|
-
|
|
3116
|
-
Effect.runPromise(program.pipe(Effect.provide(TestClock.layer()), Effect.scoped))
|
|
3117
|
-
// Output:
|
|
3118
|
-
// warm 1
|
|
3119
|
-
// warm 2
|
|
3120
|
-
// runs 2
|
|
3121
|
-
```
|
|
3122
|
-
|
|
3123
|
-
### Repeat Until A Terminal Value With Options
|
|
3124
|
-
|
|
3125
|
-
Use this to check the options-form `until` predicate.
|
|
3126
|
-
|
|
3127
|
-
```ts runnable deterministic
|
|
3128
|
-
import { Console, Effect, Fiber, Ref, Schedule } from "effect"
|
|
3129
|
-
import { TestClock } from "effect/testing"
|
|
3130
|
-
|
|
3131
|
-
type TransferStatus =
|
|
3132
|
-
| { readonly _tag: "Pending" }
|
|
3133
|
-
| { readonly _tag: "InProgress" }
|
|
3134
|
-
| { readonly _tag: "Completed" }
|
|
3135
|
-
| { readonly _tag: "Failed" }
|
|
3136
|
-
|
|
3137
|
-
const readTransferStatus = Effect.fnUntraced(function*(reads: Ref.Ref<number>) {
|
|
3138
|
-
const read = yield* Ref.updateAndGet(reads, (n) => n + 1)
|
|
3139
|
-
const status: TransferStatus = read < 2
|
|
3140
|
-
? { _tag: "InProgress" }
|
|
3141
|
-
: read === 2
|
|
3142
|
-
? { _tag: "Completed" }
|
|
3143
|
-
: { _tag: "Failed" }
|
|
3144
|
-
yield* Console.log(`transfer ${status._tag}`)
|
|
3145
|
-
return status
|
|
3146
|
-
})
|
|
3147
|
-
|
|
3148
|
-
const program = Effect.gen(function*() {
|
|
3149
|
-
const reads = yield* Ref.make(0)
|
|
3150
|
-
const fiber = yield* readTransferStatus(reads).pipe(
|
|
3151
|
-
Effect.repeat({
|
|
3152
|
-
schedule: Schedule.spaced("1 second"),
|
|
3153
|
-
until: (status) => status._tag === "Completed" || status._tag === "Failed"
|
|
3154
|
-
}),
|
|
3155
|
-
Effect.forkScoped
|
|
3156
|
-
)
|
|
3157
|
-
|
|
3158
|
-
yield* TestClock.adjust("1 second")
|
|
3159
|
-
const status = yield* Fiber.join(fiber)
|
|
3160
|
-
yield* Console.log(`final ${status._tag}`)
|
|
3161
|
-
})
|
|
3162
|
-
|
|
3163
|
-
Effect.runPromise(program.pipe(Effect.provide(TestClock.layer()), Effect.scoped))
|
|
3164
|
-
// Output:
|
|
3165
|
-
// transfer InProgress
|
|
3166
|
-
// transfer Completed
|
|
3167
|
-
// final Completed
|
|
3168
|
-
```
|
|
3169
|
-
|
|
3170
|
-
### Repeat Until An Effectful Predicate Stops
|
|
3171
|
-
|
|
3172
|
-
Use this to check an effectful `until` predicate that records every successful result.
|
|
3173
|
-
|
|
3174
|
-
```ts runnable deterministic
|
|
3175
|
-
import { Console, Effect, Fiber, Ref, Schedule } from "effect"
|
|
3176
|
-
import { TestClock } from "effect/testing"
|
|
3177
|
-
|
|
3178
|
-
type ServiceProbeResult =
|
|
3179
|
-
| { readonly _tag: "Starting" }
|
|
3180
|
-
| { readonly _tag: "Ready" }
|
|
3181
|
-
| { readonly _tag: "Failed" }
|
|
3182
|
-
|
|
3183
|
-
const probeService = Effect.fnUntraced(function*(reads: Ref.Ref<number>) {
|
|
3184
|
-
const read = yield* Ref.updateAndGet(reads, (n) => n + 1)
|
|
3185
|
-
const result: ServiceProbeResult = read < 2
|
|
3186
|
-
? { _tag: "Starting" }
|
|
3187
|
-
: read === 2
|
|
3188
|
-
? { _tag: "Ready" }
|
|
3189
|
-
: { _tag: "Failed" }
|
|
3190
|
-
yield* Console.log(`probe ${result._tag}`)
|
|
3191
|
-
return result
|
|
3192
|
-
})
|
|
3193
|
-
|
|
3194
|
-
const recordReadinessProbe = (result: ServiceProbeResult): Effect.Effect<void> => Console.log(`recorded ${result._tag}`)
|
|
3195
|
-
|
|
3196
|
-
const program = Effect.gen(function*() {
|
|
3197
|
-
const reads = yield* Ref.make(0)
|
|
3198
|
-
const fiber = yield* probeService(reads).pipe(
|
|
3199
|
-
Effect.repeat({
|
|
3200
|
-
schedule: Schedule.spaced("1 second").pipe(
|
|
3201
|
-
Schedule.both(Schedule.recurs(30))
|
|
3202
|
-
),
|
|
3203
|
-
until: (result) =>
|
|
3204
|
-
recordReadinessProbe(result).pipe(
|
|
3205
|
-
Effect.map(() => result._tag === "Ready" || result._tag === "Failed")
|
|
3206
|
-
)
|
|
3207
|
-
}),
|
|
3208
|
-
Effect.forkScoped
|
|
3209
|
-
)
|
|
3210
|
-
|
|
3211
|
-
yield* TestClock.adjust("1 second")
|
|
3212
|
-
const result = yield* Fiber.join(fiber)
|
|
3213
|
-
yield* Console.log(`final ${result._tag}`)
|
|
3214
|
-
})
|
|
3215
|
-
|
|
3216
|
-
Effect.runPromise(program.pipe(Effect.provide(TestClock.layer()), Effect.scoped))
|
|
3217
|
-
// Output:
|
|
3218
|
-
// probe Starting
|
|
3219
|
-
// recorded Starting
|
|
3220
|
-
// probe Ready
|
|
3221
|
-
// recorded Ready
|
|
3222
|
-
// final Ready
|
|
3223
|
-
```
|
|
3224
|
-
|
|
3225
|
-
### Observe Retry Input And Output
|
|
3226
|
-
|
|
3227
|
-
Use this to check schedule diagnostics without changing retry behavior.
|
|
3228
|
-
|
|
3229
|
-
```ts runnable deterministic
|
|
3230
|
-
import { Console, Effect, Fiber, Ref, Schedule } from "effect"
|
|
3231
|
-
import { TestClock } from "effect/testing"
|
|
3232
|
-
|
|
3233
|
-
type InventoryError =
|
|
3234
|
-
| { readonly _tag: "TransientInventoryError" }
|
|
3235
|
-
| { readonly _tag: "InvalidSku" }
|
|
3236
|
-
|
|
3237
|
-
const fetchInventory = Effect.fnUntraced(function*(attempts: Ref.Ref<number>) {
|
|
3238
|
-
const attempt = yield* Ref.updateAndGet(attempts, (n) => n + 1)
|
|
3239
|
-
yield* Console.log(`inventory attempt ${attempt}`)
|
|
3240
|
-
|
|
3241
|
-
if (attempt < 2) {
|
|
3242
|
-
return yield* Effect.fail({ _tag: "TransientInventoryError" } as InventoryError)
|
|
3243
|
-
}
|
|
3244
|
-
|
|
3245
|
-
return ["sku-1"]
|
|
3246
|
-
})
|
|
3247
|
-
|
|
3248
|
-
const retryInventoryPolicy = Schedule.exponential("10 millis").pipe(
|
|
3249
|
-
Schedule.both(Schedule.recurs(5)),
|
|
3250
|
-
Schedule.tapInput((error: InventoryError) => Console.log(`retry input: ${error._tag}`)),
|
|
3251
|
-
Schedule.tapOutput(([_, count]) => Console.log(`retry scheduled: ${count}`))
|
|
3252
|
-
)
|
|
3253
|
-
|
|
3254
|
-
const program = Effect.gen(function*() {
|
|
3255
|
-
const attempts = yield* Ref.make(0)
|
|
3256
|
-
const fiber = yield* fetchInventory(attempts).pipe(
|
|
3257
|
-
Effect.retry({
|
|
3258
|
-
schedule: retryInventoryPolicy,
|
|
3259
|
-
while: (error) => error._tag === "TransientInventoryError"
|
|
3260
|
-
}),
|
|
3261
|
-
Effect.forkScoped
|
|
3262
|
-
)
|
|
3263
|
-
|
|
3264
|
-
yield* TestClock.adjust("10 millis")
|
|
3265
|
-
const items = yield* Fiber.join(fiber)
|
|
3266
|
-
yield* Console.log(`items ${items.length}`)
|
|
3267
|
-
})
|
|
3268
|
-
|
|
3269
|
-
Effect.runPromise(program.pipe(Effect.provide(TestClock.layer()), Effect.scoped))
|
|
3270
|
-
// Output:
|
|
3271
|
-
// inventory attempt 1
|
|
3272
|
-
// retry input: TransientInventoryError
|
|
3273
|
-
// retry scheduled: 0
|
|
3274
|
-
// inventory attempt 2
|
|
3275
|
-
// items 1
|
|
3276
|
-
```
|
|
3277
|
-
|
|
3278
|
-
### Log Retry Counts With `bothRight`
|
|
3279
|
-
|
|
3280
|
-
Use this to check that `bothRight` keeps the recurrence count as output.
|
|
3281
|
-
|
|
3282
|
-
```ts runnable deterministic
|
|
3283
|
-
import { Console, Effect, Fiber, Ref, Schedule } from "effect"
|
|
3284
|
-
import { TestClock } from "effect/testing"
|
|
3285
|
-
|
|
3286
|
-
type UploadError =
|
|
3287
|
-
| { readonly _tag: "TransientUploadError" }
|
|
3288
|
-
| { readonly _tag: "InvalidUpload" }
|
|
3289
|
-
|
|
3290
|
-
const uploadChunk = Effect.fnUntraced(function*(attempts: Ref.Ref<number>) {
|
|
3291
|
-
const attempt = yield* Ref.updateAndGet(attempts, (n) => n + 1)
|
|
3292
|
-
yield* Console.log(`upload attempt ${attempt}`)
|
|
3293
|
-
|
|
3294
|
-
if (attempt < 3) {
|
|
3295
|
-
return yield* Effect.fail({ _tag: "TransientUploadError" } as UploadError)
|
|
3296
|
-
}
|
|
3297
|
-
})
|
|
3298
|
-
|
|
3299
|
-
const policy = Schedule.exponential("10 millis").pipe(
|
|
3300
|
-
Schedule.bothRight(Schedule.recurs(4)),
|
|
3301
|
-
Schedule.tapOutput((count) => Console.log(`retry count ${count}`))
|
|
3302
|
-
)
|
|
3303
|
-
|
|
3304
|
-
const program = Effect.gen(function*() {
|
|
3305
|
-
const attempts = yield* Ref.make(0)
|
|
3306
|
-
const fiber = yield* uploadChunk(attempts).pipe(
|
|
3307
|
-
Effect.retry({
|
|
3308
|
-
schedule: policy,
|
|
3309
|
-
while: (error) => error._tag === "TransientUploadError"
|
|
3310
|
-
}),
|
|
3311
|
-
Effect.forkScoped
|
|
3312
|
-
)
|
|
3313
|
-
|
|
3314
|
-
yield* TestClock.adjust("30 millis")
|
|
3315
|
-
yield* Fiber.join(fiber)
|
|
3316
|
-
yield* Console.log(`done after ${yield* Ref.get(attempts)}`)
|
|
3317
|
-
})
|
|
3318
|
-
|
|
3319
|
-
Effect.runPromise(program.pipe(Effect.provide(TestClock.layer()), Effect.scoped))
|
|
3320
|
-
// Output:
|
|
3321
|
-
// upload attempt 1
|
|
3322
|
-
// retry count 0
|
|
3323
|
-
// upload attempt 2
|
|
3324
|
-
// retry count 1
|
|
3325
|
-
// upload attempt 3
|
|
3326
|
-
// done after 3
|
|
3327
|
-
```
|
|
3328
|
-
|
|
3329
|
-
## Timing Checks
|
|
3330
|
-
|
|
3331
|
-
Use `TestClock` when the timing behavior itself is the recipe contract. Fork the repeated or retried program,
|
|
3332
|
-
advance virtual time, then check the result.
|
|
3333
|
-
|
|
3334
|
-
The examples fork the program because the program is waiting for time to pass. While the fiber is suspended, `TestClock.adjust` moves virtual time forward. `Fiber.join` then waits for the forked program to finish after the expected retries or repeats have run.
|
|
3335
|
-
|
|
3336
|
-
### Assert Retry Delay
|
|
3337
|
-
|
|
3338
|
-
Use when a retry policy must not run before its configured delay.
|
|
3339
|
-
|
|
3340
|
-
```ts runnable deterministic
|
|
3341
|
-
import { Console, Effect, Fiber, Ref, Schedule } from "effect"
|
|
3342
|
-
import { TestClock } from "effect/testing"
|
|
3343
|
-
|
|
3344
|
-
const ensure = (condition: boolean, message: string) => condition ? Effect.void : Effect.fail(new Error(message))
|
|
3345
|
-
|
|
3346
|
-
const retryPolicy = Schedule.spaced("100 millis").pipe(
|
|
3347
|
-
Schedule.both(Schedule.recurs(2))
|
|
3348
|
-
)
|
|
3349
|
-
|
|
3350
|
-
const operation = Effect.fnUntraced(function*(attempts: Ref.Ref<number>) {
|
|
3351
|
-
const attempt = yield* Ref.updateAndGet(attempts, (n) => n + 1)
|
|
3352
|
-
yield* Console.log(`attempt ${attempt}`)
|
|
3353
|
-
|
|
3354
|
-
if (attempt < 3) {
|
|
3355
|
-
return yield* Effect.fail("transient" as const)
|
|
3356
|
-
}
|
|
3357
|
-
|
|
3358
|
-
return "ok" as const
|
|
3359
|
-
})
|
|
3360
|
-
|
|
3361
|
-
const program = Effect.gen(function*() {
|
|
3362
|
-
const attempts = yield* Ref.make(0)
|
|
3363
|
-
const fiber = yield* operation(attempts).pipe(
|
|
3364
|
-
Effect.retry(retryPolicy),
|
|
3365
|
-
Effect.forkScoped
|
|
3366
|
-
)
|
|
3367
|
-
|
|
3368
|
-
yield* Effect.yieldNow
|
|
3369
|
-
yield* TestClock.adjust("99 millis")
|
|
3370
|
-
yield* ensure((yield* Ref.get(attempts)) === 1, "retry ran too early")
|
|
3371
|
-
|
|
3372
|
-
yield* TestClock.adjust("1 millis")
|
|
3373
|
-
yield* ensure((yield* Ref.get(attempts)) === 2, "first retry did not run")
|
|
3374
|
-
|
|
3375
|
-
yield* TestClock.adjust("100 millis")
|
|
3376
|
-
const result = yield* Fiber.join(fiber)
|
|
3377
|
-
yield* ensure(result === "ok", "retry did not succeed")
|
|
3378
|
-
yield* Console.log(`result: ${result}`)
|
|
3379
|
-
})
|
|
3380
|
-
|
|
3381
|
-
Effect.runPromise(program.pipe(Effect.provide(TestClock.layer()), Effect.scoped))
|
|
3382
|
-
// Output:
|
|
3383
|
-
// attempt 1
|
|
3384
|
-
// attempt 2
|
|
3385
|
-
// attempt 3
|
|
3386
|
-
// result: ok
|
|
3387
|
-
```
|
|
3388
|
-
|
|
3389
|
-
### Assert Fixed Cadence
|
|
3390
|
-
|
|
3391
|
-
Use when the repeat policy should stay on aligned intervals instead of waiting after each run completes.
|
|
3392
|
-
|
|
3393
|
-
```ts runnable deterministic
|
|
3394
|
-
import { Console, Effect, Fiber, Ref, Schedule } from "effect"
|
|
3395
|
-
import { TestClock } from "effect/testing"
|
|
3396
|
-
|
|
3397
|
-
const ensure = (condition: boolean, message: string) => condition ? Effect.void : Effect.fail(new Error(message))
|
|
3398
|
-
|
|
3399
|
-
const heartbeatCadence = Schedule.fixed("1 second").pipe(
|
|
3400
|
-
Schedule.take(2)
|
|
3401
|
-
)
|
|
3402
|
-
|
|
3403
|
-
const heartbeat = Effect.fnUntraced(function*(ticks: Ref.Ref<number>) {
|
|
3404
|
-
const tick = yield* Ref.updateAndGet(ticks, (n) => n + 1)
|
|
3405
|
-
yield* Console.log(`heartbeat ${tick}`)
|
|
3406
|
-
})
|
|
3407
|
-
|
|
3408
|
-
const program = Effect.gen(function*() {
|
|
3409
|
-
const ticks = yield* Ref.make(0)
|
|
3410
|
-
const fiber = yield* heartbeat(ticks).pipe(
|
|
3411
|
-
Effect.repeat(heartbeatCadence),
|
|
3412
|
-
Effect.forkScoped
|
|
3413
|
-
)
|
|
3414
|
-
|
|
3415
|
-
yield* Effect.yieldNow
|
|
3416
|
-
yield* TestClock.adjust("1 second")
|
|
3417
|
-
yield* TestClock.adjust("1 second")
|
|
3418
|
-
yield* Fiber.join(fiber)
|
|
3419
|
-
yield* ensure((yield* Ref.get(ticks)) === 3, "expected one initial run and two fixed recurrences")
|
|
3420
|
-
})
|
|
3421
|
-
|
|
3422
|
-
Effect.runPromise(program.pipe(Effect.provide(TestClock.layer()), Effect.scoped))
|
|
3423
|
-
// Output:
|
|
3424
|
-
// heartbeat 1
|
|
3425
|
-
// heartbeat 2
|
|
3426
|
-
// heartbeat 3
|
|
3427
|
-
```
|
|
3428
|
-
|
|
3429
|
-
### Assert Windowed Cadence
|
|
3430
|
-
|
|
3431
|
-
Use when the repeat policy should recur on wall-clock windows.
|
|
3432
|
-
|
|
3433
|
-
```ts runnable deterministic
|
|
3434
|
-
import { Console, Effect, Fiber, Ref, Schedule } from "effect"
|
|
3435
|
-
import { TestClock } from "effect/testing"
|
|
3436
|
-
|
|
3437
|
-
const ensure = (condition: boolean, message: string) => condition ? Effect.void : Effect.fail(new Error(message))
|
|
3438
|
-
|
|
3439
|
-
const flushWindow = Schedule.windowed("1 minute").pipe(
|
|
3440
|
-
Schedule.take(2)
|
|
3441
|
-
)
|
|
3442
|
-
|
|
3443
|
-
const flushMetrics = Effect.fnUntraced(function*(flushes: Ref.Ref<number>) {
|
|
3444
|
-
const flush = yield* Ref.updateAndGet(flushes, (n) => n + 1)
|
|
3445
|
-
yield* Console.log(`flush ${flush}`)
|
|
3446
|
-
})
|
|
3447
|
-
|
|
3448
|
-
const program = Effect.gen(function*() {
|
|
3449
|
-
yield* TestClock.setTime(0)
|
|
3450
|
-
const flushes = yield* Ref.make(0)
|
|
3451
|
-
const fiber = yield* flushMetrics(flushes).pipe(
|
|
3452
|
-
Effect.repeat(flushWindow),
|
|
3453
|
-
Effect.forkScoped
|
|
3454
|
-
)
|
|
3455
|
-
|
|
3456
|
-
yield* Effect.yieldNow
|
|
3457
|
-
yield* TestClock.adjust("1 minute")
|
|
3458
|
-
yield* TestClock.adjust("1 minute")
|
|
3459
|
-
yield* Fiber.join(fiber)
|
|
3460
|
-
yield* ensure((yield* Ref.get(flushes)) === 3, "expected one initial flush and two windowed recurrences")
|
|
3461
|
-
})
|
|
3462
|
-
|
|
3463
|
-
Effect.runPromise(program.pipe(Effect.provide(TestClock.layer()), Effect.scoped))
|
|
3464
|
-
// Output:
|
|
3465
|
-
// flush 1
|
|
3466
|
-
// flush 2
|
|
3467
|
-
// flush 3
|
|
3468
|
-
```
|
|
3469
|
-
|
|
3470
|
-
### Assert Cron Cadence
|
|
3471
|
-
|
|
3472
|
-
Use when the repeat policy should recur at times selected by a cron expression.
|
|
3473
|
-
|
|
3474
|
-
```ts runnable deterministic
|
|
3475
|
-
import { Console, Effect, Fiber, Ref, Schedule } from "effect"
|
|
3476
|
-
import { TestClock } from "effect/testing"
|
|
3477
|
-
|
|
3478
|
-
const ensure = (condition: boolean, message: string) => condition ? Effect.void : Effect.fail(new Error(message))
|
|
3479
|
-
|
|
3480
|
-
const nightly = Schedule.cron("0 2 * * *").pipe(
|
|
3481
|
-
Schedule.take(1)
|
|
3482
|
-
)
|
|
3483
|
-
|
|
3484
|
-
const compactDatabase = Effect.fnUntraced(function*(runs: Ref.Ref<number>) {
|
|
3485
|
-
const run = yield* Ref.updateAndGet(runs, (n) => n + 1)
|
|
3486
|
-
yield* Console.log(`compaction ${run}`)
|
|
3487
|
-
})
|
|
3488
|
-
|
|
3489
|
-
const program = Effect.gen(function*() {
|
|
3490
|
-
yield* TestClock.setTime(new Date(2024, 0, 1, 1, 59, 59).getTime())
|
|
3491
|
-
const runs = yield* Ref.make(0)
|
|
3492
|
-
const fiber = yield* compactDatabase(runs).pipe(
|
|
3493
|
-
Effect.repeat(nightly),
|
|
3494
|
-
Effect.forkScoped
|
|
3495
|
-
)
|
|
3496
|
-
|
|
3497
|
-
yield* Effect.yieldNow
|
|
3498
|
-
yield* TestClock.adjust("1 second")
|
|
3499
|
-
yield* Fiber.join(fiber)
|
|
3500
|
-
yield* ensure((yield* Ref.get(runs)) === 2, "expected initial run and one cron recurrence")
|
|
3501
|
-
})
|
|
3502
|
-
|
|
3503
|
-
Effect.runPromise(program.pipe(Effect.provide(TestClock.layer()), Effect.scoped))
|
|
3504
|
-
// Output:
|
|
3505
|
-
// compaction 1
|
|
3506
|
-
// compaction 2
|
|
3507
735
|
```
|