import type { KanbanBoard } from '../kanbanBoards/types' import type { KanbanCard } from '../kanbanCards/types' export type KanbanColumnRole = 'initial' | 'regular' | 'final' export type KanbanColumn = { id: string name: string role: KanbanColumnRole position: string ticketWaitTimeMinutes: number | null isDraggable: boolean kanbanBoardId: string accountId: string createdAt: string updatedAt: string deletedAt: string | null // relationships kanbanBoard?: KanbanBoard cards?: KanbanCard[] } export type KanbanColumnRelationships = 'kanbanBoard' | 'cards' export type CreateKanbanColumnPayload = { name: string kanbanBoardId: string role?: KanbanColumnRole position?: string ticketWaitTimeMinutes?: number isDraggable?: boolean } export type UpdateKanbanColumnPayload = { name?: string role?: KanbanColumnRole position?: string ticketWaitTimeMinutes?: number | null isDraggable?: boolean }