import { z } from 'zod'
import { wireVariable } from '@pikku/core/variable'

export const maxCardsPerColumnSchema = z.number().int().min(1).max(1000)

wireVariable({
  variableId: 'MAX_CARDS_PER_COLUMN',
  name: 'maxCardsPerColumn',
  displayName: 'Max Cards Per Column',
  description: 'Maximum number of cards allowed in a single column before new cards are rejected.',
  schema: maxCardsPerColumnSchema,
})
