final feedback fixes

This commit is contained in:
taskylizard
2023-11-19 11:27:54 +00:00
parent ae179550bf
commit 566a259896
3 changed files with 13 additions and 23 deletions

View File

@@ -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),
});