feat: refactor account
This commit is contained in:
5
spec/modules/account/routes/create.ts
Normal file
5
spec/modules/account/routes/create.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import { route } from "@spec/relay";
|
||||
import { NameSchema } from "@spec/shared";
|
||||
import z from "zod";
|
||||
|
||||
export const create = route.post("/api/v1/accounts").body(z.object({ name: NameSchema }));
|
||||
Reference in New Issue
Block a user