mirror of
https://github.com/fmhy/edit.git
synced 2026-01-18 01:41:52 +11:00
🎉 New website!
This commit is contained in:
parent
28f602b9ad
commit
c97a0abf92
68 changed files with 8433 additions and 353 deletions
10
.vitepress/types/Feedback.ts
Normal file
10
.vitepress/types/Feedback.ts
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
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(),
|
||||
page: z.string().min(3).max(10),
|
||||
});
|
||||
|
||||
export type FeedbackType = z.infer<typeof FeedbackSchema>;
|
||||
Loading…
Add table
Add a link
Reference in a new issue