@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
ts 10 lines 352 Bytes
Raw
1 import { HttpApiEndpoint, HttpApiGroup, HttpApiSchema } from "effect/http-api"
2
3 // Top level groups are added to the root of the derived HttpApiClient.
4 //
5 // `client.health()`
6 export class SystemApi extends HttpApiGroup.make("system", { topLevel: true }).add(
7 HttpApiEndpoint.get("health", "/health", {
8 success: HttpApiSchema.NoContent
9 })
10 ) {}