mirror of
https://github.com/versia-pub/server.git
synced 2026-04-28 13:19:16 +02:00
refactor: ⬆️ Upgrade to Zod v4 and hono-openapi 0.5.0
This commit is contained in:
parent
add2429606
commit
24d4150da4
209 changed files with 1331 additions and 1622 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { z } from "zod";
|
||||
import { z } from "zod/v4";
|
||||
|
||||
export const f64 = z
|
||||
.number()
|
||||
|
|
@ -11,4 +11,4 @@ export const u64 = z
|
|||
.nonnegative()
|
||||
.max(2 ** 64 - 1);
|
||||
|
||||
export const url = z.string().url();
|
||||
export const url = z.url();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue