export interface KanbanStateProps { columns: KanbanColumn[]; columnsOrder: string[]; comments: KanbanComment[]; items: KanbanItem[]; profiles: KanbanProfile[]; selectedItem: string | false; userStory: KanbanUserStory[]; userStoryOrder: string[]; } export type KanbanColumn = { id: string; title: string; itemIds: string[]; }; export type KanbanComment = { id: string; comment: string; profileId: string; }; export type KanbanItem = { assign?: string; commentIds?: string[]; description: string; dueDate: Date; id: string; image: string | false; priority: 'low' | 'medium' | 'high'; title: string; }; export type KanbanProfile = { id: string; name: string; avatar: string; time: string; }; export type KanbanUserStory = { acceptance: string; assign?: string; columnId: string; commentIds?: string[]; description: string; dueDate: Date; id: string; itemIds: string[]; title: string; priority: string; }; export interface KanbanPayloadProps { payload: KanbanPayload; type: string; } export type KanbanPayload = { columnId: string; itemId: string; column: KanbanColumn; item: KanbanItem; columns: KanbanColumn[]; columnsOrder: string[]; comment: KanbanComment; selectedItem: string | false; userStoryOrder: string[]; storyId: string; story: KanbanUserStory; userStory: KanbanUserStory[]; };