import type { KanbanColumn } from '../kanbanColumns/types' import type { Ticket } from '../tickets/types' export type KanbanCard = { id: string ticketSubject: string | null position: string columnId: string ticketId: string accountId: string lastModifiedById: string | null lastColumnChangeAt: string | null createdAt: string updatedAt: string deletedAt: string | null // relationships column?: KanbanColumn ticket?: Ticket } export type KanbanCardRelationships = 'column' | 'ticket' export type CreateKanbanCardPayload = { columnId: string ticketId: string position?: string } export type UpdateKanbanCardPayload = { columnId?: string position?: string ticketSubject?: string | null }