@libxai/board 0.17.181 → 0.17.183
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +18 -18
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +26 -23
- package/dist/index.d.ts +26 -23
- package/dist/index.js +18 -18
- package/dist/index.js.map +1 -1
- package/dist/styles.css +5 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -495,6 +495,30 @@ interface Subtask {
|
|
|
495
495
|
* Card status types
|
|
496
496
|
*/
|
|
497
497
|
type CardStatus = 'TODO' | 'IN_PROGRESS' | 'REVIEW' | 'DONE' | 'BLOCKED';
|
|
498
|
+
/**
|
|
499
|
+
* File attachment on a card
|
|
500
|
+
* v0.17.182: Moved before Card interface to allow usage in Card.attachments
|
|
501
|
+
*/
|
|
502
|
+
interface Attachment {
|
|
503
|
+
/** Unique identifier */
|
|
504
|
+
id: string;
|
|
505
|
+
/** Card ID */
|
|
506
|
+
cardId: string;
|
|
507
|
+
/** File name */
|
|
508
|
+
name: string;
|
|
509
|
+
/** File size in bytes */
|
|
510
|
+
size: number;
|
|
511
|
+
/** MIME type */
|
|
512
|
+
type: string;
|
|
513
|
+
/** File URL or data URI */
|
|
514
|
+
url: string;
|
|
515
|
+
/** Upload timestamp */
|
|
516
|
+
uploadedAt: Date | string;
|
|
517
|
+
/** User who uploaded */
|
|
518
|
+
uploadedBy: string;
|
|
519
|
+
/** Thumbnail URL (for images) */
|
|
520
|
+
thumbnailUrl?: string;
|
|
521
|
+
}
|
|
498
522
|
/**
|
|
499
523
|
* Card entity
|
|
500
524
|
* Represents a single task/item in the Kanban board
|
|
@@ -538,6 +562,8 @@ interface Card$1 {
|
|
|
538
562
|
color?: string;
|
|
539
563
|
/** v0.17.158: Tags with colors (ClickUp-style) */
|
|
540
564
|
tags?: TaskTag[];
|
|
565
|
+
/** v0.17.182: Attachments for displaying thumbnails in card */
|
|
566
|
+
attachments?: Attachment[];
|
|
541
567
|
/** Custom metadata */
|
|
542
568
|
metadata?: Record<string, unknown>;
|
|
543
569
|
createdAt?: Date | string;
|
|
@@ -855,29 +881,6 @@ interface Activity {
|
|
|
855
881
|
/** Additional metadata */
|
|
856
882
|
metadata?: Record<string, any>;
|
|
857
883
|
}
|
|
858
|
-
/**
|
|
859
|
-
* File attachment on a card
|
|
860
|
-
*/
|
|
861
|
-
interface Attachment {
|
|
862
|
-
/** Unique identifier */
|
|
863
|
-
id: string;
|
|
864
|
-
/** Card ID */
|
|
865
|
-
cardId: string;
|
|
866
|
-
/** File name */
|
|
867
|
-
name: string;
|
|
868
|
-
/** File size in bytes */
|
|
869
|
-
size: number;
|
|
870
|
-
/** MIME type */
|
|
871
|
-
type: string;
|
|
872
|
-
/** File URL or data URI */
|
|
873
|
-
url: string;
|
|
874
|
-
/** Upload timestamp */
|
|
875
|
-
uploadedAt: Date | string;
|
|
876
|
-
/** User who uploaded */
|
|
877
|
-
uploadedBy: string;
|
|
878
|
-
/** Thumbnail URL (for images) */
|
|
879
|
-
thumbnailUrl?: string;
|
|
880
|
-
}
|
|
881
884
|
/**
|
|
882
885
|
* Bulk operations callbacks
|
|
883
886
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -495,6 +495,30 @@ interface Subtask {
|
|
|
495
495
|
* Card status types
|
|
496
496
|
*/
|
|
497
497
|
type CardStatus = 'TODO' | 'IN_PROGRESS' | 'REVIEW' | 'DONE' | 'BLOCKED';
|
|
498
|
+
/**
|
|
499
|
+
* File attachment on a card
|
|
500
|
+
* v0.17.182: Moved before Card interface to allow usage in Card.attachments
|
|
501
|
+
*/
|
|
502
|
+
interface Attachment {
|
|
503
|
+
/** Unique identifier */
|
|
504
|
+
id: string;
|
|
505
|
+
/** Card ID */
|
|
506
|
+
cardId: string;
|
|
507
|
+
/** File name */
|
|
508
|
+
name: string;
|
|
509
|
+
/** File size in bytes */
|
|
510
|
+
size: number;
|
|
511
|
+
/** MIME type */
|
|
512
|
+
type: string;
|
|
513
|
+
/** File URL or data URI */
|
|
514
|
+
url: string;
|
|
515
|
+
/** Upload timestamp */
|
|
516
|
+
uploadedAt: Date | string;
|
|
517
|
+
/** User who uploaded */
|
|
518
|
+
uploadedBy: string;
|
|
519
|
+
/** Thumbnail URL (for images) */
|
|
520
|
+
thumbnailUrl?: string;
|
|
521
|
+
}
|
|
498
522
|
/**
|
|
499
523
|
* Card entity
|
|
500
524
|
* Represents a single task/item in the Kanban board
|
|
@@ -538,6 +562,8 @@ interface Card$1 {
|
|
|
538
562
|
color?: string;
|
|
539
563
|
/** v0.17.158: Tags with colors (ClickUp-style) */
|
|
540
564
|
tags?: TaskTag[];
|
|
565
|
+
/** v0.17.182: Attachments for displaying thumbnails in card */
|
|
566
|
+
attachments?: Attachment[];
|
|
541
567
|
/** Custom metadata */
|
|
542
568
|
metadata?: Record<string, unknown>;
|
|
543
569
|
createdAt?: Date | string;
|
|
@@ -855,29 +881,6 @@ interface Activity {
|
|
|
855
881
|
/** Additional metadata */
|
|
856
882
|
metadata?: Record<string, any>;
|
|
857
883
|
}
|
|
858
|
-
/**
|
|
859
|
-
* File attachment on a card
|
|
860
|
-
*/
|
|
861
|
-
interface Attachment {
|
|
862
|
-
/** Unique identifier */
|
|
863
|
-
id: string;
|
|
864
|
-
/** Card ID */
|
|
865
|
-
cardId: string;
|
|
866
|
-
/** File name */
|
|
867
|
-
name: string;
|
|
868
|
-
/** File size in bytes */
|
|
869
|
-
size: number;
|
|
870
|
-
/** MIME type */
|
|
871
|
-
type: string;
|
|
872
|
-
/** File URL or data URI */
|
|
873
|
-
url: string;
|
|
874
|
-
/** Upload timestamp */
|
|
875
|
-
uploadedAt: Date | string;
|
|
876
|
-
/** User who uploaded */
|
|
877
|
-
uploadedBy: string;
|
|
878
|
-
/** Thumbnail URL (for images) */
|
|
879
|
-
thumbnailUrl?: string;
|
|
880
|
-
}
|
|
881
884
|
/**
|
|
882
885
|
* Bulk operations callbacks
|
|
883
886
|
*/
|