refactor(auth): effectify AuthService (#17212)

This commit is contained in:
Kit Langton
2026-03-12 20:43:24 -04:00
committed by GitHub
parent 3016efba47
commit 0a281c7390
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))