db create fix
This commit is contained in:
parent
809fe18090
commit
b15cac7ed0
6 changed files with 1853 additions and 7262 deletions
8
src/app/create/schema.tsx
Normal file
8
src/app/create/schema.tsx
Normal 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" }),
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue