feat: Phase 0 data model - add Comment, Priority, collapsed, wipLimit fields

This commit is contained in:
Your Name
2026-02-16 14:31:56 +02:00
parent c6fea186ef
commit 02ef3acbfe
5 changed files with 35 additions and 0 deletions

View File

@@ -16,10 +16,14 @@ export interface Column {
cardIds: string[];
width: ColumnWidth;
color: string | null;
collapsed: boolean;
wipLimit: number | null;
}
export type ColumnWidth = "narrow" | "standard" | "wide";
export type Priority = "none" | "low" | "medium" | "high" | "urgent";
export interface Card {
id: string;
title: string;
@@ -29,6 +33,8 @@ export interface Card {
dueDate: string | null;
attachments: Attachment[];
coverColor: string | null;
priority: Priority;
comments: Comment[];
createdAt: string;
updatedAt: string;
}
@@ -45,6 +51,12 @@ export interface ChecklistItem {
checked: boolean;
}
export interface Comment {
id: string;
text: string;
createdAt: string;
}
export interface Attachment {
id: string;
name: string;
@@ -63,5 +75,6 @@ export interface BoardMeta {
color: string;
cardCount: number;
columnCount: number;
createdAt: string;
updatedAt: string;
}