import { z } from 'zod'

export const ANSWER_MAX_CHARS = 4000

export const answerQuestionSchema = z.object({
  questionId: z.string().cuid(),
  answer: z.string().min(1, 'Antwoord mag niet leeg zijn').max(ANSWER_MAX_CHARS),
})

export type AnswerQuestionInput = z.infer<typeof answerQuestionSchema>
