| 1 | import * as Alchemy from "alchemy"; |
| 2 | import * as Neon from "alchemy/Neon"; |
| 3 | import * as Effect from "effect/Effect"; |
| 4 | import Api from "./src/Api.ts"; |
| 5 | import { features } from "./src/features.ts"; |
| 6 | import { website } from "./src/website.ts"; |
| 7 | |
| 8 | export default Alchemy.Stack( |
| 9 | "NeonUploadTutorial", |
| 10 | { |
| 11 | providers: Neon.providers(), |
| 12 | state: Alchemy.localState(), |
| 13 | }, |
| 14 | Effect.gen(function* () { |
| 15 | return { ...(yield* website(yield* Api)), ...(yield* features) }; |
| 16 | }), |
| 17 | ); |