| 1 | import { z } from "zod"; |
| 2 | |
| 3 | export const quickEditEventAllSchema = z.object({ |
| 4 | prompt: z.string(), |
| 5 | path: z.string().optional(), |
| 6 | label: z.string(), |
| 7 | diffs: z |
| 8 | .array( |
| 9 | z.object({ |
| 10 | type: z.enum(["new", "old", "same"]), |
| 11 | line: z.string(), |
| 12 | }), |
| 13 | ) |
| 14 | .optional(), |
| 15 | model: z.string().optional(), |
| 16 | }); |