mirror of
https://github.com/fmhy/edit.git
synced 2025-08-03 17:52:13 +10:00
fix: loosen-up Feedback schema (#3852)
This commit is contained in:
parent
d519d1e9ee
commit
379aba5f23
1 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue