mirror of
https://github.com/fmhy/edit.git
synced 2026-02-06 11:11:06 +11:00
final feedback fixes
This commit is contained in:
parent
ae179550bf
commit
566a259896
3 changed files with 13 additions and 23 deletions
|
|
@ -3,7 +3,7 @@ import z from "zod";
|
|||
export const FeedbackSchema = z.object({
|
||||
message: z.string().min(5).max(1000),
|
||||
type: z.enum(["bug", "suggestion", "appreciate", "other"]),
|
||||
contact: z.string().min(5).max(20).optional(),
|
||||
contact: z.string().optional(),
|
||||
page: z.string().min(3).max(10),
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue