fix: loosen-up Feedback schema (#3852)

This commit is contained in:
Jonas
2025-08-01 08:12:39 +02:00
committed by GitHub
parent d519d1e9ee
commit 379aba5f23

View File

@@ -19,9 +19,9 @@ import z from 'zod'
export const FeedbackSchema = z.object({
message: z.string().min(5).max(1000),
type: z.enum(['suggestion', 'appreciation', 'other']),
page: z.string().min(3).max(20),
page: z.string().min(3).max(25),
// For heading based feedback
heading: z.string().min(3).max(20).optional()
heading: z.string().min(3).max(99).optional()
})
export interface Option {