Template
1
0

feat: add additional processing tools

This commit is contained in:
2025-04-21 23:02:37 +00:00
parent 22325285be
commit 425439e493
8 changed files with 142 additions and 45 deletions

10
libraries/request.ts Normal file
View File

@@ -0,0 +1,10 @@
import z from "zod";
export const request = z.object({
relay: z.literal("1.0"),
method: z.string(),
params: z.unknown(),
id: z.string().or(z.number()),
});
export type RelayRequest = z.infer<typeof request>;