@libxai/board 1.5.24 → 1.5.26

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
@@ -3872,6 +3872,11 @@ interface ProjectHealthData {
3872
3872
  /** Total hours for the whole project (spent / allocated in minutes) */
3873
3873
  totalHoursSpentMinutes?: number;
3874
3874
  totalHoursAllocatedMinutes?: number;
3875
+ /** Financial data — shown when lens='financial' */
3876
+ totalOffered?: number;
3877
+ totalEstimated?: number;
3878
+ totalExecuted?: number;
3879
+ offeredRate?: number;
3875
3880
  }
3876
3881
  /**
3877
3882
  * ListView configuration
@@ -3940,8 +3945,10 @@ interface ListViewConfig {
3940
3945
  showSoldEffort?: boolean;
3941
3946
  /** Display mode: 'hours' shows time values, 'financial' converts to dollars (hours × hourlyRate) */
3942
3947
  lens?: 'hours' | 'financial';
3943
- /** Hourly rate for converting hours → dollars when lens='financial' */
3948
+ /** Hourly rate for converting hours → dollars when lens='financial' (fallback when rateMap has no match) */
3944
3949
  hourlyRate?: number;
3950
+ /** Per-user hourly rate map (userId → rate). When provided, uses the task assignee's rate instead of the global hourlyRate */
3951
+ rateMap?: Record<string, number>;
3945
3952
  /** Show a sticky "TOTAL PROJECT" row at the bottom of the list */
3946
3953
  showProjectTotals?: boolean;
3947
3954
  }
package/dist/index.d.ts CHANGED
@@ -3872,6 +3872,11 @@ interface ProjectHealthData {
3872
3872
  /** Total hours for the whole project (spent / allocated in minutes) */
3873
3873
  totalHoursSpentMinutes?: number;
3874
3874
  totalHoursAllocatedMinutes?: number;
3875
+ /** Financial data — shown when lens='financial' */
3876
+ totalOffered?: number;
3877
+ totalEstimated?: number;
3878
+ totalExecuted?: number;
3879
+ offeredRate?: number;
3875
3880
  }
3876
3881
  /**
3877
3882
  * ListView configuration
@@ -3940,8 +3945,10 @@ interface ListViewConfig {
3940
3945
  showSoldEffort?: boolean;
3941
3946
  /** Display mode: 'hours' shows time values, 'financial' converts to dollars (hours × hourlyRate) */
3942
3947
  lens?: 'hours' | 'financial';
3943
- /** Hourly rate for converting hours → dollars when lens='financial' */
3948
+ /** Hourly rate for converting hours → dollars when lens='financial' (fallback when rateMap has no match) */
3944
3949
  hourlyRate?: number;
3950
+ /** Per-user hourly rate map (userId → rate). When provided, uses the task assignee's rate instead of the global hourlyRate */
3951
+ rateMap?: Record<string, number>;
3945
3952
  /** Show a sticky "TOTAL PROJECT" row at the bottom of the list */
3946
3953
  showProjectTotals?: boolean;
3947
3954
  }