t3-code-android-nightly/.repos/alchemy-effect/packages/alchemy/test/Cloudflare/Secret/fixtures/stack.ts
Julius Marminge 108e01746c
Upgrade Effect and Alchemy betas (#4643)
Prepare Relay production infrastructure for the PlanetScale PS_20 HA topology, upgrade Effect and Alchemy to compatible betas, reconcile migration state, and preserve patched MCP session termination behavior.\n\nCo-authored-by: codex <codex@users.noreply.github.com>
2026-07-27 16:21:02 +02:00

18 lines
444 B
TypeScript

import * as Cloudflare from "@/Cloudflare";
import * as Alchemy from "@/index";
import * as Effect from "effect/Effect";
import SecretsTestWorker from "./worker.ts";
export default Alchemy.Stack(
"AlchemySecretWorkerStack",
{
providers: Cloudflare.providers(),
state: Cloudflare.state(),
},
Effect.gen(function* () {
const worker = yield* SecretsTestWorker;
return {
url: worker.url.as<string>(),
};
}),
);