Refactoring

This commit is contained in:
Julien Valverdé
2025-09-17 02:17:15 +02:00
parent d3dac19f63
commit f6fb73b8db
6 changed files with 23 additions and 25 deletions

View File

@@ -1,8 +0,0 @@
import { Layer } from "effect"
import * as WebRpcTestLive from "./WebRpcTestLive"
import type { WebRpc } from "@website/common/webrpc"
export const WebRpcLive = Layer.mergeAll(
WebRpcTestLive.WebRpcTestLive,
) satisfies ReturnType<typeof WebRpc.WebRpc.toLayer>

View File

@@ -1,2 +1,10 @@
export * as WebRpcLive from "./WebRpcLive"
import type { WebRpc } from "@website/common/webrpc"
import { Layer } from "effect"
import * as WebRpcTestLive from "./WebRpcTestLive"
export const WebRpcLive = Layer.mergeAll(
WebRpcTestLive.WebRpcTestLive,
) satisfies ReturnType<typeof WebRpc.toLayer>
export * as WebRpcTestLive from "./WebRpcTestLive"