feat: add column color, card coverColor, and board background to data model

This commit is contained in:
Your Name
2026-02-15 20:28:16 +02:00
parent f303d61677
commit 1556529307
5 changed files with 25 additions and 3 deletions

View File

@@ -15,6 +15,7 @@ export interface Column {
title: string;
cardIds: string[];
width: ColumnWidth;
color: string | null;
}
export type ColumnWidth = "narrow" | "standard" | "wide";
@@ -27,6 +28,7 @@ export interface Card {
checklist: ChecklistItem[];
dueDate: string | null;
attachments: Attachment[];
coverColor: string | null;
createdAt: string;
updatedAt: string;
}
@@ -52,6 +54,7 @@ export interface Attachment {
export interface BoardSettings {
attachmentMode: "link" | "copy";
background: "none" | "dots" | "grid" | "gradient";
}
export interface BoardMeta {