feat: Phase 0 data model - add Comment, Priority, collapsed, wipLimit fields
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user