import { z } from 'zod' import { t } from '@/lib/strings' /** Backend gibi Unicode karakter sayar (`services/period.rs` → `MAX_REFLECTION`) */ export const MAX_REFLECTION = 20_000 export const reflectionSchema = z.object({ text: z .string() .refine((v) => [...v.trim()].length <= MAX_REFLECTION, t.review.reflectionTooLong), }) export type ReflectionForm = z.infer