mirror of
https://github.com/fmhy/edit.git
synced 2026-01-10 18:36:17 +00:00
fix: loosen-up Feedback schema (#3852)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user