Work
This commit is contained in:
@@ -2,8 +2,12 @@ import { Layer } from "effect"
|
||||
import { TodoRepository } from "./TodoRepository"
|
||||
|
||||
|
||||
type TServices =
|
||||
| TodoRepository
|
||||
|
||||
export interface Services extends TServices {}
|
||||
|
||||
|
||||
export const ServicesLive = Layer.mergeAll(
|
||||
TodoRepository.Live
|
||||
)
|
||||
|
||||
export interface Services extends Layer.Layer.Success<typeof ServicesLive> {}
|
||||
) satisfies Layer.Layer<Services, never, never>
|
||||
|
||||
Reference in New Issue
Block a user