import type { Department } from '../departments/types' import type { KanbanColumn } from '../kanbanColumns/types' export type KanbanBoard = { id: string name: string timeoutAlertEnabled: boolean accountId: string createdAt: string updatedAt: string deletedAt: string | null // relationships departments?: Department[] columns?: KanbanColumn[] } export type KanbanBoardRelationships = 'departments' | 'columns' export type CreateKanbanBoardPayload = { name: string timeoutAlertEnabled?: boolean /** Department IDs to link to the board. Required by the backend on creation. */ departmentIds: string[] } export type UpdateKanbanBoardPayload = { name?: string timeoutAlertEnabled?: boolean }