Initial version (#1)
All checks were successful
Build / build (push) Successful in 41s
Lint / lint (push) Successful in 13s

Co-authored-by: Julien Valverdé <julien.valverde@mailo.com>
Reviewed-on: #1
This commit was merged in pull request #1.
This commit is contained in:
2025-09-18 01:26:10 +02:00
parent ab2fff9a9f
commit c0cac90a66
47 changed files with 1633 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
import { WebRpcTest } from "@website/common/webrpc"
import { Effect, Layer } from "effect"
export const PingV1Live = WebRpcTest.WebRpcTest.toLayerHandler("Test.PingV1", Effect.succeed(() => Effect.succeed("pong" as const)))
export const WebRpcTestLive = Layer.mergeAll(
PingV1Live,
) satisfies ReturnType<typeof WebRpcTest.WebRpcTest.toLayer>

View File

@@ -0,0 +1,10 @@
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"