import { z } from "zod";

export const createBoardSchema = z.object({
  name: z.string().trim().min(1, "Board name is required"),
  description: z.string().optional(),
  projectId: z.string().min(1, "Project ID is required"),
});

export const updateBoardSchema = z.object({
  name: z.string().trim().min(1, "Board name is required").optional(),
  description: z.string().optional(),
  position: z.number().optional(),
});

export const deleteBoardSchema = z.object({
  boardId: z.string().min(1, "Board ID is required"),
});

export const getBoardsSchema = z.object({
  projectId: z.string().min(1, "Project ID is required"),
}); 