import { z } from 'zod'

export const updatePreferencesSchema = z.object({
  preferredLanguageId: z.string().optional(),
  characterDisplay: z.enum(['SIMPLIFIED', 'TRADITIONAL', 'BOTH']).optional(),
  transcriptionType: z.string().optional(),
  cardsPerSession: z.number().int().min(5).max(100).optional(),
  dailyGoal: z.number().int().min(10).max(500).optional(),
  removalThreshold: z.number().int().min(5).max(50).optional(),
  allowManualDifficulty: z.boolean().optional(),
})
