refactor(auth): effectify AuthService (#17212)

This commit is contained in:
Kit Langton 2026-03-12 20:43:24 -04:00 committed by GitHub
commit 0a281c7390
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 116 additions and 30 deletions

View file

@ -1,4 +1,5 @@
import { ManagedRuntime } from "effect"
import { Layer, ManagedRuntime } from "effect"
import { AccountService } from "@/account/service"
import { AuthService } from "@/auth/service"
export const runtime = ManagedRuntime.make(AccountService.defaultLayer)
export const runtime = ManagedRuntime.make(Layer.mergeAll(AccountService.defaultLayer, AuthService.defaultLayer))