Astro runtime adapter pro Effect
HotovoAstro endpointy potrebovaly entrypoint do Effect. Runtime.ts ma module-level ManagedRuntime (cached per Worker isolate) co builds Layer z DbLive + SessionLive + provideD1(env.DB) z cloudflare:workers. Export runAuth() a runAuthToResponse() (druha mapuje AuthError tagy na 400/401/409/500 Response).
#154 Run 01-01: Effect 4 setup + D1 schema + Db/Session services Vytvořeno 18. 5. 2026 Upraveno 18. 5. 2026
Komentáře (0)
Zatím žádné komentáře.