@libxai/board 1.5.81 → 1.5.83

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.d.cts CHANGED
@@ -73,6 +73,11 @@ interface Task {
73
73
  baselineEndDate?: Date;
74
74
  baselineProgress?: number;
75
75
  isHighlighted?: boolean;
76
+ lastActivity?: {
77
+ userName: string;
78
+ summary: string;
79
+ relativeTime: string;
80
+ };
76
81
  }
77
82
  type TimeScale = 'day' | 'week' | 'month';
78
83
  type Theme$1 = 'dark' | 'light' | 'neutral';
@@ -379,6 +384,12 @@ interface GanttConfig {
379
384
  rowDensity?: RowDensity;
380
385
  showThemeSelector?: boolean;
381
386
  showExportButton?: boolean;
387
+ /**
388
+ * v2.8.0: Fired AFTER a successful export so the consuming app can record
389
+ * the event in its audit log / analytics. Receives the report type that
390
+ * was just produced.
391
+ */
392
+ onExportSuccess?: (reportType: 'pdf' | 'excel' | 'png' | 'csv' | 'json' | 'msproject') => void;
382
393
  projectName?: string;
383
394
  availableUsers?: Array<{
384
395
  id: string;
package/dist/index.d.ts CHANGED
@@ -73,6 +73,11 @@ interface Task {
73
73
  baselineEndDate?: Date;
74
74
  baselineProgress?: number;
75
75
  isHighlighted?: boolean;
76
+ lastActivity?: {
77
+ userName: string;
78
+ summary: string;
79
+ relativeTime: string;
80
+ };
76
81
  }
77
82
  type TimeScale = 'day' | 'week' | 'month';
78
83
  type Theme$1 = 'dark' | 'light' | 'neutral';
@@ -379,6 +384,12 @@ interface GanttConfig {
379
384
  rowDensity?: RowDensity;
380
385
  showThemeSelector?: boolean;
381
386
  showExportButton?: boolean;
387
+ /**
388
+ * v2.8.0: Fired AFTER a successful export so the consuming app can record
389
+ * the event in its audit log / analytics. Receives the report type that
390
+ * was just produced.
391
+ */
392
+ onExportSuccess?: (reportType: 'pdf' | 'excel' | 'png' | 'csv' | 'json' | 'msproject') => void;
382
393
  projectName?: string;
383
394
  availableUsers?: Array<{
384
395
  id: string;