Template
1
0

feat: update docs

This commit is contained in:
2025-04-18 21:27:08 +00:00
parent 74ab1644d6
commit 9ae0f377c7
4 changed files with 19 additions and 15 deletions

View File

@@ -1,11 +1,11 @@
import z from "zod";
import { http } from "../../adapters/http.ts";
import { adapter } from "../../adapters/http.ts";
import { Relay } from "../../libraries/relay.ts";
import { route } from "../../libraries/route.ts";
import { UserSchema } from "./user.ts";
export const relay = new Relay({ url: "http://localhost:36573", adapter: http }, [
export const relay = new Relay({ url: "http://localhost:36573", adapter }, [
route
.post("/users")
.body(UserSchema.omit({ id: true, createdAt: true }))