import { z } from 'zod'; export const createCommentSchema = z.object({ body: z.string().min(1).max(5000), timestampSeconds: z.number().nonnegative().optional(), parentId: z.string().uuid().optional(), }); export const updateCommentSchema = z.object({ body: z.string().min(1).max(5000), }); export type CreateCommentInput = z.infer; export type UpdateCommentInput = z.infer;