db create fix

This commit is contained in:
Elijah McMorris 2024-02-15 16:19:30 -08:00
parent 809fe18090
commit b15cac7ed0
Signed by: NexVeridian
SSH key fingerprint: SHA256:bsA1SKZxuEcEVHAy3gY1HUeM5ykRJl0U0kQHQn0hMg8
6 changed files with 1853 additions and 7262 deletions

View file

@ -0,0 +1,8 @@
import { z } from "zod";
export const formSchema = z.object({
url: z.string().min(4,
{ message: "The URL must be at least 4 characters long" }
).max(100
, { message: "The URL must be at most 100 characters long" }),
});