t3-code-android-nightly/.repos/alchemy-effect/packages/alchemy/test/Prisma/fixtures/StackContext.ts
Julius Marminge 6f9cea00ae
chore(refs): sync Effect and Alchemy references to 4.0.1 and beta.80 (#16170)
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-05 13:22:30 -07:00

18 lines
468 B
TypeScript

import { Stack } from "@/Stack";
import { Stage } from "@/Stage";
import * as Layer from "effect/Layer";
/**
* Placeholder `Stack` + `Stage` for suites that build a provider layer and
* drive its lifecycle operations directly instead of deploying a stack.
*/
export const testStackContext = Layer.mergeAll(
Layer.succeed(Stage, "test"),
Layer.succeed(Stack, {
name: "test",
stage: "test",
resources: {},
bindings: {},
actions: {},
}),
);